developer | 1d9da7d | 2023-04-15 12:45:34 +0800 | [diff] [blame] | 1 | From c45c2ccc4c042e5430d43ce4b6bf2b70d7d8f514 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 | ed7222c | 2023-04-14 07:19:52 +0800 | [diff] [blame] | 4 | Subject: [PATCH 07/17] 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 | ed7222c | 2023-04-14 07:19:52 +0800 | [diff] [blame] | 13 | index 064d86f..65491f7 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 | ed7222c | 2023-04-14 07:19:52 +0800 | [diff] [blame] | 16 | @@ -3724,6 +3724,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 | ed7222c | 2023-04-14 07:19:52 +0800 | [diff] [blame] | 25 | 2.18.0 |
developer | 06f0b5f | 2022-06-09 08:59:33 +0800 | [diff] [blame] | 26 | |