aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl4965-base.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl4965-base.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl4965-base.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl4965-base.c b/drivers/net/wireless/iwlwifi/iwl4965-base.c
index 16cb990e06f..5f38fc585ed 100644
--- a/drivers/net/wireless/iwlwifi/iwl4965-base.c
+++ b/drivers/net/wireless/iwlwifi/iwl4965-base.c
@@ -3075,14 +3075,6 @@ static int iwl4965_tx_skb(struct iwl4965_priv *priv,
3075 out_cmd->cmd.tx.dram_lsb_ptr = cpu_to_le32(scratch_phys); 3075 out_cmd->cmd.tx.dram_lsb_ptr = cpu_to_le32(scratch_phys);
3076 out_cmd->cmd.tx.dram_msb_ptr = iwl_get_dma_hi_address(scratch_phys); 3076 out_cmd->cmd.tx.dram_msb_ptr = iwl_get_dma_hi_address(scratch_phys);
3077 3077
3078#ifdef CONFIG_IWL4965_HT_AGG
3079#ifdef CONFIG_IWL4965_HT
3080 /* TODO: move this functionality to rate scaling */
3081 iwl4965_tl_get_stats(priv, hdr);
3082#endif /* CONFIG_IWL4965_HT_AGG */
3083#endif /*CONFIG_IWL4965_HT */
3084
3085
3086 if (!ieee80211_get_morefrag(hdr)) { 3078 if (!ieee80211_get_morefrag(hdr)) {
3087 txq->need_update = 1; 3079 txq->need_update = 1;
3088 if (qc) { 3080 if (qc) {
@@ -8102,18 +8094,6 @@ static void iwl4965_mac_reset_tsf(struct ieee80211_hw *hw)
8102 spin_lock_irqsave(&priv->lock, flags); 8094 spin_lock_irqsave(&priv->lock, flags);
8103 memset(&priv->current_ht_config, 0, sizeof(struct iwl_ht_info)); 8095 memset(&priv->current_ht_config, 0, sizeof(struct iwl_ht_info));
8104 spin_unlock_irqrestore(&priv->lock, flags); 8096 spin_unlock_irqrestore(&priv->lock, flags);
8105#ifdef CONFIG_IWL4965_HT_AGG
8106/* if (priv->lq_mngr.agg_ctrl.granted_ba)
8107 iwl4965_turn_off_agg(priv, TID_ALL_SPECIFIED);*/
8108
8109 memset(&(priv->lq_mngr.agg_ctrl), 0, sizeof(struct iwl4965_agg_control));
8110 priv->lq_mngr.agg_ctrl.tid_traffic_load_threshold = 10;
8111 priv->lq_mngr.agg_ctrl.ba_timeout = 5000;
8112 priv->lq_mngr.agg_ctrl.auto_agg = 1;
8113
8114 if (priv->lq_mngr.agg_ctrl.auto_agg)
8115 priv->lq_mngr.agg_ctrl.requested_ba = TID_ALL_ENABLED;
8116#endif /*CONFIG_IWL4965_HT_AGG */
8117#endif /* CONFIG_IWL4965_HT */ 8097#endif /* CONFIG_IWL4965_HT */
8118 8098
8119#ifdef CONFIG_IWL4965_QOS 8099#ifdef CONFIG_IWL4965_QOS