OSDN Git Service

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)
commit09a740ce352e1a1d16b9984115514ba9a4f4704b
treec86fd13c240bd142f73f24bf82b5ce49a04dfd56
parentcac8c526ae769d86ec2d785c6f41866f75152784
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