wifi: rtw89: Fix P2P behavior for WiFi 7 chips
authorPo-Hao Huang <phhuang@realtek.com>
Wed, 22 May 2024 02:45:31 +0000 (10:45 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Mon, 27 May 2024 09:05:44 +0000 (17:05 +0800)
commite88c1714b2c7b230c799a00973bdeb374c765c06
tree73a445944bf08994488ca363af574906923a4e92
parent85e02a0aee586d031c3804de488e67daf8e16f9f
wifi: rtw89: Fix P2P behavior for WiFi 7 chips

Previously we used CCK rate when scanning for P2P on WiFi 7 chips.
Fix this by explicitly setting the rate to OFDM 6Mbps.

Signed-off-by: Po-Hao Huang <phhuang@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://msgid.link/20240522024531.11401-1-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/fw.c
drivers/net/wireless/realtek/rtw89/fw.h