Home
last modified time | relevance | path

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

/drivers/net/wireless/ath/ath10k/
Dhtt_rx.c264 struct sk_buff *msdu; in ath10k_htt_rx_netbuf_pop() local
274 msdu = htt->rx_ring.netbufs_ring[idx]; in ath10k_htt_rx_netbuf_pop()
284 ATH10K_SKB_RXCB(msdu)->paddr, in ath10k_htt_rx_netbuf_pop()
285 msdu->len + skb_tailroom(msdu), in ath10k_htt_rx_netbuf_pop()
288 msdu->data, msdu->len + skb_tailroom(msdu)); in ath10k_htt_rx_netbuf_pop()
290 return msdu; in ath10k_htt_rx_netbuf_pop()
300 struct sk_buff *msdu; in ath10k_htt_rx_amsdu_pop() local
308 msdu = ath10k_htt_rx_netbuf_pop(htt); in ath10k_htt_rx_amsdu_pop()
309 if (!msdu) { in ath10k_htt_rx_amsdu_pop()
314 __skb_queue_tail(amsdu, msdu); in ath10k_htt_rx_amsdu_pop()
[all …]
Dhtt_tx.c442 int ath10k_htt_mgmt_tx(struct ath10k_htt *htt, struct sk_buff *msdu) in ath10k_htt_mgmt_tx() argument
448 struct ath10k_skb_cb *skb_cb = ATH10K_SKB_CB(msdu); in ath10k_htt_mgmt_tx()
453 struct ieee80211_hdr *hdr = (struct ieee80211_hdr *)msdu->data; in ath10k_htt_mgmt_tx()
473 res = ath10k_htt_tx_alloc_msdu_id(htt, msdu); in ath10k_htt_mgmt_tx()
486 skb_cb->paddr = dma_map_single(dev, msdu->data, msdu->len, in ath10k_htt_mgmt_tx()
499 cmd->mgmt_tx.msdu_paddr = __cpu_to_le32(ATH10K_SKB_CB(msdu)->paddr); in ath10k_htt_mgmt_tx()
500 cmd->mgmt_tx.len = __cpu_to_le32(msdu->len); in ath10k_htt_mgmt_tx()
503 memcpy(cmd->mgmt_tx.hdr, msdu->data, in ath10k_htt_mgmt_tx()
504 min_t(int, msdu->len, HTT_MGMT_FRM_HDR_DOWNLOAD_LEN)); in ath10k_htt_mgmt_tx()
515 dma_unmap_single(dev, skb_cb->paddr, msdu->len, DMA_TO_DEVICE); in ath10k_htt_mgmt_tx()
[all …]
Dtxrx.c54 struct sk_buff *msdu; in ath10k_txrx_tx_unref() local
71 msdu = idr_find(&htt->pending_tx, tx_done->msdu_id); in ath10k_txrx_tx_unref()
72 if (!msdu) { in ath10k_txrx_tx_unref()
79 hdr = (struct ieee80211_hdr *)msdu->data; in ath10k_txrx_tx_unref()
92 skb_cb = ATH10K_SKB_CB(msdu); in ath10k_txrx_tx_unref()
93 dma_unmap_single(dev, skb_cb->paddr, msdu->len, DMA_TO_DEVICE); in ath10k_txrx_tx_unref()
95 ath10k_report_offchan_tx(htt->ar, msdu); in ath10k_txrx_tx_unref()
97 info = IEEE80211_SKB_CB(msdu); in ath10k_txrx_tx_unref()
104 ieee80211_free_txskb(htt->ar->hw, msdu); in ath10k_txrx_tx_unref()
117 ieee80211_tx_status(htt->ar->hw, msdu); in ath10k_txrx_tx_unref()
Dwmi-ops.h354 ath10k_wmi_mgmt_tx(struct ath10k *ar, struct sk_buff *msdu) in ath10k_wmi_mgmt_tx() argument
356 struct ieee80211_tx_info *info = IEEE80211_SKB_CB(msdu); in ath10k_wmi_mgmt_tx()
363 skb = ar->wmi.ops->gen_mgmt_tx(ar, msdu); in ath10k_wmi_mgmt_tx()
374 ieee80211_tx_status_irqsafe(ar->hw, msdu); in ath10k_wmi_mgmt_tx()
Dwmi.c1762 ath10k_wmi_op_gen_mgmt_tx(struct ath10k *ar, struct sk_buff *msdu) in ath10k_wmi_op_gen_mgmt_tx() argument
1768 u32 buf_len = msdu->len; in ath10k_wmi_op_gen_mgmt_tx()
1771 hdr = (struct ieee80211_hdr *)msdu->data; in ath10k_wmi_op_gen_mgmt_tx()
1777 len = sizeof(cmd->hdr) + msdu->len; in ath10k_wmi_op_gen_mgmt_tx()
1795 cmd->hdr.vdev_id = __cpu_to_le32(ATH10K_SKB_CB(msdu)->vdev_id); in ath10k_wmi_op_gen_mgmt_tx()
1801 memcpy(cmd->buf, msdu->data, msdu->len); in ath10k_wmi_op_gen_mgmt_tx()
1804 msdu, skb->len, fc & IEEE80211_FCTL_FTYPE, in ath10k_wmi_op_gen_mgmt_tx()