Skip to contentSkip to conversation

wifi: ieee80211: fix PV1 frame control field name

PATCH In review Liam Kearney 2 participants 2 messages Oct 25, 2023 802.11 (including cfg80211/NL80211)

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 wifi: ieee80211: fix PV1 frame control field name

Update PV1 frame control field TODS to FROMDS to match 802.11 standard

---
v3: add signed-off-by line missed in v2
v2: update comment to reference 2020 version of the standard

include/linux/ieee80211.h | 4 ++--

 1 file changed, 2 insertions(+), 2 deletions(-)
include/linux/ieee80211.h +2 -2
index bd2f6e19c357..d8e878167385 100644
@@ -172,11 +172,11 @@
 #define IEEE80211_SN_MODULO		(IEEE80211_MAX_SN + 1)
 
 
-/* PV1 Layout 11ah 9.8.3.1 */
+/* PV1 Layout IEEE 802.11-2020 9.8.3.1 */
 #define IEEE80211_PV1_FCTL_VERS		0x0003
 #define IEEE80211_PV1_FCTL_FTYPE	0x001c
 #define IEEE80211_PV1_FCTL_STYPE	0x00e0
-#define IEEE80211_PV1_FCTL_TODS		0x0100
+#define IEEE80211_PV1_FCTL_FROMDS		0x0100
 #define IEEE80211_PV1_FCTL_MOREFRAGS	0x0200
 #define IEEE80211_PV1_FCTL_PM		0x0400
 #define IEEE80211_PV1_FCTL_MOREDATA	0x0800
Signature · 1 line
2.39.2