freebsd-dev/sys
Bjoern A. Zeeb 2b9f12f6b2 net80211: enhance getflags*() and ieee80211_add_channel*()
For ieee80211_add_channel+*() we are passing in an int flag for
ht40 and in some cases another int flag for vht80 where we'd only
need two bits really.
Convert these variables to a bitflag and fold them together into one.
This also allows for VHT160 and VHT80P80 and whatever may come to
be considered. Define the various options currently needed.

Change the drivers (rtwn and rsu) which actually set this bit to non-0.
For convenience the "1" currently used for HT40 is preserved.

Enahnce getflags_5ghz() to handle the full set of VHT flags based
on the input flags from the the driver.

Update the regdomain implementation as well to make use of the new
flags and deal with higher [V]HT bandwidths.

ieee80211_add_channel() specifically did not take flags so it will
not support naything beyond 20Mhz channels.

Note: I am not entirely happy with the "cbw_flag[s]" name, but we
do use chan_flags elsewhere already.

MFC after:	2 weeks
Reviewed by:	adrian, gnn
Sponsored by:	Rubicon Communications, LLC (d/b/a "Netgate")
Differential revision:	https://reviews.freebsd.org/D26091
2020-08-24 13:15:08 +00:00
..
amd64 cpu_auxmsr: assert caller is preventing CPU migration. 2020-08-24 11:49:49 +00:00
arm Pass pointers to info parsed from notes, to brandinfo->header_supported filter. 2020-08-23 20:06:55 +00:00
arm64 Pass pointers to info parsed from notes, to brandinfo->header_supported filter. 2020-08-23 20:06:55 +00:00
bsm bsm: add AUE_CLOSERANGE 2020-04-24 01:27:25 +00:00
cam Fix CTL ioctl port creation error handling. 2020-08-21 20:10:29 +00:00
cddl amd64 pmap: LA57 AKA 5-level paging 2020-08-23 20:19:04 +00:00
compat cache: drop the always curthread argument from reverse lookup routines 2020-08-24 08:57:02 +00:00
conf Add TLS support to the kernel RPC. 2020-08-22 03:57:55 +00:00
contrib pcg-c: Add 'static' to inline function definitions 2020-08-15 18:46:26 +00:00
crypto padlock: fix Via Padlock with 192-bit keys 2020-07-20 16:12:14 +00:00
ddb [PowerPC] More relocation fixes 2020-06-21 03:39:26 +00:00
dev net80211: enhance getflags*() and ieee80211_add_channel*() 2020-08-24 13:15:08 +00:00
dts Remove licenses 2020-06-04 17:20:58 +00:00
fs cache: drop the always curthread argument from reverse lookup routines 2020-08-24 08:57:02 +00:00
gdb gdb(4): Support empty qSupported queries 2020-08-18 20:59:10 +00:00
geom Use devctl.h instead of bus.h to reduce newbus pollution. 2020-08-21 00:03:24 +00:00
gnu Import DTS files for arm, arm64, riscv from Linux 5.8 2020-08-04 19:44:43 +00:00
i386 cpu_auxmsr: assert caller is preventing CPU migration. 2020-08-24 11:49:49 +00:00
isa
kern cache: lockless reverse lookup 2020-08-24 09:00:57 +00:00
kgssapi Add support for optional separate output buffers to in-kernel crypto. 2020-05-25 22:12:04 +00:00
libkern Add prng(9) API 2020-08-13 20:48:14 +00:00
mips Include virtio support in std.MALTA 2020-07-31 11:28:09 +00:00
modules Add TLS support to the kernel RPC. 2020-08-22 03:57:55 +00:00
net iflib: fix isc_rxd_flush call in netmap_fl_refill() 2020-08-24 11:44:20 +00:00
net80211 net80211: enhance getflags*() and ieee80211_add_channel*() 2020-08-24 13:15:08 +00:00
netgraph ng_ubt: Add a device ID. 2020-08-23 19:30:06 +00:00
netinet Use devctl.h instead of bus.h to reduce newbus pollution. 2020-08-21 00:03:24 +00:00
netinet6 Make net.inet6.ip6.deembed_scopeid behaviour default & remove sysctl. 2020-08-15 11:37:44 +00:00
netipsec Simplify IPsec transform-specific teardown. 2020-06-25 23:59:16 +00:00
netpfil ipfw: style(9) fixes 2020-08-20 16:56:13 +00:00
netsmb Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00
nfs Transition from rtrequest1_fib() to rib_action(). 2020-07-21 19:56:13 +00:00
nfsclient
nfsserver
nlm Fix export_args ex_flags field so that is 64bits, the same as mnt_flags. 2020-06-14 00:10:18 +00:00
ofed Infiniband clients must be attached and detached in a specific order in ibcore. 2020-07-06 08:50:11 +00:00
opencrypto Add support for KTLS RX via software decryption. 2020-07-23 23:48:18 +00:00
powerpc Pass pointers to info parsed from notes, to brandinfo->header_supported filter. 2020-08-23 20:06:55 +00:00
riscv riscv: Use global mimpid in identify_cpu() 2020-08-18 16:51:04 +00:00
rpc Add TLS support to the kernel RPC. 2020-08-22 03:57:55 +00:00
security cache: drop the always curthread argument from reverse lookup routines 2020-08-24 08:57:02 +00:00
sys cache: drop the always curthread argument from reverse lookup routines 2020-08-24 08:57:02 +00:00
teken
tests Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00
tools makesyscalls.lua: improve syscall ordering validation 2020-08-04 21:49:13 +00:00
ufs cache: add cache_rename, a dedicated helper to use for renames 2020-08-20 10:05:46 +00:00
vm cache: drop the always curthread argument from reverse lookup routines 2020-08-24 08:57:02 +00:00
x86 amd64: Handle 5-level paging on wakeup. 2020-08-23 20:43:23 +00:00
xdr Split XDR into separate kernel module. Make krpc depend on xdr. 2020-04-17 06:04:20 +00:00
xen Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (16 of many) 2020-02-25 19:04:39 +00:00
Makefile