xref: /linux/drivers/net/wireless/ath/carl9170/Kconfig (revision ec8f24b7faaf3d4799a7c3f4c1b87f6b02778ad1)
1*ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
21d7e1e6bSChristian Lamparterconfig CARL9170
31d7e1e6bSChristian Lamparter	tristate "Linux Community AR9170 802.11n USB support"
449f82162SKees Cook	depends on USB && MAC80211
523c1d7f6SVladimir Kondratiev	select ATH_COMMON
61d7e1e6bSChristian Lamparter	select FW_LOADER
71d7e1e6bSChristian Lamparter	select CRC32
81d7e1e6bSChristian Lamparter	help
983e41e77SLauri Kasanen	  This is the mainline driver for the Atheros "otus" 802.11n USB devices.
101d7e1e6bSChristian Lamparter
1183e41e77SLauri Kasanen	  It needs a special firmware (carl9170-1.fw), which can be downloaded
1283e41e77SLauri Kasanen	  from our wiki here:
13b4c85d45SChristian Lamparter	  <http://wireless.kernel.org/en/users/Drivers/carl9170>
141d7e1e6bSChristian Lamparter
151d7e1e6bSChristian Lamparter	  If you choose to build a module, it'll be called carl9170.
161d7e1e6bSChristian Lamparter
171d7e1e6bSChristian Lamparterconfig CARL9170_LEDS
181d7e1e6bSChristian Lamparter	bool "SoftLED Support"
191d7e1e6bSChristian Lamparter	depends on CARL9170
201d7e1e6bSChristian Lamparter	select MAC80211_LEDS
211d7e1e6bSChristian Lamparter	select LEDS_CLASS
221d7e1e6bSChristian Lamparter	select NEW_LEDS
231d7e1e6bSChristian Lamparter	default y
241d7e1e6bSChristian Lamparter	help
251d7e1e6bSChristian Lamparter	  This option is necessary, if you want your device' LEDs to blink
261d7e1e6bSChristian Lamparter
271d7e1e6bSChristian Lamparter	  Say Y, unless you need the LEDs for firmware debugging.
281d7e1e6bSChristian Lamparter
291d7e1e6bSChristian Lamparterconfig CARL9170_DEBUGFS
301d7e1e6bSChristian Lamparter	bool "DebugFS Support"
311d7e1e6bSChristian Lamparter	depends on CARL9170 && DEBUG_FS && MAC80211_DEBUGFS
321d7e1e6bSChristian Lamparter	default n
331d7e1e6bSChristian Lamparter	help
341d7e1e6bSChristian Lamparter	  Export several driver and device internals to user space.
351d7e1e6bSChristian Lamparter
361d7e1e6bSChristian Lamparter	  Say N.
371d7e1e6bSChristian Lamparter
381d7e1e6bSChristian Lamparterconfig CARL9170_WPC
391d7e1e6bSChristian Lamparter	bool
401d7e1e6bSChristian Lamparter	depends on CARL9170 && (INPUT = y || INPUT = CARL9170)
411d7e1e6bSChristian Lamparter	default y
4200044f17SChristian Lamparter
4300044f17SChristian Lamparterconfig CARL9170_HWRNG
4400044f17SChristian Lamparter        bool "Random number generator"
4500044f17SChristian Lamparter        depends on CARL9170 && (HW_RANDOM = y || HW_RANDOM = CARL9170)
4600044f17SChristian Lamparter        default n
4700044f17SChristian Lamparter	help
4800044f17SChristian Lamparter	  Provides a hardware random number generator to the kernel.
4900044f17SChristian Lamparter
5000044f17SChristian Lamparter	  SECURITY WARNING: It's relatively easy to eavesdrop all
5100044f17SChristian Lamparter	  generated random numbers from the transport stream with
5200044f17SChristian Lamparter	  usbmon [software] or special usb sniffer hardware.
5300044f17SChristian Lamparter
5400044f17SChristian Lamparter	  Say N, unless your setup[i.e.: embedded system] has no
5500044f17SChristian Lamparter	  other rng source and you can afford to take the risk.
56