HomeFreeBSD

net80211/ifconfig: swap IEEE80211_FVHT_USEVHT160 and 80P80

Description

net80211/ifconfig: swap IEEE80211_FVHT_USEVHT160 and 80P80

ieee80211_setupcurchan() compares the flags in a greater than manner.
In this case VHT160 should be > VHT80P80 as it is preferable.
Swap the two flags and add a comment to note this.

Sponsored by: The FreeBSD Foundation
MFC after: 3 days
Reviewed by: adrian
Differential Revision: https://reviews.freebsd.org/D48976

Details

Provenance
bzAuthored on Sat, Feb 15, 12:40 PM
Reviewer
adrian
Differential Revision
D48976: net80211/ifconfig: swap IEEE80211_FVHT_USEVHT160 and 80P80
Parents
rG75fb66d8241d: net80211 / LinuxKPI 802.11: add 802.11-2016 VHT Extended NSS BW defines
Branches
Unknown
Tags
Unknown