2022-06-22 01:11:35

by Peter Chiu

[permalink] [raw]
Subject: [PATCH] mac80211: add s1g action frame in _ieee80211_is_robust_mgmt_frame

S1g action frame with code 22 is not protected so update the robust
action frame list.

Signed-off-by: Peter Chiu <[email protected]>
---
include/linux/ieee80211.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h
index 5c65ae6b8..4c25207b3 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;
}

--
2.18.0