diff options
author | SenthilKumar Jegadeesan <sjegadee@qti.qualcomm.com> | 2015-03-02 13:29:40 +0530 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2015-03-04 10:34:12 +0100 |
commit | 64a8cef41a8ce694b59ec75ae52688f58925693c (patch) | |
tree | 6223726fc269c9fdea75b37b978a98027dd2c87f /net/mac80211/cfg.c | |
parent | 3384d757d41521a3dee274ed2802bcd285ed8e62 (diff) | |
download | blackbird-op-linux-64a8cef41a8ce694b59ec75ae52688f58925693c.tar.gz blackbird-op-linux-64a8cef41a8ce694b59ec75ae52688f58925693c.zip |
mac80211: provide station PMF configuration to driver
Some device drivers offload part of aggregation including AddBA/DelBA
negotiations to firmware. In such scenario, the PMF configuration of
the station needs to be provided to driver to enable encryption of
AddBA/DelBA action frames.
Signed-off-by: SenthilKumar Jegadeesan <sjegadee@qti.qualcomm.com>
[fix commit log, documentation]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/cfg.c')
-rw-r--r-- | net/mac80211/cfg.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c index 06557e4f9588..94889def2ef5 100644 --- a/net/mac80211/cfg.c +++ b/net/mac80211/cfg.c @@ -1068,6 +1068,7 @@ static int sta_apply_parameters(struct ieee80211_local *local, sta->sta.wme = set & BIT(NL80211_STA_FLAG_WME); if (mask & BIT(NL80211_STA_FLAG_MFP)) { + sta->sta.mfp = !!(set & BIT(NL80211_STA_FLAG_MFP)); if (set & BIT(NL80211_STA_FLAG_MFP)) set_sta_flag(sta, WLAN_STA_MFP); else |