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 RTL8192D_COMMON
41	select RTLWIFI
42	select RTLWIFI_PCI
43	help
44	This is the driver for Realtek RTL8192DE/RTL8188DE 802.11n PCIe
45	wireless network adapters.
46
47	If you choose to build it as a module, it will be called rtl8192de
48
49config RTL8723AE
50	tristate "Realtek RTL8723AE PCIe Wireless Network Adapter"
51	depends on PCI
52	select RTLWIFI
53	select RTLWIFI_PCI
54	select RTL8723_COMMON
55	select RTLBTCOEXIST
56	help
57	This is the driver for Realtek RTL8723AE 802.11n PCIe
58	wireless network adapters.
59
60	If you choose to build it as a module, it will be called rtl8723ae
61
62config RTL8723BE
63	tristate "Realtek RTL8723BE PCIe Wireless Network Adapter"
64	depends on PCI
65	select RTLWIFI
66	select RTLWIFI_PCI
67	select RTL8723_COMMON
68	select RTLBTCOEXIST
69	help
70	This is the driver for Realtek RTL8723BE 802.11n PCIe
71	wireless network adapters.
72
73	If you choose to build it as a module, it will be called rtl8723be
74
75config RTL8188EE
76	tristate "Realtek RTL8188EE Wireless Network Adapter"
77	depends on PCI
78	select RTLWIFI
79	select RTLWIFI_PCI
80	help
81	This is the driver for Realtek RTL8188EE 802.11n PCIe
82	wireless network adapters.
83
84	If you choose to build it as a module, it will be called rtl8188ee
85
86config RTL8192EE
87	tristate "Realtek RTL8192EE Wireless Network Adapter"
88	depends on PCI
89	select RTLWIFI
90	select RTLWIFI_PCI
91	select RTLBTCOEXIST
92	help
93	This is the driver for Realtek RTL8192EE 802.11n PCIe
94	wireless network adapters.
95
96	If you choose to build it as a module, it will be called rtl8192ee
97
98config RTL8821AE
99	tristate "Realtek RTL8821AE/RTL8812AE Wireless Network Adapter"
100	depends on PCI
101	select RTLWIFI
102	select RTLWIFI_PCI
103	select RTLBTCOEXIST
104	help
105	This is the driver for Realtek RTL8821AE/RTL8812AE 802.11ac PCIe
106	wireless network adapters.
107
108	If you choose to build it as a module, it will be called rtl8821ae
109
110config RTL8192CU
111	tristate "Realtek RTL8192CU/RTL8188CU USB Wireless Network Adapter"
112	depends on USB
113	select RTLWIFI
114	select RTLWIFI_USB
115	select RTL8192C_COMMON
116	help
117	This is the driver for Realtek RTL8192CU/RTL8188CU 802.11n USB
118	wireless network adapters.
119
120	If you choose to build it as a module, it will be called rtl8192cu
121
122config RTL8192DU
123	tristate "Realtek RTL8192DU USB Wireless Network Adapter"
124	depends on USB
125	select RTLWIFI
126	select RTLWIFI_USB
127	select RTL8192D_COMMON
128	help
129	This is the driver for Realtek RTL8192DU 802.11n USB
130	wireless network adapters.
131
132	If you choose to build it as a module, it will be called rtl8192du
133
134config RTLWIFI
135	tristate
136	select FW_LOADER
137
138config RTLWIFI_PCI
139	tristate
140
141config RTLWIFI_USB
142	tristate
143
144config RTLWIFI_DEBUG
145	bool "Debugging output for rtlwifi driver family"
146	depends on RTLWIFI
147	default y
148	help
149	To use the module option that sets the dynamic-debugging level for,
150	the front-end driver, this parameter must be "Y". For memory-limited
151	systems, choose "N". If in doubt, choose "Y".
152
153config RTL8192C_COMMON
154	tristate
155	depends on RTL8192CE || RTL8192CU
156	default y
157
158config RTL8192D_COMMON
159	tristate
160
161config RTL8723_COMMON
162	tristate
163	depends on RTL8723AE || RTL8723BE
164	default y
165
166config RTLBTCOEXIST
167	tristate
168	depends on RTL8723AE || RTL8723BE || RTL8821AE || RTL8192EE
169	default y
170
171endif
172