blob: 653aecd4a4fb4fdcc61775f2851697732ceee55a [file] [log] [blame]
developer77ffbda2022-12-16 04:36:08 +08001From d6291296d689ccbe2703b9c63afb15cc04fd54ac 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
developer77ffbda2022-12-16 04:36:08 +08004Subject: [PATCH 906/915] 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
developera09ec1d2022-11-26 11:00:33 +080013index 00ed7c1..59de3dc 100644
developer06f0b5f2022-06-09 08:59:33 +080014--- a/include/linux/ieee80211.h
15+++ b/include/linux/ieee80211.h
developera09ec1d2022-11-26 11:00:33 +080016@@ -3700,6 +3700,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--
developera09ec1d2022-11-26 11:00:33 +0800252.36.1
developer06f0b5f2022-06-09 08:59:33 +080026