2023-10-25 00:28:34

by Liam Kearney

[permalink] [raw]
Subject: [PATCH v3] 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 <[email protected]>
---
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(-)

diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h
index bd2f6e19c357..d8e878167385 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
--
2.39.2


2023-10-25 04:56:27

by Jeff Johnson

[permalink] [raw]
Subject: Re: [PATCH v3] wifi: ieee80211: fix PV1 frame control field name

On 10/24/2023 5:27 PM, Liam Kearney wrote:
> Update PV1 frame control field TODS to FROMDS to match 802.11 standard
>
> Signed-off-by: Liam Kearney <[email protected]>

Reviewed-by: Jeff Johnson <[email protected]>