blob: 647b3f5b0a2ad247d30e1c2e3c14f5c07413561d [file] [log] [blame]
developer1d9da7d2023-04-15 12:45:34 +08001From c45c2ccc4c042e5430d43ce4b6bf2b70d7d8f514 Mon Sep 17 00:00:00 2001
developer06f0b5f2022-06-09 08:59:33 +08002From: Peter Chiu <chui-hao.chiu@mediatek.com>
3Date: Wed, 8 Jun 2022 10:26:39 +0800
developered7222c2023-04-14 07:19:52 +08004Subject: [PATCH 07/17] mac80211: mtk: add s1g category to
developer3e4199d2022-10-19 14:18:06 +08005 _ieee80211_is_robust_mgmt_frame
developer06f0b5f2022-06-09 08:59:33 +08006
7Unprotected S1G with code 22 is not robust mgmt frame.
8---
9 include/linux/ieee80211.h | 1 +
10 1 file changed, 1 insertion(+)
11
12diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h
developered7222c2023-04-14 07:19:52 +080013index 064d86f..65491f7 100644
developer06f0b5f2022-06-09 08:59:33 +080014--- a/include/linux/ieee80211.h
15+++ b/include/linux/ieee80211.h
developered7222c2023-04-14 07:19:52 +080016@@ -3724,6 +3724,7 @@ static inline bool _ieee80211_is_robust_mgmt_frame(struct ieee80211_hdr *hdr)
developer06f0b5f2022-06-09 08:59:33 +080017 *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--
developered7222c2023-04-14 07:19:52 +0800252.18.0
developer06f0b5f2022-06-09 08:59:33 +080026