diff options
author | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2010-03-04 22:38:59 +0100 |
---|---|---|
committer | Reinette Chatre <reinette.chatre@intel.com> | 2010-03-19 21:41:26 +0100 |
commit | d5a0ffa3eaf9e898f25a925813f1a723be7808f8 (patch) | |
tree | 37610c33a6802b6eac524cc2cd298705059cf18d /drivers/net/wireless/iwlwifi/iwl-dev.h | |
parent | iwlwifi: move plcp check to separated function (diff) | |
download | linux-d5a0ffa3eaf9e898f25a925813f1a723be7808f8.tar.xz linux-d5a0ffa3eaf9e898f25a925813f1a723be7808f8.zip |
iwlwifi: Recover TX flow failure
Monitors the tx statistics to detect the drop in throughput.
When the throughput drops, the ratio of the actual_ack_count and the
expected_ack_count also drops. At the same time, the aggregated
ba_timeout (the number of ba timeout retries) also rises. If the
actual_ack_count/expected_ack_count ratio is 0 and the number of ba
timeout retries rises to BA_TIMEOUT_MAX, no tx packets can be delivered.
Reloading the uCode and bring the system back to normal operational
state.
Signed-off-by: Trieu 'Andrew' Nguyen <trieux.t.nguyen@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@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 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h index bb4cba508acf..e847e6197a3d 100644 --- a/drivers/net/wireless/iwlwifi/iwl-dev.h +++ b/drivers/net/wireless/iwlwifi/iwl-dev.h @@ -1300,6 +1300,11 @@ struct iwl_priv { int ict_index; u32 inta; bool use_ict; + /* + * reporting the number of tids has AGG on. 0 means + * no AGGREGATION + */ + u8 agg_tids_count; } _agn; #endif }; |