/linux-6.6.21/drivers/net/wireless/ath/ath10k/ |
D | htt_tx.c | 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->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 …]
|
D | htt_rx.c | 320 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 …]
|
D | txrx.c | 53 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()
|
D | wmi-ops.h | 143 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()
|
D | htt.h | 1936 struct sk_buff *msdu); 1977 struct sk_buff *msdu) in ath10k_htt_tx() argument 1979 return htt->tx_ops->htt_tx(htt, txmode, msdu); in ath10k_htt_tx() 2454 int ath10k_htt_mgmt_tx(struct ath10k_htt *htt, struct sk_buff *msdu);
|
D | wmi-tlv.c | 3038 struct sk_buff *msdu) in ath10k_wmi_tlv_op_cleanup_mgmt_tx_send() argument 3040 struct ath10k_skb_cb *cb = ATH10K_SKB_CB(msdu); in ath10k_wmi_tlv_op_cleanup_mgmt_tx_send() 3073 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 3076 struct ath10k_skb_cb *cb = ATH10K_SKB_CB(msdu); in ath10k_wmi_tlv_op_gen_mgmt_tx_send() 3080 u32 buf_len = msdu->len; in ath10k_wmi_tlv_op_gen_mgmt_tx_send() 3090 hdr = (struct ieee80211_hdr *)msdu->data; in ath10k_wmi_tlv_op_gen_mgmt_tx_send() 3105 skb_put(msdu, IEEE80211_CCMP_MIC_LEN); in ath10k_wmi_tlv_op_gen_mgmt_tx_send() 3118 desc_id = ath10k_wmi_mgmt_tx_alloc_msdu_id(ar, msdu, paddr); in ath10k_wmi_tlv_op_gen_mgmt_tx_send() 3133 cmd->frame_len = __cpu_to_le32(msdu->len); in ath10k_wmi_tlv_op_gen_mgmt_tx_send() 3144 memcpy(ptr, msdu->data, buf_len); in ath10k_wmi_tlv_op_gen_mgmt_tx_send()
|
D | wmi.c | 1947 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.6.21/drivers/net/wireless/ath/ath12k/ |
D | dp_rx.c | 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() argument 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_len); in ath12k_dp_rx_h_undecap_nwifi() 2006 crypto_hdr = skb_push(msdu, ath12k_dp_rx_crypto_param_len(ar, enctype)); in ath12k_dp_rx_h_undecap_nwifi() 2012 memcpy(skb_push(msdu, in ath12k_dp_rx_h_undecap_nwifi() 2015 memcpy(skb_push(msdu, hdr_len), decap_hdr, hdr_len); in ath12k_dp_rx_h_undecap_nwifi() [all …]
|
D | dp_tx.c | 348 struct sk_buff *msdu, u8 mac_id, in ath12k_dp_tx_free_txbuf() argument 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() argument 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() 411 struct sk_buff *msdu, in ath12k_dp_tx_process_htt_tx_complete() argument [all …]
|
D | dp_mon.c | 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 871 (struct hal_rx_desc *)msdu->data); in ath12k_dp_mon_rx_msdus_set_payload() 872 skb_pull(msdu, rx_pkt_offset + l2_hdr_offset); in ath12k_dp_mon_rx_msdus_set_payload() [all …]
|
D | dp_rx.h | 132 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);
|
D | hal_rx.c | 292 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()
|
/linux-6.6.21/drivers/net/wireless/ath/ath11k/ |
D | dp_rx.c | 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() argument 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_hdrlen(hdr->frame_control)); in ath11k_dp_rx_h_undecap_nwifi() 2017 memcpy(skb_push(msdu, in ath11k_dp_rx_h_undecap_nwifi() 2024 memcpy(skb_push(msdu, in ath11k_dp_rx_h_undecap_nwifi() 2027 memcpy(skb_push(msdu, hdr_len), decap_hdr, hdr_len); in ath11k_dp_rx_h_undecap_nwifi() [all …]
|
D | dp_tx.c | 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() 336 skb_cb = ATH11K_SKB_CB(msdu); in ath11k_dp_tx_htt_tx_complete_buf() [all …]
|
D | hal_rx.c | 296 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()
|
D | dp.c | 1013 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()
|
/linux-6.6.21/net/mac80211/ |
D | sta_info.h | 441 u64 msdu[IEEE80211_NUM_TIDS + 1]; member 559 u64 msdu[IEEE80211_NUM_TIDS + 1]; member
|
/linux-6.6.21/net/bluetooth/ |
D | amp.c | 549 cp.tx_flow_spec.msdu = cpu_to_le16(chan->local_msdu); in amp_create_logical_link() 556 cp.rx_flow_spec.msdu = cpu_to_le16(chan->remote_msdu); in amp_create_logical_link()
|
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt7921/ |
D | mac.c | 509 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()
|
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt7915/ |
D | mac.c | 901 u32 msdu, info; in mt7915_mac_tx_free() local 954 msdu = (info >> (15 * i)) & MT_TX_FREE_MSDU_ID_V3; in mt7915_mac_tx_free() 955 if (msdu == MT_TX_FREE_MSDU_ID_V3) in mt7915_mac_tx_free() 958 msdu = FIELD_GET(MT_TX_FREE_MSDU_ID, info); in mt7915_mac_tx_free() 961 txwi = mt76_token_release(mdev, msdu, &wake); in mt7915_mac_tx_free() 991 u16 msdu = le16_to_cpu(info[i]); in mt7915_mac_tx_free_v0() local 993 txwi = mt76_token_release(mdev, msdu, &wake); in mt7915_mac_tx_free_v0()
|
/linux-6.6.21/drivers/net/ethernet/freescale/enetc/ |
D | enetc_qos.c | 646 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()
|
D | enetc_hw.h | 822 __le16 msdu; member 901 u8 msdu[3]; member
|
/linux-6.6.21/drivers/net/ieee802154/ |
D | ca8210.c | 413 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.6.21/drivers/net/wireless/mediatek/mt76/mt7996/ |
D | mac.c | 1096 u32 msdu, info; in mt7996_mac_tx_free() local 1129 msdu = (info >> (15 * i)) & MT_TXFREE_INFO_MSDU_ID; in mt7996_mac_tx_free() 1130 if (msdu == MT_TXFREE_INFO_MSDU_ID) in mt7996_mac_tx_free() 1134 txwi = mt76_token_release(mdev, msdu, &wake); in mt7996_mac_tx_free()
|
/linux-6.6.21/include/net/bluetooth/ |
D | l2cap.h | 375 __le16 msdu; member
|