Skip to contentSkip to conversation

wifi: ieee80211: fix PV1 frame control field name

PATCH Superseded Liam Kearney 2 participants 2 messages Oct 24, 2023 802.11 (including cfg80211/NL80211)

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

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

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

---
 include/linux/ieee80211.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/ieee80211.h +1 -1
index bd2f6e19c357..ca46147e6a2d 100644
@@ -176,7 +176,7 @@
 #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
#1 lore raw
Quoted 12 lines · Liam Kearney

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

---
  include/linux/ieee80211.h | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/ieee80211.h +0 -0
index bd2f6e19c357..ca46147e6a2d 100644

include/linux/ieee80211.h line 182

Quoted 8 lines
include/linux/ieee80211.h +1 -1
@@ -176,7 +176,7 @@
  #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

Suggest that along with this change you update the preceding comment to refer to IEEE 802.11-2020 since that supersedes 802.11ah (the paragraph number is unchanged between the two)