opnsense-src/sys/dev/usb
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
..
controller Fix regression after r364379. 2020-08-20 17:45:54 +00:00
gadget Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (2 of many) 2020-02-15 18:52:12 +00:00
input usb(4): Stop checking for failures from malloc(M_WAITOK). 2020-07-22 14:32:47 +00:00
misc Remove the long obsolete ufm driver. 2020-08-20 17:35:47 +00:00
net clean up whitespace... 2020-07-25 18:09:04 +00:00
quirk Add support for RTL8156, 2.5GbE USB network controller, to if_cdce(4). 2019-07-10 05:45:50 +00:00
serial Add new USB device ID to u3g driver. 2020-03-17 09:12:47 +00:00
storage usb(4): Stop checking for failures from malloc(M_WAITOK). 2020-07-22 14:32:47 +00:00
template Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (2 of many) 2020-02-15 18:52:12 +00:00
video Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (2 of many) 2020-02-15 18:52:12 +00:00
wlan net80211: enhance getflags*() and ieee80211_add_channel*() 2020-08-24 13:15:08 +00:00
ufm_ioctl.h Regularize my copyright notice 2019-12-04 16:56:11 +00:00
uftdiio.h
uled_ioctl.h
usb.h Correctly implement support for remote wakeup for USB 3.0 device. 2020-03-19 09:15:59 +00:00
usb_bus.h Make USB statistics per device instead of per bus. 2019-12-27 20:29:13 +00:00
usb_busdma.c
usb_busdma.h
usb_cdc.h
usb_controller.h
usb_core.c
usb_core.h
usb_debug.c Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (2 of many) 2020-02-15 18:52:12 +00:00
usb_debug.h
usb_dev.c usb(4): Stop checking for failures from malloc(M_WAITOK). 2020-07-22 14:32:47 +00:00
usb_dev.h
usb_device.c usb(4): Stop checking for failures from malloc(M_WAITOK). 2020-07-22 14:32:47 +00:00
usb_device.h Refresh the USB device strings when a USB device is re-enumerated. 2020-05-11 20:55:04 +00:00
usb_dynamic.c
usb_dynamic.h
usb_endian.h
usb_error.c
usb_fdt_support.c Add common support functions for USB devices configured via FDT data. 2019-05-19 16:56:59 +00:00
usb_fdt_support.h Add common support functions for USB devices configured via FDT data. 2019-05-19 16:56:59 +00:00
usb_freebsd.h usb(4): Stop checking for failures from malloc(M_WAITOK). 2020-07-22 14:32:47 +00:00
usb_freebsd_loader.h usb(4): Stop checking for failures from malloc(M_WAITOK). 2020-07-22 14:32:47 +00:00
usb_generic.c usb(4): Stop checking for failures from malloc(M_WAITOK). 2020-07-22 14:32:47 +00:00
usb_generic.h
usb_handle_request.c
usb_hid.c USB HID descriptors may push/pop the current state to allow 2020-06-05 07:57:16 +00:00
usb_hub.c Refresh the USB device strings when a USB device is re-enumerated. 2020-05-11 20:55:04 +00:00
usb_hub.h
usb_hub_acpi.c Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (2 of many) 2020-02-15 18:52:12 +00:00
usb_hub_private.h Add ACPI support for USB driver. 2019-06-17 23:03:30 +00:00
usb_if.m
usb_ioctl.h Increase the maximum user-space buffer size from 256kBytes to 32MBytes for 2019-09-20 11:00:02 +00:00
usb_lookup.c
usb_mbuf.c usb(4): Stop checking for failures from malloc(M_WAITOK). 2020-07-22 14:32:47 +00:00
usb_mbuf.h
usb_msctest.c
usb_msctest.h
usb_parse.c
usb_pci.h
usb_pf.c
usb_pf.h
usb_process.c Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (2 of many) 2020-02-15 18:52:12 +00:00
usb_process.h
usb_request.c Reduce timeout for reading the USB HUB port status to 1000ms and try to filter 2019-01-04 21:09:38 +00:00
usb_request.h
usb_transfer.c usb(4): Stop checking for failures from malloc(M_WAITOK). 2020-07-22 14:32:47 +00:00
usb_transfer.h
usb_util.c
usb_util.h
usbdevs Add new USB ID. 2020-08-06 13:25:04 +00:00
usbdi.h Implement helper function, usbd_get_max_frame_length(), which allows kernel 2020-05-28 08:38:25 +00:00
usbdi_util.h
usbhid.h usbhid: add several missing usages from Digitizer page 2020-05-06 15:24:31 +00:00