Lines 1396-1402
static void ath_tx_send_ampdu(struct ath_softc *sc, struct ath_atx_tid *tid,
Link Here
|
1396 |
TX_STAT_INC(txctl->txq->axq_qnum, a_queued_hw); |
1396 |
TX_STAT_INC(txctl->txq->axq_qnum, a_queued_hw); |
1397 |
bf->bf_lastbf = bf; |
1397 |
bf->bf_lastbf = bf; |
1398 |
ath_buf_set_rate(sc, bf, fi->framelen); |
1398 |
ath_buf_set_rate(sc, bf, fi->framelen); |
|
|
1399 |
|
1400 |
spin_lock_bh(&sc->sc_pcu_lock); |
1399 |
ath_tx_txqaddbuf(sc, txctl->txq, &bf_head); |
1401 |
ath_tx_txqaddbuf(sc, txctl->txq, &bf_head); |
|
|
1402 |
spin_unlock_bh(&sc->sc_pcu_lock); |
1400 |
} |
1403 |
} |
1401 |
|
1404 |
|
1402 |
static void ath_tx_send_normal(struct ath_softc *sc, struct ath_txq *txq, |
1405 |
static void ath_tx_send_normal(struct ath_softc *sc, struct ath_txq *txq, |
Lines 1416-1422
static void ath_tx_send_normal(struct ath_softc *sc, struct ath_txq *txq,
Link Here
|
1416 |
bf->bf_lastbf = bf; |
1419 |
bf->bf_lastbf = bf; |
1417 |
fi = get_frame_info(bf->bf_mpdu); |
1420 |
fi = get_frame_info(bf->bf_mpdu); |
1418 |
ath_buf_set_rate(sc, bf, fi->framelen); |
1421 |
ath_buf_set_rate(sc, bf, fi->framelen); |
|
|
1422 |
|
1423 |
spin_lock_bh(&sc->sc_pcu_lock); |
1419 |
ath_tx_txqaddbuf(sc, txq, bf_head); |
1424 |
ath_tx_txqaddbuf(sc, txq, bf_head); |
|
|
1425 |
spin_unlock_bh(&sc->sc_pcu_lock); |
1420 |
TX_STAT_INC(txq->axq_qnum, queued); |
1426 |
TX_STAT_INC(txq->axq_qnum, queued); |
1421 |
} |
1427 |
} |
1422 |
|
1428 |
|
1423 |
- |
|
|