xref: /linux/drivers/net/wireless/ath/carl9170/Kconfig (revision 762f99f4f3cb41a775b5157dd761217beba65873)
1ec8f24b7SThomas 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:
131141215cSFlavio Suligoi	  <https://wireless.wiki.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	default y
20*272fdc0cSRandy Dunlap	depends on CARL9170
21*272fdc0cSRandy Dunlap	depends on MAC80211_LEDS
221d7e1e6bSChristian Lamparter	help
23*272fdc0cSRandy Dunlap	  This option is necessary, if you want your device's LEDs to blink.
241d7e1e6bSChristian Lamparter
251d7e1e6bSChristian Lamparter	  Say Y, unless you need the LEDs for firmware debugging.
261d7e1e6bSChristian Lamparter
271d7e1e6bSChristian Lamparterconfig CARL9170_DEBUGFS
281d7e1e6bSChristian Lamparter	bool "DebugFS Support"
291d7e1e6bSChristian Lamparter	depends on CARL9170 && DEBUG_FS && MAC80211_DEBUGFS
301d7e1e6bSChristian Lamparter	default n
311d7e1e6bSChristian Lamparter	help
321d7e1e6bSChristian Lamparter	  Export several driver and device internals to user space.
331d7e1e6bSChristian Lamparter
341d7e1e6bSChristian Lamparter	  Say N.
351d7e1e6bSChristian Lamparter
361d7e1e6bSChristian Lamparterconfig CARL9170_WPC
371d7e1e6bSChristian Lamparter	bool
381d7e1e6bSChristian Lamparter	depends on CARL9170 && (INPUT = y || INPUT = CARL9170)
391d7e1e6bSChristian Lamparter	default y
4000044f17SChristian Lamparter
4100044f17SChristian Lamparterconfig CARL9170_HWRNG
4200044f17SChristian Lamparter	bool "Random number generator"
4300044f17SChristian Lamparter	depends on CARL9170 && (HW_RANDOM = y || HW_RANDOM = CARL9170)
4400044f17SChristian Lamparter	default n
4500044f17SChristian Lamparter	help
4600044f17SChristian Lamparter	  Provides a hardware random number generator to the kernel.
4700044f17SChristian Lamparter
4800044f17SChristian Lamparter	  SECURITY WARNING: It's relatively easy to eavesdrop all
4900044f17SChristian Lamparter	  generated random numbers from the transport stream with
5000044f17SChristian Lamparter	  usbmon [software] or special usb sniffer hardware.
5100044f17SChristian Lamparter
5200044f17SChristian Lamparter	  Say N, unless your setup[i.e.: embedded system] has no
5300044f17SChristian Lamparter	  other rng source and you can afford to take the risk.
54