git: 116102101a56 - main - net80211: name IEEE80211_VHTCAP_SUPP_CHAN_WIDTH_{NONE -> NO160}
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 01 Dec 2024 21:58:05 UTC
The branch main has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=116102101a566ec8924b397c1523d362008fb35c commit 116102101a566ec8924b397c1523d362008fb35c Author: Bjoern A. Zeeb <bz@FreeBSD.org> AuthorDate: 2024-11-28 23:37:31 +0000 Commit: Bjoern A. Zeeb <bz@FreeBSD.org> CommitDate: 2024-12-01 21:57:03 +0000 net80211: name IEEE80211_VHTCAP_SUPP_CHAN_WIDTH_{NONE -> NO160} IEEE80211_VHTCAP_SUPP_CHAN_WIDTH_NONE is confusing as the field does indicate that the STA does not support 160 (or 80+80) Mhz. [802.11ac: Table 8-183v-Subfields of the VHT Capabilities Info field] All the other bits are related to the support of 160Mhz so make it clear that it does not mean that we do not support any VHT CHAN WIDTH but merely do not support the optional 160/80+80. Sponsored by: The FreeBSD Foundation MFC after: 3 days Reviewed by: adrian Differential Revision: https://reviews.freebsd.org/D47837 --- sys/net80211/ieee80211.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/net80211/ieee80211.h b/sys/net80211/ieee80211.h index 72a4dc8ee006..b0bb02450190 100644 --- a/sys/net80211/ieee80211.h +++ b/sys/net80211/ieee80211.h @@ -974,7 +974,7 @@ struct ieee80211_vht_operation { #define IEEE80211_VHTCAP_SUPP_CHAN_WIDTH_MASK 0x0000000C #define IEEE80211_VHTCAP_SUPP_CHAN_WIDTH_MASK_S 2 -#define IEEE80211_VHTCAP_SUPP_CHAN_WIDTH_NONE 0 +#define IEEE80211_VHTCAP_SUPP_CHAN_WIDTH_NO160 0 #define IEEE80211_VHTCAP_SUPP_CHAN_WIDTH_160MHZ 1 #define IEEE80211_VHTCAP_SUPP_CHAN_WIDTH_160_80P80MHZ 2 #define IEEE80211_VHTCAP_SUPP_CHAN_WIDTH_RESERVED 3