git: ab95bca9988a - main - net8011: radiotap: add more EHT constants

From: Bjoern A. Zeeb <bz_at_FreeBSD.org>
Date: Sun, 14 Apr 2024 23:09:46 UTC
The branch main has been updated by bz:

URL: https://cgit.FreeBSD.org/src/commit/?id=ab95bca9988ab15a2502efd03db43068a0a2b18b

commit ab95bca9988ab15a2502efd03db43068a0a2b18b
Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2024-04-02 23:34:22 +0000
Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2024-04-14 23:09:09 +0000

    net8011: radiotap: add more EHT constants
    
    MFC after:      3 days
---
 sys/net80211/ieee80211_radiotap.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/sys/net80211/ieee80211_radiotap.h b/sys/net80211/ieee80211_radiotap.h
index dba454a8fa42..d44f81b68b8c 100644
--- a/sys/net80211/ieee80211_radiotap.h
+++ b/sys/net80211/ieee80211_radiotap.h
@@ -540,6 +540,11 @@ struct ieee80211_radiotap_eht_usig {
 #define	IEEE80211_RADIOTAP_EHT_USIG_COMMON_VALIDATE_BITS_OK	0x00000080
 #define	IEEE80211_RADIOTAP_EHT_USIG_COMMON_PHY_VER		0x00007000
 #define	IEEE80211_RADIOTAP_EHT_USIG_COMMON_BW			0x00038000
+#define	IEEE80211_RADIOTAP_EHT_USIG_COMMON_BW_20MHZ		0x0
+#define	IEEE80211_RADIOTAP_EHT_USIG_COMMON_BW_40MHZ		0x1
+#define	IEEE80211_RADIOTAP_EHT_USIG_COMMON_BW_80MHZ		0x2
+#define	IEEE80211_RADIOTAP_EHT_USIG_COMMON_BW_160MHZ		0x3
+#define	IEEE80211_RADIOTAP_EHT_USIG_COMMON_BW_320MHZ_1		0x4
 #define	IEEE80211_RADIOTAP_EHT_USIG_COMMON_UL_DL		0x00040000
 #define	IEEE80211_RADIOTAP_EHT_USIG_COMMON_BSS_COLOR		0x01f80000
 #define	IEEE80211_RADIOTAP_EHT_USIG_COMMON_TXOP			0xfe000000