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