]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
ieee802_11_defs: Fix EHT_ML_PRES_BM_PROBE_REQ_AP_MLD_ID
authorJohannes Berg <johannes.berg@intel.com>
Mon, 20 Nov 2023 23:51:17 +0000 (01:51 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 24 Nov 2023 21:09:23 +0000 (23:09 +0200)
This Presence Bitmap field is B4..B15 of the Multi-Link Control field
and the value used here is for that full 16-bit field, not just within
the Presence Bitmap field.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
src/common/ieee802_11_defs.h

index 8cdf76bd488a2243e10b089851007a438a53e9d5..1267c10ebdfa9836283a069912be0451f649293d 100644 (file)
@@ -2698,9 +2698,11 @@ struct ieee80211_eht_per_sta_profile {
        u8 variable[];
 } STRUCT_PACKED;
 
-/* IEEE P802.11be/D2.0, 9.4.2.312.3 - Probe Request Multi-Link element */
+/* IEEE P802.11be/D4.0, 9.4.2.312.3 - Probe Request Multi-Link element
+ * Presence Bitmap field is B4..B15 of the Multi-Link Control field, i.e.,
+ * B0 in the presence bitmap is B4 in the control field. */
 
-#define EHT_ML_PRES_BM_PROBE_REQ_AP_MLD_ID 0x0001
+#define EHT_ML_PRES_BM_PROBE_REQ_AP_MLD_ID 0x0010
 
 struct eht_ml_probe_req_common_info {
        u8 len;