Bjoern A. Zeeb 04e7bb08a5 net80211: update for (more) VHT160 support
Implement two macros IEEE80211_VHTCAP_SUPP_CHAN_WIDTH_IS_160MHZ()
and its 80+80 counter part to check in vhtcaps for appropriate
levels of support and use the macros throughout the code.

Add vht160_chan_ranges/is_vht160_valid_freq and handle analogue
to vht80 in various parts of the code.

Add ieee80211_add_channel_cbw() which also takes the CBW flag
fields and make the former ieee80211_add_channel() a wrapper to it.
With the CBW flags we can add HT/VHT channels passing them to
getflags() for the 2/5ghz functions.

In ifconfig(8) add the regdomain_addchans() support for VHT160
and VHT80P80.

With this (+ regdoain.xml updates) VHT160 channels can be
configured, listed, and pass regdomain where appropriate.

Tested with:	iwlwifi
Reviewed by:	adrian
MFC after:	10 days
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D26712
2020-10-18 00:27:20 +00:00
..
2019-08-13 20:06:55 +00:00
2019-11-21 01:24:49 +00:00
2019-11-21 01:24:49 +00:00
2020-10-13 05:32:00 +00:00
2019-08-13 20:06:55 +00:00
2020-10-09 14:03:45 +00:00
2019-12-22 01:22:51 +00:00
2020-05-21 01:55:35 +00:00
2020-10-09 14:03:45 +00:00
2019-12-11 17:37:53 +00:00
2020-07-05 13:08:17 +00:00
2020-09-11 13:28:37 +00:00
2019-06-25 04:50:09 +00:00