1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-18 21:48:23 +02:00
openwrt/package/kernel
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
..
acx-mac80211
ath10k-ct ath10k-ct: update to 2022-05-13 2022-05-19 11:07:02 +02:00
bcm27xx-gpu-fw bcm27xx-gpu-fw: update to latest version 2022-05-17 15:11:22 +02:00
bcm63xx-cfe
bpf-headers bpf-headers: drop HOST_LOADLIBES 2022-05-18 13:32:06 +03:00
broadcom-wl broadcom-wl: Fix compilation with kernel 5.10 2022-06-20 14:29:12 -07:00
button-hotplug
cryptodev-linux
dtc/patches
gpio-button-hotplug gpio-button-hotplug: fix data race 2022-04-09 15:56:04 +02:00
gpio-nct5104d
hwmon-gsc kernel: update dependencies after 'imx6' -> 'imx' rename 2021-11-03 12:45:40 +01:00
ksmbd ksmbd: fix compile on kernel 5.15.52+ 2022-07-09 06:25:23 +01:00
lantiq ltq-vdsl/ltq-adsl: fix elapsed time calculation 2022-05-04 01:38:04 +01:00
linux kernel: extract kmod-sched-act-ipt from kmod-sched 2022-08-15 16:51:50 +03:00
mac80211 mac80211: parse the correct set of HE capabilities for AP mode 2022-08-20 12:33:50 +02:00
mt76 mt76: update to the latest version 2022-07-03 19:25:12 +02:00
mt7621-qtn-rgmii
mwlwifi mwlwifi: fix 5.15 kernel support 2022-04-09 19:31:46 +02:00
nat46 nat46: update to git HEAD 2022-04-26 22:41:57 +02:00
rtc-rv5c386a
rtl8812au-ct rtl8812au-ct: update driver to be ready for 5.15 2021-12-11 00:50:02 +01:00
trelay