aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-4965-rs.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-4965-rs.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-4965-rs.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965-rs.h b/drivers/net/wireless/iwlwifi/iwl-4965-rs.h
index 55f707382787..13b6c72eeb73 100644
--- a/drivers/net/wireless/iwlwifi/iwl-4965-rs.h
+++ b/drivers/net/wireless/iwlwifi/iwl-4965-rs.h
@@ -212,6 +212,18 @@ enum {
212 212
213#define LQ_SIZE 2 /* 2 mode tables: "Active" and "Search" */ 213#define LQ_SIZE 2 /* 2 mode tables: "Active" and "Search" */
214 214
215/* load per tid defines for A-MPDU activation */
216#define IWL_AGG_TPT_THREHOLD 0
217#define IWL_AGG_LOAD_THRESHOLD 10
218#define IWL_AGG_ALL_TID 0xff
219#define TID_QUEUE_CELL_SPACING 50 /*mS */
220#define TID_QUEUE_MAX_SIZE 20
221#define TID_ROUND_VALUE 5 /* mS */
222#define TID_MAX_LOAD_COUNT 8
223
224#define TID_MAX_TIME_DIFF ((TID_QUEUE_MAX_SIZE - 1) * TID_QUEUE_CELL_SPACING)
225#define TIME_WRAP_AROUND(x, y) (((y) > (x)) ? (y) - (x) : (0-(x)) + (y))
226
215extern const struct iwl4965_rate_info iwl4965_rates[IWL_RATE_COUNT]; 227extern const struct iwl4965_rate_info iwl4965_rates[IWL_RATE_COUNT];
216 228
217enum iwl4965_table_type { 229enum iwl4965_table_type {