]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit - sys/net80211/ieee80211_ioctl.c
net80211 / ifconfig: cleanup the use of IEEE80211_FVHT_USEVHT*
authorbz <bz@FreeBSD.org>
Mon, 17 Aug 2020 12:43:07 +0000 (12:43 +0000)
committerbz <bz@FreeBSD.org>
Mon, 17 Aug 2020 12:43:07 +0000 (12:43 +0000)
commit5853f38da725897c25a505ce62675e31aca27f26
tree525f1a00f0b2a49b72ec03289accc39675e70092
parent495b2abb6a0ceb1acf2467deac4bc937ee197b07
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