Home
last modified time | relevance | path

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

12

/linux/drivers/net/wireless/ath/ath12k/wifi7/
H A Ddp_rx.c319 static void ath12k_wifi7_dp_rx_h_csum_offload(struct sk_buff *msdu, in ath12k_wifi7_dp_rx_h_csum_offload() argument
322 msdu->ip_summed = (rx_info->ip_csum_fail || rx_info->l4_csum_fail) ? in ath12k_wifi7_dp_rx_h_csum_offload()
327 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()
390 ath12k_wifi7_dp_rx_h_csum_offload(msdu, rx_info); 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()
398 hdr = (void *)msdu->data; in ath12k_wifi7_dp_rx_h_mpdu()
491 struct sk_buff *msdu, in ath12k_wifi7_dp_rx_process_msdu() argument
505 last_buf = ath12k_dp_rx_get_msdu_last_buf(msdu_list, msdu); in ath12k_wifi7_dp_rx_process_msdu()
513 rx_desc = (struct hal_rx_desc *)msdu->data; in ath12k_wifi7_dp_rx_process_msdu()
[all …]
H A Ddp_mon.c2601 struct sk_buff *msdu = NULL, *last = NULL; in ath12k_wifi7_dp_rx_mon_mpdu_pop() local
2667 msdu = desc_info->skb; in ath12k_wifi7_dp_rx_mon_mpdu_pop()
2669 if (!msdu) { in ath12k_wifi7_dp_rx_mon_mpdu_pop()
2675 rxcb = ATH12K_SKB_RXCB(msdu); in ath12k_wifi7_dp_rx_mon_mpdu_pop()
2686 msdu->len + in ath12k_wifi7_dp_rx_mon_mpdu_pop()
2687 skb_tailroom(msdu), in ath12k_wifi7_dp_rx_mon_mpdu_pop()
2694 i, msdu, *ppdu_id); in ath12k_wifi7_dp_rx_mon_mpdu_pop()
2695 dev_kfree_skb_any(msdu); in ath12k_wifi7_dp_rx_mon_mpdu_pop()
2696 msdu = NULL; in ath12k_wifi7_dp_rx_mon_mpdu_pop()
2700 rx_desc = (struct hal_rx_desc *)msdu->data; in ath12k_wifi7_dp_rx_mon_mpdu_pop()
[all …]
/linux/drivers/net/wireless/ath/ath10k/
H A Dhtt_tx.c1181 int ath10k_htt_mgmt_tx(struct ath10k_htt *htt, struct sk_buff *msdu) in ath10k_htt_mgmt_tx() argument
1187 struct ath10k_skb_cb *skb_cb = ATH10K_SKB_CB(msdu); in ath10k_htt_mgmt_tx()
1188 u8 vdev_id = ath10k_htt_tx_get_vdev_id(ar, msdu); in ath10k_htt_mgmt_tx()
1193 struct ieee80211_hdr *hdr = (struct ieee80211_hdr *)msdu->data; in ath10k_htt_mgmt_tx()
1198 res = ath10k_htt_tx_alloc_msdu_id(htt, msdu); in ath10k_htt_mgmt_tx()
1210 skb_put(msdu, sizeof(struct ieee80211_mmie_16)); in ath10k_htt_mgmt_tx()
1214 skb_put(msdu, IEEE80211_GCMP_MIC_LEN); in ath10k_htt_mgmt_tx()
1216 skb_put(msdu, IEEE80211_CCMP_MIC_LEN); in ath10k_htt_mgmt_tx()
1226 skb_cb->paddr = dma_map_single(dev, msdu->data, msdu->len, in ath10k_htt_mgmt_tx()
1239 cmd->mgmt_tx.msdu_paddr = __cpu_to_le32(ATH10K_SKB_CB(msdu)->paddr); in ath10k_htt_mgmt_tx()
[all …]
H A Dhtt_rx.c325 struct sk_buff *msdu; in ath10k_htt_rx_netbuf_pop() local
335 msdu = htt->rx_ring.netbufs_ring[idx]; in ath10k_htt_rx_netbuf_pop()
345 ATH10K_SKB_RXCB(msdu)->paddr, in ath10k_htt_rx_netbuf_pop()
346 msdu->len + skb_tailroom(msdu), in ath10k_htt_rx_netbuf_pop()
349 msdu->data, msdu->len + skb_tailroom(msdu)); in ath10k_htt_rx_netbuf_pop()
351 return msdu; in ath10k_htt_rx_netbuf_pop()
361 struct sk_buff *msdu; in ath10k_htt_rx_amsdu_pop() local
373 msdu = ath10k_htt_rx_netbuf_pop(htt); in ath10k_htt_rx_amsdu_pop()
374 if (!msdu) { in ath10k_htt_rx_amsdu_pop()
379 __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 Dhtt.h1940 struct sk_buff *msdu);
1981 struct sk_buff *msdu) in ath10k_htt_tx() argument
1983 return htt->tx_ops->htt_tx(htt, txmode, msdu); in ath10k_htt_tx()
2458 int ath10k_htt_mgmt_tx(struct ath10k_htt *htt, struct sk_buff *msdu);
H A Dwmi-tlv.c3043 struct sk_buff *msdu) in ath10k_wmi_tlv_op_cleanup_mgmt_tx_send() argument
3045 struct ath10k_skb_cb *cb = ATH10K_SKB_CB(msdu); in ath10k_wmi_tlv_op_cleanup_mgmt_tx_send()
3083 ath10k_wmi_tlv_op_gen_mgmt_tx_send(struct ath10k *ar, struct sk_buff *msdu, in ath10k_wmi_tlv_op_gen_mgmt_tx_send() argument
3086 struct ath10k_skb_cb *cb = ATH10K_SKB_CB(msdu); in ath10k_wmi_tlv_op_gen_mgmt_tx_send()
3090 u32 buf_len = msdu->len; in ath10k_wmi_tlv_op_gen_mgmt_tx_send()
3100 hdr = (struct ieee80211_hdr *)msdu->data; in ath10k_wmi_tlv_op_gen_mgmt_tx_send()
3115 skb_put(msdu, IEEE80211_CCMP_MIC_LEN); in ath10k_wmi_tlv_op_gen_mgmt_tx_send()
3128 desc_id = ath10k_wmi_mgmt_tx_alloc_msdu_id(ar, msdu, paddr); in ath10k_wmi_tlv_op_gen_mgmt_tx_send()
3143 cmd->frame_len = __cpu_to_le32(msdu->len); in ath10k_wmi_tlv_op_gen_mgmt_tx_send()
3154 memcpy(ptr, msdu->data, buf_len); in ath10k_wmi_tlv_op_gen_mgmt_tx_send()
H A Dwmi.c1975 ath10k_wmi_op_gen_mgmt_tx(struct ath10k *ar, struct sk_buff *msdu) in ath10k_wmi_op_gen_mgmt_tx() argument
1977 struct ath10k_skb_cb *cb = ATH10K_SKB_CB(msdu); in ath10k_wmi_op_gen_mgmt_tx()
1984 u32 buf_len = msdu->len; in ath10k_wmi_op_gen_mgmt_tx()
1988 hdr = (struct ieee80211_hdr *)msdu->data; in ath10k_wmi_op_gen_mgmt_tx()
2001 len = sizeof(cmd->hdr) + msdu->len; in ath10k_wmi_op_gen_mgmt_tx()
2037 memcpy(cmd->buf, msdu->data, msdu->len); in ath10k_wmi_op_gen_mgmt_tx()
2040 msdu, skb->len, fc & IEEE80211_FCTL_FTYPE, in ath10k_wmi_op_gen_mgmt_tx()
2434 struct sk_buff *msdu; in wmi_process_mgmt_tx_comp() local
2447 msdu = pkt_addr->vaddr; in wmi_process_mgmt_tx_comp()
2449 msdu->len, DMA_TO_DEVICE); in wmi_process_mgmt_tx_comp()
[all …]
/linux/drivers/net/wireless/ath/ath11k/
H A Ddp_rx.c1857 static void ath11k_dp_rx_h_csum_offload(struct ath11k *ar, struct sk_buff *msdu) in ath11k_dp_rx_h_csum_offload() argument
1859 struct ath11k_skb_rxcb *rxcb = ATH11K_SKB_RXCB(msdu); in ath11k_dp_rx_h_csum_offload()
1867 msdu->ip_summed = (ip_csum_fail || l4_csum_fail) ? in ath11k_dp_rx_h_csum_offload()
1951 struct sk_buff *msdu, in ath11k_dp_rx_h_undecap_nwifi() argument
1956 struct ath11k_skb_rxcb *rxcb = ATH11K_SKB_RXCB(msdu); in ath11k_dp_rx_h_undecap_nwifi()
1966 hdr = (struct ieee80211_hdr *)msdu->data; in ath11k_dp_rx_h_undecap_nwifi()
1970 skb_pull(msdu, ieee80211_hdrlen(hdr->frame_control)); in ath11k_dp_rx_h_undecap_nwifi()
2005 memcpy(skb_push(msdu, in ath11k_dp_rx_h_undecap_nwifi()
2012 memcpy(skb_push(msdu, in ath11k_dp_rx_h_undecap_nwifi()
2015 memcpy(skb_push(msdu, hdr_len), decap_hdr, hdr_len); in ath11k_dp_rx_h_undecap_nwifi()
[all …]
H A Ddp_tx.c293 struct sk_buff *msdu; in ath11k_dp_tx_free_txbuf() local
297 msdu = idr_remove(&tx_ring->txbuf_idr, msdu_id); in ath11k_dp_tx_free_txbuf()
300 if (unlikely(!msdu)) { in ath11k_dp_tx_free_txbuf()
306 skb_cb = ATH11K_SKB_CB(msdu); in ath11k_dp_tx_free_txbuf()
308 dma_unmap_single(ab->dev, skb_cb->paddr, msdu->len, DMA_TO_DEVICE); in ath11k_dp_tx_free_txbuf()
309 dev_kfree_skb_any(msdu); in ath11k_dp_tx_free_txbuf()
322 struct sk_buff *msdu; in ath11k_dp_tx_htt_tx_complete_buf() local
329 msdu = idr_remove(&tx_ring->txbuf_idr, ts->msdu_id); in ath11k_dp_tx_htt_tx_complete_buf()
332 if (unlikely(!msdu)) { in ath11k_dp_tx_htt_tx_complete_buf()
338 skb_cb = ATH11K_SKB_CB(msdu); in ath11k_dp_tx_htt_tx_complete_buf()
[all …]
H A Dwmi.c5999 struct sk_buff *msdu; in wmi_process_mgmt_tx_comp() local
6005 msdu = idr_find(&ar->txmgmt_idr, tx_compl_param->desc_id); in wmi_process_mgmt_tx_comp()
6007 if (!msdu) { in wmi_process_mgmt_tx_comp()
6017 skb_cb = ATH11K_SKB_CB(msdu); in wmi_process_mgmt_tx_comp()
6018 dma_unmap_single(ar->ab->dev, skb_cb->paddr, msdu->len, DMA_TO_DEVICE); in wmi_process_mgmt_tx_comp()
6020 info = IEEE80211_SKB_CB(msdu); in wmi_process_mgmt_tx_comp()
6032 ieee80211_tx_status_irqsafe(ar->hw, msdu); in wmi_process_mgmt_tx_comp()
H A Dmac.c6139 struct sk_buff *msdu; in ath11k_mac_tx_mgmt_free() local
6143 msdu = idr_remove(&ar->txmgmt_idr, buf_id); in ath11k_mac_tx_mgmt_free()
6146 if (!msdu) in ath11k_mac_tx_mgmt_free()
6149 dma_unmap_single(ar->ab->dev, ATH11K_SKB_CB(msdu)->paddr, msdu->len, in ath11k_mac_tx_mgmt_free()
6152 info = IEEE80211_SKB_CB(msdu); in ath11k_mac_tx_mgmt_free()
6155 ath11k_mgmt_over_wmi_tx_drop(ar, msdu); in ath11k_mac_tx_mgmt_free()
/linux/drivers/net/wireless/ath/ath12k/
H A Ddp_rx.c941 struct sk_buff *msdu, in ath12k_dp_rx_h_undecap_nwifi() argument
945 struct ath12k_skb_rxcb *rxcb = ATH12K_SKB_RXCB(msdu); in ath12k_dp_rx_h_undecap_nwifi()
953 hdr = (struct ieee80211_hdr *)msdu->data; in ath12k_dp_rx_h_undecap_nwifi()
955 skb_pull(msdu, hdr_len); in ath12k_dp_rx_h_undecap_nwifi()
975 crypto_hdr = skb_push(msdu, in ath12k_dp_rx_h_undecap_nwifi()
982 memcpy(skb_push(msdu, in ath12k_dp_rx_h_undecap_nwifi()
985 memcpy(skb_push(msdu, hdr_len), decap_hdr, hdr_len); in ath12k_dp_rx_h_undecap_nwifi()
989 struct sk_buff *msdu, in ath12k_dp_rx_h_undecap_raw() argument
995 struct ath12k_skb_rxcb *rxcb = ATH12K_SKB_RXCB(msdu); in ath12k_dp_rx_h_undecap_raw()
1006 skb_trim(msdu, msdu->len - FCS_LEN); in ath12k_dp_rx_h_undecap_raw()
[all …]
H A Dwmi.c6295 struct sk_buff *msdu; in wmi_process_mgmt_tx_comp() local
6301 msdu = idr_find(&ar->txmgmt_idr, desc_id); in wmi_process_mgmt_tx_comp()
6303 if (!msdu) { in wmi_process_mgmt_tx_comp()
6313 skb_cb = ATH12K_SKB_CB(msdu); in wmi_process_mgmt_tx_comp()
6314 dma_unmap_single(ar->ab->dev, skb_cb->paddr, msdu->len, DMA_TO_DEVICE); in wmi_process_mgmt_tx_comp()
6316 info = IEEE80211_SKB_CB(msdu); in wmi_process_mgmt_tx_comp()
6331 ieee80211_tx_status_irqsafe(ath12k_ar_to_hw(ar), msdu); in wmi_process_mgmt_tx_comp()
/linux/net/mac80211/
H A Dsta_info.h438 u64_stats_t msdu[IEEE80211_NUM_TIDS + 1]; member
486 * @tx_stats.msdu: # of transmitted MSDUs per TID
556 u64 msdu[IEEE80211_NUM_TIDS + 1]; member
H A Dsta_info.c392 value = u64_stats_read(&link_sta->rx_stats.msdu[tid]); in sta_accumulate_removed_link_stats()
398 link_sta->tx_stats.msdu[tid]; in sta_accumulate_removed_link_stats()
2604 value = u64_stats_read(&rxstats->msdu[tid]); in sta_get_tidstats_msdu()
2645 tidstats->tx_msdu = link_sta_info->tx_stats.msdu[tid]; in sta_set_tidstats()
H A Dtx.c873 tx->sta->deflink.tx_stats.msdu[IEEE80211_NUM_TIDS]++; in ieee80211_tx_h_sequence()
887 tx->sta->deflink.tx_stats.msdu[tid]++; in ieee80211_tx_h_sequence()
3581 sta->deflink.tx_stats.msdu[tid] += in ieee80211_xmit_fast_finish()
3584 sta->deflink.tx_stats.msdu[tid]++; in ieee80211_xmit_fast_finish()
/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.h879 __le16 msdu; member
958 u8 msdu[3]; member
/linux/drivers/net/ieee802154/
H A Dca8210.c411 u8 msdu[MAX_DATA_SIZE]; member
1433 u8 *msdu, in mcps_data_request() argument
1466 memcpy(command.pdata.data_req.msdu, msdu, msdu_length); in mcps_data_request()
1467 psec = (struct secspec *)(command.pdata.data_req.msdu + msdu_length); in mcps_data_request()
/linux/drivers/net/wireless/mediatek/mt76/mt7925/
H A Dmac.c1113 u32 msdu, info; in mt7925_mac_tx_free() local
1148 msdu = (info >> (15 * i)) & MT_TXFREE_INFO_MSDU_ID; in mt7925_mac_tx_free()
1149 if (msdu == MT_TXFREE_INFO_MSDU_ID) in mt7925_mac_tx_free()
1153 txwi = mt76_token_release(mdev, msdu, &wake); in mt7925_mac_tx_free()
/linux/include/net/bluetooth/
H A Dl2cap.h364 __le16 msdu; member
/linux/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dmac.c1347 u32 msdu, info; in mt7996_mac_tx_free() local
1413 msdu = (info >> (15 * i)) & MT_TXFREE_INFO_MSDU_ID; in mt7996_mac_tx_free()
1414 if (msdu == MT_TXFREE_INFO_MSDU_ID) in mt7996_mac_tx_free()
1418 txwi = mt76_token_release(mdev, msdu, &wake); in mt7996_mac_tx_free()
/linux/net/bluetooth/
H A Dl2cap_core.c3108 efs.msdu = cpu_to_le16(chan->local_msdu); in l2cap_add_opt_efs()
3117 efs.msdu = cpu_to_le16(chan->local_msdu); in l2cap_add_opt_efs()
3600 chan->remote_msdu = le16_to_cpu(efs.msdu); in l2cap_parse_conf_req()
3742 chan->local_msdu = le16_to_cpu(efs.msdu); in l2cap_parse_conf_rsp()

12