Home
last modified time | relevance | path

Searched refs:nbuf (Results 1 – 25 of 151) sorted by relevance

1234567

/wlan-driver/qcacld-3.0/components/dp/core/src/
Dwlan_dp_softap_txrx.c59 static void dp_softap_dump_nbuf(qdf_nbuf_t nbuf) in dp_softap_dump_nbuf() argument
62 "%s: head = %pK ", __func__, nbuf->head); in dp_softap_dump_nbuf()
64 "%s: tail = %pK ", __func__, nbuf->tail); in dp_softap_dump_nbuf()
66 "%s: end = %pK ", __func__, nbuf->end); in dp_softap_dump_nbuf()
68 "%s: len = %d ", __func__, nbuf->len); in dp_softap_dump_nbuf()
70 "%s: data_len = %d ", __func__, nbuf->data_len); in dp_softap_dump_nbuf()
72 "%s: mac_len = %d", __func__, nbuf->mac_len); in dp_softap_dump_nbuf()
75 "0x%x 0x%x 0x%x 0x%x 0x%x 0x%x 0x%x 0x%x ", nbuf->data[0], in dp_softap_dump_nbuf()
76 nbuf->data[1], nbuf->data[2], nbuf->data[3], nbuf->data[4], in dp_softap_dump_nbuf()
77 nbuf->data[5], nbuf->data[6], nbuf->data[7]); in dp_softap_dump_nbuf()
[all …]
Dwlan_dp_txrx.c86 void dp_event_eapol_log(qdf_nbuf_t nbuf, enum qdf_proto_dir dir) in dp_event_eapol_log() argument
93 QDF_NBUF_CB_GET_PACKET_TYPE(nbuf)) in dp_event_eapol_log()
95 else if (!qdf_nbuf_is_ipv4_eapol_pkt(nbuf)) in dp_event_eapol_log()
99 (nbuf->data + EAPOL_KEY_INFO_OFFSET)); in dp_event_eapol_log()
106 (nbuf->data + EAPOL_PACKET_TYPE_OFFSET)); in dp_event_eapol_log()
110 (nbuf->data + QDF_NBUF_DEST_MAC_OFFSET), in dp_event_eapol_log()
113 (nbuf->data + QDF_NBUF_SRC_MAC_OFFSET), in dp_event_eapol_log()
120 static int dp_intf_is_tx_allowed(qdf_nbuf_t nbuf, in dp_intf_is_tx_allowed() argument
130 (qdf_ntohs(qdf_nbuf_get_protocol(nbuf)) == ETHERTYPE_PAE || in dp_intf_is_tx_allowed()
131 IS_DP_ETHERTYPE_WAI(nbuf))) in dp_intf_is_tx_allowed()
[all …]
Dwlan_dp_fisa_rx.c42 static void hex_dump_skb_data(qdf_nbuf_t nbuf, bool dump) in hex_dump_skb_data() argument
50 if (!nbuf) in hex_dump_skb_data()
54 (void *)QDF_RET_IP, nbuf, qdf_nbuf_next(nbuf), in hex_dump_skb_data()
55 qdf_nbuf_get_ext_list(nbuf), qdf_nbuf_data(nbuf), in hex_dump_skb_data()
56 qdf_nbuf_len(nbuf), qdf_nbuf_get_only_data_len(nbuf)); in hex_dump_skb_data()
58 nbuf->data, 64); in hex_dump_skb_data()
60 next_nbuf = qdf_nbuf_get_ext_list(nbuf); in hex_dump_skb_data()
102 static void hex_dump_skb_data(qdf_nbuf_t nbuf, bool dump) in hex_dump_skb_data() argument
114 void dp_fisa_record_pkt(struct dp_fisa_rx_sw_ft *fisa_flow, qdf_nbuf_t nbuf, in dp_fisa_record_pkt() argument
131 void dp_fisa_record_pkt(struct dp_fisa_rx_sw_ft *fisa_flow, qdf_nbuf_t nbuf, in dp_fisa_record_pkt() argument
[all …]
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/li/
Ddp_li_rx.c49 qdf_nbuf_t nbuf, struct hal_rx_msdu_metadata msdu_info) in is_sa_da_idx_valid() argument
51 if ((qdf_nbuf_is_sa_valid(nbuf) && (msdu_info.sa_idx > max_ast)) || in is_sa_da_idx_valid()
52 (!qdf_nbuf_is_da_mcbc(nbuf) && qdf_nbuf_is_da_valid(nbuf) && in is_sa_da_idx_valid()
73 qdf_nbuf_t nbuf) in dp_rx_mec_check_wrapper() argument
75 return dp_rx_mcast_echo_check(soc, txrx_peer, rx_tlv_hdr, nbuf); in dp_rx_mec_check_wrapper()
81 qdf_nbuf_t nbuf) in dp_rx_mec_check_wrapper() argument
90 dp_rx_intrabss_ucast_check_li(struct dp_soc *soc, qdf_nbuf_t nbuf, in dp_rx_intrabss_ucast_check_li() argument
100 if (!qdf_nbuf_is_da_valid(nbuf) || qdf_nbuf_is_da_mcbc(nbuf)) in dp_rx_intrabss_ucast_check_li()
160 qdf_nbuf_t nbuf, in dp_rx_intrabss_fwd_li() argument
174 if (qdf_nbuf_is_da_mcbc(nbuf) && !ta_txrx_peer->bss_peer) in dp_rx_intrabss_fwd_li()
[all …]
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/rh/
Ddp_rh_rx.c103 qdf_nbuf_t nbuf, struct hal_rx_msdu_metadata msdu_info) in is_sa_da_idx_valid() argument
105 if ((qdf_nbuf_is_sa_valid(nbuf) && (msdu_info.sa_idx > max_ast)) || in is_sa_da_idx_valid()
106 (!qdf_nbuf_is_da_mcbc(nbuf) && qdf_nbuf_is_da_valid(nbuf) && in is_sa_da_idx_valid()
126 qdf_nbuf_t nbuf) in dp_rx_mec_check_wrapper() argument
128 return dp_rx_mcast_echo_check(soc, txrx_peer, rx_tlv_hdr, nbuf); in dp_rx_mec_check_wrapper()
134 qdf_nbuf_t nbuf) in dp_rx_mec_check_wrapper() argument
141 dp_rx_intrabss_ucast_check_rh(struct dp_soc *soc, qdf_nbuf_t nbuf, in dp_rx_intrabss_ucast_check_rh() argument
151 if (!qdf_nbuf_is_da_valid(nbuf) || qdf_nbuf_is_da_mcbc(nbuf)) in dp_rx_intrabss_ucast_check_rh()
211 qdf_nbuf_t nbuf, in dp_rx_intrabss_fwd_rh() argument
225 if (qdf_nbuf_is_da_mcbc(nbuf) && !ta_txrx_peer->bss_peer) in dp_rx_intrabss_fwd_rh()
[all …]
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/
Ddp_rx_buffer_pool.c32 bool dp_rx_buffer_pool_refill(struct dp_soc *soc, qdf_nbuf_t nbuf, u8 mac_id) in dp_rx_buffer_pool_refill() argument
47 first_nbuf = nbuf; in dp_rx_buffer_pool_refill()
49 while (nbuf) { in dp_rx_buffer_pool_refill()
50 next_nbuf = qdf_nbuf_next(nbuf); in dp_rx_buffer_pool_refill()
76 nbuf = next_nbuf; in dp_rx_buffer_pool_refill()
79 nbuf = first_nbuf; in dp_rx_buffer_pool_refill()
82 while (nbuf) { in dp_rx_buffer_pool_refill()
83 next_nbuf = qdf_nbuf_next(nbuf); in dp_rx_buffer_pool_refill()
84 dp_rx_buffer_pool_nbuf_free(soc, nbuf, mac_id); in dp_rx_buffer_pool_refill()
85 nbuf = next_nbuf; in dp_rx_buffer_pool_refill()
[all …]
Ddp_rx.h145 qdf_nbuf_t nbuf; member
238 void dp_rx_set_hdr_pad(qdf_nbuf_t nbuf, uint32_t l3_padding) in dp_rx_set_hdr_pad() argument
240 QDF_NBUF_CB_RX_PACKET_L3_HDR_PAD(nbuf) = l3_padding; in dp_rx_set_hdr_pad()
244 void dp_rx_set_hdr_pad(qdf_nbuf_t nbuf, uint32_t l3_padding) in dp_rx_set_hdr_pad() argument
261 bool dp_rx_is_special_frame(qdf_nbuf_t nbuf, uint32_t frame_mask) in dp_rx_is_special_frame() argument
264 qdf_nbuf_is_ipv4_arp_pkt(nbuf)) || in dp_rx_is_special_frame()
266 qdf_nbuf_is_ipv4_dhcp_pkt(nbuf)) || in dp_rx_is_special_frame()
268 qdf_nbuf_is_ipv4_eapol_pkt(nbuf)) || in dp_rx_is_special_frame()
270 qdf_nbuf_is_ipv6_dhcp_pkt(nbuf)) || in dp_rx_is_special_frame()
272 qdf_nbuf_data_is_dns_query(nbuf)) || in dp_rx_is_special_frame()
[all …]
Ddp_rx_err.c63 qdf_nbuf_t nbuf) in dp_rx_mcast_echo_check() argument
81 data = qdf_nbuf_data(nbuf); in dp_rx_mcast_echo_check()
336 dp_rx_nbuf_unmap_pool(soc, rx_desc_pool, rx_desc->nbuf); in dp_rx_msdus_drop()
340 rx_desc->rx_buf_start = qdf_nbuf_data(rx_desc->nbuf); in dp_rx_msdus_drop()
348 rx_tlv_hdr = qdf_nbuf_data(rx_desc->nbuf); in dp_rx_msdus_drop()
353 rx_desc->nbuf, in dp_rx_msdus_drop()
356 dp_rx_buffer_pool_nbuf_free(soc, rx_desc->nbuf, *mac_id); in dp_rx_msdus_drop()
475 qdf_nbuf_t nbuf, uint32_t frame_mask, in dp_rx_deliver_oor_frame() argument
485 if (qdf_unlikely(qdf_nbuf_is_frag(nbuf))) { in dp_rx_deliver_oor_frame()
488 msdu_len = QDF_NBUF_CB_RX_PKT_LEN(nbuf); in dp_rx_deliver_oor_frame()
[all …]
Ddp_rx.c204 qdf_nbuf_t nbuf) in dp_rx_mark_first_packet_after_wow_wakeup() argument
213 qdf_nbuf_mark_wakeup_frame(nbuf); in dp_rx_mark_first_packet_after_wow_wakeup()
345 (nbuf_frag_info_t->virt_addr).nbuf = in dp_pdev_nbuf_alloc_and_map_replenish()
350 if (!((nbuf_frag_info_t->virt_addr).nbuf)) { in dp_pdev_nbuf_alloc_and_map_replenish()
360 (nbuf_frag_info_t->virt_addr).nbuf, mac_id); in dp_pdev_nbuf_alloc_and_map_replenish()
367 qdf_nbuf_get_frag_paddr((nbuf_frag_info_t->virt_addr).nbuf, 0); in dp_pdev_nbuf_alloc_and_map_replenish()
369 (nbuf_frag_info_t->virt_addr).nbuf), in dp_pdev_nbuf_alloc_and_map_replenish()
373 ret = dp_check_paddr(dp_soc, &((nbuf_frag_info_t->virt_addr).nbuf), in dp_pdev_nbuf_alloc_and_map_replenish()
396 qdf_nbuf_t nbuf; in __dp_rx_buffers_no_map_lt_replenish() local
449 nbuf = dp_rx_nbuf_alloc(soc, rx_desc_pool); in __dp_rx_buffers_no_map_lt_replenish()
[all …]
Ddp_tx.c448 static uint8_t dp_tx_prepare_htt_metadata(struct dp_vdev *vdev, qdf_nbuf_t nbuf, in dp_tx_prepare_htt_metadata() argument
472 if (qdf_unlikely(qdf_nbuf_headroom(nbuf) < in dp_tx_prepare_htt_metadata()
474 nbuf = qdf_nbuf_realloc_headroom(nbuf, in dp_tx_prepare_htt_metadata()
476 if (!nbuf) { in dp_tx_prepare_htt_metadata()
491 hdr = qdf_nbuf_push_head(nbuf, htt_desc_size_aligned); in dp_tx_prepare_htt_metadata()
917 qdf_nbuf_t nbuf) in dp_tx_is_nbuf_marked_exception() argument
919 return QDF_NBUF_CB_TX_PACKET_TO_FW(nbuf); in dp_tx_is_nbuf_marked_exception()
923 qdf_nbuf_t nbuf) in dp_tx_is_nbuf_marked_exception() argument
942 qdf_nbuf_t nbuf) in dp_tx_get_traffic_end_indication_pkt() argument
950 if (qdf_unlikely(QDF_NBUF_CB_GET_PACKET_TYPE(nbuf) == in dp_tx_get_traffic_end_indication_pkt()
[all …]
Ddp_rx_desc.c168 rx_desc->nbuf); in dp_rx_desc_nbuf_collect()
172 rx_desc->nbuf); in dp_rx_desc_nbuf_collect()
185 qdf_nbuf_t nbuf = nbuf_unmap_list; in dp_rx_desc_nbuf_cleanup() local
188 while (nbuf) { in dp_rx_desc_nbuf_cleanup()
189 next = nbuf->next; in dp_rx_desc_nbuf_cleanup()
193 QDF_NBUF_CB_PADDR(nbuf), in dp_rx_desc_nbuf_cleanup()
197 soc, nbuf, buf_size, in dp_rx_desc_nbuf_cleanup()
200 dp_info_rl("Unable to unmap nbuf: %pK", nbuf); in dp_rx_desc_nbuf_cleanup()
202 qdf_nbuf_unmap_nbytes_single(soc->osdev, nbuf, in dp_rx_desc_nbuf_cleanup()
204 dp_rx_nbuf_free(nbuf); in dp_rx_desc_nbuf_cleanup()
[all …]
Ddp_tx.h53 qdf_nbuf_t nbuf, uint16_t sa_peer_id);
54 int dp_tx_proxy_arp(struct dp_vdev *vdev, qdf_nbuf_t nbuf);
152 qdf_nbuf_t nbuf; member
431 qdf_nbuf_t dp_tx_drop(struct cdp_soc_t *soc, uint8_t vdev_id, qdf_nbuf_t nbuf);
445 qdf_nbuf_t nbuf,
573 qdf_nbuf_t nbuf);
590 uint8_t vdev_id, qdf_nbuf_t nbuf);
607 qdf_nbuf_t nbuf,
626 uint8_t vdev_id, qdf_nbuf_t nbuf,
642 qdf_nbuf_t nbuf);
[all …]
/wlan-driver/qcacld-3.0/components/dp/core/inc/
Dwlan_dp_txrx.h130 qdf_nbuf_t nbuf,
142 qdf_nbuf_t nbuf, in dp_softap_inspect_dhcp_packet() argument
169 QDF_STATUS dp_softap_start_xmit(qdf_nbuf_t nbuf, struct wlan_dp_link *dp_link);
206 dp_start_xmit(struct wlan_dp_link *dp_link, qdf_nbuf_t nbuf);
283 qdf_nbuf_t nbuf);
332 dp_tx_rx_collect_connectivity_stats_info(qdf_nbuf_t nbuf, void *context,
336 dp_nbuf_fill_gso_size(qdf_netdev_t dev, qdf_nbuf_t nbuf) in dp_nbuf_fill_gso_size() argument
340 if (qdf_nbuf_is_cloned(nbuf) && qdf_nbuf_is_nonlinear(nbuf) && in dp_nbuf_fill_gso_size()
341 qdf_nbuf_get_gso_size(nbuf) == 0 && in dp_nbuf_fill_gso_size()
342 qdf_nbuf_is_ipv4_tcp_pkt(nbuf)) { in dp_nbuf_fill_gso_size()
[all …]
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/be/
Ddp_be_rx.c45 dp_rx_update_flow_info(qdf_nbuf_t nbuf, uint8_t *rx_tlv_hdr) in dp_rx_update_flow_info() argument
62 qdf_nbuf_set_rx_flow_idx_valid(nbuf, in dp_rx_update_flow_info()
67 dp_rx_update_flow_info(qdf_nbuf_t nbuf, uint8_t *rx_tlv_hdr) in dp_rx_update_flow_info() argument
76 qdf_nbuf_t nbuf) in dp_rx_msdu_done_fail_event_record() argument
87 entry->paddr = qdf_nbuf_get_frag_paddr(nbuf, 0); in dp_rx_msdu_done_fail_event_record()
98 qdf_nbuf_t nbuf) in dp_rx_msdu_done_fail_event_record() argument
109 qdf_nbuf_t nbuf) in dp_rx_wds_learn() argument
119 nbuf, in dp_rx_wds_learn()
137 qdf_nbuf_t nbuf) in dp_wds_ext_peer_learn_be() argument
151 if (qdf_nbuf_is_rx_chfrag_start(nbuf) && in dp_wds_ext_peer_learn_be()
[all …]
Ddp_be_rx.h57 qdf_nbuf_t nbuf,
410 qdf_nbuf_t nbuf,
541 void dp_rx_prefetch_nbuf_data_be(qdf_nbuf_t nbuf, qdf_nbuf_t next) in dp_rx_prefetch_nbuf_data_be() argument
556 void dp_rx_prefetch_nbuf_data_be(qdf_nbuf_t nbuf, qdf_nbuf_t next) in dp_rx_prefetch_nbuf_data_be() argument
599 qdf_prefetch((uint8_t *)(*last_prefetched_sw_desc)->nbuf); in dp_rx_prefetch_hw_sw_nbuf_32_byte_desc()
600 qdf_prefetch((uint8_t *)(*last_prefetched_sw_desc)->nbuf + 64); in dp_rx_prefetch_hw_sw_nbuf_32_byte_desc()
726 dp_rx_null_q_desc_handle_be(struct dp_soc *soc, qdf_nbuf_t nbuf,
733 dp_rx_set_msdu_lmac_id(qdf_nbuf_t nbuf, uint32_t peer_mdata) in dp_rx_set_msdu_lmac_id() argument
738 qdf_nbuf_set_lmac_id(nbuf, lmac_id); in dp_rx_set_msdu_lmac_id()
742 dp_rx_set_msdu_lmac_id(qdf_nbuf_t nbuf, uint32_t peer_mdata) in dp_rx_set_msdu_lmac_id() argument
[all …]
Ddp_be_tx.c62 qdf_nbuf_t nbuf; member
403 qdf_nbuf_len(tx_desc->nbuf), in dp_tx_process_htt_completion_be()
436 xmit_type = qdf_nbuf_get_vdev_xmit_type(tx_desc->nbuf); in dp_tx_process_htt_completion_be()
510 qdf_nbuf_t nbuf) in dp_tx_set_min_rates_for_critical_frames() argument
520 if (QDF_NBUF_CB_TX_EXTRA_IS_CRITICAL(nbuf)) { in dp_tx_set_min_rates_for_critical_frames()
532 qdf_nbuf_t nbuf) in dp_tx_set_min_rates_for_critical_frames() argument
550 qdf_nbuf_t nbuf) in dp_tx_set_particular_tx_queue() argument
555 if (qdf_unlikely(QDF_NBUF_CB_GET_PACKET_TYPE(nbuf) == in dp_tx_set_particular_tx_queue()
566 qdf_nbuf_t nbuf) in dp_tx_set_particular_tx_queue() argument
590 qdf_ether_header_t *eh = (qdf_ether_header_t *)qdf_nbuf_data(ptr->nbuf); in dp_tx_mlo_mcast_multipass_lookup()
[all …]
/wlan-driver/qcacld-3.0/core/cds/src/
Dcds_packet.c74 qdf_nbuf_t nbuf; in cds_packet_alloc_debug() local
76 nbuf = qdf_nbuf_alloc_debug(NULL, in cds_packet_alloc_debug()
81 if (nbuf) { in cds_packet_alloc_debug()
82 qdf_nbuf_put_tail(nbuf, size); in cds_packet_alloc_debug()
83 qdf_nbuf_set_protocol(nbuf, ETH_P_CONTROL); in cds_packet_alloc_debug()
84 *ppPacket = nbuf; in cds_packet_alloc_debug()
85 *data = qdf_nbuf_data(nbuf); in cds_packet_alloc_debug()
95 qdf_nbuf_t nbuf; in cds_packet_alloc() local
97 nbuf = qdf_nbuf_alloc(NULL, roundup(size + TX_PKT_MIN_HEADROOM, 4), in cds_packet_alloc()
100 if (nbuf) { in cds_packet_alloc()
[all …]
/wlan-driver/qca-wifi-host-cmn/iot_sim/core/
Diot_sim_utils.c40 iot_sim_update_beacon_template_struct(qdf_nbuf_t nbuf, in iot_sim_update_beacon_template_struct() argument
59 ie_len = wbuf_get_pktlen(nbuf) - in iot_sim_update_beacon_template_struct()
61 ie = (struct ie_header *)((uint8_t *)qdf_nbuf_data(nbuf) + in iot_sim_update_beacon_template_struct()
83 (uint8_t *)qdf_nbuf_data(nbuf)); in iot_sim_update_beacon_template_struct()
94 (uint8_t *)qdf_nbuf_data(nbuf)); in iot_sim_update_beacon_template_struct()
105 (uint8_t *)qdf_nbuf_data(nbuf)); in iot_sim_update_beacon_template_struct()
113 (uint8_t *)qdf_nbuf_data(nbuf)); in iot_sim_update_beacon_template_struct()
118 (uint8_t *)qdf_nbuf_data(nbuf)); in iot_sim_update_beacon_template_struct()
126 (uint8_t *)qdf_nbuf_data(nbuf)); in iot_sim_update_beacon_template_struct()
139 param->tmpl_len = wbuf_get_pktlen(nbuf); in iot_sim_update_beacon_template_struct()
[all …]
/wlan-driver/qca-wifi-host-cmn/qdf/inc/
Dqdf_tracepoint.h40 void qdf_trace_dp_packet(qdf_nbuf_t nbuf, enum qdf_proto_dir dir,
45 void qdf_trace_dp_packet(qdf_nbuf_t nbuf, enum qdf_proto_dir dir, in qdf_trace_dp_packet() argument
76 void qdf_trace_dp_rx_tcp_pkt(qdf_nbuf_t nbuf, uint32_t tcp_seq_num, in qdf_trace_dp_rx_tcp_pkt() argument
80 __qdf_trace_dp_rx_tcp_pkt(nbuf, tcp_seq_num, tcp_ack_num, in qdf_trace_dp_rx_tcp_pkt()
108 void qdf_trace_dp_tx_comp_tcp_pkt(qdf_nbuf_t nbuf, uint32_t tcp_seq_num, in qdf_trace_dp_tx_comp_tcp_pkt() argument
112 __qdf_trace_dp_tx_comp_tcp_pkt(nbuf, tcp_seq_num, tcp_ack_num, srcport, in qdf_trace_dp_tx_comp_tcp_pkt()
139 void qdf_trace_dp_rx_udp_pkt(qdf_nbuf_t nbuf, uint16_t ip_id, in qdf_trace_dp_rx_udp_pkt() argument
143 __qdf_trace_dp_rx_udp_pkt(nbuf, ip_id, srcport, dstport, latency); in qdf_trace_dp_rx_udp_pkt()
169 void qdf_trace_dp_tx_comp_udp_pkt(qdf_nbuf_t nbuf, uint16_t ip_id, in qdf_trace_dp_tx_comp_udp_pkt() argument
173 __qdf_trace_dp_tx_comp_udp_pkt(nbuf, ip_id, srcport, dstport, latency); in qdf_trace_dp_tx_comp_udp_pkt()
[all …]
Dqdf_nbuf.h1490 qdf_nbuf_t nbuf) in qdf_nbuf_queue_head_enqueue_tail() argument
1492 return __qdf_nbuf_queue_head_enqueue_tail(nbuf_queue_head, nbuf); in qdf_nbuf_queue_head_enqueue_tail()
2134 static inline uint8_t qdf_nbuf_is_tso(qdf_nbuf_t nbuf) in qdf_nbuf_is_tso() argument
2136 return __qdf_nbuf_is_tso(nbuf); in qdf_nbuf_is_tso()
2147 static inline int qdf_nbuf_get_users(qdf_nbuf_t nbuf) in qdf_nbuf_get_users() argument
2149 return __qdf_nbuf_get_users(nbuf); in qdf_nbuf_get_users()
2178 QDF_STATUS qdf_nbuf_smmu_map_debug(qdf_nbuf_t nbuf,
2196 QDF_STATUS qdf_nbuf_smmu_unmap_debug(qdf_nbuf_t nbuf,
2247 void qdf_nbuf_history_add(qdf_nbuf_t nbuf, const char *func, uint32_t line,
2315 void qdf_net_buf_debug_update_smmu_map_node(qdf_nbuf_t nbuf,
[all …]
/wlan-driver/qcacld-3.0/components/pkt_capture/core/src/
Dwlan_pkt_capture_mgmt_txrx.c134 qdf_nbuf_t nbuf, uint8_t status) in pkt_capture_mgmtpkt_process() argument
168 wh = (struct ieee80211_frame *)(qdf_nbuf_data(nbuf)); in pkt_capture_mgmtpkt_process()
181 auth = (tSirMacAuthFrameBody *)(qdf_nbuf_data(nbuf) + in pkt_capture_mgmtpkt_process()
208 if (qdf_nbuf_len(nbuf) < (sizeof(tSirMacMgmtHdr) + in pkt_capture_mgmtpkt_process()
211 qdf_nbuf_free(nbuf); in pkt_capture_mgmtpkt_process()
215 status = (uint16_t)(*(qdf_nbuf_data(nbuf) + in pkt_capture_mgmtpkt_process()
245 headroom = qdf_nbuf_headroom(nbuf); in pkt_capture_mgmtpkt_process()
246 qdf_nbuf_update_radiotap(txrx_status, nbuf, headroom); in pkt_capture_mgmtpkt_process()
256 pkt->monpkt = nbuf; in pkt_capture_mgmtpkt_process()
318 qdf_nbuf_t nbuf) in pkt_capture_process_rmf_frame() argument
[all …]
/wlan-driver/qcacld-3.0/core/hdd/src/
Dwlan_hdd_ipa.c181 void hdd_ipa_send_nbuf_to_network(qdf_nbuf_t nbuf, qdf_netdev_t dev) in hdd_ipa_send_nbuf_to_network() argument
194 kfree_skb(nbuf); in hdd_ipa_send_nbuf_to_network()
199 kfree_skb(nbuf); in hdd_ipa_send_nbuf_to_network()
204 hdd_ipa_update_rx_mcbc_stats(adapter, nbuf); in hdd_ipa_send_nbuf_to_network()
207 (qdf_nbuf_is_ipv4_dhcp_pkt(nbuf) == true)) { in hdd_ipa_send_nbuf_to_network()
212 ucfg_dp_softap_inspect_dhcp_packet(vdev, nbuf, QDF_RX); in hdd_ipa_send_nbuf_to_network()
217 is_eapol = qdf_nbuf_is_ipv4_eapol_pkt(nbuf); in hdd_ipa_send_nbuf_to_network()
219 qdf_dp_trace_set_track(nbuf, QDF_RX); in hdd_ipa_send_nbuf_to_network()
221 ucfg_dp_event_eapol_log(nbuf, QDF_RX); in hdd_ipa_send_nbuf_to_network()
223 nbuf, QDF_RX, QDF_TRACE_DEFAULT_PDEV_ID, in hdd_ipa_send_nbuf_to_network()
[all …]
/wlan-driver/qca-wifi-host-cmn/qdf/linux/src/
Dqdf_pkt_add_timestamp.c96 uint32_t qdf_get_tcp_offset(qdf_nbuf_t nbuf, uint16_t offset) in qdf_get_tcp_offset() argument
99 uint8_t *skb_data = (uint8_t *)qdf_nbuf_data(nbuf); in qdf_get_tcp_offset()
112 uint32_t qdf_get_udp_offset(qdf_nbuf_t nbuf, uint16_t offset) in qdf_get_udp_offset() argument
115 uint8_t *skb_data = (uint8_t *)qdf_nbuf_data(nbuf); in qdf_get_udp_offset()
126 void qdf_add_ts(qdf_nbuf_t nbuf, uint32_t offset, in qdf_add_ts() argument
135 total_offset = qdf_get_tcp_offset(nbuf, offset); in qdf_add_ts()
137 total_offset = qdf_get_udp_offset(nbuf, offset); in qdf_add_ts()
141 if (qdf_nbuf_len(nbuf) < total_offset + sizeof(struct ts)) in qdf_add_ts()
144 ts_ptr = (struct ts *)(qdf_nbuf_data(nbuf) + total_offset); in qdf_add_ts()
151 void qdf_add_dp_pkt_timestamp(qdf_nbuf_t nbuf, in qdf_add_dp_pkt_timestamp() argument
[all …]
Dqdf_tracepoint.c25 static void qdf_trace_dp_tx_ip_packet(qdf_nbuf_t nbuf, uint8_t *trans_hdr, in qdf_trace_dp_tx_ip_packet() argument
40 __qdf_trace_dp_tx_comp_tcp_pkt(nbuf, tcp_seq, in qdf_trace_dp_tx_ip_packet()
49 __qdf_trace_dp_tx_comp_udp_pkt(nbuf, qdf_ntohs(ip_id), in qdf_trace_dp_tx_ip_packet()
54 __qdf_trace_dp_tx_comp_generic_ip_pkt(nbuf, ip_proto, ip_id, in qdf_trace_dp_tx_ip_packet()
60 static void qdf_trace_dp_rx_ip_packet(qdf_nbuf_t nbuf, uint8_t *trans_hdr, in qdf_trace_dp_rx_ip_packet() argument
68 __qdf_trace_dp_rx_tcp_pkt(nbuf, qdf_ntohl(tcph->seq), in qdf_trace_dp_rx_ip_packet()
77 __qdf_trace_dp_rx_udp_pkt(nbuf, qdf_ntohs(ip_id), in qdf_trace_dp_rx_ip_packet()
82 __qdf_trace_dp_rx_generic_ip_pkt(nbuf, ip_proto, ip_id, in qdf_trace_dp_rx_ip_packet()
88 void qdf_trace_dp_packet(qdf_nbuf_t nbuf, enum qdf_proto_dir dir, in qdf_trace_dp_packet() argument
91 uint8_t *data = qdf_nbuf_data(nbuf); in qdf_trace_dp_packet()
[all …]
/wlan-driver/qca-wifi-host-cmn/hif/src/sdio/transfer/
Dadma.c317 if (rx_q_elem->nbuf) in hif_disable_func()
318 qdf_nbuf_free(rx_q_elem->nbuf); in hif_disable_func()
387 qdf_nbuf_t nbuf = NULL; in hif_sdio_get_nbuf() local
397 nbuf = elem->nbuf; in hif_sdio_get_nbuf()
412 return nbuf; in hif_sdio_get_nbuf()
417 qdf_nbuf_t nbuf; in hif_sdio_get_nbuf() local
422 nbuf = qdf_nbuf_alloc(NULL, buf_len, 0, 4, false); in hif_sdio_get_nbuf()
424 return nbuf; in hif_sdio_get_nbuf()
451 rx_q_elem->nbuf = qdf_nbuf_alloc(NULL, HIF_SDIO_RX_BUFFER_SIZE, in hif_sdio_rx_q_alloc()
453 if (!rx_q_elem->nbuf) { in hif_sdio_rx_q_alloc()
[all …]

1234567