]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
net80211 / ifconfig: cleanup the use of IEEE80211_FVHT_USEVHT*
authorBjoern A. Zeeb <bz@FreeBSD.org>
Mon, 17 Aug 2020 12:43:07 +0000 (12:43 +0000)
committerBjoern A. Zeeb <bz@FreeBSD.org>
Mon, 17 Aug 2020 12:43:07 +0000 (12:43 +0000)
commit96811be22f974e6e3a72ccba806bd3f3ba8deae6
tree525f1a00f0b2a49b72ec03289accc39675e70092
parent51ae4071cbc05848bf8c50a55a4656d6113bba53
net80211 / ifconfig: cleanup the use of IEEE80211_FVHT_USEVHT*

Rather then using magic numbers duplicate IEEE80211_FVHT_VHT* in
ifconfig (cleanup of these and other flags used and not exposed by
net80211 should happen later) and use those.
In the kernel this simplifies one ioctl path (the other one currently
relies on individual bit flags being passed in).
We also re-order the 80P80 and 160 flag for 160 to come before 80+80
and more clearly leave the flags as TODO in one of the 160/80+80 cases.

Reviewed by: adrian
MFC after: 2 weeks
Sponsored by: Rubicon Communications, LLC (d/b/a "Netgate")
Differential Revision: https://reviews.freebsd.org/D26000
sbin/ifconfig/ifieee80211.c
sys/net80211/ieee80211_ioctl.c
sys/net80211/ieee80211_var.h
sys/net80211/ieee80211_vht.c