Lines Matching refs:txs
447 struct __wmi_event_txstatus *txs) in ath9k_htc_tx_process() argument
476 if (!txok || !vif || !txs) in ath9k_htc_tx_process()
479 if (txs->ts_flags & ATH9K_HTC_TXSTAT_ACK) { in ath9k_htc_tx_process()
485 if (txs->ts_flags & ATH9K_HTC_TXSTAT_FILT) in ath9k_htc_tx_process()
488 if (txs->ts_flags & ATH9K_HTC_TXSTAT_RTC_CTS) in ath9k_htc_tx_process()
492 rate->idx = MS(txs->ts_rate, ATH9K_HTC_TXSTAT_RATE); in ath9k_htc_tx_process()
494 if (txs->ts_flags & ATH9K_HTC_TXSTAT_MCS) { in ath9k_htc_tx_process()
497 if (txs->ts_flags & ATH9K_HTC_TXSTAT_CW40) in ath9k_htc_tx_process()
499 if (txs->ts_flags & ATH9K_HTC_TXSTAT_SGI) in ath9k_htc_tx_process()
619 struct __wmi_event_txstatus *txs) in ath9k_htc_tx_get_packet() argument
625 u8 epid = MS(txs->ts_rate, ATH9K_HTC_TXSTAT_EPID); in ath9k_htc_tx_get_packet()
633 if (check_cookie(priv, skb, txs->cookie, epid)) { in ath9k_htc_tx_get_packet()
642 txs->cookie, epid); in ath9k_htc_tx_get_packet()
649 struct wmi_event_txstatus *txs = wmi_event; in ath9k_htc_txstatus() local
655 if (WARN_ON_ONCE(txs->cnt > HTC_MAX_TX_STATUS)) in ath9k_htc_txstatus()
658 for (i = 0; i < txs->cnt; i++) { in ath9k_htc_txstatus()
659 __txs = &txs->txstatus[i]; in ath9k_htc_txstatus()
672 memcpy(&tx_pend->txs, __txs, in ath9k_htc_txstatus()
771 skb = ath9k_htc_tx_get_packet(priv, &event->txs); in ath9k_htc_tx_cleanup_timer()
775 event->txs.cookie, in ath9k_htc_tx_cleanup_timer()
776 MS(event->txs.ts_rate, ATH9K_HTC_TXSTAT_EPID)); in ath9k_htc_tx_cleanup_timer()
778 ath9k_htc_tx_process(priv, skb, &event->txs); in ath9k_htc_tx_cleanup_timer()