wifi: ieee80211: fix PV1 frame control field name
authorLiam Kearney <liam.kearney@morsemicro.com>
Wed, 25 Oct 2023 00:27:55 +0000 (11:27 +1100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 24 Nov 2023 19:05:57 +0000 (20:05 +0100)
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>
include/linux/ieee80211.h

index 958771bac9c0295f2a7ee57f56cac436933626fd..5e5ea216f341359bdf990e8d2b017dc6a37ad775 100644 (file)
 #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