Lines Matching refs:ts

56 				struct ath_tx_status *ts, int txok);
60 struct ath_tx_status *ts, int nframes, int nbad,
233 struct ath_tx_status ts; in ath_tx_flush_tid() local
239 memset(&ts, 0, sizeof(ts)); in ath_tx_flush_tid()
256 ath_tx_complete_buf(sc, bf, txq, &bf_head, &ts, 0); in ath_tx_flush_tid()
310 struct ath_tx_status ts; in ath_tid_drain() local
313 memset(&ts, 0, sizeof(ts)); in ath_tid_drain()
326 ath_tx_complete_buf(sc, bf, txq, &bf_head, &ts, 0); in ath_tid_drain()
396 struct ath_tx_status *ts, int txok, in ath_tx_count_frames() argument
410 seq_st = ts->ts_seqnum; in ath_tx_count_frames()
411 memcpy(ba, &ts->ba_low, WME_BA_BMP_SIZE >> 3); in ath_tx_count_frames()
429 struct ath_tx_status *ts, int txok) in ath_tx_complete_aggr() argument
448 bool flush = !!(ts->ts_status & ATH9K_TX_FLUSH); in ath_tx_complete_aggr()
459 retries = ts->ts_longretry + 1; in ath_tx_complete_aggr()
460 for (i = 0; i < ts->ts_rateindex; i++) in ath_tx_complete_aggr()
476 ath_tx_complete_buf(sc, bf, txq, &bf_head, ts, 0); in ath_tx_complete_aggr()
486 isba = ts->ts_flags & ATH9K_TX_BA; in ath_tx_complete_aggr()
496 if (isba && tid->tidno != ts->tid) in ath_tx_complete_aggr()
503 if (ts->ts_flags & ATH9K_TX_BA) { in ath_tx_complete_aggr()
504 seq_st = ts->ts_seqnum; in ath_tx_complete_aggr()
505 memcpy(ba, &ts->ba_low, WME_BA_BMP_SIZE >> 3); in ath_tx_complete_aggr()
521 ath_tx_count_frames(sc, bf, ts, txok, &nframes, &nbad); in ath_tx_complete_aggr()
578 ath_tx_rc_status(sc, bf, ts, nframes, nbad, txok); in ath_tx_complete_aggr()
583 ts); in ath_tx_complete_aggr()
586 ath_tx_complete_buf(sc, bf, txq, &bf_head, ts, in ath_tx_complete_aggr()
607 &bf_head, ts, 0); in ath_tx_complete_aggr()
635 if (ts->ts_status & (ATH9K_TXERR_FILT | ATH9K_TXERR_XRETRY)) in ath_tx_complete_aggr()
664 struct ath_tx_status *ts, struct ath_buf *bf, in ath_tx_process_buffer() argument
670 txok = !(ts->ts_status & ATH9K_TXERR_MASK); in ath_tx_process_buffer()
671 flush = !!(ts->ts_status & ATH9K_TX_FLUSH); in ath_tx_process_buffer()
678 ts->duration = ath9k_hw_get_duration(sc->sc_ah, bf->bf_desc, in ath_tx_process_buffer()
679 ts->ts_rateindex); in ath_tx_process_buffer()
685 ath_tx_rc_status(sc, bf, ts, 1, txok ? 0 : 1, txok); in ath_tx_process_buffer()
686 ath_dynack_sample_tx_ts(sc->sc_ah, bf->bf_mpdu, ts); in ath_tx_process_buffer()
688 ath_tx_complete_buf(sc, bf, txq, bf_head, ts, txok); in ath_tx_process_buffer()
690 ath_tx_complete_aggr(sc, txq, bf, bf_head, ts, txok); in ath_tx_process_buffer()
919 struct ath_tx_status ts = {}; in ath_tx_get_tid_subframe() local
926 ath_tx_complete_buf(sc, bf, txq, &bf_head, &ts, 0); in ath_tx_get_tid_subframe()
1790 struct ath_tx_status ts; in ath_drain_txq_list() local
1792 memset(&ts, 0, sizeof(ts)); in ath_drain_txq_list()
1793 ts.ts_status = ATH9K_TX_FLUSH; in ath_drain_txq_list()
1808 ath_tx_process_buffer(sc, txq, &ts, bf, &bf_head); in ath_drain_txq_list()
2503 struct ath_tx_status *ts, int txok) in ath_tx_complete_buf() argument
2513 if (ts->ts_status & ATH9K_TXERR_FILT) in ath_tx_complete_buf()
2529 ath_debug_stat_tx(sc, bf, ts, txq, tx_flags); in ath_tx_complete_buf()
2547 struct ath_tx_status *ts, int nframes, int nbad, in ath_tx_rc_status() argument
2558 tx_info->status.ack_signal = ts->ts_rssi; in ath_tx_rc_status()
2560 tx_rateindex = ts->ts_rateindex; in ath_tx_rc_status()
2571 if ((ts->ts_status & ATH9K_TXERR_FILT) == 0 && in ath_tx_rc_status()
2585 if (unlikely(ts->ts_flags & (ATH9K_TX_DATA_UNDERRUN | in ath_tx_rc_status()
2598 tx_info->status.rates[tx_rateindex].count = ts->ts_longretry + 1; in ath_tx_rc_status()
2608 struct ath_tx_status ts; in ath_tx_processq() local
2648 memset(&ts, 0, sizeof(ts)); in ath_tx_processq()
2649 status = ath9k_hw_txprocdesc(ah, ds, &ts); in ath_tx_processq()
2671 ath_tx_process_buffer(sc, txq, &ts, bf, &bf_head); in ath_tx_processq()
2690 struct ath_tx_status ts; in ath_tx_edma_tasklet() local
2703 status = ath9k_hw_txprocdesc(ah, NULL, (void *)&ts); in ath_tx_edma_tasklet()
2712 if (ts.qid == sc->beacon.beaconq) { in ath_tx_edma_tasklet()
2714 sc->beacon.tx_last = !(ts.ts_status & ATH9K_TXERR_MASK); in ath_tx_edma_tasklet()
2725 txq = &sc->tx.txq[ts.qid]; in ath_tx_edma_tasklet()
2766 ath_tx_process_buffer(sc, txq, &ts, bf, &bf_head); in ath_tx_edma_tasklet()