mediatek: Add version option to support wifi-6e usb
[platform/kernel/linux-rpi.git] / drivers / net / wireless / mediatek / Kconfig
1 # SPDX-License-Identifier: GPL-2.0-only
2 config WLAN_VENDOR_MEDIATEK
3         bool "MediaTek devices"
4         default y
5         help
6           If you have a wireless card belonging to this class, say Y.
7
8           Note that the answer to this question doesn't directly affect the
9           kernel: saying N will just cause the configurator to skip all the
10           questions about these cards. If you say Y, you will be asked for
11           your specific card in the following questions.
12
13 choice
14         prompt "Select vendor mediatek version"
15         depends on WLAN_VENDOR_MEDIATEK
16         default MT76_NONE_SUPPORT_6E_USB
17
18 config MT76_NONE_SUPPORT_6E_USB
19         bool "MediaTek none support wifi-6e usb"
20
21 config MT76_SUPPORT_6E_USB
22         bool "MediaTek support wifi-6e usb"
23
24 endchoice
25
26 if WLAN_VENDOR_MEDIATEK
27 source "drivers/net/wireless/mediatek/mt7601u/Kconfig"
28 if MT76_NONE_SUPPORT_6E_USB
29 source "drivers/net/wireless/mediatek/mt76/Kconfig"
30 endif
31 if MT76_SUPPORT_6E_USB
32 source "drivers/net/wireless/mediatek/mt76-6e-usb/Kconfig"
33 endif
34 endif # WLAN_VENDOR_MEDIATEK