hostapd/src/drivers
Avraham Stern 6b9c86466c nl80211: Replace the channel flags for VHT support
The flags that indicate that a channel is allowed for 80/160 MHz use
are divided according to the position of the control channel (e.g.,
HOSTAPD_CHAN_VHT_10_70, HOSTAPD_CHAN_VHT_30_50, etc.).

However, the position of the control channel does not add any extra
regulatory information because when trying to use a 80/160 MHz channel
all the desired bandwidth has to be allowed for 80/160 MHz use,
regardless of the control channel position.

In addition, these flags are set only if the driver reports one
regulatory rule that allows the entire 80/160 MHz bandwidth.
However, even when a 80/160 MHz channel is allowed, in some cases the
bandwidth will be split into several regulatory rules because
different segments of the bandwidth differ in other flags (that don't
affect the use of the bandwidth for VHT channels). So, in such cases
these flags will not be set, although VHT channels are allowed.

As the result, VHT channels will not be used although they are allowed
by the regulatory domain.

Fix this by introducing new flags that indicate if a 2 0MHz channel is
allowed to be used as a part of a wider (80/160 MHz) channel.
The new flags are set for each 20 MHz channel independently and thus
will be set even if the regulatory rules for the bandwidth are split.

A 80/160 MHz channel is allowed if all its 20 MHz sub-channels are
allowed for 80/160 MHz usage.

Signed-off-by: Avraham Stern <avraham.stern@intel.com>
Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
2023-02-22 21:44:09 +02:00
..
android_drv.h Remove obsolete license notifications 2013-12-24 22:59:52 +02:00
driver.h nl80211: Replace the channel flags for VHT support 2023-02-22 21:44:09 +02:00
driver_atheros.c atheros: Do not include p2p.h 2022-02-10 17:54:43 +02:00
driver_bsd.c BSD: If route socket overflows, sync drivers to system interfaces 2021-02-06 13:27:24 +02:00
driver_common.c wpa_supplicant: Implement HE membership selector check 2022-12-16 20:31:14 +02:00
driver_hostap.c driver: Extend send_mlme() with wait option 2020-02-29 23:03:20 +02:00
driver_hostap.h hostap: Remove unused driver enum values with "master" in them 2021-10-11 20:33:50 +03:00
driver_macsec_linux.c macsec_linux: Add support for MACsec hardware offload 2023-02-21 19:26:59 +02:00
driver_macsec_qca.c src/drivers: Fix typos 2022-03-04 12:04:51 +02:00
driver_ndis.c Replace "dummy" with "stub" in NDIS driver interface 2021-10-11 20:56:56 +03:00
driver_ndis.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
driver_ndis_.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
driver_nl80211.c nl80211: Add frequency info in start AP command 2023-02-22 13:10:49 +02:00
driver_nl80211.h nl80211: Add support for MLD authentication 2022-12-03 13:59:19 +02:00
driver_nl80211_android.c Drop support for libnl 1.1 2020-01-02 18:05:38 +02:00
driver_nl80211_capa.c nl80211: Replace the channel flags for VHT support 2023-02-22 21:44:09 +02:00
driver_nl80211_event.c MLD STA: Add support for SAE external authentication offload to userspace 2023-02-15 23:49:59 +02:00
driver_nl80211_monitor.c nl80211: Use monitor interface for sending no-encrypt test frames 2020-01-04 20:23:05 +02:00
driver_nl80211_scan.c nl80211: Handle scan results with MLD connection 2022-12-03 17:27:54 +02:00
driver_none.c driver: Remove unused send_ether() driver op 2020-01-05 18:32:10 +02:00
driver_openbsd.c Replace WPA_ALG_PMK with KEY_FLAG_PMK 2020-03-06 21:44:31 +02:00
driver_privsep.c privsep: Mask out control port capability flag 2020-03-01 21:31:07 +02:00
driver_roboswitch.c roboswitch: Check some read operation results 2019-03-09 18:56:48 +02:00
driver_wext.c Add more nl80211 info to struct wpa_signal_info 2022-12-03 10:42:16 +02:00
driver_wext.h driver: Move set_key() parameters into a struct 2020-01-09 00:48:57 +02:00
driver_wired.c Fix indentation level 2018-11-30 21:28:19 +02:00
driver_wired_common.c wired: Mark some common helper functions static 2016-11-30 20:08:39 +02:00
driver_wired_common.h wired: Mark some common helper functions static 2016-11-30 20:08:39 +02:00
drivers.c macsec_linux: Add a driver for macsec on Linux kernels 2016-11-30 20:08:36 +02:00
drivers.mak nl80211: Add ACS support for Broadcom device 2021-02-27 12:14:09 +02:00
drivers.mk nl80211: Add ACS support for Broadcom device 2021-02-27 12:14:09 +02:00
linux_defines.h nl80211: Move definitions into separate header files 2014-10-26 17:03:24 +02:00
linux_ioctl.c vlan: Use new bridge ioctl() 2019-01-02 00:23:43 +02:00
linux_ioctl.h nl80211: Generic Linux master interface support for hostapd 2015-07-16 12:33:29 +03:00
linux_wext.h wext: Fix musl build error 2014-12-14 18:05:32 +02:00
Makefile Add CONFIG_CODE_COVERAGE=y option for gcov 2013-11-24 19:16:12 +02:00
ndis_events.c src/drivers: Fix typos 2022-03-04 12:04:51 +02:00
netlink.c Move default action from after switch to within 2022-10-14 16:08:20 +03:00
netlink.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
nl80211_copy.h Sync with wireless-next.git include/uapi/linux/nl80211.h 2022-12-17 14:12:39 +02:00
priv_netlink.h netlink: Fix RTM_SETLINK padding at the end of the message 2014-10-12 19:27:16 +03:00
rfkill.c rfkill: Fix a memory leak 2016-02-16 00:14:47 +02:00
rfkill.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00