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>
This commit is contained in:

committed by
Johannes Berg

parent
3384d757d4
commit
64a8cef41a
@@ -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
|
||||
|
Reference in New Issue
Block a user