|
@@ -419,23 +419,18 @@ static int rs_tl_turn_on_agg_for_tid(struct iwl_priv *priv,
|
|
|
|
|
|
load = rs_tl_get_load(lq_data, tid);
|
|
|
|
|
|
- if ((iwlwifi_mod_params.auto_agg) || (load > IWL_AGG_LOAD_THRESHOLD)) {
|
|
|
- IWL_DEBUG_HT(priv, "Starting Tx agg: STA: %pM tid: %d\n",
|
|
|
- sta->addr, tid);
|
|
|
- ret = ieee80211_start_tx_ba_session(sta, tid, 5000);
|
|
|
- if (ret == -EAGAIN) {
|
|
|
- /*
|
|
|
- * driver and mac80211 is out of sync
|
|
|
- * this might be cause by reloading firmware
|
|
|
- * stop the tx ba session here
|
|
|
- */
|
|
|
- IWL_ERR(priv, "Fail start Tx agg on tid: %d\n",
|
|
|
- tid);
|
|
|
- ieee80211_stop_tx_ba_session(sta, tid);
|
|
|
- }
|
|
|
- } else {
|
|
|
- IWL_DEBUG_HT(priv, "Aggregation not enabled for tid %d "
|
|
|
- "because load = %u\n", tid, load);
|
|
|
+ IWL_DEBUG_HT(priv, "Starting Tx agg: STA: %pM tid: %d\n",
|
|
|
+ sta->addr, tid);
|
|
|
+ ret = ieee80211_start_tx_ba_session(sta, tid, 5000);
|
|
|
+ if (ret == -EAGAIN) {
|
|
|
+ /*
|
|
|
+ * driver and mac80211 is out of sync
|
|
|
+ * this might be cause by reloading firmware
|
|
|
+ * stop the tx ba session here
|
|
|
+ */
|
|
|
+ IWL_ERR(priv, "Fail start Tx agg on tid: %d\n",
|
|
|
+ tid);
|
|
|
+ ieee80211_stop_tx_ba_session(sta, tid);
|
|
|
}
|
|
|
return ret;
|
|
|
}
|