Lines Matching refs:txs
442 struct __wmi_event_txstatus *txs) in ath9k_htc_tx_process() argument
470 if (!txok || !vif || !txs) in ath9k_htc_tx_process()
473 if (txs->ts_flags & ATH9K_HTC_TXSTAT_ACK) in ath9k_htc_tx_process()
476 if (txs->ts_flags & ATH9K_HTC_TXSTAT_FILT) in ath9k_htc_tx_process()
479 if (txs->ts_flags & ATH9K_HTC_TXSTAT_RTC_CTS) in ath9k_htc_tx_process()
483 rate->idx = MS(txs->ts_rate, ATH9K_HTC_TXSTAT_RATE); in ath9k_htc_tx_process()
485 if (txs->ts_flags & ATH9K_HTC_TXSTAT_MCS) { in ath9k_htc_tx_process()
488 if (txs->ts_flags & ATH9K_HTC_TXSTAT_CW40) in ath9k_htc_tx_process()
490 if (txs->ts_flags & ATH9K_HTC_TXSTAT_SGI) in ath9k_htc_tx_process()
601 struct __wmi_event_txstatus *txs) in ath9k_htc_tx_get_packet() argument
607 u8 epid = MS(txs->ts_rate, ATH9K_HTC_TXSTAT_EPID); in ath9k_htc_tx_get_packet()
615 if (check_cookie(priv, skb, txs->cookie, epid)) { in ath9k_htc_tx_get_packet()
624 txs->cookie, epid); in ath9k_htc_tx_get_packet()
631 struct wmi_event_txstatus *txs = (struct wmi_event_txstatus *)wmi_event; in ath9k_htc_txstatus() local
637 for (i = 0; i < txs->cnt; i++) { in ath9k_htc_txstatus()
638 WARN_ON(txs->cnt > HTC_MAX_TX_STATUS); in ath9k_htc_txstatus()
640 __txs = &txs->txstatus[i]; in ath9k_htc_txstatus()
653 memcpy(&tx_pend->txs, __txs, in ath9k_htc_txstatus()
752 skb = ath9k_htc_tx_get_packet(priv, &event->txs); in ath9k_htc_tx_cleanup_timer()
756 event->txs.cookie, in ath9k_htc_tx_cleanup_timer()
757 MS(event->txs.ts_rate, ATH9K_HTC_TXSTAT_EPID)); in ath9k_htc_tx_cleanup_timer()
759 ath9k_htc_tx_process(priv, skb, &event->txs); in ath9k_htc_tx_cleanup_timer()