]> git.baikalelectronics.ru Git - kernel.git/commit
rtw88: follow the AP basic rates for tx mgmt frame
authorYu-Yen Ting <steventing@realtek.com>
Tue, 2 Nov 2021 02:24:53 +0000 (10:24 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 26 Nov 2021 16:20:01 +0000 (18:20 +0200)
commit86ac639f6b015ad017ab7d798bb18235287c726b
treeaf8e0afc5623eaa4f89e4eb3d39e992e6abcf547
parentfbcb4aa353d6725e90485d5ba443d01353c0758b
rtw88: follow the AP basic rates for tx mgmt frame

By default the driver uses the 1M and 6M rate for managemnt frames
in 2G and 5G bands respectively. But when the basic rates is
configured from the mac80211, we need to send the management frames
according to the basic rates.

This commit makes the driver use the lowest basic rates to send
the management frames.

Signed-off-by: Yu-Yen Ting <steventing@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20211102022454.10944-1-pkshih@realtek.com
drivers/net/wireless/realtek/rtw88/tx.c