1# SPDX-License-Identifier: GPL-2.0-only
2menuconfig RTL_CARDS
3	tristate "Realtek rtlwifi family of devices"
4	depends on MAC80211 && (PCI || USB)
5	default y
6	help
7	  This option will enable support for the Realtek mac80211-based
8	  wireless drivers. Drivers rtl8192ce, rtl8192cu, rtl8192se, rtl8192de,
9	  rtl8723ae, rtl8723be, rtl8188ee, rtl8192ee, and rtl8821ae share
10	  some common code.
11
12if RTL_CARDS
13
14config RTL8192CE
15	tristate "Realtek RTL8192CE/RTL8188CE Wireless Network Adapter"
16	depends on PCI
17	select RTL8192C_COMMON
18	select RTLWIFI
19	select RTLWIFI_PCI
20	help
21	This is the driver for Realtek RTL8192CE/RTL8188CE 802.11n PCIe
22	wireless network adapters.
23
24	If you choose to build it as a module, it will be called rtl8192ce
25
26config RTL8192SE
27	tristate "Realtek RTL8192SE/RTL8191SE PCIe Wireless Network Adapter"
28	depends on PCI
29	select RTLWIFI
30	select RTLWIFI_PCI
31	help
32	This is the driver for Realtek RTL8192SE/RTL8191SE 802.11n PCIe
33	wireless network adapters.
34
35	If you choose to build it as a module, it will be called rtl8192se
36
37config RTL8192DE
38	tristate "Realtek RTL8192DE/RTL8188DE PCIe Wireless Network Adapter"
39	depends on PCI
40	select RTLWIFI
41	select RTLWIFI_PCI
42	help
43	This is the driver for Realtek RTL8192DE/RTL8188DE 802.11n PCIe
44	wireless network adapters.
45
46	If you choose to build it as a module, it will be called rtl8192de
47
48config RTL8723AE
49	tristate "Realtek RTL8723AE PCIe Wireless Network Adapter"
50	depends on PCI
51	select RTLWIFI
52	select RTLWIFI_PCI
53	select RTL8723_COMMON
54	select RTLBTCOEXIST
55	help
56	This is the driver for Realtek RTL8723AE 802.11n PCIe
57	wireless network adapters.
58
59	If you choose to build it as a module, it will be called rtl8723ae
60
61config RTL8723BE
62	tristate "Realtek RTL8723BE PCIe Wireless Network Adapter"
63	depends on PCI
64	select RTLWIFI
65	select RTLWIFI_PCI
66	select RTL8723_COMMON
67	select RTLBTCOEXIST
68	help
69	This is the driver for Realtek RTL8723BE 802.11n PCIe
70	wireless network adapters.
71
72	If you choose to build it as a module, it will be called rtl8723be
73
74config RTL8188EE
75	tristate "Realtek RTL8188EE Wireless Network Adapter"
76	depends on PCI
77	select RTLWIFI
78	select RTLWIFI_PCI
79	help
80	This is the driver for Realtek RTL8188EE 802.11n PCIe
81	wireless network adapters.
82
83	If you choose to build it as a module, it will be called rtl8188ee
84
85config RTL8192EE
86	tristate "Realtek RTL8192EE Wireless Network Adapter"
87	depends on PCI
88	select RTLWIFI
89	select RTLWIFI_PCI
90	select RTLBTCOEXIST
91	help
92	This is the driver for Realtek RTL8192EE 802.11n PCIe
93	wireless network adapters.
94
95	If you choose to build it as a module, it will be called rtl8192ee
96
97config RTL8821AE
98	tristate "Realtek RTL8821AE/RTL8812AE Wireless Network Adapter"
99	depends on PCI
100	select RTLWIFI
101	select RTLWIFI_PCI
102	select RTLBTCOEXIST
103	help
104	This is the driver for Realtek RTL8821AE/RTL8812AE 802.11ac PCIe
105	wireless network adapters.
106
107	If you choose to build it as a module, it will be called rtl8821ae
108
109config RTL8192CU
110	tristate "Realtek RTL8192CU/RTL8188CU USB Wireless Network Adapter"
111	depends on USB
112	select RTLWIFI
113	select RTLWIFI_USB
114	select RTL8192C_COMMON
115	help
116	This is the driver for Realtek RTL8192CU/RTL8188CU 802.11n USB
117	wireless network adapters.
118
119	If you choose to build it as a module, it will be called rtl8192cu
120
121config RTLWIFI
122	tristate
123	select FW_LOADER
124
125config RTLWIFI_PCI
126	tristate
127
128config RTLWIFI_USB
129	tristate
130
131config RTLWIFI_DEBUG
132	bool "Debugging output for rtlwifi driver family"
133	depends on RTLWIFI
134	default y
135	help
136	To use the module option that sets the dynamic-debugging level for,
137	the front-end driver, this parameter must be "Y". For memory-limited
138	systems, choose "N". If in doubt, choose "Y".
139
140config RTL8192C_COMMON
141	tristate
142	depends on RTL8192CE || RTL8192CU
143	default y
144
145config RTL8723_COMMON
146	tristate
147	depends on RTL8723AE || RTL8723BE
148	default y
149
150config RTLBTCOEXIST
151	tristate
152	depends on RTL8723AE || RTL8723BE || RTL8821AE || RTL8192EE
153	default y
154
155endif
156