rtw88: declare hw supports ch 144
authorZong-Zhe Yang <kevin_yang@realtek.com>
Fri, 4 Dec 2020 01:38:23 +0000 (09:38 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 7 Dec 2020 16:35:12 +0000 (18:35 +0200)
When driver was developed, FCC regulation didn't enable channel 144
and there was no demand for channel 144 at that time. Although HW
actually supports channel 144, driver didn't announce channel 144.
Therefore, channel 144 (20 MHz), channel 142 (40 MHz) and channel
138 (80 MHz) couldn't be used.

Today, channel 144 has been enabled by regulations and
is gradually being supported. With test requirements,
we declare hw supports channel 144.

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@codeaurora.org>
Link: https://lore.kernel.org/r/20201204013823.3729-1-pkshih@realtek.com
drivers/net/wireless/realtek/rtw88/main.c

index 47969a6f957c9d2842488c072a149f78de440a55..e7c1ae454524b26eb4b42b8f45b938115331cdf4 100644 (file)
@@ -67,6 +67,7 @@ static struct ieee80211_channel rtw_channeltable_5g[] = {
        {.center_freq = 5660, .hw_value = 132,},
        {.center_freq = 5680, .hw_value = 136,},
        {.center_freq = 5700, .hw_value = 140,},
+       {.center_freq = 5720, .hw_value = 144,},
        {.center_freq = 5745, .hw_value = 149,},
        {.center_freq = 5765, .hw_value = 153,},
        {.center_freq = 5785, .hw_value = 157,},