Luis R. Rodriguez | e9ddc0f | 2008-02-04 09:56:32 -0500 | [diff] [blame] | 1 | config ATH5K |
| 2 | tristate "Atheros 5xxx wireless cards support" |
Felix Fietkau | a0b907e | 2010-12-02 10:27:16 +0100 | [diff] [blame^] | 3 | depends on (PCI || ATHEROS_AR231X) && MAC80211 |
Bob Copeland | 3a07887 | 2008-06-25 22:35:28 -0400 | [diff] [blame] | 4 | select MAC80211_LEDS |
| 5 | select LEDS_CLASS |
| 6 | select NEW_LEDS |
Bruno Randolf | eef39be | 2010-11-16 10:58:43 +0900 | [diff] [blame] | 7 | select AVERAGE |
Felix Fietkau | a0b907e | 2010-12-02 10:27:16 +0100 | [diff] [blame^] | 8 | select ATH5K_AHB if (ATHEROS_AR231X && !PCI) |
| 9 | select ATH5K_PCI if (!ATHEROS_AR231X && PCI) |
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 | |
Felix Fietkau | a0b907e | 2010-12-02 10:27:16 +0100 | [diff] [blame^] | 43 | config ATH5K_AHB |
| 44 | bool "Atheros 5xxx AHB bus support" |
| 45 | depends on (ATHEROS_AR231X && !PCI) |
| 46 | ---help--- |
| 47 | This adds support for WiSoC type chipsets of the 5xxx Atheros |
| 48 | family. |
| 49 | |
| 50 | config ATH5K_PCI |
| 51 | bool "Atheros 5xxx PCI bus support" |
| 52 | depends on (!ATHEROS_AR231X && PCI) |
| 53 | ---help--- |
| 54 | This adds support for PCI type chipsets of the 5xxx Atheros |
| 55 | family. |