/wlan-driver/qcacld-3.0/core/dp/txrx/ |
D | ol_tx_ll_fastpath.c | 104 struct ol_txrx_msdu_info_t *msdu_info, in ol_tx_tso_adjust_pkt_dnld_len() argument 112 eit_hdr_len = msdu_info->tso_info.curr_seg->seg.tso_frags[0].length; in ol_tx_tso_adjust_pkt_dnld_len() 124 struct ol_txrx_msdu_info_t *msdu_info, in ol_tx_tso_adjust_pkt_dnld_len() argument 150 struct ol_txrx_msdu_info_t *msdu_info) in ol_tx_prepare_ll_fast() argument 158 tx_desc = ol_tx_desc_alloc_wrapper(pdev, vdev, msdu_info); in ol_tx_prepare_ll_fast() 163 if (msdu_info->tso_info.is_tso) { in ol_tx_prepare_ll_fast() 164 tx_desc->tso_desc = msdu_info->tso_info.curr_seg; in ol_tx_prepare_ll_fast() 168 tx_desc->tso_num_desc = msdu_info->tso_info.tso_num_seg_list; in ol_tx_prepare_ll_fast() 199 &msdu_info->htt, in ol_tx_prepare_ll_fast() 200 &msdu_info->tso_info, in ol_tx_prepare_ll_fast() [all …]
|
D | ol_tx_ll_legacy.c | 59 struct ol_txrx_msdu_info_t msdu_info; in ol_tx_ll() local 62 msdu_info.htt.info.l2_hdr_type = vdev->pdev->htt_pkt_type; in ol_tx_ll() 63 msdu_info.htt.action.tx_comp_req = 0; in ol_tx_ll() 75 msdu_info.htt.info.ext_tid = qdf_nbuf_get_tid(msdu); in ol_tx_ll() 76 msdu_info.peer = NULL; in ol_tx_ll() 78 if (qdf_unlikely(ol_tx_prepare_tso(vdev, msdu, &msdu_info))) { in ol_tx_ll() 86 segments = msdu_info.tso_info.num_segs; in ol_tx_ll() 88 if (msdu_info.tso_info.is_tso) { in ol_tx_ll() 91 msdu_info.tso_info.msdu_stats_idx = tso_msdu_stats_idx; in ol_tx_ll() 93 &(msdu_info.tso_info), in ol_tx_ll() [all …]
|
D | ol_tx_ll.c | 68 struct ol_txrx_msdu_info_t msdu_info; in ol_tx_reinject() local 70 msdu_info.htt.info.l2_hdr_type = vdev->pdev->htt_pkt_type; in ol_tx_reinject() 71 msdu_info.htt.info.ext_tid = HTT_TX_EXT_TID_INVALID; in ol_tx_reinject() 72 msdu_info.peer = NULL; in ol_tx_reinject() 73 msdu_info.htt.action.tx_comp_req = 0; in ol_tx_reinject() 74 msdu_info.tso_info.is_tso = 0; in ol_tx_reinject() 76 tx_desc = ol_tx_prepare_ll(vdev, msdu, &msdu_info); in ol_tx_reinject() 100 struct ol_txrx_msdu_info_t *msdu_info) in ol_tx_prepare_ll() argument 105 (msdu_info)->htt.info.frame_type = pdev->htt_pkt_type; in ol_tx_prepare_ll() 106 tx_desc = ol_tx_desc_ll(pdev, vdev, msdu, msdu_info); in ol_tx_prepare_ll() [all …]
|
D | ol_tx_desc.c | 270 struct ol_txrx_msdu_info_t *msdu_info) in ol_tx_desc_alloc_wrapper() argument 346 struct ol_txrx_msdu_info_t *msdu_info) in ol_tx_desc_alloc_wrapper() argument 348 if (qdf_unlikely(msdu_info->htt.info.frame_type == htt_pkt_type_mgmt)) in ol_tx_desc_alloc_wrapper() 357 struct ol_txrx_msdu_info_t *msdu_info) in ol_tx_desc_alloc_wrapper() argument 375 struct ol_txrx_msdu_info_t *msdu_info) in ol_tx_desc_alloc_hl() argument 379 tx_desc = ol_tx_desc_alloc_wrapper(pdev, vdev, msdu_info); in ol_tx_desc_alloc_hl() 706 struct ol_txrx_msdu_info_t *msdu_info) in ol_tx_desc_ll() argument 713 msdu_info->htt.info.vdev_id = vdev->vdev_id; in ol_tx_desc_ll() 714 msdu_info->htt.action.cksum_offload = qdf_nbuf_get_tx_cksum(netbuf); in ol_tx_desc_ll() 719 msdu_info->htt.action.do_encrypt = 1; in ol_tx_desc_ll() [all …]
|
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 772 struct ol_txrx_msdu_info_t *msdu_info) in ol_tx_classify_extension() argument 805 if (!msdu_info->htt.info.is_unicast) { in ol_tx_classify_extension() 809 if (msdu_info->htt.info.l2_hdr_type == htt_pkt_type_ethernet) { in ol_tx_classify_extension() 834 msdu_info->htt.info.l3_hdr_offset = l2_hdr_size; in ol_tx_classify_extension() 835 msdu_info->htt.info.ethertype = ethertype; in ol_tx_classify_extension() [all …]
|
D | ol_txrx_encap.h | 51 qdf_nbuf_t msdu, struct ol_txrx_msdu_info_t *msdu_info); 83 qdf_nbuf_t msdu, struct ol_txrx_msdu_info_t *msdu_info) in OL_TX_ENCAP() argument 86 return ol_tx_encap(vdev, tx_desc, msdu, msdu_info); in OL_TX_ENCAP() 107 #define OL_TX_ENCAP(vdev, tx_desc, msdu, msdu_info) A_OK argument
|
D | ol_tx_desc.h | 40 struct ol_txrx_msdu_info_t *msdu_info); 64 struct ol_txrx_msdu_info_t *msdu_info); 88 struct ol_txrx_msdu_info_t *msdu_info); 240 struct ol_txrx_msdu_info_t *msdu_info, 249 #define ol_free_remaining_tso_segs(vdev, msdu_info, is_tso_seg_mapping_done) argument
|
D | ol_tx.h | 53 struct ol_txrx_msdu_info_t *msdu_info); 309 struct ol_txrx_msdu_info_t *msdu_info); 339 struct ol_txrx_msdu_info_t *msdu_info) in ol_tx_prepare_tso() argument
|
D | ol_tx_queue.h | 46 struct ol_txrx_msdu_info_t *msdu_info, 84 struct ol_txrx_msdu_info_t *msdu_info, in ol_tx_queue_log_enqueue() argument
|
D | ol_txrx_encap.c | 264 qdf_nbuf_t msdu, struct ol_txrx_msdu_info_t *msdu_info) in ol_tx_encap() argument 270 msdu_info); in ol_tx_encap() 272 return ol_tx_encap_from_8023(vdev, tx_desc, msdu, msdu_info); in ol_tx_encap()
|
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/ |
D | dp_tx.c | 449 struct dp_tx_msdu_info_s *msdu_info) in dp_tx_prepare_htt_metadata() argument 451 uint32_t *meta_data = msdu_info->meta_data; in dp_tx_prepare_htt_metadata() 468 if (vdev->mesh_vdev || msdu_info->is_tx_sniffer || in dp_tx_prepare_htt_metadata() 469 HTT_TX_MSDU_EXT2_DESC_FLAG_VALID_KEY_FLAGS_GET(msdu_info-> in dp_tx_prepare_htt_metadata() 471 msdu_info->exception_fw) { in dp_tx_prepare_htt_metadata() 483 tx_i[msdu_info->xmit_type].dropped.headroom_insufficient, in dp_tx_prepare_htt_metadata() 573 struct dp_tx_msdu_info_s *msdu_info) in dp_tx_free_tso_seg_list() argument 580 msdu_info->tx_queue.desc_pool_id, in dp_tx_free_tso_seg_list() 598 struct dp_tx_msdu_info_s *msdu_info) in dp_tx_free_tso_num_seg_list() argument 605 msdu_info->tx_queue.desc_pool_id, in dp_tx_free_tso_num_seg_list() [all …]
|
D | dp_tx.h | 52 struct dp_tx_msdu_info_s *msdu_info, 657 struct dp_tx_msdu_info_s *msdu_info, uint16_t peer_id, 684 struct dp_tx_msdu_info_s *msdu_info); 687 struct dp_tx_msdu_info_s *msdu_info); 851 struct dp_tx_msdu_info_s *msdu_info) in dp_tx_multipass_process() argument 873 struct dp_tx_msdu_info_s *msdu_info); 892 struct dp_tx_msdu_info_s *msdu_info, 1403 struct dp_tx_msdu_info_s *msdu_info, 1441 struct dp_tx_msdu_info_s *msdu_info, in dp_tx_attempt_coalescing() argument
|
/wlan-driver/qcacld-3.0/core/dp/ol/inc/ |
D | ol_htt_tx_api.h | 282 static inline void htt_msdu_info_dump(struct htt_msdu_info_t *msdu_info) in htt_msdu_info_dump() argument 285 "HTT MSDU info object (%pK)\n", msdu_info); in htt_msdu_info_dump() 287 " ethertype: %#x\n", msdu_info->info.ethertype); in htt_msdu_info_dump() 289 " peer_id: %d\n", msdu_info->info.peer_id); in htt_msdu_info_dump() 291 " vdev_id: %d\n", msdu_info->info.vdev_id); in htt_msdu_info_dump() 293 " ext_tid: %d\n", msdu_info->info.ext_tid); in htt_msdu_info_dump() 295 " l2_hdr_type: %d\n", msdu_info->info.l2_hdr_type); in htt_msdu_info_dump() 297 " frame_type: %d\n", msdu_info->info.frame_type); in htt_msdu_info_dump() 299 " frame_subtype: %d\n", msdu_info->info.frame_subtype); in htt_msdu_info_dump() 301 " is_unicast: %u\n", msdu_info->info.is_unicast); in htt_msdu_info_dump() [all …]
|
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/be/ |
D | dp_be_tx.c | 626 struct dp_tx_msdu_info_s msdu_info; in dp_tx_mlo_mcast_multipass_send() local 641 qdf_mem_zero(&msdu_info, sizeof(msdu_info)); in dp_tx_mlo_mcast_multipass_send() 642 dp_tx_get_queue(ptnr_vdev, nbuf_clone, &msdu_info.tx_queue); in dp_tx_mlo_mcast_multipass_send() 643 msdu_info.gsn = be_vdev->mlo_dev_ctxt->seq_num; in dp_tx_mlo_mcast_multipass_send() 644 msdu_info.xmit_type = qdf_nbuf_get_vdev_xmit_type(ptr->nbuf); in dp_tx_mlo_mcast_multipass_send() 648 msdu_info.tid = HTT_TX_EXT_TID_INVALID; in dp_tx_mlo_mcast_multipass_send() 650 msdu_info.meta_data[0], 1); in dp_tx_mlo_mcast_multipass_send() 665 dp_tx_add_groupkey_metadata(ptnr_vdev, &msdu_info, group_key); in dp_tx_mlo_mcast_multipass_send() 666 msdu_info.exception_fw = 1; in dp_tx_mlo_mcast_multipass_send() 672 &msdu_info, in dp_tx_mlo_mcast_multipass_send() [all …]
|
D | dp_be_tx.h | 109 struct dp_tx_msdu_info_s *msdu_info);
|
/wlan-driver/qca-wifi-host-cmn/hal/wifi3.0/be/ |
D | hal_be_rx.h | 477 uint32_t *msdu_info; in hal_rx_msdu_desc_info_get_be() local 481 msdu_info = (uint32_t *)&reo_dst_ring->rx_msdu_desc_info_details; in hal_rx_msdu_desc_info_get_be() 483 hal_rx_msdu_flags_get_be((struct rx_msdu_desc_info *)msdu_info); in hal_rx_msdu_desc_info_get_be() 484 msdu_desc_info->msdu_len = HAL_RX_MSDU_PKT_LENGTH_GET(msdu_info); in hal_rx_msdu_desc_info_get_be() 562 uint32_t *msdu_info) in hal_rx_get_mpdu_msdu_desc_info_be() argument 570 *msdu_info = *(uint32_t *)(&reo_dst_ring->rx_msdu_desc_info_details); in hal_rx_get_mpdu_msdu_desc_info_be() 591 uint32_t *msdu_info, in hal_rx_wbm_err_mpdu_msdu_info_get_be() argument 597 *msdu_info = *(uint32_t *)&wbm_rx_err_ring->rx_msdu_desc_info_details; in hal_rx_wbm_err_mpdu_msdu_info_get_be()
|
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/monitor/1.0/ |
D | dp_rx_mon_1.0.h | 423 struct hal_rx_msdu_desc_info *msdu_info, in dp_rx_mon_parse_desc_buffer() argument 434 if (msdu_info->msdu_flags & HAL_MSDU_F_MSDU_CONTINUATION) { in dp_rx_mon_parse_desc_buffer() 438 *total_frag_len_p = msdu_info->msdu_len; in dp_rx_mon_parse_desc_buffer() 513 *frag_len_p = msdu_info->msdu_len; in dp_rx_mon_parse_desc_buffer() 747 struct hal_rx_msdu_desc_info *msdu_info, in dp_rx_mon_parse_desc_buffer() argument 767 if (msdu_info->msdu_flags & HAL_MSDU_F_MSDU_CONTINUATION) { in dp_rx_mon_parse_desc_buffer() 796 *frag_len_p = msdu_info->msdu_len - *total_frag_len_p; in dp_rx_mon_parse_desc_buffer() 804 *frag_len_p = msdu_info->msdu_len; in dp_rx_mon_parse_desc_buffer() 818 struct hal_rx_msdu_desc_info *msdu_info, in dp_rx_mon_parse_desc_buffer() argument 835 if (msdu_info->msdu_flags & HAL_MSDU_F_MSDU_CONTINUATION) { in dp_rx_mon_parse_desc_buffer() [all …]
|
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/li/ |
D | dp_li_tx.c | 407 qdf_nbuf_t nbuf, struct dp_tx_msdu_info_s *msdu_info) in dp_sawf_config_li() argument 416 msdu_info->tid = (q_id & (CDP_DATA_TID_MAX - 1)); in dp_sawf_config_li() 443 qdf_nbuf_t nbuf, struct dp_tx_msdu_info_s *msdu_info) in dp_sawf_config_li() argument 455 struct dp_tx_msdu_info_s *msdu_info) in dp_tx_hw_enqueue_li() argument 460 struct dp_tx_queue *tx_q = &msdu_info->tx_queue; in dp_tx_hw_enqueue_li() 507 vdev->vdev_id, tx_desc->nbuf, msdu_info); in dp_tx_hw_enqueue_li() 529 tid = msdu_info->tid; in dp_tx_hw_enqueue_li() 576 msdu_info, ring_id); in dp_tx_hw_enqueue_li()
|
D | dp_li_tx.h | 43 struct dp_tx_msdu_info_s *msdu_info);
|
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/rh/ |
D | dp_rh_tx.c | 46 struct dp_tx_msdu_info_s *msdu_info, in dp_tx_adjust_tso_download_len_rh() argument 56 eit_hdr_len = msdu_info->u.tso_info.curr_seg->seg.tso_frags[0].length; in dp_tx_adjust_tso_download_len_rh() 71 struct dp_tx_msdu_info_s *msdu_info, in dp_tx_adjust_tso_download_len_rh() argument 279 struct dp_tx_msdu_info_s *msdu_info) in dp_tx_hw_enqueue_rh() argument 285 uint8_t tid = msdu_info->tid; in dp_tx_hw_enqueue_rh() 366 msdu_info->u.tso_info.curr_seg->seg.tso_frags[0].paddr; in dp_tx_hw_enqueue_rh() 367 download_len = dp_tx_adjust_tso_download_len_rh(nbuf, msdu_info, in dp_tx_hw_enqueue_rh() 386 msdu_info, 0); in dp_tx_hw_enqueue_rh()
|
D | dp_rh_tx.h | 72 struct dp_tx_msdu_info_s *msdu_info);
|
/wlan-driver/qcacld-3.0/core/dp/htt/ |
D | htt_tx.c | 1501 void *ext_header_data, struct htt_msdu_info_t *msdu_info) in htt_get_ext_tid() argument 1506 return msdu_info->info.ext_tid; in htt_get_ext_tid() 1678 qdf_nbuf_t msdu, struct htt_msdu_info_t *msdu_info, in htt_tx_desc_init() argument 1704 if (qdf_unlikely(!msdu_info)) { in htt_tx_desc_init() 1727 pkt_type = msdu_info->info.l2_hdr_type; in htt_tx_desc_init() 1753 HTT_TX_DESC_VDEV_ID_SET(local_word0, msdu_info->info.vdev_id); in htt_tx_desc_init() 1755 ext_header_data, msdu_info)); in htt_tx_desc_init() 1757 HTT_TX_DESC_EXT_TID_SET(local_word0, msdu_info->info.ext_tid); in htt_tx_desc_init() 1759 msdu_info->action.cksum_offload); in htt_tx_desc_init() 1761 HTT_TX_DESC_TX_COMP_SET(local_word0, msdu_info->action. in htt_tx_desc_init() [all …]
|
D | htt_monitor_rx.c | 105 msdu_info; in htt_mon_rx_handle_amsdu_packet() 124 *msg_word)->msdu_info; in htt_mon_rx_handle_amsdu_packet() 563 msg_word)->msdu_info; in htt_rx_mon_amsdu_rx_in_order_pop_ll() 570 msg_word)->msdu_info; in htt_rx_mon_amsdu_rx_in_order_pop_ll() 680 msg_word)->msdu_info; in htt_rx_mon_amsdu_rx_in_order_pop_ll()
|
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/monitor/2.0/ |
D | dp_rx_mon_2.0.c | 404 struct hal_rx_mon_msdu_info *msdu_info; in dp_rx_mon_pf_tag_to_buf_headroom_2_0() local 436 msdu_info = &ppdu_info->msdu[user_id]; in dp_rx_mon_pf_tag_to_buf_headroom_2_0() 463 if (msdu_info->msdu_index >= DP_RX_MON_MAX_MSDU) { in dp_rx_mon_pf_tag_to_buf_headroom_2_0() 471 dp_mon_debug("msdu_index: %d", msdu_info->msdu_index); in dp_rx_mon_pf_tag_to_buf_headroom_2_0() 476 *((uint16_t *)nbuf_head) = msdu_info->msdu_index + 1; in dp_rx_mon_pf_tag_to_buf_headroom_2_0() 479 nbuf_head += ((msdu_info->msdu_index) * DP_RX_MON_PF_TAG_SIZE); in dp_rx_mon_pf_tag_to_buf_headroom_2_0() 740 struct hal_rx_mon_msdu_info *msdu_info; in dp_rx_mon_handle_msdu_end() local 745 msdu_info = &ppdu_info->msdu[user_id]; in dp_rx_mon_handle_msdu_end() 749 qdf_mem_zero(msdu_info, sizeof(*msdu_info)); in dp_rx_mon_handle_msdu_end() 769 last_buf_info->first_msdu = msdu_info->first_msdu; in dp_rx_mon_handle_msdu_end() [all …]
|
/wlan-driver/qca-wifi-host-cmn/hal/wifi3.0/li/ |
D | hal_li_rx.h | 947 uint32_t *msdu_info; in hal_rx_msdu_desc_info_get_li() local 951 msdu_info = (uint32_t *)&reo_dst_ring->rx_msdu_desc_info_details; in hal_rx_msdu_desc_info_get_li() 953 hal_rx_msdu_flags_get_li((struct rx_msdu_desc_info *)msdu_info); in hal_rx_msdu_desc_info_get_li() 954 msdu_desc_info->msdu_len = HAL_RX_MSDU_PKT_LENGTH_GET(msdu_info); in hal_rx_msdu_desc_info_get_li()
|