-/* $OpenBSD: if_iwm.c,v 1.352 2021/07/09 11:31:05 stsp Exp $ */
+/* $OpenBSD: if_iwm.c,v 1.353 2021/07/09 11:33:00 stsp Exp $ */
/*
* Copyright (c) 2014, 2016 genua gmbh <info@genua.de>
base_size = IWM_SCAN_REQ_UMAC_SIZE_V8;
else if (isset(sc->sc_ucode_api, IWM_UCODE_TLV_API_ADAPTIVE_DWELL))
base_size = IWM_SCAN_REQ_UMAC_SIZE_V7;
-#ifdef notyet
- else if (sc->sc_device_family >= IWM_DEVICE_FAMILY_22000)
- base_size = IWM_SCAN_REQ_UMAC_SIZE_V6;
-#endif
if (isset(sc->sc_ucode_api, IWM_UCODE_TLV_API_SCAN_EXT_CHAN_VER))
tail_size = sizeof(struct iwm_scan_req_umac_tail_v2);
else
if (isset(sc->sc_ucode_api, IWM_UCODE_TLV_API_ADAPTIVE_DWELL))
return &req->v7.channel;
-#ifdef notyet
- if (sc->sc_device_family >= IWM_DEVICE_FAMILY_22000)
- return &req->v6.channel;
-#endif
+
return &req->v1.channel;
}
if (isset(sc->sc_ucode_api, IWM_UCODE_TLV_API_ADAPTIVE_DWELL))
return (void *)&req->v7.data;
-#ifdef notyet
- if (sc->sc_device_family >= IWM_DEVICE_FAMILY_22000)
- return (void *)&req->v6.data;
-#endif
+
return (void *)&req->v1.data;
}