1# SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 2menuconfig RTW89 3 tristate "Realtek 802.11ax wireless chips support" 4 depends on MAC80211 5 help 6 This module adds support for mac80211-based wireless drivers that 7 enables Realtek IEEE 802.11ax wireless chipsets. 8 9 If you choose to build a module, it'll be called rtw89. 10 11if RTW89 12 13config RTW89_CORE 14 tristate 15 select WANT_DEV_COREDUMP 16 17config RTW89_PCI 18 tristate 19 20config RTW89_USB 21 tristate 22 23config RTW89_8851B 24 tristate 25 26config RTW89_8852A 27 tristate 28 29config RTW89_8852B_COMMON 30 tristate 31 32config RTW89_8852B 33 tristate 34 35config RTW89_8852BT 36 tristate 37 38config RTW89_8852C 39 tristate 40 41config RTW89_8922A 42 tristate 43 44config RTW89_8922D 45 tristate 46 47config RTW89_8851BE 48 tristate "Realtek 8851BE PCI wireless network (Wi-Fi 6) adapter" 49 depends on PCI 50 select RTW89_CORE 51 select RTW89_PCI 52 select RTW89_8851B 53 help 54 Select this option will enable support for 8851BE chipset 55 56 802.11ax PCIe wireless network (Wi-Fi 6) adapter 57 58config RTW89_8851BU 59 tristate "Realtek 8851BU USB wireless network (Wi-Fi 6) adapter" 60 depends on USB 61 select RTW89_CORE 62 select RTW89_USB 63 select RTW89_8851B 64 help 65 Select this option will enable support for 8851BU chipset 66 67 802.11ax USB wireless network (Wi-Fi 6) adapter 68 69config RTW89_8852AE 70 tristate "Realtek 8852AE PCI wireless network (Wi-Fi 6) adapter" 71 depends on PCI 72 select RTW89_CORE 73 select RTW89_PCI 74 select RTW89_8852A 75 help 76 Select this option will enable support for 8852AE chipset 77 78 802.11ax PCIe wireless network (Wi-Fi 6) adapter 79 80config RTW89_8852AU 81 tristate "Realtek 8852AU USB wireless network (Wi-Fi 6) adapter" 82 depends on USB 83 select RTW89_CORE 84 select RTW89_USB 85 select RTW89_8852A 86 help 87 Select this option will enable support for 8852AU chipset 88 89 802.11ax USB wireless network (Wi-Fi 6) adapter 90 91config RTW89_8852BE 92 tristate "Realtek 8852BE PCI wireless network (Wi-Fi 6) adapter" 93 depends on PCI 94 select RTW89_CORE 95 select RTW89_PCI 96 select RTW89_8852B 97 select RTW89_8852B_COMMON 98 help 99 Select this option will enable support for 8852BE chipset 100 101 802.11ax PCIe wireless network (Wi-Fi 6) adapter 102 103config RTW89_8852BU 104 tristate "Realtek 8852BU USB wireless network (Wi-Fi 6) adapter" 105 depends on USB 106 select RTW89_CORE 107 select RTW89_USB 108 select RTW89_8852B 109 select RTW89_8852B_COMMON 110 help 111 Select this option will enable support for 8852BU chipset 112 113 802.11ax USB wireless network (Wi-Fi 6) adapter 114 115config RTW89_8852BTE 116 tristate "Realtek 8852BE-VT PCI wireless network (Wi-Fi 6) adapter" 117 depends on PCI 118 select RTW89_CORE 119 select RTW89_PCI 120 select RTW89_8852BT 121 select RTW89_8852B_COMMON 122 help 123 Select this option will enable support for 8852BE-VT chipset 124 125 802.11ax PCIe wireless network (Wi-Fi 6) adapter 126 127config RTW89_8852CE 128 tristate "Realtek 8852CE PCI wireless network (Wi-Fi 6E) adapter" 129 depends on PCI 130 select RTW89_CORE 131 select RTW89_PCI 132 select RTW89_8852C 133 help 134 Select this option will enable support for 8852CE chipset 135 136 802.11ax PCIe wireless network (Wi-Fi 6E) adapter 137 138config RTW89_8852CU 139 tristate "Realtek 8852CU USB wireless network (Wi-Fi 6E) adapter" 140 depends on USB 141 select RTW89_CORE 142 select RTW89_USB 143 select RTW89_8852C 144 help 145 Select this option will enable support for 8852CU chipset 146 147 802.11ax USB wireless network (Wi-Fi 6E) adapter 148 149config RTW89_8922AE 150 tristate "Realtek 8922AE/8922AE-VS PCI wireless network (Wi-Fi 7) adapter" 151 depends on PCI 152 select RTW89_CORE 153 select RTW89_PCI 154 select RTW89_8922A 155 help 156 Select this option will enable support for 8922AE/8922AE-VS chipset 157 158 802.11be PCIe wireless network (Wi-Fi 7) adapter 159 supporting 2x2 2GHz/5GHz/6GHz 4096-QAM 160MHz channels. 160 161 The variant 8922AE-VS has the same features except 1024-QAM. 162 163config RTW89_8922AU 164 tristate "Realtek 8922AU USB wireless network (Wi-Fi 7) adapter" 165 depends on USB 166 select RTW89_CORE 167 select RTW89_USB 168 select RTW89_8922A 169 help 170 Select this option will enable support for 8922AU chipset 171 172 802.11be USB wireless network (Wi-Fi 7) adapter 173 supporting 2x2 2GHz/5GHz/6GHz 4096-QAM 160MHz channels. 174 175config RTW89_8922DE 176 tristate "Realtek 8922DE/8922DE-VS PCI wireless network (Wi-Fi 7) adapter" 177 depends on PCI 178 select RTW89_CORE 179 select RTW89_PCI 180 select RTW89_8922D 181 help 182 Select this option will enable support for 8922DE/8922DE-VS chipset 183 184 802.11be PCIe wireless network (Wi-Fi 7) adapter 185 supporting 2x2 2GHz/5GHz/6GHz 4096/1024-QAM 160MHz channels. 186 187config RTW89_DEBUG 188 bool 189 190config RTW89_DEBUGMSG 191 bool "Realtek rtw89 debug message support" 192 depends on RTW89_CORE 193 select RTW89_DEBUG 194 help 195 Enable debug message support 196 197 If unsure, say Y to simplify debug problems 198 199config RTW89_DEBUGFS 200 bool "Realtek rtw89 debugfs support" 201 depends on RTW89_CORE && CFG80211_DEBUGFS 202 select RTW89_DEBUG 203 help 204 Enable debugfs support 205 206 If unsure, say Y to simplify debug problems 207 208config RTW89_LEDS 209 bool 210 depends on RTW89_CORE 211 depends on LEDS_CLASS=y || LEDS_CLASS=MAC80211 212 imply MAC80211_LEDS 213 default y 214 215config RTW89_LEDS_MC 216 bool 217 depends on RTW89_LEDS 218 depends on LEDS_CLASS_MULTICOLOR 219 imply LEDS_TRIGGER_TIMER 220 default y 221 222endif 223