summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiam Kearney <liam.kearney@morsemicro.com>2023-10-25 11:27:55 +1100
committerJohannes Berg <johannes.berg@intel.com>2023-11-24 20:05:57 +0100
commitd3ca4ab4f16eb81dc3e7721251adcba49b229d54 (patch)
treef0d73388a9f1ea3fb44f5da02096a360ce27709c
parentf52c8fba984c7ca1ee687504862a4f8b3c5ef854 (diff)
wifi: ieee80211: fix PV1 frame control field name
Update PV1 frame control field TODS to FROMDS to match 802.11 standard Signed-off-by: Liam Kearney <liam.kearney@morsemicro.com> Reviewed-by: Jeff Johnson <quic_jjohnson@quicinc.com> Link: https://lore.kernel.org/r/20231025002755.1752983-1-liam.kearney@morsemicro.com Signed-off-by: Johannes Berg <johannes.berg@intel.com>
-rw-r--r--include/linux/ieee80211.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h
index 958771bac9c0..5e5ea216f341 100644
--- a/include/linux/ieee80211.h
+++ b/include/linux/ieee80211.h
@@ -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