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	  <http://wireless.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	depends on CARL9170
20	select MAC80211_LEDS
21	select LEDS_CLASS
22	select NEW_LEDS
23	default y
24	help
25	  This option is necessary, if you want your device' LEDs to blink
26
27	  Say Y, unless you need the LEDs for firmware debugging.
28
29config CARL9170_DEBUGFS
30	bool "DebugFS Support"
31	depends on CARL9170 && DEBUG_FS && MAC80211_DEBUGFS
32	default n
33	help
34	  Export several driver and device internals to user space.
35
36	  Say N.
37
38config CARL9170_WPC
39	bool
40	depends on CARL9170 && (INPUT = y || INPUT = CARL9170)
41	default y
42
43config CARL9170_HWRNG
44        bool "Random number generator"
45        depends on CARL9170 && (HW_RANDOM = y || HW_RANDOM = CARL9170)
46        default n
47	help
48	  Provides a hardware random number generator to the kernel.
49
50	  SECURITY WARNING: It's relatively easy to eavesdrop all
51	  generated random numbers from the transport stream with
52	  usbmon [software] or special usb sniffer hardware.
53
54	  Say N, unless your setup[i.e.: embedded system] has no
55	  other rng source and you can afford to take the risk.
56