162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ciconfig CARL9170
362306a36Sopenharmony_ci	tristate "Linux Community AR9170 802.11n USB support"
462306a36Sopenharmony_ci	depends on USB && MAC80211
562306a36Sopenharmony_ci	select ATH_COMMON
662306a36Sopenharmony_ci	select FW_LOADER
762306a36Sopenharmony_ci	select CRC32
862306a36Sopenharmony_ci	help
962306a36Sopenharmony_ci	  This is the mainline driver for the Atheros "otus" 802.11n USB devices.
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_ci	  It needs a special firmware (carl9170-1.fw), which can be downloaded
1262306a36Sopenharmony_ci	  from our wiki here:
1362306a36Sopenharmony_ci	  <https://wireless.wiki.kernel.org/en/users/Drivers/carl9170>
1462306a36Sopenharmony_ci
1562306a36Sopenharmony_ci	  If you choose to build a module, it'll be called carl9170.
1662306a36Sopenharmony_ci
1762306a36Sopenharmony_ciconfig CARL9170_LEDS
1862306a36Sopenharmony_ci	bool "SoftLED Support"
1962306a36Sopenharmony_ci	default y
2062306a36Sopenharmony_ci	depends on CARL9170
2162306a36Sopenharmony_ci	depends on MAC80211_LEDS
2262306a36Sopenharmony_ci	help
2362306a36Sopenharmony_ci	  This option is necessary, if you want your device's LEDs to blink.
2462306a36Sopenharmony_ci
2562306a36Sopenharmony_ci	  Say Y, unless you need the LEDs for firmware debugging.
2662306a36Sopenharmony_ci
2762306a36Sopenharmony_ciconfig CARL9170_DEBUGFS
2862306a36Sopenharmony_ci	bool "DebugFS Support"
2962306a36Sopenharmony_ci	depends on CARL9170 && DEBUG_FS && MAC80211_DEBUGFS
3062306a36Sopenharmony_ci	default n
3162306a36Sopenharmony_ci	help
3262306a36Sopenharmony_ci	  Export several driver and device internals to user space.
3362306a36Sopenharmony_ci
3462306a36Sopenharmony_ci	  Say N.
3562306a36Sopenharmony_ci
3662306a36Sopenharmony_ciconfig CARL9170_WPC
3762306a36Sopenharmony_ci	bool
3862306a36Sopenharmony_ci	depends on CARL9170 && (INPUT = y || INPUT = CARL9170)
3962306a36Sopenharmony_ci	default y
4062306a36Sopenharmony_ci
4162306a36Sopenharmony_ciconfig CARL9170_HWRNG
4262306a36Sopenharmony_ci	bool "Random number generator"
4362306a36Sopenharmony_ci	depends on CARL9170 && (HW_RANDOM = y || HW_RANDOM = CARL9170)
4462306a36Sopenharmony_ci	default n
4562306a36Sopenharmony_ci	help
4662306a36Sopenharmony_ci	  Provides a hardware random number generator to the kernel.
4762306a36Sopenharmony_ci
4862306a36Sopenharmony_ci	  SECURITY WARNING: It's relatively easy to eavesdrop all
4962306a36Sopenharmony_ci	  generated random numbers from the transport stream with
5062306a36Sopenharmony_ci	  usbmon [software] or special usb sniffer hardware.
5162306a36Sopenharmony_ci
5262306a36Sopenharmony_ci	  Say N, unless your setup[i.e.: embedded system] has no
5362306a36Sopenharmony_ci	  other rng source and you can afford to take the risk.
54