wifi: rtw88: Fix action frame transmission fail before association
authorPo-Hao Huang <phhuang@realtek.com>
Thu, 15 Jun 2023 11:43:48 +0000 (19:43 +0800)
committerKalle Valo <kvalo@kernel.org>
Wed, 21 Jun 2023 09:40:26 +0000 (12:40 +0300)
commit2ce9a91fe8bfb0c8e647a6b7b88055881faf7502
tree16f330c6161df6b895181a6e15451e24be88b880
parentd33ed97dcab3efd7baebfb68cd19ff12f6211448
wifi: rtw88: Fix action frame transmission fail before association

For combo chips, antennas were controlled by bluetooth only during
power on. If WiFi wish to do transmission, notification to the coexistence
module are required. Previously we only do this before authentication.
To allow transmission before auth, such as management TX, now we start
the initiation of coexistence earlier so antennas are shared between
WiFi and bluetooth after set_channel(), and frames could then be sent.

Signed-off-by: Po-Hao Huang <phhuang@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20230615114348.7193-1-pkshih@realtek.com
drivers/net/wireless/realtek/rtw88/ps.c