OSDN Git Service

wifi: rtw89: no HTC field if TX rate might fallback to legacy
authorPing-Ke Shih <pkshih@realtek.com>
Fri, 26 Aug 2022 06:10:09 +0000 (14:10 +0800)
committerKalle Valo <kvalo@kernel.org>
Fri, 2 Sep 2022 08:37:31 +0000 (11:37 +0300)
commit0d466f05262a941afc0431ae3bd007a78e7b74f6
tree31d933f4edacc88273c24f064dd37d0b0de3c4b4
parent4a29213cd775cabcbe395229d175903accedbb9d
wifi: rtw89: no HTC field if TX rate might fallback to legacy

Packets containing HTC field with legacy rate could be dropped by AP. If
TX rate of report is lower than MCS2, hardware might fall back rate to
legacy. Therefore, add a checking rule to avoid HTC field in this
situation.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220826061011.9037-1-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/core.c
drivers/net/wireless/realtek/rtw89/core.h
drivers/net/wireless/realtek/rtw89/debug.c
drivers/net/wireless/realtek/rtw89/phy.c