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