diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-5000.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-5000.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-5000.c b/drivers/net/wireless/iwlwifi/iwl-5000.c index e967cfcac224..e43493685271 100644 --- a/drivers/net/wireless/iwlwifi/iwl-5000.c +++ b/drivers/net/wireless/iwlwifi/iwl-5000.c | |||
@@ -48,6 +48,7 @@ | |||
48 | #include "iwl-agn-led.h" | 48 | #include "iwl-agn-led.h" |
49 | #include "iwl-agn-hw.h" | 49 | #include "iwl-agn-hw.h" |
50 | #include "iwl-5000-hw.h" | 50 | #include "iwl-5000-hw.h" |
51 | #include "iwl-agn-debugfs.h" | ||
51 | 52 | ||
52 | /* Highest firmware API version supported */ | 53 | /* Highest firmware API version supported */ |
53 | #define IWL5000_UCODE_API_MAX 2 | 54 | #define IWL5000_UCODE_API_MAX 2 |
@@ -320,6 +321,11 @@ static struct iwl_lib_ops iwl5000_lib = { | |||
320 | .set_ct_kill = iwl5000_set_ct_threshold, | 321 | .set_ct_kill = iwl5000_set_ct_threshold, |
321 | }, | 322 | }, |
322 | .add_bcast_station = iwl_add_bcast_station, | 323 | .add_bcast_station = iwl_add_bcast_station, |
324 | .debugfs_ops = { | ||
325 | .rx_stats_read = iwl_ucode_rx_stats_read, | ||
326 | .tx_stats_read = iwl_ucode_tx_stats_read, | ||
327 | .general_stats_read = iwl_ucode_general_stats_read, | ||
328 | }, | ||
323 | .recover_from_tx_stall = iwl_bg_monitor_recover, | 329 | .recover_from_tx_stall = iwl_bg_monitor_recover, |
324 | .check_plcp_health = iwl_good_plcp_health, | 330 | .check_plcp_health = iwl_good_plcp_health, |
325 | .check_ack_health = iwl_good_ack_health, | 331 | .check_ack_health = iwl_good_ack_health, |
@@ -377,6 +383,11 @@ static struct iwl_lib_ops iwl5150_lib = { | |||
377 | .set_ct_kill = iwl5150_set_ct_threshold, | 383 | .set_ct_kill = iwl5150_set_ct_threshold, |
378 | }, | 384 | }, |
379 | .add_bcast_station = iwl_add_bcast_station, | 385 | .add_bcast_station = iwl_add_bcast_station, |
386 | .debugfs_ops = { | ||
387 | .rx_stats_read = iwl_ucode_rx_stats_read, | ||
388 | .tx_stats_read = iwl_ucode_tx_stats_read, | ||
389 | .general_stats_read = iwl_ucode_general_stats_read, | ||
390 | }, | ||
380 | .recover_from_tx_stall = iwl_bg_monitor_recover, | 391 | .recover_from_tx_stall = iwl_bg_monitor_recover, |
381 | .check_plcp_health = iwl_good_plcp_health, | 392 | .check_plcp_health = iwl_good_plcp_health, |
382 | .check_ack_health = iwl_good_ack_health, | 393 | .check_ack_health = iwl_good_ack_health, |