rtw88: 8723d: 11N chips don't support H2C queue
authorPing-Ke Shih <pkshih@realtek.com>
Wed, 22 Apr 2020 03:46:04 +0000 (11:46 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 23 Apr 2020 04:47:24 +0000 (07:47 +0300)
commit7907b52de08aeb27cea05bd3a2c825658f91f051
treee3664be9a9296fb9e45b45c59fd5da65558e5d9a
parentfd9ead385102652b43f628ca700810d343c52437
rtw88: 8723d: 11N chips don't support H2C queue

H2C queue is used to send command to firmware. Since 8723D doesn't support
this queue, this commit check wlan_cpu flag to avoid to set H2C related
registers.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200422034607.28747-6-yhchuang@realtek.com
drivers/net/wireless/realtek/rtw88/mac.c
drivers/net/wireless/realtek/rtw88/pci.c