]> git.baikalelectronics.ru Git - kernel.git/commit
rtw89: handle 6G band if supported by a chipset
authorZong-Zhe Yang <kevin_yang@realtek.com>
Thu, 13 Jan 2022 01:10:41 +0000 (09:10 +0800)
committerKalle Valo <kvalo@kernel.org>
Fri, 28 Jan 2022 15:57:23 +0000 (17:57 +0200)
commit0237f65aa65c29d13eb139bc0badb7d7ca5e0a84
tree57b1e40fcbdddcbf5c6f0d47da82fb619ec43f41
parent14f0999d49e7067424c84dbe7eaf18988f657821
rtw89: handle 6G band if supported by a chipset

For next chipset which can support 6G band, we add the handling
of ieee80211_supported_band for 6G band in advance. And a bitmap,
support_bands, is added to rtw89_chip_info to declare which
NL80211_BAND_* are supported. With the chipset's declaration,
we register the corresponding instances of ieee80211_supported_band
with wiphy.

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/20220113011042.6705-1-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/core.c
drivers/net/wireless/realtek/rtw89/core.h
drivers/net/wireless/realtek/rtw89/rtw8852a.c