Home
last modified time | relevance | path

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

/freebsd/sys/contrib/dev/athk/ath12k/wifi7/
H A Ddp_tx.c61 int ath12k_wifi7_dp_tx(struct ath12k_pdev_dp *dp_pdev, struct ath12k_link_vif *arvif, in ath12k_wifi7_dp_tx() argument
65 struct ath12k_dp *dp = dp_pdev->dp; in ath12k_wifi7_dp_tx()
356 atomic_inc(&dp_pdev->num_tx_pending); in ath12k_wifi7_dp_tx()
401 struct ath12k_pdev_dp *dp_pdev; in ath12k_dp_tx_htt_tx_complete_buf() local
410 dp_pdev = ath12k_dp_to_pdev_dp(dp, pdev_id); in ath12k_dp_tx_htt_tx_complete_buf()
411 if (!dp_pdev) { in ath12k_dp_tx_htt_tx_complete_buf()
418 if (atomic_dec_and_test(&dp_pdev->num_tx_pending)) in ath12k_dp_tx_htt_tx_complete_buf()
419 wake_up(&dp_pdev->tx_empty_waitq); in ath12k_dp_tx_htt_tx_complete_buf()
448 struct ath12k *ar = ath12k_pdev_dp_to_ar(dp_pdev); in ath12k_dp_tx_htt_tx_complete_buf()
463 peer = ath12k_dp_link_peer_find_by_peerid(dp_pdev, peer_id); in ath12k_dp_tx_htt_tx_complete_buf()
[all …]
H A Ddp_rx.c326 static void 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()
391 ath12k_dp_rx_h_undecap(dp_pdev, msdu, rx_desc, in ath12k_wifi7_dp_rx_h_mpdu()
490 static int ath12k_wifi7_dp_rx_process_msdu(struct ath12k_pdev_dp *dp_pdev, in ath12k_wifi7_dp_rx_process_msdu() argument
495 struct ath12k_dp *dp = dp_pdev->dp; in ath12k_wifi7_dp_rx_process_msdu()
558 ath12k_dp_rx_h_ppdu(dp_pdev, rx_info); in ath12k_wifi7_dp_rx_process_msdu()
559 ath12k_wifi7_dp_rx_h_mpdu(dp_pdev, msdu, rx_desc, rx_info); in ath12k_wifi7_dp_rx_process_msdu()
581 struct ath12k_pdev_dp *dp_pdev; in ath12k_wifi7_dp_rx_process_received_packets() local
616 dp_pdev = ath12k_dp_to_pdev_dp(partner_dp, pdev_idx); in ath12k_wifi7_dp_rx_process_received_packets()
617 if (!dp_pdev) { in ath12k_wifi7_dp_rx_process_received_packets()
[all …]
H A Ddp_mon.c1522 ath12k_wifi7_dp_mon_rx_parse_status_tlv(struct ath12k_pdev_dp *dp_pdev, in ath12k_wifi7_dp_mon_rx_parse_status_tlv() argument
1793 ath12k_wifi7_dp_mon_parse_rx_dest_tlv(struct ath12k_pdev_dp *dp_pdev, in ath12k_wifi7_dp_mon_parse_rx_dest_tlv() argument
1808 return ath12k_dp_mon_parse_status_buf(dp_pdev, pmon, tlv_data); in ath12k_wifi7_dp_mon_parse_rx_dest_tlv()
2433 ath12k_wifi7_dp_mon_rx_deliver(struct ath12k_pdev_dp *dp_pdev, in ath12k_wifi7_dp_mon_rx_deliver() argument
2439 struct ieee80211_rx_status *rxs = &dp_pdev->rx_status; in ath12k_wifi7_dp_mon_rx_deliver()
2442 mon_skb = ath12k_dp_mon_rx_merg_msdus(dp_pdev, mon_mpdu, ppduinfo, rxs); in ath12k_wifi7_dp_mon_rx_deliver()
2470 ath12k_dp_mon_update_radiotap(dp_pdev, ppduinfo, mon_skb, rxs); in ath12k_wifi7_dp_mon_rx_deliver()
2471 ath12k_dp_mon_rx_deliver_msdu(dp_pdev, napi, mon_skb, ppduinfo, in ath12k_wifi7_dp_mon_rx_deliver()
2490 ath12k_wifi7_dp_mon_tx_process_ppdu_info(struct ath12k_pdev_dp *dp_pdev, in ath12k_wifi7_dp_mon_tx_process_ppdu_info() argument
2501 ath12k_wifi7_dp_mon_rx_deliver(dp_pdev, mon_mpdu, in ath12k_wifi7_dp_mon_tx_process_ppdu_info()
[all …]
H A Ddp_tx.h10 int ath12k_wifi7_dp_tx(struct ath12k_pdev_dp *dp_pdev, struct ath12k_link_vif *arvif,
H A Ddp_mon.h18 ath12k_wifi7_dp_mon_tx_parse_mon_status(struct ath12k_pdev_dp *dp_pdev,
H A Dhw.c775 struct ath12k_pdev_dp *dp_pdev, *tmp_dp_pdev; in ath12k_wifi7_mac_op_tx() local
857 dp_pdev = ath12k_dp_to_pdev_dp(ar->ab->dp, ar->pdev_idx); in ath12k_wifi7_mac_op_tx()
858 if (!dp_pdev) { in ath12k_wifi7_mac_op_tx()
873 ret = ath12k_wifi7_dp_tx(dp_pdev, arvif, skb, false, 0, is_mcast); in ath12k_wifi7_mac_op_tx()
/freebsd/sys/contrib/dev/athk/ath12k/
H A Ddp_rx.c889 static int ath12k_dp_rx_crypto_param_len(struct ath12k_pdev_dp *dp_pdev, in ath12k_dp_rx_crypto_param_len() argument
913 ath12k_warn(dp_pdev->dp->ab, "unsupported encryption type %d\n", enctype); in ath12k_dp_rx_crypto_param_len()
917 static int ath12k_dp_rx_crypto_icv_len(struct ath12k_pdev_dp *dp_pdev, in ath12k_dp_rx_crypto_icv_len() argument
938 ath12k_warn(dp_pdev->dp->ab, "unsupported encryption type %d\n", enctype); in ath12k_dp_rx_crypto_icv_len()
942 static void ath12k_dp_rx_h_undecap_nwifi(struct ath12k_pdev_dp *dp_pdev, in ath12k_dp_rx_h_undecap_nwifi() argument
978 ath12k_dp_rx_crypto_param_len(dp_pdev, enctype)); in ath12k_dp_rx_h_undecap_nwifi()
979 ath12k_dp_rx_desc_get_crypto_header(dp_pdev->dp->hal, in ath12k_dp_rx_h_undecap_nwifi()
990 static void ath12k_dp_rx_h_undecap_raw(struct ath12k_pdev_dp *dp_pdev, in ath12k_dp_rx_h_undecap_raw() argument
996 struct ath12k_dp *dp = dp_pdev->dp; in ath12k_dp_rx_h_undecap_raw()
1021 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,
119 ath12k_dp_mon_rx_merg_msdus(struct ath12k_pdev_dp *dp_pdev,
H A Ddp_htt.c186 ath12k_update_per_peer_tx_stats(struct ath12k_pdev_dp *dp_pdev, in ath12k_update_per_peer_tx_stats() argument
189 struct ath12k_dp *dp = dp_pdev->dp; in ath12k_update_per_peer_tx_stats()
193 struct ath12k_per_peer_tx_stats *peer_stats = &dp_pdev->peer_tx_stats; in ath12k_update_per_peer_tx_stats()
274 peer = ath12k_dp_link_peer_find_by_peerid(dp_pdev, usr_stats->peer_id); in ath12k_update_per_peer_tx_stats()
357 static void ath12k_htt_update_ppdu_stats(struct ath12k_pdev_dp *dp_pdev, in ath12k_htt_update_ppdu_stats() argument
363 ath12k_update_per_peer_tx_stats(dp_pdev, ppdu_stats, user); in ath12k_htt_update_ppdu_stats()
367 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
372 lockdep_assert_held(&dp_pdev->ppdu_list_lock); in ath12k_dp_htt_get_ppdu_desc()
373 if (!list_empty(&dp_pdev->ppdu_stats_info)) { in ath12k_dp_htt_get_ppdu_desc()
374 list_for_each_entry(ppdu_info, &dp_pdev->ppdu_stats_info, list) { in ath12k_dp_htt_get_ppdu_desc()
[all …]
H A Ddp_tx.c194 struct ath12k_pdev_dp *dp_pdev; in ath12k_dp_tx_free_txbuf() local
210 dp_pdev = ath12k_dp_to_pdev_dp(dp, pdev_idx); in ath12k_dp_tx_free_txbuf()
212 ieee80211_free_txskb(ath12k_pdev_dp_to_hw(dp_pdev), msdu); in ath12k_dp_tx_free_txbuf()
214 if (atomic_dec_and_test(&dp_pdev->num_tx_pending)) in ath12k_dp_tx_free_txbuf()
215 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()
127 struct ath12k *ar = ath12k_pdev_dp_to_ar(dp_pdev); in ath12k_dp_mon_fill_rx_rate()
207 ath12k_dp_mon_rx_merg_msdus(struct ath12k_pdev_dp *dp_pdev, in ath12k_dp_mon_rx_merg_msdus() argument
212 struct ath12k_dp *dp = dp_pdev->dp; in ath12k_dp_mon_rx_merg_msdus()
233 !ath12k_pdev_dp_to_hw(dp_pdev)->wiphy->bands[rxs->band])) { in ath12k_dp_mon_rx_merg_msdus()
234 struct ath12k *ar = ath12k_pdev_dp_to_ar(dp_pdev); in ath12k_dp_mon_rx_merg_msdus()
254 ath12k_dp_mon_fill_rx_rate(dp_pdev, ppdu_info, rxs); in ath12k_dp_mon_rx_merg_msdus()
384 void ath12k_dp_mon_update_radiotap(struct ath12k_pdev_dp *dp_pdev, in ath12k_dp_mon_update_radiotap() argument
389 struct ath12k *ar = ath12k_pdev_dp_to_ar(dp_pdev); in ath12k_dp_mon_update_radiotap()
[all …]
H A Ddp_rx.h191 void ath12k_dp_rx_h_undecap(struct ath12k_pdev_dp *dp_pdev, struct sk_buff *msdu,
196 void ath12k_dp_rx_deliver_msdu(struct ath12k_pdev_dp *dp_pdev, struct napi_struct *napi,
207 void ath12k_dp_rx_h_undecap_frag(struct ath12k_pdev_dp *dp_pdev, struct sk_buff *msdu,
246 ath12k_dp_rx_h_find_link_peer(struct ath12k_pdev_dp *dp_pdev, struct sk_buff *msdu,
255 void ath12k_dp_rx_h_ppdu(struct ath12k_pdev_dp *dp_pdev,
H A Ddp_peer.c413 struct ath12k_dp_peer *ath12k_dp_peer_find_by_peerid(struct ath12k_pdev_dp *dp_pdev, in ath12k_dp_peer_find_by_peerid() argument
417 struct ath12k_dp *dp = dp_pdev->dp; in ath12k_dp_peer_find_by_peerid()
427 return rcu_dereference(dp_pdev->dp_hw->dp_peers[index]); in ath12k_dp_peer_find_by_peerid()
432 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
440 if (dp_pdev->hw_link_id >= ATH12K_GROUP_MAX_RADIO) in ath12k_dp_link_peer_find_by_peerid()
443 dp_peer = ath12k_dp_peer_find_by_peerid(dp_pdev, peer_id); in ath12k_dp_link_peer_find_by_peerid()
447 link_id = dp_peer->hw_links[dp_pdev->hw_link_id]; in ath12k_dp_link_peer_find_by_peerid()
H A Ddp_peer.h177 struct ath12k_dp_peer *ath12k_dp_peer_find_by_peerid(struct ath12k_pdev_dp *dp_pdev,
180 ath12k_dp_link_peer_find_by_peerid(struct ath12k_pdev_dp *dp_pdev, u16 peer_id);
H A Ddp.c879 struct ath12k_pdev_dp *dp_pdev; in ath12k_dp_pdev_alloc() local
892 dp_pdev = &ar->dp; in ath12k_dp_pdev_alloc()
894 dp_pdev->hw = ar->ah->hw; in ath12k_dp_pdev_alloc()
895 dp_pdev->dp = dp; in ath12k_dp_pdev_alloc()
896 dp_pdev->hw_link_id = ar->hw_link_id; in ath12k_dp_pdev_alloc()
897 dp_pdev->dp_hw = &ar->ah->dp_hw; in ath12k_dp_pdev_alloc()
H A Dmac.c9789 struct ath12k_pdev_dp *dp_pdev = &ar->dp; in ath12k_mac_stop() local
9814 spin_lock_bh(&dp_pdev->ppdu_list_lock); in ath12k_mac_stop()
9815 list_for_each_entry_safe(ppdu_stats, tmp, &dp_pdev->ppdu_stats_info, list) { in ath12k_mac_stop()
9819 spin_unlock_bh(&dp_pdev->ppdu_list_lock); in ath12k_mac_stop()