| /freebsd/sys/contrib/dev/athk/ath12k/wifi7/ |
| H A D | hw.c | 763 struct ath12k_skb_cb *skb_cb = ATH12K_SKB_CB(skb); in ath12k_wifi7_mac_op_tx() local 793 memset(skb_cb, 0, sizeof(*skb_cb)); in ath12k_wifi7_mac_op_tx() 794 skb_cb->vif = vif; in ath12k_wifi7_mac_op_tx() 797 skb_cb->cipher = key->cipher; in ath12k_wifi7_mac_op_tx() 798 skb_cb->flags |= ATH12K_SKB_CIPHER_SET; in ath12k_wifi7_mac_op_tx() 824 skb_cb->link_id = link_id; in ath12k_wifi7_mac_op_tx() 829 skb_cb->ar = ar; in ath12k_wifi7_mac_op_tx() 836 skb_cb->flags |= ATH12K_SKB_HW_80211_ENCAP; in ath12k_wifi7_mac_op_tx() 839 skb_cb->flags |= ATH12K_SKB_MLO_STA; in ath12k_wifi7_mac_op_tx() 865 !(skb_cb->flags & ATH12K_SKB_HW_80211_ENCAP) && in ath12k_wifi7_mac_op_tx() [all …]
|
| H A D | dp_tx.c | 71 struct ath12k_skb_cb *skb_cb = ATH12K_SKB_CB(skb); in ath12k_wifi7_dp_tx() local 130 if (skb_cb->flags & ATH12K_SKB_CIPHER_SET) { in ath12k_wifi7_dp_tx() 132 ath12k_dp_tx_get_encrypt_type(skb_cb->cipher); in ath12k_wifi7_dp_tx() 240 !(skb_cb->flags & ATH12K_SKB_HW_80211_ENCAP) && in ath12k_wifi7_dp_tx() 241 !(skb_cb->flags & ATH12K_SKB_CIPHER_SET) && in ath12k_wifi7_dp_tx() 266 skb_cb->paddr = ti.paddr; in ath12k_wifi7_dp_tx() 299 skb_cb->paddr_ext_desc = ti.paddr; in ath12k_wifi7_dp_tx() 361 if (skb_cb->paddr_ext_desc) in ath12k_wifi7_dp_tx() 362 dma_unmap_single(dp->dev, skb_cb->paddr_ext_desc, in ath12k_wifi7_dp_tx() 394 struct ath12k_skb_cb *skb_cb; in ath12k_dp_tx_htt_tx_complete_buf() local [all …]
|
| /freebsd/sys/contrib/dev/athk/ath10k/ |
| H A D | txrx.c | 51 struct ath10k_skb_cb *skb_cb; in ath10k_txrx_tx_unref() local 75 skb_cb = ATH10K_SKB_CB(msdu); in ath10k_txrx_tx_unref() 76 txq = skb_cb->txq; in ath10k_txrx_tx_unref() 83 flags = skb_cb->flags; in ath10k_txrx_tx_unref() 89 if (txq && txq->sta && skb_cb->airtime_est) in ath10k_txrx_tx_unref() 91 skb_cb->airtime_est, 0); in ath10k_txrx_tx_unref() 95 dma_unmap_single(dev, skb_cb->paddr, msdu->len, DMA_TO_DEVICE); in ath10k_txrx_tx_unref()
|
| H A D | htt_tx.c | 1187 struct ath10k_skb_cb *skb_cb = ATH10K_SKB_CB(msdu); in ath10k_htt_mgmt_tx() local 1212 if (skb_cb->ucast_cipher == WLAN_CIPHER_SUITE_GCMP || in ath10k_htt_mgmt_tx() 1213 skb_cb->ucast_cipher == WLAN_CIPHER_SUITE_GCMP_256) in ath10k_htt_mgmt_tx() 1226 skb_cb->paddr = dma_map_single(dev, msdu->data, msdu->len, in ath10k_htt_mgmt_tx() 1228 res = dma_mapping_error(dev, skb_cb->paddr); in ath10k_htt_mgmt_tx() 1254 dma_unmap_single(dev, skb_cb->paddr, msdu->len, DMA_TO_DEVICE); in ath10k_htt_mgmt_tx() 1277 struct ath10k_skb_cb *skb_cb = ATH10K_SKB_CB(msdu); in ath10k_htt_tx_hl() local 1317 if (skb_cb->flags & ATH10K_SKB_F_NO_HWCRYPT) in ath10k_htt_tx_hl() 1392 struct ath10k_skb_cb *skb_cb = ATH10K_SKB_CB(msdu); in ath10k_htt_tx_32() local 1430 } else if (!(skb_cb->flags & ATH10K_SKB_F_NO_HWCRYPT) && in ath10k_htt_tx_32() [all …]
|
| H A D | htc.c | 31 struct ath10k_skb_cb *skb_cb; in ath10k_htc_build_tx_ctrl_skb() local 40 skb_cb = ATH10K_SKB_CB(skb); in ath10k_htc_build_tx_ctrl_skb() 41 memset(skb_cb, 0, sizeof(*skb_cb)); in ath10k_htc_build_tx_ctrl_skb() 50 struct ath10k_skb_cb *skb_cb = ATH10K_SKB_CB(skb); in ath10k_htc_restore_tx_skb() local 53 dma_unmap_single(htc->ar->dev, skb_cb->paddr, skb->len, DMA_TO_DEVICE); in ath10k_htc_restore_tx_skb() 175 struct ath10k_skb_cb *skb_cb = ATH10K_SKB_CB(skb); in ath10k_htc_send() local 198 skb_cb->eid = eid; in ath10k_htc_send() 200 skb_cb->paddr = dma_map_single(dev, skb->data, skb->len, in ath10k_htc_send() 202 ret = dma_mapping_error(dev, skb_cb->paddr); in ath10k_htc_send() 212 sg_item.paddr = skb_cb->paddr; in ath10k_htc_send() [all …]
|
| H A D | mac.c | 3744 const struct ath10k_skb_cb *skb_cb = ATH10K_SKB_CB(skb); in ath10k_mac_tx_h_get_txmode() local 3790 skb_cb->flags & ATH10K_SKB_F_RAW_TX) in ath10k_mac_tx_h_get_txmode() 4071 const struct ath10k_skb_cb *skb_cb = ATH10K_SKB_CB(skb); in ath10k_mac_tx() local 4094 !(skb_cb->flags & ATH10K_SKB_F_RAW_TX)) { in ath10k_mac_tx()
|
| H A D | wmi.c | 1841 struct ath10k_skb_cb *skb_cb = ATH10K_SKB_CB(skb); in ath10k_wmi_cmd_send_nowait() local 1854 memset(skb_cb, 0, sizeof(*skb_cb)); in ath10k_wmi_cmd_send_nowait()
|
| /freebsd/sys/contrib/dev/athk/ath12k/ |
| H A D | dp_tx.c | 196 struct ath12k_skb_cb *skb_cb; in ath12k_dp_tx_free_txbuf() local 199 skb_cb = ATH12K_SKB_CB(msdu); in ath12k_dp_tx_free_txbuf() 201 dma_unmap_single(dp->dev, skb_cb->paddr, msdu->len, DMA_TO_DEVICE); in ath12k_dp_tx_free_txbuf() 202 if (skb_cb->paddr_ext_desc) { in ath12k_dp_tx_free_txbuf() 203 dma_unmap_single(dp->dev, skb_cb->paddr_ext_desc, in ath12k_dp_tx_free_txbuf()
|
| H A D | htc.c | 38 struct ath12k_skb_cb *skb_cb; in ath12k_htc_build_tx_ctrl_skb() local 47 skb_cb = ATH12K_SKB_CB(skb); in ath12k_htc_build_tx_ctrl_skb() 48 memset(skb_cb, 0, sizeof(*skb_cb)); in ath12k_htc_build_tx_ctrl_skb() 79 struct ath12k_skb_cb *skb_cb = ATH12K_SKB_CB(skb); in ath12k_htc_send() local 112 skb_cb->paddr = dma_map_single(dev, skb->data, skb->len, DMA_TO_DEVICE); in ath12k_htc_send() 113 ret = dma_mapping_error(dev, skb_cb->paddr); in ath12k_htc_send() 126 dma_unmap_single(dev, skb_cb->paddr, skb->len, DMA_TO_DEVICE); in ath12k_htc_send()
|
| H A D | dp.c | 984 struct ath12k_skb_cb *skb_cb; in ath12k_dp_cc_cleanup() local 1042 skb_cb = ATH12K_SKB_CB(skb); in ath12k_dp_cc_cleanup() 1043 if (skb_cb->paddr_ext_desc) { in ath12k_dp_cc_cleanup() 1045 skb_cb->paddr_ext_desc, in ath12k_dp_cc_cleanup() 1055 ar = skb_cb->ar; in ath12k_dp_cc_cleanup()
|
| H A D | mac.c | 9020 struct ath12k_skb_cb *skb_cb = ATH12K_SKB_CB(skb); in ath12k_mac_vif_txmgmt_idr_remove() local 9021 struct ath12k *ar = skb_cb->ar; in ath12k_mac_vif_txmgmt_idr_remove() 9023 if (skb_cb->vif == vif) in ath12k_mac_vif_txmgmt_idr_remove() 9034 struct ath12k_skb_cb *skb_cb = ATH12K_SKB_CB(skb); in ath12k_mac_mgmt_tx_wmi() local 9044 skb_cb->ar = ar; in ath12k_mac_mgmt_tx_wmi() 9053 if ((skb_cb->flags & ATH12K_SKB_CIPHER_SET) && in ath12k_mac_mgmt_tx_wmi() 9059 enctype = ath12k_dp_tx_get_encrypt_type(skb_cb->cipher); in ath12k_mac_mgmt_tx_wmi() 9072 skb_cb->paddr = paddr; in ath12k_mac_mgmt_tx_wmi() 9083 dma_unmap_single(ab->dev, skb_cb->paddr, in ath12k_mac_mgmt_tx_wmi() 9112 struct ath12k_skb_cb *skb_cb; in ath12k_mac_mgmt_action_frame_fill_elem_data() local [all …]
|
| H A D | wmi.c | 334 struct ath12k_skb_cb *skb_cb = ATH12K_SKB_CB(skb); in ath12k_wmi_cmd_send_nowait() local 345 memset(skb_cb, 0, sizeof(*skb_cb)); in ath12k_wmi_cmd_send_nowait() 739 struct ath12k_skb_cb *skb_cb; in ath12k_wmi_mgmt_send() local 754 skb_cb = ATH12K_SKB_CB(frame); in ath12k_wmi_mgmt_send() 755 if ((skb_cb->flags & ATH12K_SKB_MLO_STA) && in ath12k_wmi_mgmt_send() 6509 struct ath12k_skb_cb *skb_cb; in wmi_process_mgmt_tx_comp() local 6525 skb_cb = ATH12K_SKB_CB(msdu); in wmi_process_mgmt_tx_comp() 6526 dma_unmap_single(ar->ab->dev, skb_cb->paddr, msdu->len, DMA_TO_DEVICE); in wmi_process_mgmt_tx_comp()
|
| /freebsd/sys/contrib/dev/athk/ath11k/ |
| H A D | htc.c | 38 struct ath11k_skb_cb *skb_cb; in ath11k_htc_build_tx_ctrl_skb() local 47 skb_cb = ATH11K_SKB_CB(skb); in ath11k_htc_build_tx_ctrl_skb() 48 memset(skb_cb, 0, sizeof(*skb_cb)); in ath11k_htc_build_tx_ctrl_skb() 79 struct ath11k_skb_cb *skb_cb = ATH11K_SKB_CB(skb); in ath11k_htc_send() local 114 skb_cb->eid = eid; in ath11k_htc_send() 115 skb_cb->paddr = dma_map_single(dev, skb->data, skb->len, DMA_TO_DEVICE); in ath11k_htc_send() 116 ret = dma_mapping_error(dev, skb_cb->paddr); in ath11k_htc_send() 123 skb, skb_cb->eid, &skb_cb->paddr); in ath11k_htc_send() 132 dma_unmap_single(dev, skb_cb->paddr, skb->len, DMA_TO_DEVICE); in ath11k_htc_send()
|
| H A D | dp_tx.c | 94 struct ath11k_skb_cb *skb_cb = ATH11K_SKB_CB(skb); in ath11k_dp_tx() local 164 if (skb_cb->flags & ATH11K_SKB_CIPHER_SET) { in ath11k_dp_tx() 166 ath11k_dp_tx_get_encrypt_type(skb_cb->cipher); in ath11k_dp_tx() 230 skb_cb->paddr = ti.paddr; in ath11k_dp_tx() 231 skb_cb->vif = arvif->vif; in ath11k_dp_tx() 232 skb_cb->ar = ar; in ath11k_dp_tx() 302 struct ath11k_skb_cb *skb_cb; in ath11k_dp_tx_free_txbuf() local 314 skb_cb = ATH11K_SKB_CB(msdu); in ath11k_dp_tx_free_txbuf() 316 dma_unmap_single(ab->dev, skb_cb->paddr, msdu->len, DMA_TO_DEVICE); in ath11k_dp_tx_free_txbuf() 332 struct ath11k_skb_cb *skb_cb; in ath11k_dp_tx_htt_tx_complete_buf() local [all …]
|
| H A D | mac.c | 6170 struct ath11k_skb_cb *skb_cb = ATH11K_SKB_CB((struct sk_buff *)skb); in ath11k_mac_vif_txmgmt_idr_remove() local 6171 struct ath11k *ar = skb_cb->ar; in ath11k_mac_vif_txmgmt_idr_remove() 6173 if (skb_cb->vif == vif) in ath11k_mac_vif_txmgmt_idr_remove() 6184 struct ath11k_skb_cb *skb_cb = ATH11K_SKB_CB(skb); in ath11k_mac_mgmt_tx_wmi() local 6213 if (!(skb_cb->flags & ATH11K_SKB_CIPHER_SET)) in ath11k_mac_mgmt_tx_wmi() 6216 enctype = ath11k_dp_tx_get_encrypt_type(skb_cb->cipher); in ath11k_mac_mgmt_tx_wmi() 6277 struct ath11k_skb_cb *skb_cb; in ath11k_mac_mgmt_action_frame_fill_elem_data() local 6305 skb_cb = ATH11K_SKB_CB(skb); in ath11k_mac_mgmt_action_frame_fill_elem_data() 6307 switch (skb_cb->cipher) { in ath11k_mac_mgmt_action_frame_fill_elem_data() 6425 struct ath11k_skb_cb *skb_cb; in ath11k_mgmt_over_wmi_tx_work() local [all …]
|
| H A D | wmi.c | 304 struct ath11k_skb_cb *skb_cb = ATH11K_SKB_CB(skb); in ath11k_wmi_cmd_send_nowait() local 320 memset(skb_cb, 0, sizeof(*skb_cb)); in ath11k_wmi_cmd_send_nowait() 6297 struct ath11k_skb_cb *skb_cb; in wmi_process_mgmt_tx_comp() local 6313 skb_cb = ATH11K_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()
|