Lines Matching refs:ar

16 	struct ath12k_base *ab = arvif->ar->ab;
127 int ath12k_dp_tx(struct ath12k *ar, struct ath12k_vif *arvif,
130 struct ath12k_base *ab = ar->ab;
149 if (test_bit(ATH12K_FLAG_CRASH_FLUSH, &ar->ab->dev_flags))
184 test_bit(ATH12K_FLAG_HW_CRYPTO_DISABLED, &ar->ab->dev_flags)) {
203 ti.lmac_id = ar->lmac_id;
252 tx_desc->mac_id = ar->pdev_idx;
257 skb_cb->ar = ar;
326 atomic_inc(&ar->dp.num_tx_pending);
350 struct ath12k *ar;
363 ar = ab->pdevs[pdev_id].ar;
364 if (atomic_dec_and_test(&ar->dp.num_tx_pending))
365 wake_up(&ar->dp.tx_empty_waitq);
376 struct ath12k *ar;
381 ar = skb_cb->ar;
383 if (atomic_dec_and_test(&ar->dp.num_tx_pending))
384 wake_up(&ar->dp.tx_empty_waitq);
404 ieee80211_tx_status_skb(ath12k_ar_to_hw(ar), msdu);
446 static void ath12k_dp_tx_complete_msdu(struct ath12k *ar,
450 struct ath12k_base *ab = ar->ab;
468 if (!rcu_dereference(ab->pdevs_active[ar->pdev_idx])) {
501 ieee80211_tx_status_skb(ath12k_ar_to_hw(ar), msdu);
533 struct ath12k *ar;
612 ar = ab->pdevs[pdev_id].ar;
614 if (atomic_dec_and_test(&ar->dp.num_tx_pending))
615 wake_up(&ar->dp.tx_empty_waitq);
617 ath12k_dp_tx_complete_msdu(ar, msdu, &ts);
846 int ath12k_dp_tx_htt_h2t_ppdu_stats_req(struct ath12k *ar, u32 mask)
848 struct ath12k_base *ab = ar->ab;
1000 ath12k_dp_tx_htt_h2t_ext_stats_req(struct ath12k *ar, u8 type,
1004 struct ath12k_base *ab = ar->ab;
1021 cmd->hdr.pdev_mask = 1 << ar->pdev->pdev_id;
1042 int ath12k_dp_tx_htt_monitor_mode_ring_config(struct ath12k *ar, bool reset)
1044 struct ath12k_base *ab = ar->ab;
1047 ret = ath12k_dp_tx_htt_tx_monitor_mode_ring_config(ar, reset);
1053 ret = ath12k_dp_tx_htt_tx_monitor_mode_ring_config(ar, reset);
1062 int ath12k_dp_tx_htt_rx_monitor_mode_ring_config(struct ath12k *ar, bool reset)
1064 struct ath12k_base *ab = ar->ab;
1091 ret = ath12k_dp_tx_htt_rx_filter_setup(ar->ab, ring_id, 0,
1213 int ath12k_dp_tx_htt_tx_monitor_mode_ring_config(struct ath12k *ar, bool reset)
1215 struct ath12k_base *ab = ar->ab;
1227 ret = ath12k_dp_tx_htt_tx_filter_setup(ar->ab, ring_id, 0,