wifi: rtw89: fix EHT 20MHz TX rate for non-AP STA
authorKuan-Chung Chen <damon.chen@realtek.com>
Thu, 5 Jun 2025 11:42:07 +0000 (19:42 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Tue, 10 Jun 2025 01:49:00 +0000 (09:49 +0800)
commitfe30a8ae853bade282fce63e740b5f34bdc55f6e
tree66d3e6d373ce8bb706d602bc8be11a137d559008
parent28bb3d842e8f1ef0fb83257334e9d5cb1cff3d70
wifi: rtw89: fix EHT 20MHz TX rate for non-AP STA

The 4-octet EHT MCS/NSS subfield is only used for 20 MHz-only
non-AP STA. Correct the interpretation of this subfield to
prevent improper rate limitations.

Fixes: f1dfcee2eae9 ("wifi: rtw89: Correct EHT TX rate on 20MHz connection")
Signed-off-by: Kuan-Chung Chen <damon.chen@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20250605114207.12381-6-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/phy.c