developer | 06f0b5f | 2022-06-09 08:59:33 +0800 | [diff] [blame] | 1 | From 3e8e9d601b30cc0d141108e93579fe72462039d5 Mon Sep 17 00:00:00 2001 |
| 2 | From: Peter Chiu <chui-hao.chiu@mediatek.com> |
| 3 | Date: Wed, 8 Jun 2022 10:26:39 +0800 |
| 4 | Subject: [PATCH] mac80211: add s1g category to _ieee80211_is_robust_mgmt_frame |
| 5 | |
| 6 | Unprotected S1G with code 22 is not robust mgmt frame. |
| 7 | --- |
| 8 | include/linux/ieee80211.h | 1 + |
| 9 | 1 file changed, 1 insertion(+) |
| 10 | |
| 11 | diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h |
| 12 | index 4d00f7a..6735494 100644 |
| 13 | --- a/include/linux/ieee80211.h |
| 14 | +++ b/include/linux/ieee80211.h |
| 15 | @@ -3999,6 +3999,7 @@ static inline bool _ieee80211_is_robust_mgmt_frame(struct ieee80211_hdr *hdr) |
| 16 | *category != WLAN_CATEGORY_SELF_PROTECTED && |
| 17 | *category != WLAN_CATEGORY_UNPROT_DMG && |
| 18 | *category != WLAN_CATEGORY_VHT && |
| 19 | + *category != WLAN_CATEGORY_S1G && |
| 20 | *category != WLAN_CATEGORY_VENDOR_SPECIFIC; |
| 21 | } |
| 22 | |
| 23 | -- |
| 24 | 2.18.0 |
| 25 | |