]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: receive and process S1G beacons
authorThomas Pedersen <thomas@adapt-ip.com>
Tue, 22 Sep 2020 02:28:14 +0000 (19:28 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 28 Sep 2020 12:01:00 +0000 (14:01 +0200)
commit31cefcd868bd71108e5e0a61f244c502dd571d66
treec86fd13c240bd142f73f24bf82b5ce49a04dfd56
parent3956d443d6b8c3f73c98768d59cb0eafb032714a
mac80211: receive and process S1G beacons

S1G beacons are 802.11 Extension Frames, so the fixed
header part differs from regular beacons.

Add a handler to process S1G beacons and abstract out the
fetching of BSSID and element start locations in the
beacon body handler.

Signed-off-by: Thomas Pedersen <thomas@adapt-ip.com>
Link: https://lore.kernel.org/r/20200922022818.15855-14-thomas@adapt-ip.com
[don't rename, small coding style cleanups]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/ieee80211_i.h
net/mac80211/iface.c
net/mac80211/mlme.c
net/mac80211/rx.c
net/mac80211/util.c