iwlwifi: move debug_level to sysfs/bus/pci/devices
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / net / wireless / iwlwifi / Kconfig
CommitLineData
358c1295
JR
1config IWLWIFI
2 bool
3 default n
4
df48c323
TW
5config IWLCORE
6 tristate "Intel Wireless Wifi Core"
7 depends on PCI && MAC80211 && WLAN_80211 && EXPERIMENTAL
358c1295 8 select IWLWIFI
3a8209d1
AB
9 select MAC80211_LEDS if IWLWIFI_LEDS
10 select LEDS_CLASS if IWLWIFI_LEDS
11 select RFKILL if IWLWIFI_RFKILL
12 select RFKILL_INPUT if IWLWIFI_RFKILL
df48c323 13
ab53d8af 14config IWLWIFI_LEDS
53f36d70
JL
15 bool
16 default n
ab53d8af 17
f0832f13
EG
18config IWLWIFI_RUN_TIME_CALIB
19 bool
20 depends on IWLCORE
21 default n
22 ---help---
23 This option will enable run time calibration for the iwlwifi driver.
24 These calibrations are Sensitivity and Chain Noise.
25
26
eadd3c4b 27config IWLWIFI_RFKILL
ad97edd2
MA
28 boolean "IWLWIFI RF kill support"
29 depends on IWLCORE
ad97edd2 30
c8b0e6e1
CH
31config IWL4965
32 tristate "Intel Wireless WiFi 4965AGN"
bb8c093b 33 depends on PCI && MAC80211 && WLAN_80211 && EXPERIMENTAL
b481de9c 34 select FW_LOADER
df48c323 35 select IWLCORE
b481de9c 36 ---help---
c8b0e6e1 37 Select to build the driver supporting the:
b481de9c 38
c8b0e6e1 39 Intel Wireless WiFi Link 4965AGN
b481de9c 40
c8b0e6e1 41 This driver uses the kernel's mac80211 subsystem.
b481de9c 42
c8b0e6e1
CH
43 In order to use this driver, you will need a microcode (uCode)
44 image for it. You can obtain the microcode from:
b481de9c 45
c8b0e6e1 46 <http://intellinuxwireless.org/>.
b481de9c 47
e7a2827c
RC
48 The microcode is typically installed in /lib/firmware. You can
49 look in the hotplug script /etc/hotplug/firmware.agent to
50 determine which directory FIRMWARE_DIR is set to when the script
51 runs.
b481de9c 52
c8b0e6e1 53 If you want to compile the driver as a module ( = code which can be
7c44b6e9 54 inserted in and removed from the running kernel whenever you want),
c8b0e6e1
CH
55 say M here and read <file:Documentation/kbuild/modules.txt>. The
56 module will be called iwl4965.ko.
b481de9c 57
923effd8
RR
58config IWL4965_HT
59 bool "Enable 802.11n HT features in iwl4965 driver"
60 depends on EXPERIMENTAL
292ae174 61 depends on IWL4965
923effd8
RR
62 ---help---
63 This option enables IEEE 802.11n High Throughput features
64 for the iwl4965 driver.
65
ab53d8af
MA
66config IWL4965_LEDS
67 bool "Enable LEDS features in iwl4965 driver"
e82404ad 68 depends on IWL4965
53f36d70 69 select IWLWIFI_LEDS
ab53d8af
MA
70 ---help---
71 This option enables LEDS for the iwlwifi drivers
72
73
c8b0e6e1 74config IWL4965_SPECTRUM_MEASUREMENT
66c6b139 75 bool "Enable Spectrum Measurement in iwl4965 driver"
c8b0e6e1 76 depends on IWL4965
b481de9c 77 ---help---
c8b0e6e1 78 This option will enable spectrum measurement for the iwl4965 driver.
b481de9c 79
f0832f13
EG
80config IWL4965_RUN_TIME_CALIB
81 bool "Enable run time Calibration for 4965 NIC"
82 select IWLWIFI_RUN_TIME_CALIB
c8b0e6e1 83 depends on IWL4965
f0832f13 84 default y
b481de9c 85 ---help---
f0832f13
EG
86 This option will enable run time calibration for the iwl4965 driver.
87 These calibrations are Sensitivity and Chain Noise. If unsure, say yes
b481de9c 88
0a6857e7 89config IWLWIFI_DEBUG
c8b0e6e1
CH
90 bool "Enable full debugging output in iwl4965 driver"
91 depends on IWL4965
b481de9c 92 ---help---
c8b0e6e1
CH
93 This option will enable debug tracing output for the iwl4965
94 driver.
b481de9c 95
c8b0e6e1
CH
96 This will result in the kernel module being ~100k larger. You can
97 control which debug output is sent to the kernel log by setting the
98 value in
b481de9c 99
8cf769c6 100 /sys/class/net/wlan0/device/debug_level
b481de9c 101
c8b0e6e1 102 This entry will only exist if this option is enabled.
b481de9c 103
c8b0e6e1 104 To set a value, simply echo an 8-byte hex value to the same file:
b481de9c 105
8cf769c6 106 % echo 0x43fff > /sys/class/net/wlan0/device/debug_level
b481de9c 107
c8b0e6e1
CH
108 You can find the list of debug mask values in:
109 drivers/net/wireless/iwlwifi/iwl-4965-debug.h
b481de9c 110
c8b0e6e1
CH
111 If this is your first time using this driver, you should say Y here
112 as the debug information can assist others in helping you resolve
113 any problems you may encounter.
b481de9c 114
5a6a256e
TW
115config IWL5000
116 bool "Intel Wireless WiFi 5000AGN"
117 depends on IWL4965
118 ---help---
119 This option enables support for Intel Wireless WiFi Link 5000AGN Family
120 Dependency on 4965 is temporary
121
33fd5033
EG
122config IWL5000_RUN_TIME_CALIB
123 bool "Enable run time Calibration for 5000 NIC"
124 select IWLWIFI_RUN_TIME_CALIB
125 depends on IWL5000
126 default y
127 ---help---
128 This option will enable run time calibration for the iwl5000 driver.
129 These calibrations are Sensitivity and Chain Noise. If unsure, say yes
130
5a6a256e 131
712b6cf5
TW
132config IWLWIFI_DEBUGFS
133 bool "Iwlwifi debugfs support"
134 depends on IWLCORE && IWLWIFI_DEBUG && MAC80211_DEBUGFS
135 ---help---
136 Enable creation of debugfs files for the iwlwifi drivers.
137
b481de9c
ZY
138config IWL3945
139 tristate "Intel PRO/Wireless 3945ABG/BG Network Connection"
bb8c093b 140 depends on PCI && MAC80211 && WLAN_80211 && EXPERIMENTAL
c8b0e6e1 141 select FW_LOADER
358c1295 142 select IWLWIFI
3a8209d1
AB
143 select MAC80211_LEDS if IWL3945_LEDS
144 select LEDS_CLASS if IWL3945_LEDS
b481de9c
ZY
145 ---help---
146 Select to build the driver supporting the:
147
148 Intel PRO/Wireless 3945ABG/BG Network Connection
149
150 This driver uses the kernel's mac80211 subsystem.
151
b481de9c
ZY
152 In order to use this driver, you will need a microcode (uCode)
153 image for it. You can obtain the microcode from:
154
155 <http://intellinuxwireless.org/>.
156
e7a2827c
RC
157 The microcode is typically installed in /lib/firmware. You can
158 look in the hotplug script /etc/hotplug/firmware.agent to
159 determine which directory FIRMWARE_DIR is set to when the script
160 runs.
b481de9c
ZY
161
162 If you want to compile the driver as a module ( = code which can be
7c44b6e9 163 inserted in and removed from the running kernel whenever you want),
e403149c
DH
164 say M here and read <file:Documentation/kbuild/modules.txt>. The
165 module will be called iwl3945.ko.
c8b0e6e1 166
c8b0e6e1
CH
167config IWL3945_SPECTRUM_MEASUREMENT
168 bool "Enable Spectrum Measurement in iwl3945 drivers"
169 depends on IWL3945
c8b0e6e1
CH
170 ---help---
171 This option will enable spectrum measurement for the iwl3945 driver.
172
ab53d8af
MA
173config IWL3945_LEDS
174 bool "Enable LEDS features in iwl3945 driver"
e82404ad 175 depends on IWL3945
ab53d8af
MA
176 ---help---
177 This option enables LEDS for the iwl3945 driver.
178
c8b0e6e1
CH
179config IWL3945_DEBUG
180 bool "Enable full debugging output in iwl3945 driver"
181 depends on IWL3945
c8b0e6e1
CH
182 ---help---
183 This option will enable debug tracing output for the iwl3945
184 driver.
185
186 This will result in the kernel module being ~100k larger. You can
187 control which debug output is sent to the kernel log by setting the
188 value in
189
190 /sys/bus/pci/drivers/${DRIVER}/debug_level
191
192 This entry will only exist if this option is enabled.
193
194 To set a value, simply echo an 8-byte hex value to the same file:
195
196 % echo 0x43fff > /sys/bus/pci/drivers/${DRIVER}/debug_level
197
198 You can find the list of debug mask values in:
199 drivers/net/wireless/iwlwifi/iwl-3945-debug.h
200
201 If this is your first time using this driver, you should say Y here
202 as the debug information can assist others in helping you resolve
203 any problems you may encounter.
204