summaryrefslogtreecommitdiffstats
path: root/net/mac80211/mlme.c
diff options
context:
space:
mode:
authorJohn Crispin <john@phrozen.org>2019-07-29 12:23:42 +0200
committerJohannes Berg <johannes.berg@intel.com>2019-07-29 16:39:37 +0200
commit697f6c507c74991057eb6df3cfb46579ca136467 (patch)
treee70bff4a57fe587321046abff034ec23e7b96b48 /net/mac80211/mlme.c
parent90d4962cfc87a6994a19db0d76e1fa214dd67267 (diff)
downloadlinux-stable-697f6c507c74991057eb6df3cfb46579ca136467.tar.gz
linux-stable-697f6c507c74991057eb6df3cfb46579ca136467.tar.bz2
linux-stable-697f6c507c74991057eb6df3cfb46579ca136467.zip
mac80211: propagate HE operation info into bss_conf
Upon a successful assoc a station shall store the content of the HE operation element inside bss_conf so that the driver can setup the hardware accordingly. Signed-off-by: Shashidhar Lakkavalli <slakkavalli@datto.com> Signed-off-by: John Crispin <john@phrozen.org> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Link: https://lore.kernel.org/r/20190729102342.8659-2-john@phrozen.org [use struct copy] Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/mlme.c')
-rw-r--r--net/mac80211/mlme.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c
index a99ad0325309..2b8a7428973d 100644
--- a/net/mac80211/mlme.c
+++ b/net/mac80211/mlme.c
@@ -3381,6 +3381,7 @@ static bool ieee80211_assoc_success(struct ieee80211_sub_if_data *sdata,
if (elems.uora_element)
bss_conf->uora_ocw_range = elems.uora_element[0];
+ ieee80211_he_op_ie_to_bss_conf(&sdata->vif, elems.he_operation);
/* TODO: OPEN: what happens if BSS color disable is set? */
}