diff options
author | Thomas Pedersen <thomas@adapt-ip.com> | 2020-09-22 05:28:09 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2020-09-28 14:54:03 +0300 |
commit | 80ca25711380c8eabe51eed875ca9432b4f8939e (patch) | |
tree | 56b607e09e0e1ef728420030b9b36ae2eabb7a97 /include/linux/ieee80211.h | |
parent | cd418ba63f0c2f6157f35a41c9accc6ecb52590a (diff) | |
download | linux-80ca25711380c8eabe51eed875ca9432b4f8939e.tar.xz |
cfg80211: handle Association Response from S1G STA
The sending STA type is implicit based on beacon or probe
response content. If sending STA was an S1G STA, adjust
the Information Element location accordingly.
Signed-off-by: Thomas Pedersen <thomas@adapt-ip.com>
Link: https://lore.kernel.org/r/20200922022818.15855-9-thomas@adapt-ip.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/linux/ieee80211.h')
-rw-r--r-- | include/linux/ieee80211.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h index 1ce0b37441b9..d0fda8424118 100644 --- a/include/linux/ieee80211.h +++ b/include/linux/ieee80211.h @@ -1102,6 +1102,11 @@ struct ieee80211_mgmt { } __packed assoc_resp, reassoc_resp; struct { __le16 capab_info; + __le16 status_code; + u8 variable[0]; + } __packed s1g_assoc_resp, s1g_reassoc_resp; + struct { + __le16 capab_info; __le16 listen_interval; u8 current_ap[ETH_ALEN]; /* followed by SSID and Supported rates */ |