18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ciconfig CARL9170
38c2ecf20Sopenharmony_ci	tristate "Linux Community AR9170 802.11n USB support"
48c2ecf20Sopenharmony_ci	depends on USB && MAC80211
58c2ecf20Sopenharmony_ci	select ATH_COMMON
68c2ecf20Sopenharmony_ci	select FW_LOADER
78c2ecf20Sopenharmony_ci	select CRC32
88c2ecf20Sopenharmony_ci	help
98c2ecf20Sopenharmony_ci	  This is the mainline driver for the Atheros "otus" 802.11n USB devices.
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ci	  It needs a special firmware (carl9170-1.fw), which can be downloaded
128c2ecf20Sopenharmony_ci	  from our wiki here:
138c2ecf20Sopenharmony_ci	  <https://wireless.wiki.kernel.org/en/users/Drivers/carl9170>
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_ci	  If you choose to build a module, it'll be called carl9170.
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_ciconfig CARL9170_LEDS
188c2ecf20Sopenharmony_ci	bool "SoftLED Support"
198c2ecf20Sopenharmony_ci	default y
208c2ecf20Sopenharmony_ci	depends on CARL9170
218c2ecf20Sopenharmony_ci	depends on MAC80211_LEDS
228c2ecf20Sopenharmony_ci	help
238c2ecf20Sopenharmony_ci	  This option is necessary, if you want your device's LEDs to blink.
248c2ecf20Sopenharmony_ci
258c2ecf20Sopenharmony_ci	  Say Y, unless you need the LEDs for firmware debugging.
268c2ecf20Sopenharmony_ci
278c2ecf20Sopenharmony_ciconfig CARL9170_DEBUGFS
288c2ecf20Sopenharmony_ci	bool "DebugFS Support"
298c2ecf20Sopenharmony_ci	depends on CARL9170 && DEBUG_FS && MAC80211_DEBUGFS
308c2ecf20Sopenharmony_ci	default n
318c2ecf20Sopenharmony_ci	help
328c2ecf20Sopenharmony_ci	  Export several driver and device internals to user space.
338c2ecf20Sopenharmony_ci
348c2ecf20Sopenharmony_ci	  Say N.
358c2ecf20Sopenharmony_ci
368c2ecf20Sopenharmony_ciconfig CARL9170_WPC
378c2ecf20Sopenharmony_ci	bool
388c2ecf20Sopenharmony_ci	depends on CARL9170 && (INPUT = y || INPUT = CARL9170)
398c2ecf20Sopenharmony_ci	default y
408c2ecf20Sopenharmony_ci
418c2ecf20Sopenharmony_ciconfig CARL9170_HWRNG
428c2ecf20Sopenharmony_ci	bool "Random number generator"
438c2ecf20Sopenharmony_ci	depends on CARL9170 && (HW_RANDOM = y || HW_RANDOM = CARL9170)
448c2ecf20Sopenharmony_ci	default n
458c2ecf20Sopenharmony_ci	help
468c2ecf20Sopenharmony_ci	  Provides a hardware random number generator to the kernel.
478c2ecf20Sopenharmony_ci
488c2ecf20Sopenharmony_ci	  SECURITY WARNING: It's relatively easy to eavesdrop all
498c2ecf20Sopenharmony_ci	  generated random numbers from the transport stream with
508c2ecf20Sopenharmony_ci	  usbmon [software] or special usb sniffer hardware.
518c2ecf20Sopenharmony_ci
528c2ecf20Sopenharmony_ci	  Say N, unless your setup[i.e.: embedded system] has no
538c2ecf20Sopenharmony_ci	  other rng source and you can afford to take the risk.
54