lede/package
Sultan Alsawaf 944cb3db09 mac80211: parse the correct set of HE capabilities for AP mode
It is common for 802.11ax NICs to support more than just AP mode, which
results in there being a distinct set of HE capabilities for each mode. As
(bad) luck would have it, iw prints out info for each HE mode in sequential
order according to `enum nl80211_iftype`, and AP mode isn't always first.

As a result, the wrong set of HE capabilities can be parsed if an AP NIC
supports station (managed) mode or any other mode preceding AP mode, since
only the first set of HE capabilities printed by iw is parsed from awk's
output.

This has a noticeable impact on beamforming for example, since managed mode
usually doesn't have beamformer capabilities enabled, while AP mode does.
Hostapd won't be set up with the configs to enable beamformer capabilities
in this scenario, causing hostapd to disable beamforming to HE stations
even when it's supported by the AP.

Always parse the correct set of HE capabilities for AP mode to fix this.
This is achieved by trimming all of iw's output prior to the AP mode
capabilities, which ensures that the first set of HE capabilities are
always for AP mode.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
2022-08-23 22:54:48 +08:00
..
base-files Revert "base-file: remove password aging feature form /etc/shadow" 2022-02-25 23:17:10 +08:00
boot uboot-rockchip: add RK3568 Radxa ROCK 3A board support 2022-08-20 02:14:11 +08:00
devel gdb: Update gdb to version 11.2 (#8954) 2022-02-27 01:50:07 +08:00
firmware linux-firmware: add RTL8811/8821CU firmware 2022-08-20 02:07:31 +08:00
kernel mac80211: parse the correct set of HE capabilities for AP mode 2022-08-23 22:54:48 +08:00
lean vsftpd-alt: fix compilation with glibc 2022-08-23 21:30:18 +08:00
libs zlib: backport null dereference fix 2022-08-10 11:06:52 +08:00
network hostapd: fix WPA3 enterprise keys and ciphers 2022-08-23 22:52:32 +08:00
qat openssl-qat: fix openssl-qat build 2022-04-25 19:02:30 +08:00
qca qca-mcs: drop ugly hack 2022-04-16 22:56:28 +08:00
system openwrt-keyring: add OpenWrt 22.03 GPG/usign keys (#9128) 2022-03-25 23:00:09 +08:00
utils sdk: add spidev-test to the bundle of userspace sources 2022-07-20 17:42:22 +08:00
Makefile add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00