freebsd-dev/sbin/ifconfig
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
..
tests Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
af_inet6.c Update for IETF draft-ietf-6man-ipv6only-flag. 2019-03-06 23:31:42 +00:00
af_inet.c ifconfig: eliminate trailing whitespace 2019-02-26 03:34:47 +00:00
af_link.c ifconfig(8): optimize -f ether:dash mode 2020-06-26 16:20:34 +00:00
af_nd6.c Update for IETF draft-ietf-6man-ipv6only-flag. 2019-03-06 23:31:42 +00:00
carp.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
ifbridge.c libifconfig: Add function to get bridge status 2020-07-01 02:32:41 +00:00
ifclone.c Make lagg creation more fault tolerant 2018-04-17 12:54:58 +00:00
ifconfig.8 Fix a few mandoc issues 2020-10-09 14:03:45 +00:00
ifconfig.c Add two new ifnet capabilities for hw checksumming and TSO for VXLAN traffic. 2020-09-18 02:10:28 +00:00
ifconfig.h Make lagg creation more fault tolerant 2018-04-17 12:54:58 +00:00
iffib.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
ifgif.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
ifgre.c Add GRE-in-UDP encapsulation support as defined in RFC8086. 2019-04-24 09:05:45 +00:00
ifgroup.c ifconfig: eliminate trailing whitespace 2019-02-26 03:34:47 +00:00
ifieee80211.c net80211: update for (more) VHT160 support 2020-10-18 00:27:20 +00:00
ifipsec.c Update ifr_name before invoking IPSECSREQID ioctl, this fixes the case, 2018-09-22 16:30:48 +00:00
iflagg.c Decode the "LACP Fast Timeout" LAGG option flag 2020-06-11 22:46:08 +00:00
ifmac.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
ifmedia.c ifconfig: add report of the string from SIOCGIFDOWNREASON. 2019-09-17 18:51:10 +00:00
ifpfsync.c ifconfig: fix endianness bug displaying pfsync interfaces 2019-01-28 18:34:04 +00:00
ifvlan.c spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
ifvxlan.c Add two new ifnet capabilities for hw checksumming and TSO for VXLAN traffic. 2020-09-18 02:10:28 +00:00
Makefile Move ifconfig SFP status functionality into libifconfig 2020-08-09 16:27:28 +00:00
Makefile.depend Update Makefile.depend files 2019-12-11 17:37:53 +00:00
Makefile.depend.options Add Makefile.depend.options 2019-12-11 17:37:37 +00:00
sfp.c Move ifconfig SFP status functionality into libifconfig 2020-08-09 16:27:28 +00:00