xref: /linux/drivers/net/wireless/realtek/rtw89/Kconfig (revision 8f7aa3d3c7323f4ca2768a9e74ebbe359c4f8f88)
1e3ec7017SPing-Ke Shih# SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
2e3ec7017SPing-Ke Shihmenuconfig RTW89
3e3ec7017SPing-Ke Shih	tristate "Realtek 802.11ax wireless chips support"
4e3ec7017SPing-Ke Shih	depends on MAC80211
5e3ec7017SPing-Ke Shih	help
6e3ec7017SPing-Ke Shih	  This module adds support for mac80211-based wireless drivers that
7e3ec7017SPing-Ke Shih	  enables Realtek IEEE 802.11ax wireless chipsets.
8e3ec7017SPing-Ke Shih
9e3ec7017SPing-Ke Shih	  If you choose to build a module, it'll be called rtw89.
10e3ec7017SPing-Ke Shih
11e3ec7017SPing-Ke Shihif RTW89
12e3ec7017SPing-Ke Shih
13e3ec7017SPing-Ke Shihconfig RTW89_CORE
14e3ec7017SPing-Ke Shih	tristate
15d523dc49SZong-Zhe Yang	select WANT_DEV_COREDUMP
16e3ec7017SPing-Ke Shih
17e3ec7017SPing-Ke Shihconfig RTW89_PCI
18e3ec7017SPing-Ke Shih	tristate
19e3ec7017SPing-Ke Shih
2000300881SBitterblue Smithconfig RTW89_USB
2100300881SBitterblue Smith	tristate
2200300881SBitterblue Smith
2314820388SPing-Ke Shihconfig RTW89_8851B
2414820388SPing-Ke Shih	tristate
2514820388SPing-Ke Shih
26861e58c8SZong-Zhe Yangconfig RTW89_8852A
27861e58c8SZong-Zhe Yang	tristate
28861e58c8SZong-Zhe Yang
295a72e198SPing-Ke Shihconfig RTW89_8852B_COMMON
305a72e198SPing-Ke Shih	tristate
315a72e198SPing-Ke Shih
32b5db4ef3SPing-Ke Shihconfig RTW89_8852B
33b5db4ef3SPing-Ke Shih	tristate
34b5db4ef3SPing-Ke Shih
35b9cdbb06SPing-Ke Shihconfig RTW89_8852BT
36b9cdbb06SPing-Ke Shih	tristate
37b9cdbb06SPing-Ke Shih
387ba49f4cSPing-Ke Shihconfig RTW89_8852C
397ba49f4cSPing-Ke Shih	tristate
407ba49f4cSPing-Ke Shih
41f95d9045SPing-Ke Shihconfig RTW89_8922A
42f95d9045SPing-Ke Shih	tristate
43f95d9045SPing-Ke Shih
4414820388SPing-Ke Shihconfig RTW89_8851BE
4514820388SPing-Ke Shih	tristate "Realtek 8851BE PCI wireless network (Wi-Fi 6) adapter"
4614820388SPing-Ke Shih	depends on PCI
4714820388SPing-Ke Shih	select RTW89_CORE
4814820388SPing-Ke Shih	select RTW89_PCI
4914820388SPing-Ke Shih	select RTW89_8851B
5014820388SPing-Ke Shih	help
5114820388SPing-Ke Shih	  Select this option will enable support for 8851BE chipset
5214820388SPing-Ke Shih
5314820388SPing-Ke Shih	  802.11ax PCIe wireless network (Wi-Fi 6) adapter
5414820388SPing-Ke Shih
5500300881SBitterblue Smithconfig RTW89_8851BU
5600300881SBitterblue Smith	tristate "Realtek 8851BU USB wireless network (Wi-Fi 6) adapter"
5700300881SBitterblue Smith	depends on USB
5800300881SBitterblue Smith	select RTW89_CORE
5900300881SBitterblue Smith	select RTW89_USB
6000300881SBitterblue Smith	select RTW89_8851B
6100300881SBitterblue Smith	help
6200300881SBitterblue Smith	  Select this option will enable support for 8851BU chipset
6300300881SBitterblue Smith
6400300881SBitterblue Smith	  802.11ax USB wireless network (Wi-Fi 6) adapter
6500300881SBitterblue Smith
66e3ec7017SPing-Ke Shihconfig RTW89_8852AE
677ba49f4cSPing-Ke Shih	tristate "Realtek 8852AE PCI wireless network (Wi-Fi 6) adapter"
68e3ec7017SPing-Ke Shih	depends on PCI
69e3ec7017SPing-Ke Shih	select RTW89_CORE
70e3ec7017SPing-Ke Shih	select RTW89_PCI
71861e58c8SZong-Zhe Yang	select RTW89_8852A
72e3ec7017SPing-Ke Shih	help
73e3ec7017SPing-Ke Shih	  Select this option will enable support for 8852AE chipset
74e3ec7017SPing-Ke Shih
757ba49f4cSPing-Ke Shih	  802.11ax PCIe wireless network (Wi-Fi 6) adapter
767ba49f4cSPing-Ke Shih
77*623c1773SBitterblue Smithconfig RTW89_8852AU
78*623c1773SBitterblue Smith	tristate "Realtek 8852AU USB wireless network (Wi-Fi 6) adapter"
79*623c1773SBitterblue Smith	depends on USB
80*623c1773SBitterblue Smith	select RTW89_CORE
81*623c1773SBitterblue Smith	select RTW89_USB
82*623c1773SBitterblue Smith	select RTW89_8852A
83*623c1773SBitterblue Smith	help
84*623c1773SBitterblue Smith	  Select this option will enable support for 8852AU chipset
85*623c1773SBitterblue Smith
86*623c1773SBitterblue Smith	  802.11ax USB wireless network (Wi-Fi 6) adapter
87*623c1773SBitterblue Smith
88b5db4ef3SPing-Ke Shihconfig RTW89_8852BE
89b5db4ef3SPing-Ke Shih	tristate "Realtek 8852BE PCI wireless network (Wi-Fi 6) adapter"
90b5db4ef3SPing-Ke Shih	depends on PCI
91b5db4ef3SPing-Ke Shih	select RTW89_CORE
92b5db4ef3SPing-Ke Shih	select RTW89_PCI
93b5db4ef3SPing-Ke Shih	select RTW89_8852B
945a72e198SPing-Ke Shih	select RTW89_8852B_COMMON
95b5db4ef3SPing-Ke Shih	help
96b5db4ef3SPing-Ke Shih	  Select this option will enable support for 8852BE chipset
97b5db4ef3SPing-Ke Shih
98b5db4ef3SPing-Ke Shih	  802.11ax PCIe wireless network (Wi-Fi 6) adapter
99b5db4ef3SPing-Ke Shih
1004b295f4fSBitterblue Smithconfig RTW89_8852BU
1014b295f4fSBitterblue Smith	tristate "Realtek 8852BU USB wireless network (Wi-Fi 6) adapter"
1024b295f4fSBitterblue Smith	depends on USB
1034b295f4fSBitterblue Smith	select RTW89_CORE
1044b295f4fSBitterblue Smith	select RTW89_USB
1054b295f4fSBitterblue Smith	select RTW89_8852B
1064b295f4fSBitterblue Smith	select RTW89_8852B_COMMON
1074b295f4fSBitterblue Smith	help
1084b295f4fSBitterblue Smith	  Select this option will enable support for 8852BU chipset
1094b295f4fSBitterblue Smith
1104b295f4fSBitterblue Smith	  802.11ax USB wireless network (Wi-Fi 6) adapter
1114b295f4fSBitterblue Smith
112b9cdbb06SPing-Ke Shihconfig RTW89_8852BTE
113b9cdbb06SPing-Ke Shih	tristate "Realtek 8852BE-VT PCI wireless network (Wi-Fi 6) adapter"
114b9cdbb06SPing-Ke Shih	depends on PCI
115b9cdbb06SPing-Ke Shih	select RTW89_CORE
116b9cdbb06SPing-Ke Shih	select RTW89_PCI
117b9cdbb06SPing-Ke Shih	select RTW89_8852BT
118b9cdbb06SPing-Ke Shih	select RTW89_8852B_COMMON
119b9cdbb06SPing-Ke Shih	help
120b9cdbb06SPing-Ke Shih	  Select this option will enable support for 8852BE-VT chipset
121b9cdbb06SPing-Ke Shih
122b9cdbb06SPing-Ke Shih	  802.11ax PCIe wireless network (Wi-Fi 6) adapter
123b9cdbb06SPing-Ke Shih
1247ba49f4cSPing-Ke Shihconfig RTW89_8852CE
1257ba49f4cSPing-Ke Shih	tristate "Realtek 8852CE PCI wireless network (Wi-Fi 6E) adapter"
1267ba49f4cSPing-Ke Shih	depends on PCI
1277ba49f4cSPing-Ke Shih	select RTW89_CORE
1287ba49f4cSPing-Ke Shih	select RTW89_PCI
1297ba49f4cSPing-Ke Shih	select RTW89_8852C
1307ba49f4cSPing-Ke Shih	help
1317ba49f4cSPing-Ke Shih	  Select this option will enable support for 8852CE chipset
1327ba49f4cSPing-Ke Shih
1337ba49f4cSPing-Ke Shih	  802.11ax PCIe wireless network (Wi-Fi 6E) adapter
134e3ec7017SPing-Ke Shih
1350d971ffdSBitterblue Smithconfig RTW89_8852CU
1360d971ffdSBitterblue Smith	tristate "Realtek 8852CU USB wireless network (Wi-Fi 6E) adapter"
1370d971ffdSBitterblue Smith	depends on USB
1380d971ffdSBitterblue Smith	select RTW89_CORE
1390d971ffdSBitterblue Smith	select RTW89_USB
1400d971ffdSBitterblue Smith	select RTW89_8852C
1410d971ffdSBitterblue Smith	help
1420d971ffdSBitterblue Smith	  Select this option will enable support for 8852CU chipset
1430d971ffdSBitterblue Smith
1440d971ffdSBitterblue Smith	  802.11ax USB wireless network (Wi-Fi 6E) adapter
1450d971ffdSBitterblue Smith
146f95d9045SPing-Ke Shihconfig RTW89_8922AE
147456ad321SPing-Ke Shih	tristate "Realtek 8922AE/8922AE-VS PCI wireless network (Wi-Fi 7) adapter"
148f95d9045SPing-Ke Shih	depends on PCI
149f95d9045SPing-Ke Shih	select RTW89_CORE
150f95d9045SPing-Ke Shih	select RTW89_PCI
151f95d9045SPing-Ke Shih	select RTW89_8922A
152f95d9045SPing-Ke Shih	help
153456ad321SPing-Ke Shih	  Select this option will enable support for 8922AE/8922AE-VS chipset
154f95d9045SPing-Ke Shih
155f95d9045SPing-Ke Shih	  802.11be PCIe wireless network (Wi-Fi 7) adapter
156f95d9045SPing-Ke Shih	  supporting 2x2 2GHz/5GHz/6GHz 4096-QAM 160MHz channels.
157f95d9045SPing-Ke Shih
158456ad321SPing-Ke Shih	  The variant 8922AE-VS has the same features except 1024-QAM.
159456ad321SPing-Ke Shih
160e3ec7017SPing-Ke Shihconfig RTW89_DEBUG
161e3ec7017SPing-Ke Shih	bool
162e3ec7017SPing-Ke Shih
163e3ec7017SPing-Ke Shihconfig RTW89_DEBUGMSG
164e3ec7017SPing-Ke Shih	bool "Realtek rtw89 debug message support"
165e3ec7017SPing-Ke Shih	depends on RTW89_CORE
166e3ec7017SPing-Ke Shih	select RTW89_DEBUG
167e3ec7017SPing-Ke Shih	help
168e3ec7017SPing-Ke Shih	  Enable debug message support
169e3ec7017SPing-Ke Shih
170e3ec7017SPing-Ke Shih	  If unsure, say Y to simplify debug problems
171e3ec7017SPing-Ke Shih
172e3ec7017SPing-Ke Shihconfig RTW89_DEBUGFS
173e3ec7017SPing-Ke Shih	bool "Realtek rtw89 debugfs support"
174a0519433SPing-Ke Shih	depends on RTW89_CORE && CFG80211_DEBUGFS
175e3ec7017SPing-Ke Shih	select RTW89_DEBUG
176e3ec7017SPing-Ke Shih	help
177e3ec7017SPing-Ke Shih	  Enable debugfs support
178e3ec7017SPing-Ke Shih
179e3ec7017SPing-Ke Shih	  If unsure, say Y to simplify debug problems
180e3ec7017SPing-Ke Shih
181e3ec7017SPing-Ke Shihendif
182