mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 21:36:52 +00:00
The RX vector (RXV) and TX status (TXS) parsing in mac.c lack handling for 320MHz channel width. When the hardware reports 320MHz in the bandwidth field, mt7925_mac_fill_rx_rate() returns -EINVAL and mt7925_mac_add_txs_skb() records no bandwidth stats. Add IEEE80211_STA_RX_BW_320 cases to both functions. The RXV parser also handles BW_320+1 since the hardware can report 320MHz in two adjacent encoding positions. 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]> Tested-by: 张旭涵 <[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]>