]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: mt76: mt7996: fix ldpc setting
authorPeter Chiu <chui-hao.chiu@mediatek.com>
Tue, 14 Jan 2025 10:10:24 +0000 (18:10 +0800)
committerFelix Fietkau <nbd@nbd.name>
Tue, 14 Jan 2025 12:42:30 +0000 (13:42 +0100)
commitda8352da1e4f476fdbf549a4efce4f3c618fde3b
treefb1be217c7de92bbecab18b58c0fb8826c644767
parent14749fe2ed360c92c1a2a76dac0b77f759234981
wifi: mt76: mt7996: fix ldpc setting

The non-AP interfaces would not use conf->vht_ldpc so they never set
STA_CAP_VHT_LDPC even if peer-station support LDPC.
Check conf->vht_ldpc only for AP interface.

Without this patch, station only uses BCC to transmit packet in VHT mode.

Fixes: dda423dd65c3 ("wifi: mt76: mt7996: remove mt7996_mcu_beacon_check_caps()")
Signed-off-by: Peter Chiu <chui-hao.chiu@mediatek.com>
Signed-off-by: Shayne Chen <shayne.chen@mediatek.com>
Link: https://patch.msgid.link/20250114101026.3587702-7-shayne.chen@mediatek.com
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7996/mcu.c