]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
UBUNTU: SAUCE: rtw88: 8723d: Add set_channel
authorPing-Ke Shih <pkshih@realtek.com>
Thu, 28 Nov 2019 03:26:00 +0000 (11:26 +0800)
committerSeth Forshee <seth.forshee@canonical.com>
Fri, 20 Mar 2020 21:31:31 +0000 (16:31 -0500)
commit23b4633db09d303221b560761ea7033e0a9932b9
tree170c20dfcbf7f45ba03b1cddc3eae1f365b9fb0e
parent37d40592a3a53b2a273a0a02af07aa8331966293
UBUNTU: SAUCE: rtw88: 8723d: Add set_channel

BugLink: https://bugs.launchpad.net/bugs/1780590
Set MAC/BB/RF register according to specified channel. The function
rtw_set_channel_mac() is used to set MAC registers, but 8723D only need
some of them.

For channel 14, we need to set different CCK DFIR values, so restore the
values when channel 1 to 13 is selected.

Spur calibration is needed in channel 13 and 14, and we do notch if spur
is over threshold.

Change-Id: Ib7354379c21a70b4f2090c00c66f0151c3c3d3d2
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/net/wireless/realtek/rtw88/mac.c
drivers/net/wireless/realtek/rtw88/rtw8723d.c
drivers/net/wireless/realtek/rtw88/rtw8723d.h