OSDN Git Service

mac80211: support S1G association
authorThomas Pedersen <thomas@adapt-ip.com>
Tue, 22 Sep 2020 02:28:15 +0000 (19:28 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 28 Sep 2020 12:09:07 +0000 (14:09 +0200)
commit1d00ce807efaa0ee3a96de7801be042a06d35873
tree3faab5c389420d0c9271651b8417542608bfb3be
parent09a740ce352e1a1d16b9984115514ba9a4f4704b
mac80211: support S1G association

The changes required for associating in S1G are:

- apply S1G BSS channel info before assoc
- mark all S1G STAs as QoS STAs
- include and parse AID request element
- handle new Association Response format
- don't fail assoc if supported rates element is missing

Signed-off-by: Thomas Pedersen <thomas@adapt-ip.com>
Link: https://lore.kernel.org/r/20200922022818.15855-15-thomas@adapt-ip.com
[pass skb to ieee80211_add_aid_request_ie(), remove unused variable 'bss']
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/linux/ieee80211.h
include/net/mac80211.h
net/mac80211/cfg.c
net/mac80211/ibss.c
net/mac80211/ieee80211_i.h
net/mac80211/mlme.c
net/mac80211/util.c