Home
last modified time | relevance | path

Searched refs:dp_pdev (Results 1 – 13 of 13) sorted by relevance

/linux/drivers/net/wireless/ath/ath12k/wifi7/
H A Ddp_rx.c327 static int ath12k_wifi7_dp_rx_h_mpdu(struct ath12k_pdev_dp *dp_pdev, in ath12k_wifi7_dp_rx_h_mpdu() argument
349 peer = ath12k_dp_peer_find_by_peerid(dp_pdev, rxcb->peer_id); in ath12k_wifi7_dp_rx_h_mpdu()
403 ath12k_dp_rx_h_undecap(dp_pdev, msdu, enctype, is_decrypted, rx_info, in ath12k_wifi7_dp_rx_h_mpdu()
504 static int ath12k_wifi7_dp_rx_process_msdu(struct ath12k_pdev_dp *dp_pdev, in ath12k_wifi7_dp_rx_process_msdu() argument
509 struct ath12k_dp *dp = dp_pdev->dp; in ath12k_wifi7_dp_rx_process_msdu()
572 ath12k_dp_rx_h_ppdu(dp_pdev, rx_info); in ath12k_wifi7_dp_rx_process_msdu()
573 ret = ath12k_wifi7_dp_rx_h_mpdu(dp_pdev, msdu, rx_info); in ath12k_wifi7_dp_rx_process_msdu()
597 struct ath12k_pdev_dp *dp_pdev; in ath12k_wifi7_dp_rx_process_received_packets() local
632 dp_pdev = ath12k_dp_to_pdev_dp(partner_dp, pdev_idx); in ath12k_wifi7_dp_rx_process_received_packets()
633 if (!dp_pdev) { in ath12k_wifi7_dp_rx_process_received_packets()
[all …]
H A Ddp_tx.c106 int ath12k_wifi7_dp_tx(struct ath12k_pdev_dp *dp_pdev, struct ath12k_link_vif *arvif, in ath12k_wifi7_dp_tx() argument
110 struct ath12k_dp *dp = dp_pdev->dp; in ath12k_wifi7_dp_tx()
447 atomic_inc(&dp_pdev->num_tx_pending); in ath12k_wifi7_dp_tx()
492 struct ath12k_pdev_dp *dp_pdev; in ath12k_dp_tx_htt_tx_complete_buf() local
501 dp_pdev = ath12k_dp_to_pdev_dp(dp, pdev_id); in ath12k_dp_tx_htt_tx_complete_buf()
502 if (!dp_pdev) { in ath12k_dp_tx_htt_tx_complete_buf()
509 if (atomic_dec_and_test(&dp_pdev->num_tx_pending)) in ath12k_dp_tx_htt_tx_complete_buf()
510 wake_up(&dp_pdev->tx_empty_waitq); in ath12k_dp_tx_htt_tx_complete_buf()
539 struct ath12k *ar = ath12k_pdev_dp_to_ar(dp_pdev); in ath12k_dp_tx_htt_tx_complete_buf()
554 peer = ath12k_dp_link_peer_find_by_peerid(dp_pdev, peer_id); in ath12k_dp_tx_htt_tx_complete_buf()
[all …]
H A Ddp_mon.c1566 ath12k_wifi7_dp_mon_rx_parse_status_tlv(struct ath12k_pdev_dp *dp_pdev, in ath12k_wifi7_dp_mon_rx_parse_status_tlv() argument
1571 struct ath12k *ar = ath12k_pdev_dp_to_ar(dp_pdev); in ath12k_wifi7_dp_mon_rx_parse_status_tlv()
1837 ath12k_wifi7_dp_mon_parse_rx_dest_tlv(struct ath12k_pdev_dp *dp_pdev, in ath12k_wifi7_dp_mon_parse_rx_dest_tlv() argument
1852 return ath12k_dp_mon_parse_status_buf(dp_pdev, pmon, tlv_data); in ath12k_wifi7_dp_mon_parse_rx_dest_tlv()
2477 ath12k_wifi7_dp_mon_rx_deliver(struct ath12k_pdev_dp *dp_pdev, in ath12k_wifi7_dp_mon_rx_deliver() argument
2483 struct ieee80211_rx_status *rxs = &dp_pdev->rx_status; in ath12k_wifi7_dp_mon_rx_deliver()
2485 mon_skb = ath12k_dp_mon_rx_merg_msdus(dp_pdev, mon_mpdu, ppduinfo, rxs); in ath12k_wifi7_dp_mon_rx_deliver()
2510 ath12k_dp_mon_update_radiotap(dp_pdev, ppduinfo, mon_skb, rxs); in ath12k_wifi7_dp_mon_rx_deliver()
2511 ath12k_dp_mon_rx_deliver_msdu(dp_pdev, napi, mon_skb, rxs); in ath12k_wifi7_dp_mon_rx_deliver()
2529 ath12k_wifi7_dp_mon_tx_process_ppdu_info(struct ath12k_pdev_dp *dp_pdev, in ath12k_wifi7_dp_mon_tx_process_ppdu_info() argument
[all …]
H A Dhw.c919 struct ath12k_pdev_dp *dp_pdev, *tmp_dp_pdev; in ath12k_wifi7_mac_op_tx() local
1008 dp_pdev = ath12k_dp_to_pdev_dp(ar->ab->dp, ar->pdev_idx); in ath12k_wifi7_mac_op_tx()
1009 if (!dp_pdev) { in ath12k_wifi7_mac_op_tx()
1029 ret = ath12k_wifi7_dp_tx(dp_pdev, arvif, arsta, skb, false, 0, is_mcast); in ath12k_wifi7_mac_op_tx()
/linux/drivers/net/wireless/ath/ath12k/
H A Ddp_rx.c897 static int ath12k_dp_rx_crypto_param_len(struct ath12k_pdev_dp *dp_pdev, in ath12k_dp_rx_crypto_param_len() argument
921 ath12k_warn(dp_pdev->dp->ab, "unsupported encryption type %d\n", enctype); in ath12k_dp_rx_crypto_param_len()
925 static int ath12k_dp_rx_crypto_icv_len(struct ath12k_pdev_dp *dp_pdev, in ath12k_dp_rx_crypto_icv_len() argument
946 ath12k_warn(dp_pdev->dp->ab, "unsupported encryption type %d\n", enctype); in ath12k_dp_rx_crypto_icv_len()
950 static void ath12k_dp_rx_h_undecap_nwifi(struct ath12k_pdev_dp *dp_pdev, in ath12k_dp_rx_h_undecap_nwifi() argument
986 ath12k_dp_rx_crypto_param_len(dp_pdev, enctype)); in ath12k_dp_rx_h_undecap_nwifi()
987 ath12k_dp_rx_desc_get_crypto_header(dp_pdev->dp->hal, in ath12k_dp_rx_h_undecap_nwifi()
998 static void ath12k_dp_rx_h_undecap_raw(struct ath12k_pdev_dp *dp_pdev, in ath12k_dp_rx_h_undecap_raw() argument
1004 struct ath12k_dp *dp = dp_pdev->dp; in ath12k_dp_rx_h_undecap_raw()
1029 ath12k_dp_rx_crypto_icv_len(dp_pdev, enctype)); in ath12k_dp_rx_h_undecap_raw()
[all …]
H A Ddp_mon.h105 ath12k_dp_mon_parse_status_buf(struct ath12k_pdev_dp *dp_pdev,
108 void ath12k_dp_mon_update_radiotap(struct ath12k_pdev_dp *dp_pdev,
112 void ath12k_dp_mon_rx_deliver_msdu(struct ath12k_pdev_dp *dp_pdev,
117 ath12k_dp_mon_rx_merg_msdus(struct ath12k_pdev_dp *dp_pdev,
H A Ddp_htt.c187 ath12k_update_per_peer_tx_stats(struct ath12k_pdev_dp *dp_pdev, in ath12k_update_per_peer_tx_stats() argument
190 struct ath12k_dp *dp = dp_pdev->dp; in ath12k_update_per_peer_tx_stats()
194 struct ath12k_per_peer_tx_stats *peer_stats = &dp_pdev->peer_tx_stats; in ath12k_update_per_peer_tx_stats()
277 peer = ath12k_dp_link_peer_find_by_peerid(dp_pdev, usr_stats->peer_id); in ath12k_update_per_peer_tx_stats()
360 static void ath12k_htt_update_ppdu_stats(struct ath12k_pdev_dp *dp_pdev, in ath12k_htt_update_ppdu_stats() argument
366 ath12k_update_per_peer_tx_stats(dp_pdev, ppdu_stats, user); in ath12k_htt_update_ppdu_stats()
370 struct htt_ppdu_stats_info *ath12k_dp_htt_get_ppdu_desc(struct ath12k_pdev_dp *dp_pdev, in ath12k_dp_htt_get_ppdu_desc() argument
375 lockdep_assert_held(&dp_pdev->ppdu_list_lock); in ath12k_dp_htt_get_ppdu_desc()
376 if (!list_empty(&dp_pdev->ppdu_stats_info)) { in ath12k_dp_htt_get_ppdu_desc()
377 list_for_each_entry(ppdu_info, &dp_pdev->ppdu_stats_info, list) { in ath12k_dp_htt_get_ppdu_desc()
[all …]
H A Ddp_tx.c236 struct ath12k_pdev_dp *dp_pdev; in ath12k_dp_tx_free_txbuf() local
252 dp_pdev = ath12k_dp_to_pdev_dp(dp, pdev_idx); in ath12k_dp_tx_free_txbuf()
254 ieee80211_free_txskb(ath12k_pdev_dp_to_hw(dp_pdev), msdu); in ath12k_dp_tx_free_txbuf()
256 if (atomic_dec_and_test(&dp_pdev->num_tx_pending)) in ath12k_dp_tx_free_txbuf()
257 wake_up(&dp_pdev->tx_empty_waitq); in ath12k_dp_tx_free_txbuf()
H A Ddp_mon.c106 ath12k_dp_mon_fill_rx_rate(struct ath12k_pdev_dp *dp_pdev, in ath12k_dp_mon_fill_rx_rate() argument
110 struct ath12k_dp *dp = dp_pdev->dp; in ath12k_dp_mon_fill_rx_rate()
128 struct ath12k *ar = ath12k_pdev_dp_to_ar(dp_pdev); in ath12k_dp_mon_fill_rx_rate()
208 ath12k_dp_mon_rx_merg_msdus(struct ath12k_pdev_dp *dp_pdev, in ath12k_dp_mon_rx_merg_msdus() argument
213 struct ath12k_dp *dp = dp_pdev->dp; in ath12k_dp_mon_rx_merg_msdus()
234 !ath12k_pdev_dp_to_hw(dp_pdev)->wiphy->bands[rxs->band])) { in ath12k_dp_mon_rx_merg_msdus()
235 struct ath12k *ar = ath12k_pdev_dp_to_ar(dp_pdev); in ath12k_dp_mon_rx_merg_msdus()
255 ath12k_dp_mon_fill_rx_rate(dp_pdev, ppdu_info, rxs); in ath12k_dp_mon_rx_merg_msdus()
385 void ath12k_dp_mon_update_radiotap(struct ath12k_pdev_dp *dp_pdev, in ath12k_dp_mon_update_radiotap() argument
390 struct ath12k *ar = ath12k_pdev_dp_to_ar(dp_pdev); in ath12k_dp_mon_update_radiotap()
[all …]
H A Ddp_peer.c416 struct ath12k_dp_peer *ath12k_dp_peer_find_by_peerid(struct ath12k_pdev_dp *dp_pdev, in ath12k_dp_peer_find_by_peerid() argument
420 struct ath12k_dp *dp = dp_pdev->dp; in ath12k_dp_peer_find_by_peerid()
430 return rcu_dereference(dp_pdev->dp_hw->dp_peers[index]); in ath12k_dp_peer_find_by_peerid()
435 ath12k_dp_link_peer_find_by_peerid(struct ath12k_pdev_dp *dp_pdev, u16 peer_id) in ath12k_dp_link_peer_find_by_peerid() argument
443 if (dp_pdev->hw_link_id >= ATH12K_GROUP_MAX_RADIO) in ath12k_dp_link_peer_find_by_peerid()
446 dp_peer = ath12k_dp_peer_find_by_peerid(dp_pdev, peer_id); in ath12k_dp_link_peer_find_by_peerid()
450 link_id = dp_peer->hw_links[dp_pdev->hw_link_id]; in ath12k_dp_link_peer_find_by_peerid()
H A Ddp_peer.h179 struct ath12k_dp_peer *ath12k_dp_peer_find_by_peerid(struct ath12k_pdev_dp *dp_pdev,
182 ath12k_dp_link_peer_find_by_peerid(struct ath12k_pdev_dp *dp_pdev, u16 peer_id);
H A Ddp.c867 struct ath12k_pdev_dp *dp_pdev; in ath12k_dp_pdev_alloc() local
880 dp_pdev = &ar->dp; in ath12k_dp_pdev_alloc()
882 dp_pdev->hw = ar->ah->hw; in ath12k_dp_pdev_alloc()
883 dp_pdev->dp = dp; in ath12k_dp_pdev_alloc()
884 dp_pdev->hw_link_id = ar->hw_link_id; in ath12k_dp_pdev_alloc()
885 dp_pdev->dp_hw = &ar->ah->dp_hw; in ath12k_dp_pdev_alloc()
H A Dmac.c9994 struct ath12k_pdev_dp *dp_pdev = &ar->dp; in ath12k_mac_stop() local
10019 spin_lock_bh(&dp_pdev->ppdu_list_lock); in ath12k_mac_stop()
10020 list_for_each_entry_safe(ppdu_stats, tmp, &dp_pdev->ppdu_stats_info, list) { in ath12k_mac_stop()
10024 spin_unlock_bh(&dp_pdev->ppdu_list_lock); in ath12k_mac_stop()