/wlan-driver/qca-wifi-host-cmn/htc/ |
D | htc_recv.c | 245 QDF_STATUS htc_rx_completion_handler(void *Context, qdf_nbuf_t netbuf, in htc_rx_completion_handler() argument 266 target->CurRxSgTotalLen += qdf_nbuf_len(netbuf); in htc_rx_completion_handler() 267 qdf_nbuf_queue_add(&target->RxSgQueue, netbuf); in htc_rx_completion_handler() 269 netbuf = rx_sg_to_single_netbuf(target); in htc_rx_completion_handler() 270 if (!netbuf) { in htc_rx_completion_handler() 275 netbuf = NULL; in htc_rx_completion_handler() 283 netdata = qdf_nbuf_data(netbuf); in htc_rx_completion_handler() 284 netlen = qdf_nbuf_len(netbuf); in htc_rx_completion_handler() 301 netbuf, in htc_rx_completion_handler() 304 qdf_nbuf_data_addr(netbuf), in htc_rx_completion_handler() [all …]
|
D | htc_send.c | 117 qdf_nbuf_t netbuf = GET_HTC_PACKET_NET_BUF_CONTEXT(pPacket); in restore_tx_packet() local 120 qdf_nbuf_unmap(target->osdev, netbuf, QDF_DMA_TO_DEVICE); in restore_tx_packet() 125 qdf_nbuf_pull_head(netbuf, sizeof(HTC_FRAME_HDR)); in restore_tx_packet() 178 qdf_nbuf_t netbuf = GET_HTC_PACKET_NET_BUF_CONTEXT(pPacket); in log_packet_info() local 182 qdf_nbuf_pull_head(netbuf, sizeof(HTC_FRAME_HDR)); in log_packet_info() 184 qdf_nbuf_push_head(netbuf, sizeof(HTC_FRAME_HDR)); in log_packet_info() 221 qdf_nbuf_t netbuf; in allocate_htc_bundle_packet() local 226 netbuf = qdf_nbuf_alloc(NULL, in allocate_htc_bundle_packet() 229 AR_DEBUG_ASSERT(netbuf); in allocate_htc_bundle_packet() 230 if (!netbuf) in allocate_htc_bundle_packet() [all …]
|
D | htc.c | 63 qdf_nbuf_t netbuf; in destroy_htc_tx_ctrl_packet() local 65 netbuf = (qdf_nbuf_t) GET_HTC_PACKET_NET_BUF_CONTEXT(pPacket); in destroy_htc_tx_ctrl_packet() 66 if (netbuf) in destroy_htc_tx_ctrl_packet() 67 qdf_nbuf_free(netbuf); in destroy_htc_tx_ctrl_packet() 74 qdf_nbuf_t netbuf; in build_htc_tx_ctrl_packet() local 80 netbuf = qdf_nbuf_alloc(osdev, HTC_CONTROL_BUFFER_SIZE, in build_htc_tx_ctrl_packet() 82 if (!netbuf) { in build_htc_tx_ctrl_packet() 87 SET_HTC_PACKET_NET_BUF_CONTEXT(pPacket, netbuf); in build_htc_tx_ctrl_packet() 191 qdf_nbuf_t netbuf; in htc_cleanup() local 218 netbuf = GET_HTC_PACKET_NET_BUF_CONTEXT(pPacket); in htc_cleanup() [all …]
|
D | htc_services.c | 103 qdf_nbuf_t netbuf; in htc_connect_service() local 146 netbuf = in htc_connect_service() 154 qdf_nbuf_put_tail(netbuf, length); in htc_connect_service() 156 (HTC_CONNECT_SERVICE_MSG *) qdf_nbuf_data(netbuf); in htc_connect_service()
|
D | htc_internal.h | 315 QDF_STATUS htc_rx_completion_handler(void *Context, qdf_nbuf_t netbuf, 317 QDF_STATUS htc_tx_completion_handler(void *Context, qdf_nbuf_t netbuf,
|
/wlan-driver/qcacld-3.0/core/dp/txrx/ |
D | ol_tx_send.c | 290 tx_desc->netbuf, status != A_OK); in ol_tx_download_done_base() 634 qdf_nbuf_t netbuf; in ol_tx_pkt_capture_tx_completion_process() local 665 i = QDF_NBUF_CB_TX_NUM_EXTRA_FRAGS(tx_desc->netbuf); in ol_tx_pkt_capture_tx_completion_process() 668 QDF_NBUF_CB_TX_EXTRA_FRAG_LEN(tx_desc->netbuf); in ol_tx_pkt_capture_tx_completion_process() 669 nbuf_len = qdf_nbuf_len(tx_desc->netbuf) - extra_frag_len; in ol_tx_pkt_capture_tx_completion_process() 682 netbuf = qdf_nbuf_alloc(NULL, in ol_tx_pkt_capture_tx_completion_process() 685 if (!netbuf) in ol_tx_pkt_capture_tx_completion_process() 688 qdf_nbuf_put_tail(netbuf, nbuf_len); in ol_tx_pkt_capture_tx_completion_process() 705 qdf_nbuf_free(netbuf); in ol_tx_pkt_capture_tx_completion_process() 717 qdf_mem_copy(qdf_nbuf_data(netbuf) + frag_len, in ol_tx_pkt_capture_tx_completion_process() [all …]
|
D | ol_tx_desc.c | 660 ol_tx_get_wisa_ext_hdr_type(qdf_nbuf_t netbuf) in ol_tx_get_wisa_ext_hdr_type() argument 662 uint8_t *buf = qdf_nbuf_data(netbuf); in ol_tx_get_wisa_ext_hdr_type() 695 qdf_nbuf_t netbuf) in ol_tx_get_ext_header_type() argument 698 return ol_tx_get_wisa_ext_hdr_type(netbuf); in ol_tx_get_ext_header_type() 705 qdf_nbuf_t netbuf, in ol_tx_desc_ll() argument 714 msdu_info->htt.action.cksum_offload = qdf_nbuf_get_tx_cksum(netbuf); in ol_tx_desc_ll() 715 switch (qdf_nbuf_get_exemption_type(netbuf)) { in ol_tx_desc_ll() 736 tx_desc->netbuf = netbuf; in ol_tx_desc_ll() 742 TXRX_STATS_MSDU_INCR(pdev, tx.tso.tso_pkts, netbuf); in ol_tx_desc_ll() 747 type = ol_tx_get_ext_header_type(vdev, netbuf); in ol_tx_desc_ll() [all …]
|
D | ol_tx_classify.h | 76 qdf_nbuf_t netbuf, 83 qdf_nbuf_t netbuf, 88 #define ol_tx_classify(vdev, tx_desc, netbuf, tx_msdu_info) NULL argument 89 #define ol_tx_classify_mgmt(vdev, tx_desc, netbuf, tx_msdu_info) NULL argument
|
D | ol_tx_desc.h | 63 qdf_nbuf_t netbuf, 87 qdf_nbuf_t netbuf, 474 qdf_nbuf_t netbuf); 476 ol_tx_get_wisa_ext_type(qdf_nbuf_t netbuf);
|
D | ol_txrx_internal.h | 196 #define TXRX_STATS_MSDU_INCR(pdev, field, netbuf) \ argument 199 TXRX_STATS_ADD((pdev), pub.field.bytes, qdf_nbuf_len(netbuf)); \ 214 #define TXRX_STATS_MSDU_INCR_TX_STATUS(status, pdev, netbuf) do { \ argument 216 TXRX_STATS_MSDU_INCR(pdev, tx.delivered, netbuf); \ 219 netbuf); \ 221 TXRX_STATS_MSDU_INCR(pdev, tx.dropped.no_ack, netbuf); \ 224 netbuf); \ 227 netbuf); \
|
D | ol_tx_classify.c | 46 #define OL_TX_CLASSIFY_EXTENSION(vdev, tx_desc, netbuf, msdu_info, txq) argument 47 #define OL_TX_CLASSIFY_MGMT_EXTENSION(vdev, tx_desc, netbuf, msdu_info, txq) argument 78 #define OL_TX_CLASSIFY_HTT2_EXTENSION(vdev, netbuf, msdu_info) \ argument 79 ol_tx_classify_htt2_frm(vdev, netbuf, msdu_info) 81 #define OL_TX_CLASSIFY_HTT2_EXTENSION(vdev, netbuf, msdu_info) /* no-op */ argument
|
/wlan-driver/qca-wifi-host-cmn/hif/src/sdio/ |
D | hif_sdio_dev.c | 54 qdf_nbuf_t netbuf; in hif_dev_alloc_rx_buffer() local 59 netbuf = qdf_nbuf_alloc(NULL, bufsize + headsize, 0, 4, false); in hif_dev_alloc_rx_buffer() 60 if (!netbuf) { in hif_dev_alloc_rx_buffer() 64 packet = (HTC_PACKET *) qdf_nbuf_data(netbuf); in hif_dev_alloc_rx_buffer() 65 qdf_nbuf_reserve(netbuf, headsize); in hif_dev_alloc_rx_buffer() 69 qdf_nbuf_data(netbuf), in hif_dev_alloc_rx_buffer() 71 SET_HTC_PACKET_NET_BUF_CONTEXT(packet, netbuf); in hif_dev_alloc_rx_buffer()
|
/wlan-driver/qcacld-3.0/core/dp/htt/ |
D | htt_rx_ll.c | 245 static bool htt_rx_buff_pool_refill(struct htt_pdev_t *pdev, qdf_nbuf_t netbuf) in htt_rx_buff_pool_refill() argument 264 net_buf = netbuf; in htt_rx_buff_pool_refill() 357 static void htt_rx_ring_buff_free(struct htt_pdev_t *pdev, qdf_nbuf_t netbuf) in htt_rx_ring_buff_free() argument 362 QDF_NBUF_CB_RX_PACKET_BUFF_POOL(netbuf)) { in htt_rx_ring_buff_free() 366 qdf_nbuf_reset(netbuf, 0, 4); in htt_rx_ring_buff_free() 369 QDF_NBUF_CB_RX_PACKET_BUFF_POOL(netbuf) = 1; in htt_rx_ring_buff_free() 375 pdev->rx_buff_pool.netbufs_ring[i] = netbuf; in htt_rx_ring_buff_free() 384 qdf_nbuf_free(netbuf); in htt_rx_ring_buff_free() 1128 qdf_nbuf_t netbuf) in htt_rx_hash_list_insert() argument 1166 hash_element->netbuf = netbuf; in htt_rx_hash_list_insert() [all …]
|
D | htt.c | 123 qdf_nbuf_t netbuf; in htt_htc_misc_pkt_list_trim() local 131 netbuf = in htt_htc_misc_pkt_list_trim() 133 qdf_nbuf_unmap(pdev->osdev, netbuf, QDF_DMA_TO_DEVICE); in htt_htc_misc_pkt_list_trim() 134 qdf_nbuf_free(netbuf); in htt_htc_misc_pkt_list_trim() 171 qdf_nbuf_t netbuf; in htt_htc_misc_pkt_pool_free() local 187 netbuf = (qdf_nbuf_t) (pkt->u.pkt.htc_pkt.pNetBufContext); in htt_htc_misc_pkt_pool_free() 188 qdf_nbuf_unmap(pdev->osdev, netbuf, QDF_DMA_TO_DEVICE); in htt_htc_misc_pkt_pool_free() 189 qdf_nbuf_free(netbuf); in htt_htc_misc_pkt_pool_free()
|
D | htt_internal.h | 628 qdf_nbuf_t netbuf); 633 qdf_nbuf_t netbuf) in htt_rx_hash_list_insert() argument 845 qdf_nbuf_t netbuf) in htt_rx_dbg_rxbuf_reset() argument 851 index = QDF_NBUF_CB_RX_MAP_IDX(netbuf); in htt_rx_dbg_rxbuf_reset() 949 qdf_nbuf_t netbuf) in htt_rx_dbg_rxbuf_reset() argument
|
/wlan-driver/qca-wifi-host-cmn/hif/src/sdio/transfer/ |
D | transfer.c | 60 qdf_nbuf_t buf = sctx->netbuf; in hif_dev_rw_completion_handler() 138 sctx->netbuf = buf; in hif_dev_send_buffer() 344 qdf_nbuf_t netbuf; in hif_dev_alloc_and_prepare_rx_packets() local 349 netbuf = (qdf_nbuf_t)packet->pNetBufContext; in hif_dev_alloc_and_prepare_rx_packets() 350 if (netbuf) in hif_dev_alloc_and_prepare_rx_packets() 351 qdf_nbuf_free(netbuf); in hif_dev_alloc_and_prepare_rx_packets() 703 qdf_nbuf_t netbuf; in hif_dev_free_recv_pkt_queue() local 709 netbuf = (qdf_nbuf_t)packet->pNetBufContext; in hif_dev_free_recv_pkt_queue() 710 if (netbuf) in hif_dev_free_recv_pkt_queue() 711 qdf_nbuf_free(netbuf); in hif_dev_free_recv_pkt_queue()
|
D | transfer.h | 63 qdf_nbuf_t netbuf; member
|
/wlan-driver/qcacld-3.0/components/pkt_capture/core/src/ |
D | wlan_pkt_capture_main.c | 280 qdf_nbuf_t netbuf; in pkt_capture_process_tx_data() local 319 netbuf = qdf_nbuf_alloc(NULL, in pkt_capture_process_tx_data() 323 if (!netbuf) in pkt_capture_process_tx_data() 326 qdf_nbuf_put_tail(netbuf, nbuf_len); in pkt_capture_process_tx_data() 341 qdf_nbuf_free(netbuf); in pkt_capture_process_tx_data() 353 qdf_nbuf_data(netbuf) + frag_len, in pkt_capture_process_tx_data() 360 qdf_mem_copy((qdf_nbuf_data(netbuf) + in pkt_capture_process_tx_data() 363 qdf_mem_copy((qdf_nbuf_data(netbuf) + in pkt_capture_process_tx_data() 367 qdf_mem_copy(qdf_nbuf_data(netbuf), in pkt_capture_process_tx_data() 371 if (qdf_unlikely(qdf_nbuf_headroom(netbuf) < txcap_hdr_size)) { in pkt_capture_process_tx_data() [all …]
|
D | wlan_pkt_capture_data_txrx.c | 1594 qdf_nbuf_t netbuf; in pkt_capture_offload_deliver_indication_handler() local 1610 netbuf = qdf_nbuf_alloc(NULL, in pkt_capture_offload_deliver_indication_handler() 1614 if (!netbuf) in pkt_capture_offload_deliver_indication_handler() 1617 qdf_nbuf_put_tail(netbuf, nbuf_len); in pkt_capture_offload_deliver_indication_handler() 1619 qdf_mem_copy(qdf_nbuf_data(netbuf), in pkt_capture_offload_deliver_indication_handler() 1624 netbuf, in pkt_capture_offload_deliver_indication_handler() 1627 qdf_mem_copy(qdf_nbuf_data(netbuf), txhdr, in pkt_capture_offload_deliver_indication_handler() 1636 netbuf, TXRX_PROCESS_TYPE_DATA_TX, in pkt_capture_offload_deliver_indication_handler() 1646 qdf_nbuf_t netbuf; in pkt_capture_offload_deliver_indication_handler() local 1678 netbuf = qdf_nbuf_alloc(NULL, in pkt_capture_offload_deliver_indication_handler() [all …]
|
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/ |
D | dp_txrx_wds.c | 847 qdf_nbuf_t netbuf, in dp_get_completion_indication_for_stack() argument 879 if (qdf_unlikely(qdf_nbuf_headroom(netbuf) < txcap_hdr_size)) { in dp_get_completion_indication_for_stack() 880 netbuf = qdf_nbuf_realloc_headroom(netbuf, txcap_hdr_size); in dp_get_completion_indication_for_stack() 881 if (!netbuf) { in dp_get_completion_indication_for_stack() 888 if (!qdf_nbuf_push_head(netbuf, txcap_hdr_size)) { in dp_get_completion_indication_for_stack() 894 ppdu_hdr = (struct tx_capture_hdr *)qdf_nbuf_data(netbuf); in dp_get_completion_indication_for_stack() 918 qdf_nbuf_t netbuf) in dp_send_completion_to_stack() argument 921 netbuf, peer_id, in dp_send_completion_to_stack()
|
/wlan-driver/qcacld-3.0/core/hdd/src/ |
D | wlan_hdd_tsf.c | 2373 enum hdd_tsf_op_result hdd_netbuf_timestamp(qdf_nbuf_t netbuf, in hdd_netbuf_timestamp() argument 2377 struct net_device *net_dev = netbuf->dev; in hdd_netbuf_timestamp() 2389 netbuf->tstamp = ns_to_ktime(host_time); in hdd_netbuf_timestamp() 2399 enum hdd_tsf_op_result hdd_netbuf_timestamp(qdf_nbuf_t netbuf, in hdd_netbuf_timestamp() argument 2403 struct net_device *net_dev = netbuf->dev; in hdd_netbuf_timestamp() 2423 *skb_hwtstamps(netbuf) = hwtstamps; in hdd_netbuf_timestamp() 2424 netbuf->tstamp = ktime_set(0, 0); in hdd_netbuf_timestamp() 2448 qdf_nbuf_t netbuf, uint64_t target_time) in hdd_tx_timestamp() argument 2450 struct sock *sk = netbuf->sk; in hdd_tx_timestamp() 2455 if ((skb_shinfo(netbuf)->tx_flags & SKBTX_HW_TSTAMP) && in hdd_tx_timestamp() [all …]
|
/wlan-driver/qcacld-3.0/core/hdd/inc/ |
D | wlan_hdd_tx_rx.h | 121 void hdd_tsf_timestamp_rx(hdd_cb_handle ctx, qdf_nbuf_t netbuf); 135 void hdd_tsf_timestamp_rx(hdd_cb_handle ctx, qdf_nbuf_t netbuf) { } in hdd_tsf_timestamp_rx() argument
|
/wlan-driver/qca-wifi-host-cmn/utils/logging/src/ |
D | wlan_logging_sock_svc.c | 1669 uint8_t vdev_id, qdf_nbuf_t netbuf, in send_packetdump() argument 1675 if (!netbuf) { in send_packetdump() 1687 pktlog_hdr.size = sizeof(pd_hdr) + netbuf->len; in send_packetdump() 1698 wlan_pkt_stats_to_logger_thread(&pktlog_hdr, &pd_hdr, netbuf->data); in send_packetdump() 1792 qdf_nbuf_t netbuf, in tx_packetdump_cb() argument 1807 send_packetdump(soc, vdev_id, netbuf, tx_status, pkt_type); in tx_packetdump_cb() 1828 qdf_nbuf_t netbuf, in rx_packetdump_cb() argument 1843 send_packetdump(soc, vdev_id, netbuf, rx_status, pkt_type); in rx_packetdump_cb()
|
/wlan-driver/qcacld-3.0/core/dp/ol/inc/ |
D | ol_txrx_api.h | 59 qdf_nbuf_t netbuf, uint64_t target_time);
|
/wlan-driver/qcacld-3.0/core/wma/src/ |
D | wma_data.c | 1006 wma_data_tx_ack_comp_hdlr(void *wma_context, qdf_nbuf_t netbuf, int32_t status) in wma_data_tx_ack_comp_hdlr() argument 1015 if (!netbuf) { in wma_data_tx_ack_comp_hdlr() 1024 if (wma_handle->last_umac_data_nbuf != netbuf) { in wma_data_tx_ack_comp_hdlr() 1042 ack_work->frame = netbuf; in wma_data_tx_ack_comp_hdlr() 1048 qdf_nbuf_unmap_single(wma_handle->qdf_dev, netbuf, in wma_data_tx_ack_comp_hdlr() 1055 qdf_nbuf_free(netbuf); in wma_data_tx_ack_comp_hdlr() 1066 qdf_nbuf_unmap_single(wma_handle->qdf_dev, netbuf, QDF_DMA_TO_DEVICE); in wma_data_tx_ack_comp_hdlr() 1067 qdf_nbuf_free(netbuf); in wma_data_tx_ack_comp_hdlr() 1349 wma_mgmt_tx_ack_comp_hdlr(void *wma_context, qdf_nbuf_t netbuf, int32_t status) in wma_mgmt_tx_ack_comp_hdlr() argument 1358 desc_id = QDF_NBUF_CB_MGMT_TXRX_DESC_ID(netbuf); in wma_mgmt_tx_ack_comp_hdlr() [all …]
|