wifi: ieee80211: s1g action frames are not robust
authorPeter Chiu <chui-hao.chiu@mediatek.com>
Wed, 22 Jun 2022 01:08:20 +0000 (09:08 +0800)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 1 Jul 2022 08:08:16 +0000 (10:08 +0200)
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>
include/linux/ieee80211.h

index 870f659087d61060150040f81b7d864e1c1e02e3..f386f9ed41f390969094f894271f1ec3a04cf9d0 100644 (file)
@@ -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;
        }