Home
last modified time | relevance | path

Searched refs:msdu (Results 1 – 25 of 29) sorted by relevance

12

/linux/drivers/net/wireless/ath/ath12k/wifi7/
H A Ddp_rx.c320 static void ath12k_wifi7_dp_rx_h_csum_offload(struct sk_buff *msdu, in ath12k_wifi7_dp_rx_h_csum_offload() argument
323 msdu->ip_summed = (rx_info->ip_csum_fail || rx_info->l4_csum_fail) ? in ath12k_wifi7_dp_rx_h_csum_offload()
328 struct sk_buff *msdu, in ath12k_wifi7_dp_rx_h_mpdu() argument
343 rxcb = ATH12K_SKB_RXCB(msdu); in ath12k_wifi7_dp_rx_h_mpdu()
402 ath12k_wifi7_dp_rx_h_csum_offload(msdu, rx_info); 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()
410 hdr = (void *)msdu->data; in ath12k_wifi7_dp_rx_h_mpdu()
505 struct sk_buff *msdu, in ath12k_wifi7_dp_rx_process_msdu() argument
519 last_buf = ath12k_dp_rx_get_msdu_last_buf(msdu_list, msdu); in ath12k_wifi7_dp_rx_process_msdu()
527 rx_desc = (struct hal_rx_desc *)msdu->data; in ath12k_wifi7_dp_rx_process_msdu()
[all …]
H A Ddp_tx.c488 struct sk_buff *msdu = desc_params->skb; in ath12k_dp_tx_htt_tx_complete_buf() local
495 skb_cb = ATH12K_SKB_CB(msdu); in ath12k_dp_tx_htt_tx_complete_buf()
496 info = IEEE80211_SKB_CB(msdu); in ath12k_dp_tx_htt_tx_complete_buf()
512 dma_unmap_single(dp->dev, skb_cb->paddr, msdu->len, DMA_TO_DEVICE); in ath12k_dp_tx_htt_tx_complete_buf()
558 ieee80211_free_txskb(ath12k_pdev_dp_to_hw(dp_pdev), msdu); in ath12k_dp_tx_htt_tx_complete_buf()
565 status.skb = msdu; in ath12k_dp_tx_htt_tx_complete_buf()
749 struct sk_buff *msdu = desc_params->skb; in ath12k_wifi7_dp_tx_complete_msdu() local
761 skb_cb = ATH12K_SKB_CB(msdu); in ath12k_wifi7_dp_tx_complete_msdu()
764 dma_unmap_single(dp->dev, skb_cb->paddr, msdu->len, DMA_TO_DEVICE); in ath12k_wifi7_dp_tx_complete_msdu()
774 ieee80211_free_txskb(ath12k_pdev_dp_to_hw(dp_pdev), msdu); in ath12k_wifi7_dp_tx_complete_msdu()
[all …]
H A Ddp_mon.c2640 struct sk_buff *msdu = NULL, *last = NULL; in ath12k_wifi7_dp_rx_mon_mpdu_pop() local
2706 msdu = desc_info->skb; in ath12k_wifi7_dp_rx_mon_mpdu_pop()
2708 if (!msdu) { in ath12k_wifi7_dp_rx_mon_mpdu_pop()
2714 rxcb = ATH12K_SKB_RXCB(msdu); in ath12k_wifi7_dp_rx_mon_mpdu_pop()
2725 msdu->len + in ath12k_wifi7_dp_rx_mon_mpdu_pop()
2726 skb_tailroom(msdu), in ath12k_wifi7_dp_rx_mon_mpdu_pop()
2733 i, msdu, *ppdu_id); in ath12k_wifi7_dp_rx_mon_mpdu_pop()
2734 dev_kfree_skb_any(msdu); in ath12k_wifi7_dp_rx_mon_mpdu_pop()
2735 msdu = NULL; in ath12k_wifi7_dp_rx_mon_mpdu_pop()
2739 rx_desc = (struct hal_rx_desc *)msdu->data; in ath12k_wifi7_dp_rx_mon_mpdu_pop()
[all …]
/linux/drivers/net/wireless/ath/ath12k/
H A Ddp_rx.c951 struct sk_buff *msdu, in ath12k_dp_rx_h_undecap_nwifi() argument
955 struct ath12k_skb_rxcb *rxcb = ATH12K_SKB_RXCB(msdu); in ath12k_dp_rx_h_undecap_nwifi()
963 hdr = (struct ieee80211_hdr *)msdu->data; in ath12k_dp_rx_h_undecap_nwifi()
965 skb_pull(msdu, hdr_len); in ath12k_dp_rx_h_undecap_nwifi()
985 crypto_hdr = skb_push(msdu, in ath12k_dp_rx_h_undecap_nwifi()
992 memcpy(skb_push(msdu, in ath12k_dp_rx_h_undecap_nwifi()
995 memcpy(skb_push(msdu, hdr_len), decap_hdr, hdr_len); in ath12k_dp_rx_h_undecap_nwifi()
999 struct sk_buff *msdu, in ath12k_dp_rx_h_undecap_raw() argument
1005 struct ath12k_skb_rxcb *rxcb = ATH12K_SKB_RXCB(msdu); in ath12k_dp_rx_h_undecap_raw()
1016 skb_trim(msdu, msdu->len - FCS_LEN); in ath12k_dp_rx_h_undecap_raw()
[all …]
H A Ddp_mon.c215 struct sk_buff *msdu, *mpdu_buf, *prev_buf, *head_frag_list; in ath12k_dp_mon_rx_merg_msdus() local
261 msdu = head_msdu->next; in ath12k_dp_mon_rx_merg_msdus()
264 while (msdu) { in ath12k_dp_mon_rx_merg_msdus()
268 head_frag_list = msdu; in ath12k_dp_mon_rx_merg_msdus()
270 frag_list_sum_len += msdu->len; in ath12k_dp_mon_rx_merg_msdus()
271 prev_buf = msdu; in ath12k_dp_mon_rx_merg_msdus()
272 msdu = msdu->next; in ath12k_dp_mon_rx_merg_msdus()
297 msdu = head_msdu; in ath12k_dp_mon_rx_merg_msdus()
299 while (msdu) { in ath12k_dp_mon_rx_merg_msdus()
302 dest = skb_push(msdu, sizeof(__le16)); in ath12k_dp_mon_rx_merg_msdus()
[all …]
H A Ddp_tx.c237 struct sk_buff *msdu = desc_params->skb; in ath12k_dp_tx_free_txbuf() local
241 skb_cb = ATH12K_SKB_CB(msdu); in ath12k_dp_tx_free_txbuf()
243 dma_unmap_single(dp->dev, skb_cb->paddr, msdu->len, DMA_TO_DEVICE); in ath12k_dp_tx_free_txbuf()
254 ieee80211_free_txskb(ath12k_pdev_dp_to_hw(dp_pdev), msdu); in ath12k_dp_tx_free_txbuf()
H A Ddp_mon.h114 struct sk_buff *msdu,
H A Dwmi.c6439 struct sk_buff *msdu; in wmi_process_mgmt_tx_comp() local
6445 msdu = idr_find(&ar->txmgmt_idr, desc_id); in wmi_process_mgmt_tx_comp()
6447 if (!msdu) { in wmi_process_mgmt_tx_comp()
6457 skb_cb = ATH12K_SKB_CB(msdu); in wmi_process_mgmt_tx_comp()
6458 dma_unmap_single(ar->ab->dev, skb_cb->paddr, msdu->len, DMA_TO_DEVICE); in wmi_process_mgmt_tx_comp()
6460 info = IEEE80211_SKB_CB(msdu); in wmi_process_mgmt_tx_comp()
6475 ieee80211_tx_status_irqsafe(ath12k_ar_to_hw(ar), msdu); in wmi_process_mgmt_tx_comp()
/linux/drivers/net/wireless/ath/ath11k/
H A Ddp_rx.c1858 static void ath11k_dp_rx_h_csum_offload(struct ath11k *ar, struct sk_buff *msdu) in ath11k_dp_rx_h_csum_offload() argument
1860 struct ath11k_skb_rxcb *rxcb = ATH11K_SKB_RXCB(msdu); in ath11k_dp_rx_h_csum_offload()
1868 msdu->ip_summed = (ip_csum_fail || l4_csum_fail) ? in ath11k_dp_rx_h_csum_offload()
1952 struct sk_buff *msdu, in ath11k_dp_rx_h_undecap_nwifi() argument
1957 struct ath11k_skb_rxcb *rxcb = ATH11K_SKB_RXCB(msdu); in ath11k_dp_rx_h_undecap_nwifi()
1967 hdr = (struct ieee80211_hdr *)msdu->data; in ath11k_dp_rx_h_undecap_nwifi()
1971 skb_pull(msdu, ieee80211_hdrlen(hdr->frame_control)); in ath11k_dp_rx_h_undecap_nwifi()
2006 memcpy(skb_push(msdu, in ath11k_dp_rx_h_undecap_nwifi()
2013 memcpy(skb_push(msdu, in ath11k_dp_rx_h_undecap_nwifi()
2016 memcpy(skb_push(msdu, hdr_len), decap_hdr, hdr_len); in ath11k_dp_rx_h_undecap_nwifi()
[all …]
H A Dwmi.c6017 struct sk_buff *msdu; in wmi_process_mgmt_tx_comp() local
6023 msdu = idr_find(&ar->txmgmt_idr, tx_compl_param->desc_id); in wmi_process_mgmt_tx_comp()
6025 if (!msdu) { in wmi_process_mgmt_tx_comp()
6035 skb_cb = ATH11K_SKB_CB(msdu); in wmi_process_mgmt_tx_comp()
6036 dma_unmap_single(ar->ab->dev, skb_cb->paddr, msdu->len, DMA_TO_DEVICE); in wmi_process_mgmt_tx_comp()
6038 info = IEEE80211_SKB_CB(msdu); in wmi_process_mgmt_tx_comp()
6050 ieee80211_tx_status_irqsafe(ar->hw, msdu); in wmi_process_mgmt_tx_comp()
/linux/drivers/net/wireless/ath/ath10k/
H A Dhtt_rx.c324 struct sk_buff *msdu; in ath10k_htt_rx_netbuf_pop() local
334 msdu = htt->rx_ring.netbufs_ring[idx]; in ath10k_htt_rx_netbuf_pop()
344 ATH10K_SKB_RXCB(msdu)->paddr, in ath10k_htt_rx_netbuf_pop()
345 msdu->len + skb_tailroom(msdu), in ath10k_htt_rx_netbuf_pop()
348 msdu->data, msdu->len + skb_tailroom(msdu)); in ath10k_htt_rx_netbuf_pop()
350 return msdu; in ath10k_htt_rx_netbuf_pop()
360 struct sk_buff *msdu; in ath10k_htt_rx_amsdu_pop() local
372 msdu = ath10k_htt_rx_netbuf_pop(htt); in ath10k_htt_rx_amsdu_pop()
373 if (!msdu) { in ath10k_htt_rx_amsdu_pop()
378 __skb_queue_tail(amsdu, msdu); in ath10k_htt_rx_amsdu_pop()
[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()
H A Dwmi-ops.h143 int (*cleanup_mgmt_tx_send)(struct ath10k *ar, struct sk_buff *msdu);
458 ath10k_wmi_cleanup_mgmt_tx_send(struct ath10k *ar, struct sk_buff *msdu) in ath10k_wmi_cleanup_mgmt_tx_send() argument
463 return ar->wmi.ops->cleanup_mgmt_tx_send(ar, msdu); in ath10k_wmi_cleanup_mgmt_tx_send()
467 ath10k_wmi_mgmt_tx_send(struct ath10k *ar, struct sk_buff *msdu, in ath10k_wmi_mgmt_tx_send() argument
476 skb = ar->wmi.ops->gen_mgmt_tx_send(ar, msdu, paddr); in ath10k_wmi_mgmt_tx_send()
489 ath10k_wmi_mgmt_tx(struct ath10k *ar, struct sk_buff *msdu) in ath10k_wmi_mgmt_tx() argument
491 struct ieee80211_tx_info *info = IEEE80211_SKB_CB(msdu); in ath10k_wmi_mgmt_tx()
498 skb = ar->wmi.ops->gen_mgmt_tx(ar, msdu); in ath10k_wmi_mgmt_tx()
511 ieee80211_tx_status_irqsafe(ar->hw, msdu); in ath10k_wmi_mgmt_tx()
H A Dwmi.c1974 ath10k_wmi_op_gen_mgmt_tx(struct ath10k *ar, struct sk_buff *msdu) in ath10k_wmi_op_gen_mgmt_tx() argument
1976 struct ath10k_skb_cb *cb = ATH10K_SKB_CB(msdu); in ath10k_wmi_op_gen_mgmt_tx()
1983 u32 buf_len = msdu->len; in ath10k_wmi_op_gen_mgmt_tx()
1987 hdr = (struct ieee80211_hdr *)msdu->data; in ath10k_wmi_op_gen_mgmt_tx()
2000 len = sizeof(cmd->hdr) + msdu->len; in ath10k_wmi_op_gen_mgmt_tx()
2036 memcpy(cmd->buf, msdu->data, msdu->len); in ath10k_wmi_op_gen_mgmt_tx()
2039 msdu, skb->len, fc & IEEE80211_FCTL_FTYPE, in ath10k_wmi_op_gen_mgmt_tx()
2433 struct sk_buff *msdu; in wmi_process_mgmt_tx_comp() local
2446 msdu = pkt_addr->vaddr; in wmi_process_mgmt_tx_comp()
2448 msdu->len, DMA_TO_DEVICE); in wmi_process_mgmt_tx_comp()
[all …]
/linux/net/mac80211/
H A Dsta_info.h444 u64_stats_t msdu[IEEE80211_NUM_TIDS + 1]; member
567 u64 msdu[IEEE80211_NUM_TIDS + 1]; member
H A Dsta_info.c401 value = u64_stats_read(&link_sta->rx_stats.msdu[tid]); in sta_accumulate_removed_link_stats()
407 link_sta->tx_stats.msdu[tid]; in sta_accumulate_removed_link_stats()
2674 value = u64_stats_read(&rxstats->msdu[tid]); in sta_get_tidstats_msdu()
2715 tidstats->tx_msdu = link_sta_info->tx_stats.msdu[tid]; in sta_set_tidstats()
H A Dtx.c870 tx->sta->deflink.tx_stats.msdu[IEEE80211_NUM_TIDS]++; in ieee80211_tx_h_sequence()
884 tx->sta->deflink.tx_stats.msdu[tid]++; in ieee80211_tx_h_sequence()
3650 sta->deflink.tx_stats.msdu[tid] += in ieee80211_xmit_fast_finish()
3653 sta->deflink.tx_stats.msdu[tid]++; in ieee80211_xmit_fast_finish()
/linux/drivers/net/wireless/mediatek/mt76/mt7921/
H A Dmac.c508 u32 msdu, info = le32_to_cpu(tx_info[i]); in mt7921_mac_tx_free() local
530 msdu = FIELD_GET(MT_TX_FREE_MSDU_ID, info); in mt7921_mac_tx_free()
540 txwi = mt76_token_release(mdev, msdu, &wake); in mt7921_mac_tx_free()
/linux/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dmac.c888 u32 msdu, info; in mt7915_mac_tx_free() local
937 msdu = (info >> (15 * i)) & MT_TX_FREE_MSDU_ID_V3; in mt7915_mac_tx_free()
938 if (msdu == MT_TX_FREE_MSDU_ID_V3) in mt7915_mac_tx_free()
941 msdu = FIELD_GET(MT_TX_FREE_MSDU_ID, info); in mt7915_mac_tx_free()
944 txwi = mt76_token_release(mdev, msdu, &wake); in mt7915_mac_tx_free()
974 u16 msdu = le16_to_cpu(info[i]); in mt7915_mac_tx_free_v0() local
976 txwi = mt76_token_release(mdev, msdu, &wake); in mt7915_mac_tx_free_v0()
/linux/drivers/net/ethernet/freescale/enetc/
H A Denetc_qos.c646 sfi_config->msdu = in enetc_streamfilter_hw_set()
825 to->msdu[0] = from->maxoctets & 0xFF; in enetc_streamgate_hw_set()
826 to->msdu[1] = (from->maxoctets >> 8) & 0xFF; in enetc_streamgate_hw_set()
827 to->msdu[2] = (from->maxoctets >> 16) & 0xFF; in enetc_streamgate_hw_set()
H A Denetc_hw.h887 __le16 msdu; member
966 u8 msdu[3]; member
/linux/drivers/net/ieee802154/
H A Dca8210.c411 u8 msdu[MAX_DATA_SIZE]; member
1434 u8 *msdu, in mcps_data_request() argument
1467 memcpy(command.pdata.data_req.msdu, msdu, msdu_length); in mcps_data_request()
1468 psec = (struct secspec *)(command.pdata.data_req.msdu + msdu_length); in mcps_data_request()
/linux/drivers/net/wireless/mediatek/mt76/mt7925/
H A Dmac.c1325 u32 msdu, info; in mt7925_mac_tx_free() local
1361 msdu = (info >> (15 * i)) & MT_TXFREE_INFO_MSDU_ID; in mt7925_mac_tx_free()
1362 if (msdu == MT_TXFREE_INFO_MSDU_ID) in mt7925_mac_tx_free()
1366 txwi = mt76_token_release(mdev, msdu, &wake); in mt7925_mac_tx_free()
/linux/include/net/bluetooth/
H A Dl2cap.h362 __le16 msdu; member
/linux/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dmac.c1378 u32 msdu, info; in mt7996_mac_tx_free() local
1444 msdu = (info >> (15 * i)) & MT_TXFREE_INFO_MSDU_ID; in mt7996_mac_tx_free()
1445 if (msdu == MT_TXFREE_INFO_MSDU_ID) in mt7996_mac_tx_free()
1449 txwi = mt76_token_release(mdev, msdu, &wake); in mt7996_mac_tx_free()

12