|
@@ -402,10 +402,10 @@ int iwlagn_tx_skb(struct iwl_priv *priv,
|
|
/* aggregation is on for this <sta,tid> */
|
|
/* aggregation is on for this <sta,tid> */
|
|
if (info->flags & IEEE80211_TX_CTL_AMPDU &&
|
|
if (info->flags & IEEE80211_TX_CTL_AMPDU &&
|
|
tid_data->agg.state != IWL_AGG_ON) {
|
|
tid_data->agg.state != IWL_AGG_ON) {
|
|
- IWL_ERR(priv, "TX_CTL_AMPDU while not in AGG:"
|
|
|
|
- " Tx flags = 0x%08x, agg.state = %d",
|
|
|
|
|
|
+ IWL_ERR(priv,
|
|
|
|
+ "TX_CTL_AMPDU while not in AGG: Tx flags = 0x%08x, agg.state = %d\n",
|
|
info->flags, tid_data->agg.state);
|
|
info->flags, tid_data->agg.state);
|
|
- IWL_ERR(priv, "sta_id = %d, tid = %d seq_num = %d",
|
|
|
|
|
|
+ IWL_ERR(priv, "sta_id = %d, tid = %d seq_num = %d\n",
|
|
sta_id, tid,
|
|
sta_id, tid,
|
|
IEEE80211_SEQ_TO_SN(tid_data->seq_number));
|
|
IEEE80211_SEQ_TO_SN(tid_data->seq_number));
|
|
goto drop_unlock_sta;
|
|
goto drop_unlock_sta;
|
|
@@ -416,7 +416,7 @@ int iwlagn_tx_skb(struct iwl_priv *priv,
|
|
*/
|
|
*/
|
|
if (WARN_ONCE(tid_data->agg.state != IWL_AGG_ON &&
|
|
if (WARN_ONCE(tid_data->agg.state != IWL_AGG_ON &&
|
|
tid_data->agg.state != IWL_AGG_OFF,
|
|
tid_data->agg.state != IWL_AGG_OFF,
|
|
- "Tx while agg.state = %d", tid_data->agg.state))
|
|
|
|
|
|
+ "Tx while agg.state = %d\n", tid_data->agg.state))
|
|
goto drop_unlock_sta;
|
|
goto drop_unlock_sta;
|
|
|
|
|
|
seq_number = tid_data->seq_number;
|
|
seq_number = tid_data->seq_number;
|
|
@@ -778,8 +778,8 @@ static void iwlagn_check_ratid_empty(struct iwl_priv *priv, int sta_id, u8 tid)
|
|
/* There are no packets for this RA / TID in the HW any more */
|
|
/* There are no packets for this RA / TID in the HW any more */
|
|
if (tid_data->agg.ssn == tid_data->next_reclaimed) {
|
|
if (tid_data->agg.ssn == tid_data->next_reclaimed) {
|
|
IWL_DEBUG_TX_QUEUES(priv,
|
|
IWL_DEBUG_TX_QUEUES(priv,
|
|
- "Can continue DELBA flow ssn = next_recl ="
|
|
|
|
- " %d", tid_data->next_reclaimed);
|
|
|
|
|
|
+ "Can continue DELBA flow ssn = next_recl = %d\n",
|
|
|
|
+ tid_data->next_reclaimed);
|
|
iwl_trans_txq_disable(priv->trans,
|
|
iwl_trans_txq_disable(priv->trans,
|
|
tid_data->agg.txq_id);
|
|
tid_data->agg.txq_id);
|
|
iwlagn_dealloc_agg_txq(priv, tid_data->agg.txq_id);
|
|
iwlagn_dealloc_agg_txq(priv, tid_data->agg.txq_id);
|
|
@@ -791,8 +791,8 @@ static void iwlagn_check_ratid_empty(struct iwl_priv *priv, int sta_id, u8 tid)
|
|
/* There are no packets for this RA / TID in the HW any more */
|
|
/* There are no packets for this RA / TID in the HW any more */
|
|
if (tid_data->agg.ssn == tid_data->next_reclaimed) {
|
|
if (tid_data->agg.ssn == tid_data->next_reclaimed) {
|
|
IWL_DEBUG_TX_QUEUES(priv,
|
|
IWL_DEBUG_TX_QUEUES(priv,
|
|
- "Can continue ADDBA flow ssn = next_recl ="
|
|
|
|
- " %d", tid_data->next_reclaimed);
|
|
|
|
|
|
+ "Can continue ADDBA flow ssn = next_recl = %d\n",
|
|
|
|
+ tid_data->next_reclaimed);
|
|
tid_data->agg.state = IWL_AGG_STARTING;
|
|
tid_data->agg.state = IWL_AGG_STARTING;
|
|
ieee80211_start_tx_ba_cb_irqsafe(vif, addr, tid);
|
|
ieee80211_start_tx_ba_cb_irqsafe(vif, addr, tid);
|
|
}
|
|
}
|
|
@@ -1216,8 +1216,8 @@ int iwlagn_rx_reply_tx(struct iwl_priv *priv, struct iwl_rx_cmd_buffer *rxb,
|
|
ctx->vif->type == NL80211_IFTYPE_STATION) {
|
|
ctx->vif->type == NL80211_IFTYPE_STATION) {
|
|
/* block and stop all queues */
|
|
/* block and stop all queues */
|
|
priv->passive_no_rx = true;
|
|
priv->passive_no_rx = true;
|
|
- IWL_DEBUG_TX_QUEUES(priv, "stop all queues: "
|
|
|
|
- "passive channel");
|
|
|
|
|
|
+ IWL_DEBUG_TX_QUEUES(priv,
|
|
|
|
+ "stop all queues: passive channel\n");
|
|
ieee80211_stop_queues(priv->hw);
|
|
ieee80211_stop_queues(priv->hw);
|
|
|
|
|
|
IWL_DEBUG_TX_REPLY(priv,
|
|
IWL_DEBUG_TX_REPLY(priv,
|