Home
last modified time | relevance | path

Searched refs:msdu (Results 1 - 25 of 62) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/
H A Dhtt_tx.c584 "htt tx complete msdu id:%u ,flags1:%x\n", in ath10k_htt_htc_tx_complete()
1201 int ath10k_htt_mgmt_tx(struct ath10k_htt *htt, struct sk_buff *msdu) in ath10k_htt_mgmt_tx() argument
1207 struct ath10k_skb_cb *skb_cb = ATH10K_SKB_CB(msdu); in ath10k_htt_mgmt_tx()
1208 u8 vdev_id = ath10k_htt_tx_get_vdev_id(ar, msdu); in ath10k_htt_mgmt_tx()
1213 struct ieee80211_hdr *hdr = (struct ieee80211_hdr *)msdu->data; in ath10k_htt_mgmt_tx()
1218 res = ath10k_htt_tx_alloc_msdu_id(htt, msdu); in ath10k_htt_mgmt_tx()
1230 skb_put(msdu, sizeof(struct ieee80211_mmie_16)); in ath10k_htt_mgmt_tx()
1234 skb_put(msdu, IEEE80211_GCMP_MIC_LEN); in ath10k_htt_mgmt_tx()
1236 skb_put(msdu, IEEE80211_CCMP_MIC_LEN); in ath10k_htt_mgmt_tx()
1246 skb_cb->paddr = dma_map_single(dev, msdu in ath10k_htt_mgmt_tx()
1290 ath10k_htt_tx_hl(struct ath10k_htt *htt, enum ath10k_hw_txrx_mode txmode, struct sk_buff *msdu) ath10k_htt_tx_hl() argument
1402 ath10k_htt_tx_32(struct ath10k_htt *htt, enum ath10k_hw_txrx_mode txmode, struct sk_buff *msdu) ath10k_htt_tx_32() argument
1604 ath10k_htt_tx_64(struct ath10k_htt *htt, enum ath10k_hw_txrx_mode txmode, struct sk_buff *msdu) ath10k_htt_tx_64() argument
[all...]
H A Dhtt_rx.c312 struct sk_buff *msdu; in ath10k_htt_rx_netbuf_pop() local
322 msdu = htt->rx_ring.netbufs_ring[idx]; in ath10k_htt_rx_netbuf_pop()
332 ATH10K_SKB_RXCB(msdu)->paddr, in ath10k_htt_rx_netbuf_pop()
333 msdu->len + skb_tailroom(msdu), in ath10k_htt_rx_netbuf_pop()
336 msdu->data, msdu->len + skb_tailroom(msdu)); in ath10k_htt_rx_netbuf_pop()
338 return msdu; in ath10k_htt_rx_netbuf_pop()
341 /* return: < 0 fatal error, 0 - non chained msdu,
347 struct sk_buff *msdu; ath10k_htt_rx_amsdu_pop() local
448 struct sk_buff *msdu; ath10k_htt_rx_pop_paddr() local
478 ath10k_htt_rx_handle_amsdu_mon_32(struct ath10k_htt *htt, struct sk_buff *msdu, struct htt_rx_in_ord_msdu_desc **msdu_desc) ath10k_htt_rx_handle_amsdu_mon_32() argument
554 ath10k_htt_rx_handle_amsdu_mon_64(struct ath10k_htt *htt, struct sk_buff *msdu, struct htt_rx_in_ord_msdu_desc_ext **msdu_desc) ath10k_htt_rx_handle_amsdu_mon_64() argument
636 struct sk_buff *msdu; ath10k_htt_rx_pop_paddr32_list() local
698 struct sk_buff *msdu; ath10k_htt_rx_pop_paddr64_list() local
1352 ath10k_htt_rx_h_undecap_raw(struct ath10k *ar, struct sk_buff *msdu, struct ieee80211_rx_status *status, enum htt_rx_mpdu_encrypt_type enctype, bool is_decrypted, const u8 first_hdr[64]) ath10k_htt_rx_h_undecap_raw() argument
1476 ath10k_htt_rx_h_undecap_nwifi(struct ath10k *ar, struct sk_buff *msdu, struct ieee80211_rx_status *status, const u8 first_hdr[64], enum htt_rx_mpdu_encrypt_type enctype) ath10k_htt_rx_h_undecap_nwifi() argument
1535 ath10k_htt_rx_h_find_rfc1042(struct ath10k *ar, struct sk_buff *msdu, enum htt_rx_mpdu_encrypt_type enctype) ath10k_htt_rx_h_find_rfc1042() argument
1571 ath10k_htt_rx_h_undecap_eth(struct ath10k *ar, struct sk_buff *msdu, struct ieee80211_rx_status *status, const u8 first_hdr[64], enum htt_rx_mpdu_encrypt_type enctype) ath10k_htt_rx_h_undecap_eth() argument
1632 ath10k_htt_rx_h_undecap_snap(struct ath10k *ar, struct sk_buff *msdu, struct ieee80211_rx_status *status, const u8 first_hdr[64], enum htt_rx_mpdu_encrypt_type enctype) ath10k_htt_rx_h_undecap_snap() argument
1669 ath10k_htt_rx_h_undecap(struct ath10k *ar, struct sk_buff *msdu, struct ieee80211_rx_status *status, u8 first_hdr[64], enum htt_rx_mpdu_encrypt_type enctype, bool is_decrypted) ath10k_htt_rx_h_undecap() argument
1744 ath10k_htt_rx_h_csum_offload(struct sk_buff *msdu) ath10k_htt_rx_h_csum_offload() argument
1839 struct sk_buff *msdu, *temp; ath10k_htt_rx_h_mpdu() local
2011 struct sk_buff *msdu; ath10k_htt_rx_h_enqueue() local
3036 struct sk_buff *msdu; ath10k_htt_rx_extract_amsdu() local
3090 struct sk_buff *msdu; ath10k_htt_rx_h_rx_offload() local
[all...]
H A Dtxrx.c52 struct sk_buff *msdu; in ath10k_txrx_tx_unref() local
66 msdu = idr_find(&htt->pending_tx, tx_done->msdu_id); in ath10k_txrx_tx_unref()
67 if (!msdu) { in ath10k_txrx_tx_unref()
74 skb_cb = ATH10K_SKB_CB(msdu); in ath10k_txrx_tx_unref()
94 dma_unmap_single(dev, skb_cb->paddr, msdu->len, DMA_TO_DEVICE); in ath10k_txrx_tx_unref()
96 ath10k_report_offchan_tx(htt->ar, msdu); in ath10k_txrx_tx_unref()
98 info = IEEE80211_SKB_CB(msdu); in ath10k_txrx_tx_unref()
131 ieee80211_tx_status(htt->ar->hw, msdu); in ath10k_txrx_tx_unref()
132 /* we do not own the msdu anymore */ in ath10k_txrx_tx_unref()
H A Dwmi-ops.h143 int (*cleanup_mgmt_tx_send)(struct ath10k *ar, struct sk_buff *msdu);
455 ath10k_wmi_cleanup_mgmt_tx_send(struct ath10k *ar, struct sk_buff *msdu) in ath10k_wmi_cleanup_mgmt_tx_send() argument
460 return ar->wmi.ops->cleanup_mgmt_tx_send(ar, msdu); in ath10k_wmi_cleanup_mgmt_tx_send()
464 ath10k_wmi_mgmt_tx_send(struct ath10k *ar, struct sk_buff *msdu, in ath10k_wmi_mgmt_tx_send() argument
473 skb = ar->wmi.ops->gen_mgmt_tx_send(ar, msdu, paddr); in ath10k_wmi_mgmt_tx_send()
486 ath10k_wmi_mgmt_tx(struct ath10k *ar, struct sk_buff *msdu) in ath10k_wmi_mgmt_tx() argument
488 struct ieee80211_tx_info *info = IEEE80211_SKB_CB(msdu); in ath10k_wmi_mgmt_tx()
495 skb = ar->wmi.ops->gen_mgmt_tx(ar, msdu); in ath10k_wmi_mgmt_tx()
508 ieee80211_tx_status_irqsafe(ar->hw, msdu); in ath10k_wmi_mgmt_tx()
H A Dhtt.h65 * for creating the HW msdu descriptor.
966 * contains the timestamp info for each TX msdu id in payload.
1984 /* FIFO for storing tx done status {ack, no-ack, discard} and msdu id */
2047 struct sk_buff *msdu);
2088 struct sk_buff *msdu) in ath10k_htt_tx()
2090 return htt->tx_ops->htt_tx(htt, txmode, msdu); in ath10k_htt_tx()
2193 /* This field is filled on the host using the msdu buffer
2307 int ath10k_htt_mgmt_tx(struct ath10k_htt *htt, struct sk_buff *msdu);
2086 ath10k_htt_tx(struct ath10k_htt *htt, enum ath10k_hw_txrx_mode txmode, struct sk_buff *msdu) ath10k_htt_tx() argument
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath10k/
H A Dhtt_tx.c586 "htt tx complete msdu id:%u ,flags1:%x\n", in ath10k_htt_htc_tx_complete()
1183 int ath10k_htt_mgmt_tx(struct ath10k_htt *htt, struct sk_buff *msdu) in ath10k_htt_mgmt_tx() argument
1189 struct ath10k_skb_cb *skb_cb = ATH10K_SKB_CB(msdu); in ath10k_htt_mgmt_tx()
1190 u8 vdev_id = ath10k_htt_tx_get_vdev_id(ar, msdu); in ath10k_htt_mgmt_tx()
1195 struct ieee80211_hdr *hdr = (struct ieee80211_hdr *)msdu->data; in ath10k_htt_mgmt_tx()
1200 res = ath10k_htt_tx_alloc_msdu_id(htt, msdu); in ath10k_htt_mgmt_tx()
1212 skb_put(msdu, sizeof(struct ieee80211_mmie_16)); in ath10k_htt_mgmt_tx()
1216 skb_put(msdu, IEEE80211_GCMP_MIC_LEN); in ath10k_htt_mgmt_tx()
1218 skb_put(msdu, IEEE80211_CCMP_MIC_LEN); in ath10k_htt_mgmt_tx()
1228 skb_cb->paddr = dma_map_single(dev, msdu in ath10k_htt_mgmt_tx()
1272 ath10k_htt_tx_hl(struct ath10k_htt *htt, enum ath10k_hw_txrx_mode txmode, struct sk_buff *msdu) ath10k_htt_tx_hl() argument
1387 ath10k_htt_tx_32(struct ath10k_htt *htt, enum ath10k_hw_txrx_mode txmode, struct sk_buff *msdu) ath10k_htt_tx_32() argument
1592 ath10k_htt_tx_64(struct ath10k_htt *htt, enum ath10k_hw_txrx_mode txmode, struct sk_buff *msdu) ath10k_htt_tx_64() argument
[all...]
H A Dhtt_rx.c320 struct sk_buff *msdu; in ath10k_htt_rx_netbuf_pop() local
330 msdu = htt->rx_ring.netbufs_ring[idx]; in ath10k_htt_rx_netbuf_pop()
340 ATH10K_SKB_RXCB(msdu)->paddr, in ath10k_htt_rx_netbuf_pop()
341 msdu->len + skb_tailroom(msdu), in ath10k_htt_rx_netbuf_pop()
344 msdu->data, msdu->len + skb_tailroom(msdu)); in ath10k_htt_rx_netbuf_pop()
346 return msdu; in ath10k_htt_rx_netbuf_pop()
349 /* return: < 0 fatal error, 0 - non chained msdu,
356 struct sk_buff *msdu; ath10k_htt_rx_amsdu_pop() local
467 struct sk_buff *msdu; ath10k_htt_rx_pop_paddr() local
497 ath10k_htt_rx_handle_amsdu_mon_32(struct ath10k_htt *htt, struct sk_buff *msdu, struct htt_rx_in_ord_msdu_desc **msdu_desc) ath10k_htt_rx_handle_amsdu_mon_32() argument
574 ath10k_htt_rx_handle_amsdu_mon_64(struct ath10k_htt *htt, struct sk_buff *msdu, struct htt_rx_in_ord_msdu_desc_ext **msdu_desc) ath10k_htt_rx_handle_amsdu_mon_64() argument
659 struct sk_buff *msdu; ath10k_htt_rx_pop_paddr32_list() local
724 struct sk_buff *msdu; ath10k_htt_rx_pop_paddr64_list() local
1417 ath10k_htt_rx_h_undecap_raw(struct ath10k *ar, struct sk_buff *msdu, struct ieee80211_rx_status *status, enum htt_rx_mpdu_encrypt_type enctype, bool is_decrypted, const u8 first_hdr[64]) ath10k_htt_rx_h_undecap_raw() argument
1546 ath10k_htt_rx_h_undecap_nwifi(struct ath10k *ar, struct sk_buff *msdu, struct ieee80211_rx_status *status, const u8 first_hdr[64], enum htt_rx_mpdu_encrypt_type enctype) ath10k_htt_rx_h_undecap_nwifi() argument
1607 ath10k_htt_rx_h_find_rfc1042(struct ath10k *ar, struct sk_buff *msdu, enum htt_rx_mpdu_encrypt_type enctype) ath10k_htt_rx_h_find_rfc1042() argument
1650 ath10k_htt_rx_h_undecap_eth(struct ath10k *ar, struct sk_buff *msdu, struct ieee80211_rx_status *status, const u8 first_hdr[64], enum htt_rx_mpdu_encrypt_type enctype) ath10k_htt_rx_h_undecap_eth() argument
1714 ath10k_htt_rx_h_undecap_snap(struct ath10k *ar, struct sk_buff *msdu, struct ieee80211_rx_status *status, const u8 first_hdr[64], enum htt_rx_mpdu_encrypt_type enctype) ath10k_htt_rx_h_undecap_snap() argument
1754 ath10k_htt_rx_h_undecap(struct ath10k *ar, struct sk_buff *msdu, struct ieee80211_rx_status *status, u8 first_hdr[64], enum htt_rx_mpdu_encrypt_type enctype, bool is_decrypted) ath10k_htt_rx_h_undecap() argument
1840 ath10k_htt_rx_h_csum_offload(struct ath10k_hw_params *hw, struct sk_buff *msdu) ath10k_htt_rx_h_csum_offload() argument
1931 struct sk_buff *msdu, *temp; ath10k_htt_rx_h_mpdu() local
2112 struct sk_buff *msdu; ath10k_htt_rx_h_enqueue() local
3152 struct sk_buff *msdu; ath10k_htt_rx_extract_amsdu() local
3214 struct sk_buff *msdu; ath10k_htt_rx_h_rx_offload() local
[all...]
H A Dtxrx.c53 struct sk_buff *msdu; in ath10k_txrx_tx_unref() local
67 msdu = idr_find(&htt->pending_tx, tx_done->msdu_id); in ath10k_txrx_tx_unref()
68 if (!msdu) { in ath10k_txrx_tx_unref()
75 skb_cb = ATH10K_SKB_CB(msdu); in ath10k_txrx_tx_unref()
95 dma_unmap_single(dev, skb_cb->paddr, msdu->len, DMA_TO_DEVICE); in ath10k_txrx_tx_unref()
97 ath10k_report_offchan_tx(htt->ar, msdu); in ath10k_txrx_tx_unref()
99 info = IEEE80211_SKB_CB(msdu); in ath10k_txrx_tx_unref()
133 status.skb = msdu; in ath10k_txrx_tx_unref()
145 /* we do not own the msdu anymore */ in ath10k_txrx_tx_unref()
H A Dwmi-ops.h143 int (*cleanup_mgmt_tx_send)(struct ath10k *ar, struct sk_buff *msdu);
455 ath10k_wmi_cleanup_mgmt_tx_send(struct ath10k *ar, struct sk_buff *msdu) in ath10k_wmi_cleanup_mgmt_tx_send() argument
460 return ar->wmi.ops->cleanup_mgmt_tx_send(ar, msdu); in ath10k_wmi_cleanup_mgmt_tx_send()
464 ath10k_wmi_mgmt_tx_send(struct ath10k *ar, struct sk_buff *msdu, in ath10k_wmi_mgmt_tx_send() argument
473 skb = ar->wmi.ops->gen_mgmt_tx_send(ar, msdu, paddr); in ath10k_wmi_mgmt_tx_send()
486 ath10k_wmi_mgmt_tx(struct ath10k *ar, struct sk_buff *msdu) in ath10k_wmi_mgmt_tx() argument
488 struct ieee80211_tx_info *info = IEEE80211_SKB_CB(msdu); in ath10k_wmi_mgmt_tx()
495 skb = ar->wmi.ops->gen_mgmt_tx(ar, msdu); in ath10k_wmi_mgmt_tx()
508 ieee80211_tx_status_irqsafe(ar->hw, msdu); in ath10k_wmi_mgmt_tx()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/
H A Ddp_rx.c1731 /* As the msdu is spread across multiple rx buffers, in ath11k_dp_rx_msdu_coalesce()
1732 * find the offset to the start of msdu for computing in ath11k_dp_rx_msdu_coalesce()
1733 * the length of the msdu in the first buffer. in ath11k_dp_rx_msdu_coalesce()
1821 static void ath11k_dp_rx_h_csum_offload(struct sk_buff *msdu) in ath11k_dp_rx_h_csum_offload() argument
1823 struct ath11k_skb_rxcb *rxcb = ATH11K_SKB_RXCB(msdu); in ath11k_dp_rx_h_csum_offload()
1829 msdu->ip_summed = (ip_csum_fail || l4_csum_fail) ? in ath11k_dp_rx_h_csum_offload()
1914 struct sk_buff *msdu, in ath11k_dp_rx_h_undecap_nwifi()
1919 struct ath11k_skb_rxcb *rxcb = ATH11K_SKB_RXCB(msdu); in ath11k_dp_rx_h_undecap_nwifi()
1929 hdr = (struct ieee80211_hdr *)msdu->data; in ath11k_dp_rx_h_undecap_nwifi()
1933 skb_pull(msdu, ieee80211_hdrle in ath11k_dp_rx_h_undecap_nwifi()
1913 ath11k_dp_rx_h_undecap_nwifi(struct ath11k *ar, struct sk_buff *msdu, u8 *first_hdr, enum hal_encrypt_type enctype, struct ieee80211_rx_status *status) ath11k_dp_rx_h_undecap_nwifi() argument
1992 ath11k_dp_rx_h_undecap_raw(struct ath11k *ar, struct sk_buff *msdu, enum hal_encrypt_type enctype, struct ieee80211_rx_status *status, bool decrypted) ath11k_dp_rx_h_undecap_raw() argument
2051 ath11k_dp_rx_h_find_rfc1042(struct ath11k *ar, struct sk_buff *msdu, enum hal_encrypt_type enctype) ath11k_dp_rx_h_find_rfc1042() argument
2078 ath11k_dp_rx_h_undecap_eth(struct ath11k *ar, struct sk_buff *msdu, u8 *first_hdr, enum hal_encrypt_type enctype, struct ieee80211_rx_status *status) ath11k_dp_rx_h_undecap_eth() argument
2126 ath11k_dp_rx_h_undecap(struct ath11k *ar, struct sk_buff *msdu, struct hal_rx_desc *rx_desc, enum hal_encrypt_type enctype, struct ieee80211_rx_status *status, bool decrypted) ath11k_dp_rx_h_undecap() argument
2158 ath11k_dp_rx_h_mpdu(struct ath11k *ar, struct sk_buff *msdu, struct hal_rx_desc *rx_desc, struct ieee80211_rx_status *rx_status) ath11k_dp_rx_h_mpdu() argument
2356 ath11k_dp_rx_deliver_msdu(struct ath11k *ar, struct napi_struct *napi, struct sk_buff *msdu) ath11k_dp_rx_deliver_msdu() argument
2409 ath11k_dp_rx_process_msdu(struct ath11k *ar, struct sk_buff *msdu, struct sk_buff_head *msdu_list) ath11k_dp_rx_process_msdu() argument
2496 struct sk_buff *msdu; ath11k_dp_rx_process_received_packets() local
2545 struct sk_buff *msdu; ath11k_dp_process_rx() local
3092 ath11k_dp_rx_h_verify_tkip_mic(struct ath11k *ar, struct ath11k_peer *peer, struct sk_buff *msdu) ath11k_dp_rx_h_verify_tkip_mic() argument
3146 ath11k_dp_rx_h_undecap_frag(struct ath11k *ar, struct sk_buff *msdu, enum hal_encrypt_type enctype, u32 flags) ath11k_dp_rx_h_undecap_frag() argument
3435 ath11k_dp_rx_frag_h_mpdu(struct ath11k *ar, struct sk_buff *msdu, u32 *ring_desc) ath11k_dp_rx_frag_h_mpdu() argument
3558 struct sk_buff *msdu; ath11k_dp_process_rx_err_buf() local
3759 ath11k_dp_rx_h_null_q_desc(struct ath11k *ar, struct sk_buff *msdu, struct ieee80211_rx_status *status, struct sk_buff_head *msdu_list) ath11k_dp_rx_h_null_q_desc() argument
3820 ath11k_dp_rx_h_reo_err(struct ath11k *ar, struct sk_buff *msdu, struct ieee80211_rx_status *status, struct sk_buff_head *msdu_list) ath11k_dp_rx_h_reo_err() argument
3851 ath11k_dp_rx_h_tkip_mic_err(struct ath11k *ar, struct sk_buff *msdu, struct ieee80211_rx_status *status) ath11k_dp_rx_h_tkip_mic_err() argument
3876 ath11k_dp_rx_h_rxdma_err(struct ath11k *ar, struct sk_buff *msdu, struct ieee80211_rx_status *status) ath11k_dp_rx_h_rxdma_err() argument
3899 ath11k_dp_rx_wbm_err(struct ath11k *ar, struct napi_struct *napi, struct sk_buff *msdu, struct sk_buff_head *msdu_list) ath11k_dp_rx_wbm_err() argument
3940 struct sk_buff *msdu; ath11k_dp_rx_process_wbm_err() local
4502 struct sk_buff *msdu = NULL, *last = NULL; ath11k_dp_rx_mon_mpdu_pop() local
4688 ath11k_dp_rx_msdus_set_payload(struct sk_buff *msdu) ath11k_dp_rx_msdus_set_payload() argument
4703 struct sk_buff *msdu, *mpdu_buf, *prev_buf; ath11k_dp_rx_mon_merg_msdus() local
[all...]
H A Ddp_tx.c260 ath11k_dbg_dump(ab, ATH11K_DBG_DP_TX, NULL, "dp tx msdu: ", in ath11k_dp_tx()
287 struct sk_buff *msdu; in ath11k_dp_tx_free_txbuf() local
291 msdu = idr_find(&tx_ring->txbuf_idr, msdu_id); in ath11k_dp_tx_free_txbuf()
292 if (!msdu) { in ath11k_dp_tx_free_txbuf()
299 skb_cb = ATH11K_SKB_CB(msdu); in ath11k_dp_tx_free_txbuf()
304 dma_unmap_single(ab->dev, skb_cb->paddr, msdu->len, DMA_TO_DEVICE); in ath11k_dp_tx_free_txbuf()
305 dev_kfree_skb_any(msdu); in ath11k_dp_tx_free_txbuf()
317 struct sk_buff *msdu; in ath11k_dp_tx_htt_tx_complete_buf() local
323 msdu = idr_find(&tx_ring->txbuf_idr, ts->msdu_id); in ath11k_dp_tx_htt_tx_complete_buf()
324 if (!msdu) { in ath11k_dp_tx_htt_tx_complete_buf()
398 ath11k_dp_tx_cache_peer_stats(struct ath11k *ar, struct sk_buff *msdu, struct hal_tx_status *ts) ath11k_dp_tx_cache_peer_stats() argument
415 ath11k_dp_tx_complete_msdu(struct ath11k *ar, struct sk_buff *msdu, struct hal_tx_status *ts) ath11k_dp_tx_complete_msdu() argument
533 struct sk_buff *msdu; ath11k_dp_tx_completion_handler() local
[all...]
H A Ddebugfs_sta.h22 struct sk_buff *msdu,
37 struct sk_buff *msdu, in ath11k_debugfs_sta_update_txcompl()
36 ath11k_debugfs_sta_update_txcompl(struct ath11k *ar, struct sk_buff *msdu, struct hal_tx_status *ts) ath11k_debugfs_sta_update_txcompl() argument
H A Dhal_rx.c299 struct hal_rx_msdu_details *msdu; in ath11k_hal_rx_msdu_link_info_get() local
304 msdu = &link->msdu_link[0]; in ath11k_hal_rx_msdu_link_info_get()
306 msdu->buf_addr_info.info1); in ath11k_hal_rx_msdu_link_info_get()
309 msdu = &link->msdu_link[i]; in ath11k_hal_rx_msdu_link_info_get()
312 msdu->buf_addr_info.info0)) { in ath11k_hal_rx_msdu_link_info_get()
317 msdu->buf_addr_info.info1); in ath11k_hal_rx_msdu_link_info_get()
H A Ddp.c989 struct sk_buff *msdu = skb; in ath11k_dp_tx_pending_cleanup() local
991 dma_unmap_single(ab->dev, ATH11K_SKB_CB(msdu)->paddr, msdu->len, in ath11k_dp_tx_pending_cleanup()
994 dev_kfree_skb_any(msdu); in ath11k_dp_tx_pending_cleanup()
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath12k/
H A Ddp_rx.c1787 /* As the msdu is spread across multiple rx buffers, in ath12k_dp_rx_msdu_coalesce()
1788 * find the offset to the start of msdu for computing in ath12k_dp_rx_msdu_coalesce()
1789 * the length of the msdu in the first buffer. in ath12k_dp_rx_msdu_coalesce()
1877 static void ath12k_dp_rx_h_csum_offload(struct ath12k *ar, struct sk_buff *msdu) in ath12k_dp_rx_h_csum_offload() argument
1879 struct ath12k_skb_rxcb *rxcb = ATH12K_SKB_RXCB(msdu); in ath12k_dp_rx_h_csum_offload()
1886 msdu->ip_summed = (ip_csum_fail || l4_csum_fail) ? in ath12k_dp_rx_h_csum_offload()
1971 struct sk_buff *msdu, in ath12k_dp_rx_h_undecap_nwifi()
1976 struct ath12k_skb_rxcb *rxcb = ATH12K_SKB_RXCB(msdu); in ath12k_dp_rx_h_undecap_nwifi()
1984 hdr = (struct ieee80211_hdr *)msdu->data; in ath12k_dp_rx_h_undecap_nwifi()
1986 skb_pull(msdu, hdr_le in ath12k_dp_rx_h_undecap_nwifi()
1970 ath12k_dp_rx_h_undecap_nwifi(struct ath12k *ar, struct sk_buff *msdu, enum hal_encrypt_type enctype, struct ieee80211_rx_status *status) ath12k_dp_rx_h_undecap_nwifi() argument
2018 ath12k_dp_rx_h_undecap_raw(struct ath12k *ar, struct sk_buff *msdu, enum hal_encrypt_type enctype, struct ieee80211_rx_status *status, bool decrypted) ath12k_dp_rx_h_undecap_raw() argument
2076 ath12k_get_dot11_hdr_from_rx_desc(struct ath12k *ar, struct sk_buff *msdu, struct ath12k_skb_rxcb *rxcb, struct ieee80211_rx_status *status, enum hal_encrypt_type enctype) ath12k_get_dot11_hdr_from_rx_desc() argument
2120 ath12k_dp_rx_h_undecap_eth(struct ath12k *ar, struct sk_buff *msdu, enum hal_encrypt_type enctype, struct ieee80211_rx_status *status) ath12k_dp_rx_h_undecap_eth() argument
2149 ath12k_dp_rx_h_undecap(struct ath12k *ar, struct sk_buff *msdu, struct hal_rx_desc *rx_desc, enum hal_encrypt_type enctype, struct ieee80211_rx_status *status, bool decrypted) ath12k_dp_rx_h_undecap() argument
2192 ath12k_dp_rx_h_find_peer(struct ath12k_base *ab, struct sk_buff *msdu) ath12k_dp_rx_h_find_peer() argument
2215 ath12k_dp_rx_h_mpdu(struct ath12k *ar, struct sk_buff *msdu, struct hal_rx_desc *rx_desc, struct ieee80211_rx_status *rx_status) ath12k_dp_rx_h_mpdu() argument
2404 ath12k_dp_rx_deliver_msdu(struct ath12k *ar, struct napi_struct *napi, struct sk_buff *msdu, struct ieee80211_rx_status *status) ath12k_dp_rx_deliver_msdu() argument
2484 ath12k_dp_rx_process_msdu(struct ath12k *ar, struct sk_buff *msdu, struct sk_buff_head *msdu_list, struct ieee80211_rx_status *rx_status) ath12k_dp_rx_process_msdu() argument
2560 struct sk_buff *msdu; ath12k_dp_rx_process_received_packets() local
2611 struct sk_buff *msdu; ath12k_dp_rx_process() local
2818 ath12k_dp_rx_h_verify_tkip_mic(struct ath12k *ar, struct ath12k_peer *peer, struct sk_buff *msdu) ath12k_dp_rx_h_verify_tkip_mic() argument
2873 ath12k_dp_rx_h_undecap_frag(struct ath12k *ar, struct sk_buff *msdu, enum hal_encrypt_type enctype, u32 flags) ath12k_dp_rx_h_undecap_frag() argument
3195 ath12k_dp_rx_frag_h_mpdu(struct ath12k *ar, struct sk_buff *msdu, struct hal_reo_dest_ring *ring_desc) ath12k_dp_rx_frag_h_mpdu() argument
3326 struct sk_buff *msdu; ath12k_dp_process_rx_err_buf() local
3527 ath12k_dp_rx_h_null_q_desc(struct ath12k *ar, struct sk_buff *msdu, struct ieee80211_rx_status *status, struct sk_buff_head *msdu_list) ath12k_dp_rx_h_null_q_desc() argument
3604 ath12k_dp_rx_h_reo_err(struct ath12k *ar, struct sk_buff *msdu, struct ieee80211_rx_status *status, struct sk_buff_head *msdu_list) ath12k_dp_rx_h_reo_err() argument
3635 ath12k_dp_rx_h_tkip_mic_err(struct ath12k *ar, struct sk_buff *msdu, struct ieee80211_rx_status *status) ath12k_dp_rx_h_tkip_mic_err() argument
3662 ath12k_dp_rx_h_rxdma_err(struct ath12k *ar, struct sk_buff *msdu, struct ieee80211_rx_status *status) ath12k_dp_rx_h_rxdma_err() argument
3693 ath12k_dp_rx_wbm_err(struct ath12k *ar, struct napi_struct *napi, struct sk_buff *msdu, struct sk_buff_head *msdu_list) ath12k_dp_rx_wbm_err() argument
3730 struct sk_buff *msdu; ath12k_dp_rx_process_wbm_err() local
[all...]
H A Ddp_tx.c324 ath12k_dbg_dump(ab, ATH12K_DBG_DP_TX, NULL, "dp tx msdu: ", in ath12k_dp_tx()
348 struct sk_buff *msdu, u8 mac_id, in ath12k_dp_tx_free_txbuf()
355 skb_cb = ATH12K_SKB_CB(msdu); in ath12k_dp_tx_free_txbuf()
357 dma_unmap_single(ab->dev, skb_cb->paddr, msdu->len, DMA_TO_DEVICE); in ath12k_dp_tx_free_txbuf()
362 dev_kfree_skb_any(msdu); in ath12k_dp_tx_free_txbuf()
371 struct sk_buff *msdu, in ath12k_dp_tx_htt_tx_complete_buf()
379 skb_cb = ATH12K_SKB_CB(msdu); in ath12k_dp_tx_htt_tx_complete_buf()
380 info = IEEE80211_SKB_CB(msdu); in ath12k_dp_tx_htt_tx_complete_buf()
387 dma_unmap_single(ab->dev, skb_cb->paddr, msdu->len, DMA_TO_DEVICE); in ath12k_dp_tx_htt_tx_complete_buf()
405 ieee80211_tx_status(ar->hw, msdu); in ath12k_dp_tx_htt_tx_complete_buf()
347 ath12k_dp_tx_free_txbuf(struct ath12k_base *ab, struct sk_buff *msdu, u8 mac_id, struct dp_tx_ring *tx_ring) ath12k_dp_tx_free_txbuf() argument
370 ath12k_dp_tx_htt_tx_complete_buf(struct ath12k_base *ab, struct sk_buff *msdu, struct dp_tx_ring *tx_ring, struct ath12k_dp_htt_wbm_tx_status *ts) ath12k_dp_tx_htt_tx_complete_buf() argument
409 ath12k_dp_tx_process_htt_tx_complete(struct ath12k_base *ab, void *desc, u8 mac_id, struct sk_buff *msdu, struct dp_tx_ring *tx_ring) ath12k_dp_tx_process_htt_tx_complete() argument
447 ath12k_dp_tx_complete_msdu(struct ath12k *ar, struct sk_buff *msdu, struct hal_tx_status *ts) ath12k_dp_tx_complete_msdu() argument
539 struct sk_buff *msdu; ath12k_dp_tx_completion_handler() local
[all...]
H A Ddp_mon.c799 /* TODO: add msdu start parsing logic */ in ath12k_dp_mon_rx_parse_status_tlv()
807 struct sk_buff *msdu; in ath12k_dp_mon_rx_parse_status_tlv() local
812 msdu = idr_remove(&buf_ring->bufs_idr, buf_id); in ath12k_dp_mon_rx_parse_status_tlv()
815 if (unlikely(!msdu)) { in ath12k_dp_mon_rx_parse_status_tlv()
821 rxcb = ATH12K_SKB_RXCB(msdu); in ath12k_dp_mon_rx_parse_status_tlv()
823 msdu->len + skb_tailroom(msdu), in ath12k_dp_mon_rx_parse_status_tlv()
827 mon_mpdu->tail->next = msdu; in ath12k_dp_mon_rx_parse_status_tlv()
829 mon_mpdu->tail = msdu; in ath12k_dp_mon_rx_parse_status_tlv()
865 static void ath12k_dp_mon_rx_msdus_set_payload(struct ath12k *ar, struct sk_buff *msdu) in ath12k_dp_mon_rx_msdus_set_payload() argument
881 struct sk_buff *msdu, *mpdu_buf, *prev_buf; ath12k_dp_mon_rx_merg_msdus() local
1062 ath12k_dp_mon_rx_deliver_msdu(struct ath12k *ar, struct napi_struct *napi, struct sk_buff *msdu, struct ieee80211_rx_status *status) ath12k_dp_mon_rx_deliver_msdu() argument
1912 struct sk_buff *msdu; ath12k_dp_mon_tx_parse_status_tlv() local
[all...]
H A Ddp_rx.h132 ath12k_dp_rx_h_find_peer(struct ath12k_base *ab, struct sk_buff *msdu);
140 ath12k_dp_rx_h_find_peer(struct ath12k_base *ab, struct sk_buff *msdu);
H A Dhal_rx.c292 struct hal_rx_msdu_details *msdu; in ath12k_hal_rx_msdu_link_info_get() local
298 msdu = &link->msdu_link[0]; in ath12k_hal_rx_msdu_link_info_get()
299 *rbm = le32_get_bits(msdu->buf_addr_info.info1, in ath12k_hal_rx_msdu_link_info_get()
303 msdu = &link->msdu_link[i]; in ath12k_hal_rx_msdu_link_info_get()
305 val = le32_get_bits(msdu->buf_addr_info.info0, in ath12k_hal_rx_msdu_link_info_get()
311 *msdu_cookies = le32_get_bits(msdu->buf_addr_info.info1, in ath12k_hal_rx_msdu_link_info_get()
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath11k/
H A Ddp_rx.c1778 /* As the msdu is spread across multiple rx buffers, in ath11k_dp_rx_msdu_coalesce()
1779 * find the offset to the start of msdu for computing in ath11k_dp_rx_msdu_coalesce()
1780 * the length of the msdu in the first buffer. in ath11k_dp_rx_msdu_coalesce()
1868 static void ath11k_dp_rx_h_csum_offload(struct ath11k *ar, struct sk_buff *msdu) in ath11k_dp_rx_h_csum_offload() argument
1870 struct ath11k_skb_rxcb *rxcb = ATH11K_SKB_RXCB(msdu); in ath11k_dp_rx_h_csum_offload()
1878 msdu->ip_summed = (ip_csum_fail || l4_csum_fail) ? in ath11k_dp_rx_h_csum_offload()
1963 struct sk_buff *msdu, in ath11k_dp_rx_h_undecap_nwifi()
1968 struct ath11k_skb_rxcb *rxcb = ATH11K_SKB_RXCB(msdu); in ath11k_dp_rx_h_undecap_nwifi()
1978 hdr = (struct ieee80211_hdr *)msdu->data; in ath11k_dp_rx_h_undecap_nwifi()
1982 skb_pull(msdu, ieee80211_hdrle in ath11k_dp_rx_h_undecap_nwifi()
1962 ath11k_dp_rx_h_undecap_nwifi(struct ath11k *ar, struct sk_buff *msdu, u8 *first_hdr, enum hal_encrypt_type enctype, struct ieee80211_rx_status *status) ath11k_dp_rx_h_undecap_nwifi() argument
2041 ath11k_dp_rx_h_undecap_raw(struct ath11k *ar, struct sk_buff *msdu, enum hal_encrypt_type enctype, struct ieee80211_rx_status *status, bool decrypted) ath11k_dp_rx_h_undecap_raw() argument
2100 ath11k_dp_rx_h_find_rfc1042(struct ath11k *ar, struct sk_buff *msdu, enum hal_encrypt_type enctype) ath11k_dp_rx_h_find_rfc1042() argument
2127 ath11k_dp_rx_h_undecap_eth(struct ath11k *ar, struct sk_buff *msdu, u8 *first_hdr, enum hal_encrypt_type enctype, struct ieee80211_rx_status *status) ath11k_dp_rx_h_undecap_eth() argument
2175 ath11k_dp_rx_h_undecap(struct ath11k *ar, struct sk_buff *msdu, struct hal_rx_desc *rx_desc, enum hal_encrypt_type enctype, struct ieee80211_rx_status *status, bool decrypted) ath11k_dp_rx_h_undecap() argument
2222 ath11k_dp_rx_h_find_peer(struct ath11k_base *ab, struct sk_buff *msdu) ath11k_dp_rx_h_find_peer() argument
2244 ath11k_dp_rx_h_mpdu(struct ath11k *ar, struct sk_buff *msdu, struct hal_rx_desc *rx_desc, struct ieee80211_rx_status *rx_status) ath11k_dp_rx_h_mpdu() argument
2439 ath11k_dp_rx_deliver_msdu(struct ath11k *ar, struct napi_struct *napi, struct sk_buff *msdu, struct ieee80211_rx_status *status) ath11k_dp_rx_deliver_msdu() argument
2518 ath11k_dp_rx_process_msdu(struct ath11k *ar, struct sk_buff *msdu, struct sk_buff_head *msdu_list, struct ieee80211_rx_status *rx_status) ath11k_dp_rx_process_msdu() argument
2604 struct sk_buff *msdu; ath11k_dp_rx_process_received_packets() local
2646 struct sk_buff *msdu; ath11k_dp_process_rx() local
3212 ath11k_dp_rx_h_verify_tkip_mic(struct ath11k *ar, struct ath11k_peer *peer, struct sk_buff *msdu) ath11k_dp_rx_h_verify_tkip_mic() argument
3267 ath11k_dp_rx_h_undecap_frag(struct ath11k *ar, struct sk_buff *msdu, enum hal_encrypt_type enctype, u32 flags) ath11k_dp_rx_h_undecap_frag() argument
3562 ath11k_dp_rx_frag_h_mpdu(struct ath11k *ar, struct sk_buff *msdu, u32 *ring_desc) ath11k_dp_rx_frag_h_mpdu() argument
3698 struct sk_buff *msdu; ath11k_dp_process_rx_err_buf() local
3900 ath11k_dp_rx_h_null_q_desc(struct ath11k *ar, struct sk_buff *msdu, struct ieee80211_rx_status *status, struct sk_buff_head *msdu_list) ath11k_dp_rx_h_null_q_desc() argument
3964 ath11k_dp_rx_h_reo_err(struct ath11k *ar, struct sk_buff *msdu, struct ieee80211_rx_status *status, struct sk_buff_head *msdu_list) ath11k_dp_rx_h_reo_err() argument
3995 ath11k_dp_rx_h_tkip_mic_err(struct ath11k *ar, struct sk_buff *msdu, struct ieee80211_rx_status *status) ath11k_dp_rx_h_tkip_mic_err() argument
4021 ath11k_dp_rx_h_rxdma_err(struct ath11k *ar, struct sk_buff *msdu, struct ieee80211_rx_status *status) ath11k_dp_rx_h_rxdma_err() argument
4044 ath11k_dp_rx_wbm_err(struct ath11k *ar, struct napi_struct *napi, struct sk_buff *msdu, struct sk_buff_head *msdu_list) ath11k_dp_rx_wbm_err() argument
4081 struct sk_buff *msdu; ath11k_dp_rx_process_wbm_err() local
4643 struct sk_buff *msdu = NULL, *last = NULL; ath11k_dp_rx_mon_mpdu_pop() local
4829 ath11k_dp_rx_msdus_set_payload(struct ath11k *ar, struct sk_buff *msdu) ath11k_dp_rx_msdus_set_payload() argument
4846 struct sk_buff *msdu, *prev_buf; ath11k_dp_rx_mon_merg_msdus() local
5291 struct sk_buff *msdu = NULL, *last = NULL; ath11k_dp_rx_full_mon_mpdu_pop() local
[all...]
H A Ddp_tx.c264 ath11k_dbg_dump(ab, ATH11K_DBG_DP_TX, NULL, "dp tx msdu: ", in ath11k_dp_tx()
291 struct sk_buff *msdu; in ath11k_dp_tx_free_txbuf() local
295 msdu = idr_remove(&tx_ring->txbuf_idr, msdu_id); in ath11k_dp_tx_free_txbuf()
298 if (unlikely(!msdu)) { in ath11k_dp_tx_free_txbuf()
304 skb_cb = ATH11K_SKB_CB(msdu); in ath11k_dp_tx_free_txbuf()
306 dma_unmap_single(ab->dev, skb_cb->paddr, msdu->len, DMA_TO_DEVICE); in ath11k_dp_tx_free_txbuf()
307 dev_kfree_skb_any(msdu); in ath11k_dp_tx_free_txbuf()
320 struct sk_buff *msdu; in ath11k_dp_tx_htt_tx_complete_buf() local
327 msdu = idr_remove(&tx_ring->txbuf_idr, ts->msdu_id); in ath11k_dp_tx_htt_tx_complete_buf()
330 if (unlikely(!msdu)) { in ath11k_dp_tx_htt_tx_complete_buf()
430 ath11k_dp_tx_cache_peer_stats(struct ath11k *ar, struct sk_buff *msdu, struct hal_tx_status *ts) ath11k_dp_tx_cache_peer_stats() argument
546 ath11k_dp_tx_complete_msdu(struct ath11k *ar, struct sk_buff *msdu, struct hal_tx_status *ts) ath11k_dp_tx_complete_msdu() argument
684 struct sk_buff *msdu; ath11k_dp_tx_completion_handler() local
[all...]
H A Ddp.c1013 struct sk_buff *msdu = skb; in ath11k_dp_tx_pending_cleanup() local
1015 dma_unmap_single(ab->dev, ATH11K_SKB_CB(msdu)->paddr, msdu->len, in ath11k_dp_tx_pending_cleanup()
1018 dev_kfree_skb_any(msdu); in ath11k_dp_tx_pending_cleanup()
/kernel/linux/linux-5.10/net/mac80211/
H A Dsta_info.h437 u64 msdu[IEEE80211_NUM_TIDS + 1]; member
542 * @tx_stats.msdu: # of transmitted MSDUs per TID
643 u64 msdu[IEEE80211_NUM_TIDS + 1]; member
/kernel/linux/linux-6.6/net/mac80211/
H A Dsta_info.h441 u64 msdu[IEEE80211_NUM_TIDS + 1]; member
495 * @tx_stats.msdu: # of transmitted MSDUs per TID
559 u64 msdu[IEEE80211_NUM_TIDS + 1]; member
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt7921/
H A Dmac.c509 u32 msdu, info = le32_to_cpu(tx_info[i]); in mt7921_mac_tx_free() local
535 msdu = FIELD_GET(MT_TX_FREE_MSDU_ID, info); in mt7921_mac_tx_free()
544 txwi = mt76_token_release(mdev, msdu, &wake); in mt7921_mac_tx_free()

Completed in 51 milliseconds

123