]> 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)
commit2d7740bfa842a5b8e243db2f6c36f9d877ecad7c
treeba154f2d70a786a6871dcd5af7ba2aa39ba45bab
parentc17a656c7d2c04a8ca9d1b85fbe88dfa3edc2d93
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