mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
bss_rlm_tlv() in mt7925_mcu_bss_rlm_tlv() has no case for NL80211_CHAN_WIDTH_320. When associated to a 320MHz BSS, the switch falls through to default and sends bw=0 (CMD_CBW_20MHZ) to firmware via BSS_RLM TLV. Firmware then configures the RX radio for 20MHz and cannot decode the AP's 320MHz frames, resulting in complete data path failure at 320MHz. Add the missing NL80211_CHAN_WIDTH_320 case with CMD_CBW_320MHZ and center_chan2. Tested on ASUS RT-BE92U: 320MHz throughput goes from 0 Mbps to 841 Mbps (iperf3 -t30 -P8), PHY 4803 Mbps EHT-MCS11. Reported-by: 张旭涵 <[email protected]> Closes: https://github.com/openwrt/mt76/issues/927 Tested-by: 张旭涵 <[email protected]> Tested-by: Marcin FM <[email protected]> Tested-by: Cristian-Florin Radoi <[email protected]> Tested-by: George Salukvadze <[email protected]> Tested-by: Evgeny Kapusta <[email protected]> Tested-by: Samu Toljamo <[email protected]> Tested-by: Ariel Rosenfeld <[email protected]> Tested-by: Chapuis Dario <[email protected]> Tested-by: Thibaut François <[email protected]> Reviewed-by: Sean Wang <[email protected]> Signed-off-by: Javier Tia <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Felix Fietkau <[email protected]>