]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: pass bssids to elements parsing function
authorSara Sharon <sara.sharon@intel.com>
Wed, 16 Jan 2019 10:14:41 +0000 (12:14 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 8 Feb 2019 12:51:50 +0000 (13:51 +0100)
commit716eb2c87f4bb84bb36ac78c9a233ce2ecbc5afd
treeba154f2d70a786a6871dcd5af7ba2aa39ba45bab
parent49cd31b1129bd315f0717d18a353a45d6ccccef2
mac80211: pass bssids to elements parsing function

In multiple BSSID, we have nested IEs inside the multiple
BSSID IE, that override the external ones for that specific
BSS. As preparation for supporting that, pass 2 BSSIDs to the
parse function, the transmitter, and the selected BSSID, so
it can know which IEs to choose. If the selected BSSID is
NULL, the outer ones will be applied.

Change ieee80211_bss_info_update to parse elements itself,
instead of receiving them parsed, so we have the relevant
bss entry in hand.

Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/ibss.c
net/mac80211/ieee80211_i.h
net/mac80211/mesh.c
net/mac80211/mesh_hwmp.c
net/mac80211/mesh_plink.c
net/mac80211/mlme.c
net/mac80211/scan.c
net/mac80211/tdls.c
net/mac80211/util.c