ieee802_11_defs: Fix EHT_ML_PRES_BM_PROBE_REQ_AP_MLD_ID

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>
This commit is contained in:
Johannes Berg 2023-11-21 01:51:17 +02:00 committed by Jouni Malinen
parent 9ffebf758d
commit 0f7d15dd38

View file

@ -2698,9 +2698,11 @@ struct ieee80211_eht_per_sta_profile {
u8 variable[]; u8 variable[];
} STRUCT_PACKED; } 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 { struct eht_ml_probe_req_common_info {
u8 len; u8 len;