Lines Matching refs:ts

373 				 struct ath12k_dp_htt_wbm_tx_status *ts)  in ath12k_dp_tx_htt_tx_complete_buf()  argument
394 if (ts->acked) { in ath12k_dp_tx_htt_tx_complete_buf()
398 ts->ack_rssi; in ath12k_dp_tx_htt_tx_complete_buf()
415 struct ath12k_dp_htt_wbm_tx_status ts = {0}; in ath12k_dp_tx_process_htt_tx_complete() local
427 ts.acked = (wbm_status == HAL_WBM_REL_HTT_TX_COMP_STATUS_OK); in ath12k_dp_tx_process_htt_tx_complete()
428 ts.ack_rssi = le32_get_bits(status_desc->info2, in ath12k_dp_tx_process_htt_tx_complete()
430 ath12k_dp_tx_htt_tx_complete_buf(ab, msdu, tx_ring, &ts); in ath12k_dp_tx_process_htt_tx_complete()
449 struct hal_tx_status *ts) in ath12k_dp_tx_complete_msdu() argument
455 if (WARN_ON_ONCE(ts->buf_rel_source != HAL_WBM_REL_SRC_MODULE_TQM)) { in ath12k_dp_tx_complete_msdu()
485 if (ts->status == HAL_WBM_TQM_REL_REASON_FRAME_ACKED && in ath12k_dp_tx_complete_msdu()
489 ts->ack_rssi; in ath12k_dp_tx_complete_msdu()
493 if (ts->status == HAL_WBM_TQM_REL_REASON_CMD_REMOVE_TX && in ath12k_dp_tx_complete_msdu()
510 struct hal_tx_status *ts) in ath12k_dp_tx_status_parse() argument
512 ts->buf_rel_source = in ath12k_dp_tx_status_parse()
514 if (ts->buf_rel_source != HAL_WBM_REL_SRC_MODULE_FW && in ath12k_dp_tx_status_parse()
515 ts->buf_rel_source != HAL_WBM_REL_SRC_MODULE_TQM) in ath12k_dp_tx_status_parse()
518 if (ts->buf_rel_source == HAL_WBM_REL_SRC_MODULE_FW) in ath12k_dp_tx_status_parse()
521 ts->status = le32_get_bits(desc->info0, in ath12k_dp_tx_status_parse()
524 ts->ppdu_id = le32_get_bits(desc->info1, in ath12k_dp_tx_status_parse()
527 ts->rate_stats = le32_to_cpu(desc->rate_stats.info0); in ath12k_dp_tx_status_parse()
529 ts->rate_stats = 0; in ath12k_dp_tx_status_parse()
540 struct hal_tx_status ts = { 0 }; in ath12k_dp_tx_completion_handler() local
578 ath12k_dp_tx_status_parse(ab, tx_status, &ts); in ath12k_dp_tx_completion_handler()
604 if (ts.buf_rel_source == HAL_WBM_REL_SRC_MODULE_FW) { in ath12k_dp_tx_completion_handler()
618 ath12k_dp_tx_complete_msdu(ar, msdu, &ts); in ath12k_dp_tx_completion_handler()