]> git.baikalelectronics.ru Git - kernel.git/commit
rtw89: extend subband for 6G band
authorZong-Zhe Yang <kevin_yang@realtek.com>
Fri, 11 Feb 2022 07:59:50 +0000 (15:59 +0800)
committerKalle Valo <kvalo@kernel.org>
Mon, 14 Feb 2022 18:06:22 +0000 (20:06 +0200)
commit79aa599ab8e2cd0efc52511dec2ce61f021224b1
tree3c18b4fc94f029ddd15c2ebb179dc5bcc517b24e
parent7fb6278acac50806d0966df470246b6821233ba8
rtw89: extend subband for 6G band

Split 6G band into 8 sub-bands where indexes are from 0 to 7,
i.e. RTW89_CH_6G_BAND_IDX[0-7]. Then, decide subband by both
band and channel instead of just channel because conflicts
between 5G channels and 6G channels.

Moreover, add default case to the existing use of switch (subband).

Signed-off-by: Zong-Zhe Yang <kevin_yang@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/20220211075953.40421-4-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/core.c
drivers/net/wireless/realtek/rtw89/core.h
drivers/net/wireless/realtek/rtw89/rtw8852a_rfk.c