Home
last modified time | relevance | path

Searched refs:skb_cb (Results 1 – 17 of 17) sorted by relevance

/linux/drivers/net/wireless/ath/ath12k/wifi7/
H A Ddp_tx.c31 struct ath12k_skb_cb *skb_cb) in ath12k_wifi7_dp_tx_encap_eapol() argument
35 ath12k_dp_tx_get_encrypt_type(skb_cb->cipher); in ath12k_wifi7_dp_tx_encap_eapol()
116 struct ath12k_skb_cb *skb_cb = ATH12K_SKB_CB(skb); in ath12k_wifi7_dp_tx() local
146 if (skb_cb->flags & ATH12K_SKB_HW_80211_ENCAP) in ath12k_wifi7_dp_tx()
193 if (skb_cb->flags & ATH12K_SKB_CIPHER_SET) { in ath12k_wifi7_dp_tx()
195 ath12k_dp_tx_get_encrypt_type(skb_cb->cipher); in ath12k_wifi7_dp_tx()
259 !(skb_cb->flags & ATH12K_SKB_CIPHER_SET)) || is_null_frame) in ath12k_wifi7_dp_tx()
263 (skb_cb->flags & ATH12K_SKB_CIPHER_SET)) { in ath12k_wifi7_dp_tx()
266 skb_cb); in ath12k_wifi7_dp_tx()
276 ath12k_dp_tx_get_encrypt_type(skb_cb->cipher); in ath12k_wifi7_dp_tx()
[all …]
H A Dhw.c905 struct ath12k_skb_cb *skb_cb = ATH12K_SKB_CB(skb); in ath12k_wifi7_mac_op_tx() local
938 memset(skb_cb, 0, sizeof(*skb_cb)); in ath12k_wifi7_mac_op_tx()
939 skb_cb->vif = vif; in ath12k_wifi7_mac_op_tx()
942 skb_cb->cipher = key->cipher; in ath12k_wifi7_mac_op_tx()
943 skb_cb->flags |= ATH12K_SKB_CIPHER_SET; in ath12k_wifi7_mac_op_tx()
969 skb_cb->link_id = link_id; in ath12k_wifi7_mac_op_tx()
974 skb_cb->ar = ar; in ath12k_wifi7_mac_op_tx()
981 skb_cb->flags |= ATH12K_SKB_HW_80211_ENCAP; in ath12k_wifi7_mac_op_tx()
984 skb_cb->flags |= ATH12K_SKB_MLO_STA; in ath12k_wifi7_mac_op_tx()
1016 !(skb_cb->flags & ATH12K_SKB_HW_80211_ENCAP) && in ath12k_wifi7_mac_op_tx()
[all …]
/linux/drivers/net/wireless/ath/ath10k/
H A Dtxrx.c51 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 Dmac.c3744 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()
4063 const struct ath10k_skb_cb *skb_cb = ATH10K_SKB_CB(skb); in ath10k_mac_tx() local
4086 !(skb_cb->flags & ATH10K_SKB_F_RAW_TX)) { in ath10k_mac_tx()
H A Dwmi.c1833 struct ath10k_skb_cb *skb_cb = ATH10K_SKB_CB(skb); in ath10k_wmi_cmd_send_nowait() local
1846 memset(skb_cb, 0, sizeof(*skb_cb)); in ath10k_wmi_cmd_send_nowait()
/linux/drivers/net/ethernet/ti/
H A Dcpts.c85 struct cpts_skb_cb_data *skb_cb; in cpts_purge_txq() local
90 skb_cb = (struct cpts_skb_cb_data *)skb->cb; in cpts_purge_txq()
91 if (time_after(jiffies, skb_cb->tmo)) { in cpts_purge_txq()
335 struct cpts_skb_cb_data *skb_cb = in cpts_match_tx_ts() local
338 if (mtype_seqid == skb_cb->skb_mtype_seqid) { in cpts_match_tx_ts()
350 if (time_after(jiffies, skb_cb->tmo)) { in cpts_match_tx_ts()
495 struct cpts_skb_cb_data *skb_cb = (struct cpts_skb_cb_data *)skb->cb; in cpts_rx_timestamp() local
505 ret = cpts_skb_get_mtype_seqid(skb, &skb_cb->skb_mtype_seqid); in cpts_rx_timestamp()
509 skb_cb->skb_mtype_seqid |= (CPTS_EV_RX << EVENT_TYPE_SHIFT); in cpts_rx_timestamp()
512 __func__, skb_cb->skb_mtype_seqid); in cpts_rx_timestamp()
[all …]
/linux/drivers/net/wireless/ath/ath12k/
H A Ddp_tx.c238 struct ath12k_skb_cb *skb_cb; in ath12k_dp_tx_free_txbuf() local
241 skb_cb = ATH12K_SKB_CB(msdu); in ath12k_dp_tx_free_txbuf()
243 dma_unmap_single(dp->dev, skb_cb->paddr, msdu->len, DMA_TO_DEVICE); in ath12k_dp_tx_free_txbuf()
244 if (skb_cb->paddr_ext_desc) { in ath12k_dp_tx_free_txbuf()
245 dma_unmap_single(dp->dev, skb_cb->paddr_ext_desc, in ath12k_dp_tx_free_txbuf()
H A Ddp.c972 struct ath12k_skb_cb *skb_cb; in ath12k_dp_cc_cleanup() local
1030 skb_cb = ATH12K_SKB_CB(skb); in ath12k_dp_cc_cleanup()
1031 if (skb_cb->paddr_ext_desc) { in ath12k_dp_cc_cleanup()
1033 skb_cb->paddr_ext_desc, in ath12k_dp_cc_cleanup()
1043 ar = skb_cb->ar; in ath12k_dp_cc_cleanup()
H A Dmac.c9202 struct ath12k_skb_cb *skb_cb = ATH12K_SKB_CB(skb); in ath12k_mac_vif_txmgmt_idr_remove() local
9203 struct ath12k *ar = skb_cb->ar; in ath12k_mac_vif_txmgmt_idr_remove()
9205 if (skb_cb->vif == vif) in ath12k_mac_vif_txmgmt_idr_remove()
9216 struct ath12k_skb_cb *skb_cb = ATH12K_SKB_CB(skb); in ath12k_mac_mgmt_tx_wmi() local
9226 skb_cb->ar = ar; in ath12k_mac_mgmt_tx_wmi()
9235 if ((skb_cb->flags & ATH12K_SKB_CIPHER_SET) && in ath12k_mac_mgmt_tx_wmi()
9241 enctype = ath12k_dp_tx_get_encrypt_type(skb_cb->cipher); in ath12k_mac_mgmt_tx_wmi()
9254 skb_cb->paddr = paddr; in ath12k_mac_mgmt_tx_wmi()
9265 dma_unmap_single(ab->dev, skb_cb->paddr, in ath12k_mac_mgmt_tx_wmi()
9294 struct ath12k_skb_cb *skb_cb; in ath12k_mac_mgmt_action_frame_fill_elem_data() local
[all …]
H A Dwmi.c389 struct ath12k_skb_cb *skb_cb = ATH12K_SKB_CB(skb); in ath12k_wmi_cmd_send_nowait() local
400 memset(skb_cb, 0, sizeof(*skb_cb)); in ath12k_wmi_cmd_send_nowait()
794 struct ath12k_skb_cb *skb_cb; in ath12k_wmi_mgmt_send() local
809 skb_cb = ATH12K_SKB_CB(frame); in ath12k_wmi_mgmt_send()
810 if ((skb_cb->flags & ATH12K_SKB_MLO_STA) && in ath12k_wmi_mgmt_send()
6441 struct ath12k_skb_cb *skb_cb; in wmi_process_mgmt_tx_comp() local
6457 skb_cb = ATH12K_SKB_CB(msdu); in wmi_process_mgmt_tx_comp()
6458 dma_unmap_single(ar->ab->dev, skb_cb->paddr, msdu->len, DMA_TO_DEVICE); in wmi_process_mgmt_tx_comp()
/linux/drivers/net/wwan/t7xx/
H A Dt7xx_netdev.c121 struct t7xx_skb_cb *skb_cb = T7XX_SKB_CB(skb); in t7xx_ccmni_send_packet() local
123 skb_cb->netif_idx = ccmni->index; in t7xx_ccmni_send_packet()
415 struct t7xx_skb_cb *skb_cb; in t7xx_ccmni_recv_skb() local
421 skb_cb = T7XX_SKB_CB(skb); in t7xx_ccmni_recv_skb()
422 netif_id = skb_cb->netif_idx; in t7xx_ccmni_recv_skb()
434 pkt_type = skb_cb->rx_pkt_type; in t7xx_ccmni_recv_skb()
H A Dt7xx_hif_dpmaif_rx.c704 struct t7xx_skb_cb *skb_cb; in t7xx_dpmaif_rx_skb() local
717 skb_cb = T7XX_SKB_CB(skb); in t7xx_dpmaif_rx_skb()
718 skb_cb->netif_idx = netif_id; in t7xx_dpmaif_rx_skb()
719 skb_cb->rx_pkt_type = skb_info->pkt_type; in t7xx_dpmaif_rx_skb()
/linux/net/tipc/
H A Dcrypto.c1318 struct tipc_skb_cb *skb_cb = TIPC_SKB_CB(skb);
1324 if (!skb_cb->tx_clone_deferred) { in tipc_crypto_key_pick_tx() local
1325 skb_cb->tx_clone_deferred = 1; in tipc_crypto_key_pick_tx()
1326 memset(&skb_cb->tx_clone_ctx, 0, sizeof(skb_cb->tx_clone_ctx)); in tipc_crypto_key_pick_tx()
1329 skb_cb->tx_clone_ctx.rx = rx; in tipc_crypto_key_pick_tx()
1330 if (++skb_cb->tx_clone_ctx.recurs > 2) in tipc_crypto_key_pick_tx()
1348 aead == skb_cb->tx_clone_ctx.last) { in tipc_crypto_key_pick_tx()
1353 skb_cb->tx_clone_ctx.last = aead; in tipc_crypto_key_pick_tx()
1891 struct tipc_skb_cb *skb_cb in tipc_crypto_rcv()
1901 struct tipc_skb_cb *skb_cb = TIPC_SKB_CB(*skb); tipc_crypto_rcv_complete() local
[all...]
H A Dsocket.c1893 struct tipc_skb_cb *skb_cb; in tipc_recvmsg() local
1917 skb_cb = TIPC_SKB_CB(skb); in tipc_recvmsg()
1937 int offset = skb_cb->bytes_read; in tipc_recvmsg()
1946 skb_cb->bytes_read = offset + copy; in tipc_recvmsg()
1949 skb_cb->bytes_read = 0; in tipc_recvmsg()
1954 skb_cb->bytes_read = 0; in tipc_recvmsg()
1986 if (skb_cb->bytes_read) in tipc_recvmsg()
2022 struct tipc_skb_cb *skb_cb; in tipc_recvstream() local
2047 skb_cb = TIPC_SKB_CB(skb); in tipc_recvstream()
2070 offset = skb_cb->bytes_read; in tipc_recvstream()
[all …]
/linux/drivers/net/wireless/ath/ath11k/
H A Dmac.c6182 struct ath11k_skb_cb *skb_cb = ATH11K_SKB_CB((struct sk_buff *)skb); in ath11k_mac_vif_txmgmt_idr_remove() local
6183 struct ath11k *ar = skb_cb->ar; in ath11k_mac_vif_txmgmt_idr_remove()
6185 if (skb_cb->vif == vif) in ath11k_mac_vif_txmgmt_idr_remove()
6196 struct ath11k_skb_cb *skb_cb = ATH11K_SKB_CB(skb); in ath11k_mac_mgmt_tx_wmi() local
6225 if (!(skb_cb->flags & ATH11K_SKB_CIPHER_SET)) in ath11k_mac_mgmt_tx_wmi()
6228 enctype = ath11k_dp_tx_get_encrypt_type(skb_cb->cipher); in ath11k_mac_mgmt_tx_wmi()
6289 struct ath11k_skb_cb *skb_cb; in ath11k_mac_mgmt_action_frame_fill_elem_data() local
6317 skb_cb = ATH11K_SKB_CB(skb); in ath11k_mac_mgmt_action_frame_fill_elem_data()
6319 switch (skb_cb->cipher) { in ath11k_mac_mgmt_action_frame_fill_elem_data()
6437 struct ath11k_skb_cb *skb_cb; in ath11k_mgmt_over_wmi_tx_work() local
6523 struct ath11k_skb_cb *skb_cb = ATH11K_SKB_CB(skb); ath11k_mac_op_tx() local
7353 struct ath11k_skb_cb *skb_cb = ATH11K_SKB_CB(skb); ath11k_mac_vif_unref() local
[all...]
H A Dwmi.c277 struct ath11k_skb_cb *skb_cb = ATH11K_SKB_CB(skb); in ath11k_wmi_cmd_send_nowait() local
293 memset(skb_cb, 0, sizeof(*skb_cb)); in ath11k_wmi_cmd_send_nowait()
6019 struct ath11k_skb_cb *skb_cb; in wmi_process_mgmt_tx_comp() local
6035 skb_cb = ATH11K_SKB_CB(msdu); in wmi_process_mgmt_tx_comp()
6036 dma_unmap_single(ar->ab->dev, skb_cb->paddr, msdu->len, DMA_TO_DEVICE); in wmi_process_mgmt_tx_comp()
/linux/net/bluetooth/
H A D6lowpan.c32 struct skb_cb { struct
37 #define lowpan_cb(skb) ((struct skb_cb *)((skb)->cb)) argument