Luis R. Rodriguez | e9ddc0f | 2008-02-04 09:56:32 -0500 | [diff] [blame] | 1 | config ATH5K |
| 2 | tristate "Atheros 5xxx wireless cards support" |
Sergey Ryazanov | 164a974 | 2014-10-29 03:18:49 +0400 | [diff] [blame] | 3 | depends on (PCI || ATH25) && MAC80211 |
Vladimir Kondratiev | 23c1d7f | 2012-11-28 18:57:19 +0200 | [diff] [blame] | 4 | select ATH_COMMON |
Bob Copeland | 3a078876 | 2008-06-25 22:35:28 -0400 | [diff] [blame] | 5 | select MAC80211_LEDS |
| 6 | select LEDS_CLASS |
| 7 | select NEW_LEDS |
Sergey Ryazanov | 164a974 | 2014-10-29 03:18:49 +0400 | [diff] [blame] | 8 | select ATH5K_AHB if ATH25 |
| 9 | select ATH5K_PCI if !ATH25 |
Luis R. Rodriguez | e9ddc0f | 2008-02-04 09:56:32 -0500 | [diff] [blame] | 10 | ---help--- |
| 11 | This module adds support for wireless adapters based on |
| 12 | Atheros 5xxx chipset. |
| 13 | |
| 14 | Currently the following chip versions are supported: |
| 15 | |
| 16 | MAC: AR5211 AR5212 |
| 17 | PHY: RF5111/2111 RF5112/2112 RF5413/2413 |
| 18 | |
| 19 | This driver uses the kernel's mac80211 subsystem. |
| 20 | |
| 21 | If you choose to build a module, it'll be called ath5k. Say M if |
| 22 | unsure. |
Luis R. Rodriguez | b446197 | 2008-02-04 10:03:54 -0500 | [diff] [blame] | 23 | |
| 24 | config ATH5K_DEBUG |
| 25 | bool "Atheros 5xxx debugging" |
| 26 | depends on ATH5K |
| 27 | ---help--- |
| 28 | Atheros 5xxx debugging messages. |
| 29 | |
| 30 | Say Y, if and you will get debug options for ath5k. |
| 31 | To use this, you need to mount debugfs: |
| 32 | |
GeunSik Lim | 156f5a7 | 2009-06-02 15:01:37 +0900 | [diff] [blame] | 33 | mount -t debugfs debug /sys/kernel/debug |
Luis R. Rodriguez | b446197 | 2008-02-04 10:03:54 -0500 | [diff] [blame] | 34 | |
| 35 | You will get access to files under: |
GeunSik Lim | 156f5a7 | 2009-06-02 15:01:37 +0900 | [diff] [blame] | 36 | /sys/kernel/debug/ath5k/phy0/ |
Luis R. Rodriguez | b446197 | 2008-02-04 10:03:54 -0500 | [diff] [blame] | 37 | |
| 38 | To enable debug, pass the debug level to the debug module |
| 39 | parameter. For example: |
| 40 | |
| 41 | modprobe ath5k debug=0x00000400 |
| 42 | |
Bob Copeland | 0e47225 | 2011-01-24 23:32:55 -0500 | [diff] [blame] | 43 | config ATH5K_TRACER |
| 44 | bool "Atheros 5xxx tracer" |
| 45 | depends on ATH5K |
| 46 | depends on EVENT_TRACING |
| 47 | ---help--- |
| 48 | Say Y here to enable tracepoints for the ath5k driver |
| 49 | using the kernel tracing infrastructure. Select this |
| 50 | option if you are interested in debugging the driver. |
| 51 | |
| 52 | If unsure, say N. |
| 53 | |
Sergey Ryazanov | 0e5d3ab | 2014-10-29 03:18:48 +0400 | [diff] [blame] | 54 | config ATH5K_AHB |
| 55 | bool "Atheros 5xxx AHB bus support" |
Sergey Ryazanov | 164a974 | 2014-10-29 03:18:49 +0400 | [diff] [blame] | 56 | depends on ATH25 |
Sergey Ryazanov | 0e5d3ab | 2014-10-29 03:18:48 +0400 | [diff] [blame] | 57 | ---help--- |
| 58 | This adds support for WiSoC type chipsets of the 5xxx Atheros |
| 59 | family. |
| 60 | |
Felix Fietkau | a0b907e | 2010-12-02 10:27:16 +0100 | [diff] [blame] | 61 | config ATH5K_PCI |
| 62 | bool "Atheros 5xxx PCI bus support" |
Sergey Ryazanov | 164a974 | 2014-10-29 03:18:49 +0400 | [diff] [blame] | 63 | depends on (!ATH25 && PCI) |
Felix Fietkau | a0b907e | 2010-12-02 10:27:16 +0100 | [diff] [blame] | 64 | ---help--- |
| 65 | This adds support for PCI type chipsets of the 5xxx Atheros |
| 66 | family. |
Luis R. Rodriguez | 2f8684c | 2012-07-06 15:21:51 -0700 | [diff] [blame] | 67 | |
| 68 | config ATH5K_TEST_CHANNELS |
| 69 | bool "Enables testing channels on ath5k" |
| 70 | depends on ATH5K && CFG80211_CERTIFICATION_ONUS |
| 71 | ---help--- |
| 72 | This enables non-standard IEEE 802.11 channels on ath5k, which |
| 73 | can be used for research purposes. This option should be disabled |
| 74 | unless doing research. |