aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Chiu <chui-hao.chiu@mediatek.com>2022-06-22 09:08:20 +0800
committerJohannes Berg <johannes.berg@intel.com>2022-07-01 10:08:16 +0200
commit6708be40047789aa3587a3866b782d5cda7b2a31 (patch)
tree999fa479ff0e6efffe3a12e50b3e06ded070e858
parentwifi: rtw89: 8852a: rfk: fix div 0 exception (diff)
downloadlinux-dev-6708be40047789aa3587a3866b782d5cda7b2a31.tar.xz
linux-dev-6708be40047789aa3587a3866b782d5cda7b2a31.zip
wifi: ieee80211: s1g action frames are not robust
S1g action frame with code 22 is not protected so update the robust action frame list. Signed-off-by: Peter Chiu <chui-hao.chiu@mediatek.com> Link: https://lore.kernel.org/r/20220622010820.17522-1-chui-hao.chiu@mediatek.com Signed-off-by: Johannes Berg <johannes.berg@intel.com>
-rw-r--r--include/linux/ieee80211.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h
index 870f659087d6..f386f9ed41f3 100644
--- a/include/linux/ieee80211.h
+++ b/include/linux/ieee80211.h
@@ -4094,6 +4094,7 @@ static inline bool _ieee80211_is_robust_mgmt_frame(struct ieee80211_hdr *hdr)
*category != WLAN_CATEGORY_SELF_PROTECTED &&
*category != WLAN_CATEGORY_UNPROT_DMG &&
*category != WLAN_CATEGORY_VHT &&
+ *category != WLAN_CATEGORY_S1G &&
*category != WLAN_CATEGORY_VENDOR_SPECIFIC;
}