diff options
author | Johannes Berg <johannes.berg@intel.com> | 2010-05-06 15:18:41 -0400 |
---|---|---|
committer | Reinette Chatre <reinette.chatre@intel.com> | 2010-05-13 13:45:12 -0400 |
commit | d73e4923d1b3311dda4cd1bd5d3596d75af1d1c3 (patch) | |
tree | 344ffa513e8d5774589976f77a417b287841684c /drivers/net/wireless/iwlwifi/iwl-dev.h | |
parent | 5a2a780cb142f16f33c948af5f3d588099b59df6 (diff) |
iwlwifi: split debug and debugfs options
It may be desirable in some systems to have
insight into the driver via debugfs, but not
affect its operation via the debug logging
code that is inserted everywhere when DEBUG
is configured.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-dev.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-dev.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h index 05a7a0dd5b70..57a3c579c870 100644 --- a/drivers/net/wireless/iwlwifi/iwl-dev.h +++ b/drivers/net/wireless/iwlwifi/iwl-dev.h | |||
@@ -1255,7 +1255,7 @@ struct iwl_priv { | |||
1255 | struct delayed_work rfkill_poll; | 1255 | struct delayed_work rfkill_poll; |
1256 | 1256 | ||
1257 | struct iwl3945_notif_statistics statistics; | 1257 | struct iwl3945_notif_statistics statistics; |
1258 | #ifdef CONFIG_IWLWIFI_DEBUG | 1258 | #ifdef CONFIG_IWLWIFI_DEBUGFS |
1259 | struct iwl3945_notif_statistics accum_statistics; | 1259 | struct iwl3945_notif_statistics accum_statistics; |
1260 | struct iwl3945_notif_statistics delta_statistics; | 1260 | struct iwl3945_notif_statistics delta_statistics; |
1261 | struct iwl3945_notif_statistics max_delta; | 1261 | struct iwl3945_notif_statistics max_delta; |
@@ -1299,7 +1299,7 @@ struct iwl_priv { | |||
1299 | struct completion firmware_loading_complete; | 1299 | struct completion firmware_loading_complete; |
1300 | 1300 | ||
1301 | struct iwl_notif_statistics statistics; | 1301 | struct iwl_notif_statistics statistics; |
1302 | #ifdef CONFIG_IWLWIFI_DEBUG | 1302 | #ifdef CONFIG_IWLWIFI_DEBUGFS |
1303 | struct iwl_notif_statistics accum_statistics; | 1303 | struct iwl_notif_statistics accum_statistics; |
1304 | struct iwl_notif_statistics delta_statistics; | 1304 | struct iwl_notif_statistics delta_statistics; |
1305 | struct iwl_notif_statistics max_delta; | 1305 | struct iwl_notif_statistics max_delta; |
@@ -1347,7 +1347,7 @@ struct iwl_priv { | |||
1347 | iwl_debug_level if set */ | 1347 | iwl_debug_level if set */ |
1348 | u32 framecnt_to_us; | 1348 | u32 framecnt_to_us; |
1349 | atomic_t restrict_refcnt; | 1349 | atomic_t restrict_refcnt; |
1350 | bool disable_ht40; | 1350 | #endif /* CONFIG_IWLWIFI_DEBUG */ |
1351 | #ifdef CONFIG_IWLWIFI_DEBUGFS | 1351 | #ifdef CONFIG_IWLWIFI_DEBUGFS |
1352 | /* debugfs */ | 1352 | /* debugfs */ |
1353 | u16 tx_traffic_idx; | 1353 | u16 tx_traffic_idx; |
@@ -1356,8 +1356,8 @@ struct iwl_priv { | |||
1356 | u8 *rx_traffic; | 1356 | u8 *rx_traffic; |
1357 | struct dentry *debugfs_dir; | 1357 | struct dentry *debugfs_dir; |
1358 | u32 dbgfs_sram_offset, dbgfs_sram_len; | 1358 | u32 dbgfs_sram_offset, dbgfs_sram_len; |
1359 | bool disable_ht40; | ||
1359 | #endif /* CONFIG_IWLWIFI_DEBUGFS */ | 1360 | #endif /* CONFIG_IWLWIFI_DEBUGFS */ |
1360 | #endif /* CONFIG_IWLWIFI_DEBUG */ | ||
1361 | 1361 | ||
1362 | struct work_struct txpower_work; | 1362 | struct work_struct txpower_work; |
1363 | u32 disable_sens_cal; | 1363 | u32 disable_sens_cal; |