Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 266744
b: refs/heads/master
c: add6ff1
h: refs/heads/master
v: v3
  • Loading branch information
Wey-Yi Guy authored and John W. Linville committed Oct 14, 2011
1 parent c6c9c58 commit fedc847
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f3129b73889086f326d810c1cf4e807849321d64
refs/heads/master: add6ff1aa35495f259056954202494f89f11cc98
4 changes: 2 additions & 2 deletions trunk/drivers/net/wireless/iwlwifi/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@ config IWLWIFI_DEBUG
control which debug output is sent to the kernel log by setting the
value in

/sys/class/net/wlan0/device/debug_level
/sys/module/iwlwifi/parameters/debug

This entry will only exist if this option is enabled.

To set a value, simply echo an 8-byte hex value to the same file:

% echo 0x43fff > /sys/class/net/wlan0/device/debug_level
% echo 0x43fff > /sys/module/iwlwifi/parameters/debug

You can find the list of debug mask values in:
drivers/net/wireless/iwlwifi/iwl-debug.h
Expand Down
8 changes: 5 additions & 3 deletions trunk/drivers/net/wireless/iwlwifi/iwl-debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,12 @@ static inline void iwl_dbgfs_unregister(struct iwl_priv *priv)
*
* The active debug levels can be accessed via files
*
* /sys/module/iwlagn/parameters/debug{50}
* /sys/class/net/wlan0/device/debug_level
*
* /sys/module/iwlwifi/parameters/debug
* when CONFIG_IWLWIFI_DEBUG=y.
*
* /sys/kernel/debug/phy0/iwlwifi/debug/debug_level
* when CONFIG_IWLWIFI_DEBUGFS=y.
*
*/

/* 0x0000000F - 0x00000001 */
Expand Down

0 comments on commit fedc847

Please sign in to comment.