1# SPDX-License-Identifier: GPL-2.0-only
2config CARL9170
3	tristate "Linux Community AR9170 802.11n USB support"
4	depends on USB && MAC80211
5	select ATH_COMMON
6	select FW_LOADER
7	select CRC32
8	help
9	  This is the mainline driver for the Atheros "otus" 802.11n USB devices.
10
11	  It needs a special firmware (carl9170-1.fw), which can be downloaded
12	  from our wiki here:
13	  <https://wireless.wiki.kernel.org/en/users/Drivers/carl9170>
14
15	  If you choose to build a module, it'll be called carl9170.
16
17config CARL9170_LEDS
18	bool "SoftLED Support"
19	default y
20	depends on CARL9170
21	depends on MAC80211_LEDS
22	help
23	  This option is necessary, if you want your device's LEDs to blink.
24
25	  Say Y, unless you need the LEDs for firmware debugging.
26
27config CARL9170_DEBUGFS
28	bool "DebugFS Support"
29	depends on CARL9170 && DEBUG_FS && MAC80211_DEBUGFS
30	default n
31	help
32	  Export several driver and device internals to user space.
33
34	  Say N.
35
36config CARL9170_WPC
37	bool
38	depends on CARL9170 && (INPUT = y || INPUT = CARL9170)
39	default y
40
41config CARL9170_HWRNG
42	bool "Random number generator"
43	depends on CARL9170 && (HW_RANDOM = y || HW_RANDOM = CARL9170)
44	default n
45	help
46	  Provides a hardware random number generator to the kernel.
47
48	  SECURITY WARNING: It's relatively easy to eavesdrop all
49	  generated random numbers from the transport stream with
50	  usbmon [software] or special usb sniffer hardware.
51
52	  Say N, unless your setup[i.e.: embedded system] has no
53	  other rng source and you can afford to take the risk.
54