|
@@ -1341,7 +1341,6 @@ static void ath_tx_send_ampdu(struct ath_softc *sc, struct ath_atx_tid *tid,
|
|
|
struct list_head bf_head;
|
|
|
|
|
|
bf->bf_state.bf_type |= BUF_AMPDU;
|
|
|
- TX_STAT_INC(txctl->txq->axq_qnum, a_queued);
|
|
|
|
|
|
/*
|
|
|
* Do not queue to h/w when any of the following conditions is true:
|
|
@@ -1357,6 +1356,7 @@ static void ath_tx_send_ampdu(struct ath_softc *sc, struct ath_atx_tid *tid,
|
|
|
* Add this frame to software queue for scheduling later
|
|
|
* for aggregation.
|
|
|
*/
|
|
|
+ TX_STAT_INC(txctl->txq->axq_qnum, a_queued_sw);
|
|
|
list_add_tail(&bf->list, &tid->buf_q);
|
|
|
ath_tx_queue_tid(txctl->txq, tid);
|
|
|
return;
|
|
@@ -1370,6 +1370,7 @@ static void ath_tx_send_ampdu(struct ath_softc *sc, struct ath_atx_tid *tid,
|
|
|
ath_tx_addto_baw(sc, tid, fi->seqno);
|
|
|
|
|
|
/* Queue to h/w without aggregation */
|
|
|
+ TX_STAT_INC(txctl->txq->axq_qnum, a_queued_hw);
|
|
|
bf->bf_lastbf = bf;
|
|
|
ath_buf_set_rate(sc, bf, fi->framelen);
|
|
|
ath_tx_txqaddbuf(sc, txctl->txq, &bf_head);
|