summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Chiu <chui-hao.chiu@mediatek.com>2022-06-22 04:08:20 +0300
committerJohannes Berg <johannes.berg@intel.com>2022-07-01 11:08:16 +0300
commit6708be40047789aa3587a3866b782d5cda7b2a31 (patch)
tree999fa479ff0e6efffe3a12e50b3e06ded070e858 /include
parent683a4647a7a3044868cfdc14c117525091b9fa0c (diff)
downloadlinux-6708be40047789aa3587a3866b782d5cda7b2a31.tar.xz
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>
Diffstat (limited to 'include')
-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;
}