openwrt/package
Sultan Alsawaf f338f76a66 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-20 12:33:50 +02:00
..
base-files base-files: add mtd_get_mac_encrypted_arcadyan function 2022-08-19 14:41:14 +02:00
boot realtek: d-link: add support for dgs-1210-10mp 2022-08-20 09:02:44 +02:00
devel Revert "binutils: update to 2.39" 2022-08-14 23:40:45 +02:00
firmware kernel: kmod-net-rtl8192su: Remove package 2022-08-10 21:36:17 +02:00
kernel mac80211: parse the correct set of HE capabilities for AP mode 2022-08-20 12:33:50 +02:00
libs zlib: backport null dereference fix 2022-08-09 08:08:08 +02:00
network iproute2: Fix KERNEL_INCLUDE in SDK 2022-08-18 00:07:32 +02:00
system fstools: update to git HEAD 2022-08-13 22:53:39 +02:00
utils uencrypt: support all available ciphers 2022-08-19 22:20:00 +02:00
Makefile build: fix opkg install step for large package selection 2021-05-12 11:13:53 +02:00