]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: rtw88: Fix rtw_update_sta_info() for RTL8814AU
authorBitterblue Smith <rtl8821cerfe2@gmail.com>
Tue, 4 Feb 2025 18:42:08 +0000 (20:42 +0200)
committerPing-Ke Shih <pkshih@realtek.com>
Mon, 10 Feb 2025 03:39:57 +0000 (11:39 +0800)
commit9f00e2218e15a2ea3c284567424a100c10b6fb85
tree95de9299f88db7088d82da721f791369a1357752
parent0f98a59596579b34932c06aec7d52c1e835fa1f0
wifi: rtw88: Fix rtw_update_sta_info() for RTL8814AU

This function tells the firmware what rates it can use.

Put the 3SS and 4SS HT rates supported by the other station into the
rate mask.

Remove the 3SS and 4SS rates from the rate mask if the hardware only has
2 spatial streams.

And finally, select the right rate ID (a parameter for the firmware)
when the hardware has 3 spatial streams.

Signed-off-by: Bitterblue Smith <rtl8821cerfe2@gmail.com>
Acked-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/48d1d90f-2aeb-4ec5-9a24-0980e10eae1e@gmail.com
drivers/net/wireless/realtek/rtw88/main.c