diff options
| author | Peter Chiu <chui-hao.chiu@mediatek.com> | 2025-01-14 18:10:24 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-02-08 09:57:21 +0100 |
| commit | 776fb8be525f7f23de0606bcb200a593eff4e820 (patch) | |
| tree | 70f6c73ee0231b209eeea16572749e1d3af49661 /drivers/i2c | |
| parent | 2b7e4a8eeff53da8b0314f09df04034556cce87d (diff) | |
| download | linux-776fb8be525f7f23de0606bcb200a593eff4e820.tar.gz linux-776fb8be525f7f23de0606bcb200a593eff4e820.tar.bz2 linux-776fb8be525f7f23de0606bcb200a593eff4e820.zip | |
wifi: mt76: mt7996: fix ldpc setting
[ Upstream commit da8352da1e4f476fdbf549a4efce4f3c618fde3b ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/i2c')
0 files changed, 0 insertions, 0 deletions
