Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/net/wireless/ath/ath10k/
Dhtt_tx.c1183 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->data, msdu->len, in ath10k_htt_mgmt_tx()
1241 cmd->mgmt_tx.msdu_paddr = __cpu_to_le32(ATH10K_SKB_CB(msdu)->paddr); in ath10k_htt_mgmt_tx()
[all …]
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()
356 struct sk_buff *msdu; in ath10k_htt_rx_amsdu_pop() local
368 msdu = ath10k_htt_rx_netbuf_pop(htt); in ath10k_htt_rx_amsdu_pop()
369 if (!msdu) { in ath10k_htt_rx_amsdu_pop()
374 __skb_queue_tail(amsdu, msdu); in ath10k_htt_rx_amsdu_pop()
[all …]
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()
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()
Dhtt.h1934 struct sk_buff *msdu);
1975 struct sk_buff *msdu) in ath10k_htt_tx() argument
1977 return htt->tx_ops->htt_tx(htt, txmode, msdu); in ath10k_htt_tx()
2452 int ath10k_htt_mgmt_tx(struct ath10k_htt *htt, struct sk_buff *msdu);
Dwmi-tlv.c3031 struct sk_buff *msdu) in ath10k_wmi_tlv_op_cleanup_mgmt_tx_send() argument
3033 struct ath10k_skb_cb *cb = ATH10K_SKB_CB(msdu); in ath10k_wmi_tlv_op_cleanup_mgmt_tx_send()
3066 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
3069 struct ath10k_skb_cb *cb = ATH10K_SKB_CB(msdu); in ath10k_wmi_tlv_op_gen_mgmt_tx_send()
3073 u32 buf_len = msdu->len; in ath10k_wmi_tlv_op_gen_mgmt_tx_send()
3083 hdr = (struct ieee80211_hdr *)msdu->data; in ath10k_wmi_tlv_op_gen_mgmt_tx_send()
3098 skb_put(msdu, IEEE80211_CCMP_MIC_LEN); in ath10k_wmi_tlv_op_gen_mgmt_tx_send()
3111 desc_id = ath10k_wmi_mgmt_tx_alloc_msdu_id(ar, msdu, paddr); in ath10k_wmi_tlv_op_gen_mgmt_tx_send()
3126 cmd->frame_len = __cpu_to_le32(msdu->len); in ath10k_wmi_tlv_op_gen_mgmt_tx_send()
3137 memcpy(ptr, msdu->data, buf_len); in ath10k_wmi_tlv_op_gen_mgmt_tx_send()
Dwmi.c1947 ath10k_wmi_op_gen_mgmt_tx(struct ath10k *ar, struct sk_buff *msdu) in ath10k_wmi_op_gen_mgmt_tx() argument
1949 struct ath10k_skb_cb *cb = ATH10K_SKB_CB(msdu); in ath10k_wmi_op_gen_mgmt_tx()
1956 u32 buf_len = msdu->len; in ath10k_wmi_op_gen_mgmt_tx()
1960 hdr = (struct ieee80211_hdr *)msdu->data; in ath10k_wmi_op_gen_mgmt_tx()
1973 len = sizeof(cmd->hdr) + msdu->len; in ath10k_wmi_op_gen_mgmt_tx()
2009 memcpy(cmd->buf, msdu->data, msdu->len); in ath10k_wmi_op_gen_mgmt_tx()
2012 msdu, skb->len, fc & IEEE80211_FCTL_FTYPE, in ath10k_wmi_op_gen_mgmt_tx()
2406 struct sk_buff *msdu; in wmi_process_mgmt_tx_comp() local
2419 msdu = pkt_addr->vaddr; in wmi_process_mgmt_tx_comp()
2421 msdu->len, DMA_TO_DEVICE); in wmi_process_mgmt_tx_comp()
[all …]
/linux-6.1.9/drivers/net/wireless/ath/ath11k/
Ddp_rx.c1862 static void ath11k_dp_rx_h_csum_offload(struct ath11k *ar, struct sk_buff *msdu) in ath11k_dp_rx_h_csum_offload() argument
1864 struct ath11k_skb_rxcb *rxcb = ATH11K_SKB_RXCB(msdu); in ath11k_dp_rx_h_csum_offload()
1872 msdu->ip_summed = (ip_csum_fail || l4_csum_fail) ? in ath11k_dp_rx_h_csum_offload()
1957 struct sk_buff *msdu, in ath11k_dp_rx_h_undecap_nwifi() argument
1962 struct ath11k_skb_rxcb *rxcb = ATH11K_SKB_RXCB(msdu); in ath11k_dp_rx_h_undecap_nwifi()
1972 hdr = (struct ieee80211_hdr *)msdu->data; in ath11k_dp_rx_h_undecap_nwifi()
1976 skb_pull(msdu, ieee80211_hdrlen(hdr->frame_control)); in ath11k_dp_rx_h_undecap_nwifi()
2011 memcpy(skb_push(msdu, in ath11k_dp_rx_h_undecap_nwifi()
2018 memcpy(skb_push(msdu, in ath11k_dp_rx_h_undecap_nwifi()
2021 memcpy(skb_push(msdu, hdr_len), decap_hdr, hdr_len); in ath11k_dp_rx_h_undecap_nwifi()
[all …]
Ddp_tx.c291 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()
319 struct sk_buff *msdu; in ath11k_dp_tx_htt_tx_complete_buf() local
325 msdu = idr_remove(&tx_ring->txbuf_idr, ts->msdu_id); in ath11k_dp_tx_htt_tx_complete_buf()
328 if (unlikely(!msdu)) { in ath11k_dp_tx_htt_tx_complete_buf()
334 skb_cb = ATH11K_SKB_CB(msdu); in ath11k_dp_tx_htt_tx_complete_buf()
[all …]
Dhal_rx.c296 struct hal_rx_msdu_details *msdu; in ath11k_hal_rx_msdu_link_info_get() local
301 msdu = &link->msdu_link[0]; in ath11k_hal_rx_msdu_link_info_get()
303 msdu->buf_addr_info.info1); in ath11k_hal_rx_msdu_link_info_get()
306 msdu = &link->msdu_link[i]; in ath11k_hal_rx_msdu_link_info_get()
309 msdu->buf_addr_info.info0)) { in ath11k_hal_rx_msdu_link_info_get()
314 msdu->buf_addr_info.info1); in ath11k_hal_rx_msdu_link_info_get()
Ddp.c1011 struct sk_buff *msdu = skb; in ath11k_dp_tx_pending_cleanup() local
1013 dma_unmap_single(ab->dev, ATH11K_SKB_CB(msdu)->paddr, msdu->len, in ath11k_dp_tx_pending_cleanup()
1016 dev_kfree_skb_any(msdu); in ath11k_dp_tx_pending_cleanup()
Dmac.c5503 struct sk_buff *msdu; in ath11k_mac_tx_mgmt_free() local
5507 msdu = idr_remove(&ar->txmgmt_idr, buf_id); in ath11k_mac_tx_mgmt_free()
5510 if (!msdu) in ath11k_mac_tx_mgmt_free()
5513 dma_unmap_single(ar->ab->dev, ATH11K_SKB_CB(msdu)->paddr, msdu->len, in ath11k_mac_tx_mgmt_free()
5516 info = IEEE80211_SKB_CB(msdu); in ath11k_mac_tx_mgmt_free()
5519 ath11k_mgmt_over_wmi_tx_drop(ar, msdu); in ath11k_mac_tx_mgmt_free()
Dwmi.c5227 struct sk_buff *msdu; in wmi_process_mgmt_tx_comp() local
5233 msdu = idr_find(&ar->txmgmt_idr, desc_id); in wmi_process_mgmt_tx_comp()
5235 if (!msdu) { in wmi_process_mgmt_tx_comp()
5245 skb_cb = ATH11K_SKB_CB(msdu); in wmi_process_mgmt_tx_comp()
5246 dma_unmap_single(ar->ab->dev, skb_cb->paddr, msdu->len, DMA_TO_DEVICE); in wmi_process_mgmt_tx_comp()
5248 info = IEEE80211_SKB_CB(msdu); in wmi_process_mgmt_tx_comp()
5252 ieee80211_tx_status_irqsafe(ar->hw, msdu); in wmi_process_mgmt_tx_comp()
/linux-6.1.9/net/mac80211/
Dsta_info.h441 u64 msdu[IEEE80211_NUM_TIDS + 1]; member
558 u64 msdu[IEEE80211_NUM_TIDS + 1]; member
Dsta_info.c2400 value = rxstats->msdu[tid]; in sta_get_tidstats_msdu()
2433 tidstats->tx_msdu = sta->deflink.tx_stats.msdu[tid]; in sta_set_tidstats()
Dtx.c885 tx->sta->deflink.tx_stats.msdu[IEEE80211_NUM_TIDS]++; in ieee80211_tx_h_sequence()
899 tx->sta->deflink.tx_stats.msdu[tid]++; in ieee80211_tx_h_sequence()
3552 sta->deflink.tx_stats.msdu[tid] += in ieee80211_xmit_fast_finish()
3555 sta->deflink.tx_stats.msdu[tid]++; in ieee80211_xmit_fast_finish()
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7915/
Dmac.c912 u32 msdu, info = le32_to_cpu(*cur_info); in mt7915_mac_tx_free() local
943 msdu = (info >> (15 * i)) & MT_TX_FREE_MSDU_ID_V3; in mt7915_mac_tx_free()
944 if (msdu == MT_TX_FREE_MSDU_ID_V3) in mt7915_mac_tx_free()
947 msdu = FIELD_GET(MT_TX_FREE_MSDU_ID, info); in mt7915_mac_tx_free()
950 txwi = mt76_token_release(mdev, msdu, &wake); in mt7915_mac_tx_free()
980 u16 msdu = le16_to_cpu(info[i]); in mt7915_mac_tx_free_v0() local
982 txwi = mt76_token_release(mdev, msdu, &wake); in mt7915_mac_tx_free_v0()
/linux-6.1.9/net/bluetooth/
Damp.c550 cp.tx_flow_spec.msdu = cpu_to_le16(chan->local_msdu); in amp_create_logical_link()
557 cp.rx_flow_spec.msdu = cpu_to_le16(chan->remote_msdu); in amp_create_logical_link()
Dl2cap_core.c3258 efs.msdu = cpu_to_le16(chan->local_msdu); in l2cap_add_opt_efs()
3267 efs.msdu = cpu_to_le16(chan->local_msdu); in l2cap_add_opt_efs()
3771 chan->remote_msdu = le16_to_cpu(efs.msdu); in l2cap_parse_conf_req()
3913 chan->local_msdu = le16_to_cpu(efs.msdu); in l2cap_parse_conf_rsp()
/linux-6.1.9/drivers/net/ethernet/freescale/enetc/
Denetc_qos.c589 sfi_config->msdu = in enetc_streamfilter_hw_set()
768 to->msdu[0] = from->maxoctets & 0xFF; in enetc_streamgate_hw_set()
769 to->msdu[1] = (from->maxoctets >> 8) & 0xFF; in enetc_streamgate_hw_set()
770 to->msdu[2] = (from->maxoctets >> 16) & 0xFF; in enetc_streamgate_hw_set()
Denetc_hw.h798 __le16 msdu; member
877 u8 msdu[3]; member
/linux-6.1.9/drivers/net/ieee802154/
Dca8210.c413 u8 msdu[MAX_DATA_SIZE]; member
1435 u8 *msdu, in mcps_data_request() argument
1469 memcpy(command.pdata.data_req.msdu, msdu, msdu_length); in mcps_data_request()
1470 psec = (struct secspec *)(command.pdata.data_req.msdu + msdu_length); in mcps_data_request()
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7921/
Dmac.c619 u32 msdu, info = le32_to_cpu(tx_info[i]); in mt7921_mac_tx_free() local
645 msdu = FIELD_GET(MT_TX_FREE_MSDU_ID, info); in mt7921_mac_tx_free()
648 txwi = mt76_token_release(mdev, msdu, &wake); in mt7921_mac_tx_free()
/linux-6.1.9/include/net/bluetooth/
Dl2cap.h375 __le16 msdu; member
Dhci.h913 __le16 msdu; member

12