/wlan-driver/qca-wifi-host-cmn/dp/inc/ |
D | cdp_txrx_cmn.h | 258 cdp_soc_attach_target(ol_txrx_soc_handle soc) in cdp_soc_attach_target() argument 260 if (!soc || !soc->ops) { in cdp_soc_attach_target() 266 if (!soc->ops->cmn_drv_ops || in cdp_soc_attach_target() 267 !soc->ops->cmn_drv_ops->txrx_soc_attach_target) in cdp_soc_attach_target() 270 return soc->ops->cmn_drv_ops->txrx_soc_attach_target(soc); in cdp_soc_attach_target() 275 cdp_vdev_attach(ol_txrx_soc_handle soc, uint8_t pdev_id, in cdp_vdev_attach() argument 278 if (!soc || !soc->ops) { in cdp_vdev_attach() 284 if (!soc->ops->cmn_drv_ops || in cdp_vdev_attach() 285 !soc->ops->cmn_drv_ops->txrx_vdev_attach) in cdp_vdev_attach() 288 return soc->ops->cmn_drv_ops->txrx_vdev_attach(soc, pdev_id, vdev_info); in cdp_vdev_attach() [all …]
|
D | cdp_txrx_host_stats.h | 38 static inline int cdp_host_stats_get(ol_txrx_soc_handle soc, in cdp_host_stats_get() argument 42 if (!soc || !soc->ops) { in cdp_host_stats_get() 48 if (!soc->ops->host_stats_ops || in cdp_host_stats_get() 49 !soc->ops->host_stats_ops->txrx_host_stats_get) in cdp_host_stats_get() 52 return soc->ops->host_stats_ops->txrx_host_stats_get(soc, vdev_id, req); in cdp_host_stats_get() 65 static inline int cdp_host_stats_get_ratekbps(ol_txrx_soc_handle soc, in cdp_host_stats_get_ratekbps() argument 69 if (!soc || !soc->ops) { in cdp_host_stats_get_ratekbps() 75 if (!soc->ops->host_stats_ops || in cdp_host_stats_get_ratekbps() 76 !soc->ops->host_stats_ops->txrx_get_ratekbps) in cdp_host_stats_get_ratekbps() 79 return soc->ops->host_stats_ops->txrx_get_ratekbps(preamb, in cdp_host_stats_get_ratekbps() [all …]
|
D | cdp_txrx_ctrl.h | 34 (ol_txrx_soc_handle soc) in cdp_is_target_ar900b() argument 36 if (!soc || !soc->ops) { in cdp_is_target_ar900b() 42 if (!soc->ops->ctrl_ops || in cdp_is_target_ar900b() 43 !soc->ops->ctrl_ops->txrx_is_target_ar900b) in cdp_is_target_ar900b() 46 return soc->ops->ctrl_ops->txrx_is_target_ar900b(soc); in cdp_is_target_ar900b() 52 cdp_mempools_attach(ol_txrx_soc_handle soc) in cdp_mempools_attach() argument 54 if (!soc || !soc->ops) { in cdp_mempools_attach() 60 if (!soc->ops->ctrl_ops || in cdp_mempools_attach() 61 !soc->ops->ctrl_ops->txrx_mempools_attach) in cdp_mempools_attach() 64 return soc->ops->ctrl_ops->txrx_mempools_attach(soc); in cdp_mempools_attach() [all …]
|
D | cdp_txrx_misc.h | 54 cdp_tx_non_std(ol_txrx_soc_handle soc, uint8_t vdev_id, in cdp_tx_non_std() argument 57 if (!soc || !soc->ops || !soc->ops->misc_ops) { in cdp_tx_non_std() 62 if (soc->ops->misc_ops->tx_non_std) in cdp_tx_non_std() 63 return soc->ops->misc_ops->tx_non_std(soc, vdev_id, tx_spec, in cdp_tx_non_std() 78 cdp_set_ibss_vdev_heart_beat_timer(ol_txrx_soc_handle soc, in cdp_set_ibss_vdev_heart_beat_timer() argument 81 if (!soc || !soc->ops || !soc->ops->misc_ops) { in cdp_set_ibss_vdev_heart_beat_timer() 87 if (soc->ops->misc_ops->set_ibss_vdev_heart_beat_timer) in cdp_set_ibss_vdev_heart_beat_timer() 88 return soc->ops->misc_ops->set_ibss_vdev_heart_beat_timer( in cdp_set_ibss_vdev_heart_beat_timer() 89 soc, vdev_id, timer_value_sec); in cdp_set_ibss_vdev_heart_beat_timer() 103 cdp_set_wisa_mode(ol_txrx_soc_handle soc, uint8_t vdev_id, bool enable) in cdp_set_wisa_mode() argument [all …]
|
D | cdp_txrx_ipa.h | 50 cdp_ipa_get_resource(ol_txrx_soc_handle soc, uint8_t pdev_id) in cdp_ipa_get_resource() argument 52 if (!soc || !soc->ops || !soc->ops->ipa_ops) { in cdp_ipa_get_resource() 58 if (soc->ops->ipa_ops->ipa_get_resource) in cdp_ipa_get_resource() 59 return soc->ops->ipa_ops->ipa_get_resource(soc, pdev_id); in cdp_ipa_get_resource() 74 cdp_ipa_set_doorbell_paddr(ol_txrx_soc_handle soc, uint8_t pdev_id) in cdp_ipa_set_doorbell_paddr() argument 76 if (!soc || !soc->ops || !soc->ops->ipa_ops) { in cdp_ipa_set_doorbell_paddr() 82 if (soc->ops->ipa_ops->ipa_set_doorbell_paddr) in cdp_ipa_set_doorbell_paddr() 83 return soc->ops->ipa_ops->ipa_set_doorbell_paddr(soc, pdev_id); in cdp_ipa_set_doorbell_paddr() 98 cdp_ipa_iounmap_doorbell_vaddr(ol_txrx_soc_handle soc, uint8_t pdev_id) in cdp_ipa_iounmap_doorbell_vaddr() argument 100 if (!soc || !soc->ops || !soc->ops->ipa_ops) { in cdp_ipa_iounmap_doorbell_vaddr() [all …]
|
D | cdp_txrx_peer_ops.h | 42 cdp_peer_register(ol_txrx_soc_handle soc, uint8_t pdev_id, in cdp_peer_register() argument 45 if (!soc || !soc->ops || !soc->ops->peer_ops) { in cdp_peer_register() 51 if (soc->ops->peer_ops->register_peer) in cdp_peer_register() 52 return soc->ops->peer_ops->register_peer(soc, pdev_id, in cdp_peer_register() 70 cdp_clear_peer(ol_txrx_soc_handle soc, uint8_t pdev_id, in cdp_clear_peer() argument 73 if (!soc || !soc->ops || !soc->ops->peer_ops) { in cdp_clear_peer() 79 if (soc->ops->peer_ops->clear_peer) in cdp_clear_peer() 80 return soc->ops->peer_ops->clear_peer(soc, pdev_id, peer_addr); in cdp_clear_peer() 96 cdp_peer_register_ocb_peer(ol_txrx_soc_handle soc, in cdp_peer_register_ocb_peer() argument 99 if (!soc || !soc->ops || !soc->ops->peer_ops) { in cdp_peer_register_ocb_peer() [all …]
|
D | cdp_txrx_mon.h | 31 static inline QDF_STATUS cdp_reset_monitor_mode(ol_txrx_soc_handle soc, in cdp_reset_monitor_mode() argument 35 if (!soc || !soc->ops) { in cdp_reset_monitor_mode() 41 if (!soc->ops->mon_ops || in cdp_reset_monitor_mode() 42 !soc->ops->mon_ops->txrx_reset_monitor_mode) in cdp_reset_monitor_mode() 45 return soc->ops->mon_ops->txrx_reset_monitor_mode(soc, pdev_id, in cdp_reset_monitor_mode() 56 cdp_deliver_tx_mgmt(ol_txrx_soc_handle soc, uint8_t pdev_id, in cdp_deliver_tx_mgmt() argument 59 if (!soc || !soc->ops) { in cdp_deliver_tx_mgmt() 65 if (!soc->ops->mon_ops || in cdp_deliver_tx_mgmt() 66 !soc->ops->mon_ops->txrx_deliver_tx_mgmt) in cdp_deliver_tx_mgmt() 69 return soc->ops->mon_ops->txrx_deliver_tx_mgmt(soc, pdev_id, nbuf); in cdp_deliver_tx_mgmt() [all …]
|
D | cdp_txrx_sawf.h | 26 cdp_sawf_peer_svcid_map(ol_txrx_soc_handle soc, in cdp_sawf_peer_svcid_map() argument 29 if (!soc || !soc->ops) { in cdp_sawf_peer_svcid_map() 35 if (!soc->ops->sawf_ops || in cdp_sawf_peer_svcid_map() 36 !soc->ops->sawf_ops->sawf_def_queues_map_req) { in cdp_sawf_peer_svcid_map() 40 return soc->ops->sawf_ops->sawf_def_queues_map_req(soc, mac, svc_id); in cdp_sawf_peer_svcid_map() 44 cdp_sawf_peer_unmap(ol_txrx_soc_handle soc, in cdp_sawf_peer_unmap() argument 47 if (!soc || !soc->ops) { in cdp_sawf_peer_unmap() 53 if (!soc->ops->sawf_ops || in cdp_sawf_peer_unmap() 54 !soc->ops->sawf_ops->sawf_def_queues_unmap_req) { in cdp_sawf_peer_unmap() 58 return soc->ops->sawf_ops->sawf_def_queues_unmap_req(soc, mac, svc_id); in cdp_sawf_peer_unmap() [all …]
|
D | cdp_txrx_cfg.h | 40 cdp_cfg_set_rx_fwd_disabled(ol_txrx_soc_handle soc, struct cdp_cfg *cfg_pdev, in cdp_cfg_set_rx_fwd_disabled() argument 43 if (!soc || !soc->ops) { in cdp_cfg_set_rx_fwd_disabled() 49 if (!soc->ops->cfg_ops || in cdp_cfg_set_rx_fwd_disabled() 50 !soc->ops->cfg_ops->set_cfg_rx_fwd_disabled) in cdp_cfg_set_rx_fwd_disabled() 53 soc->ops->cfg_ops->set_cfg_rx_fwd_disabled(cfg_pdev, in cdp_cfg_set_rx_fwd_disabled() 68 cdp_cfg_set_packet_log_enabled(ol_txrx_soc_handle soc, in cdp_cfg_set_packet_log_enabled() argument 71 if (!soc || !soc->ops) { in cdp_cfg_set_packet_log_enabled() 77 if (!soc->ops->cfg_ops || in cdp_cfg_set_packet_log_enabled() 78 !soc->ops->cfg_ops->set_cfg_packet_log_enabled) in cdp_cfg_set_packet_log_enabled() 81 soc->ops->cfg_ops->set_cfg_packet_log_enabled(cfg_pdev, in cdp_cfg_set_packet_log_enabled() [all …]
|
D | cdp_txrx_flow_ctrl_legacy.h | 42 cdp_hl_fc_register(ol_txrx_soc_handle soc, uint8_t pdev_id, in cdp_hl_fc_register() argument 45 if (!soc || !soc->ops) { in cdp_hl_fc_register() 51 if (!soc->ops->l_flowctl_ops || in cdp_hl_fc_register() 52 !soc->ops->l_flowctl_ops->register_tx_flow_control) in cdp_hl_fc_register() 55 return soc->ops->l_flowctl_ops->register_tx_flow_control(soc, pdev_id, in cdp_hl_fc_register() 59 static inline int cdp_hl_fc_set_td_limit(ol_txrx_soc_handle soc, in cdp_hl_fc_set_td_limit() argument 62 if (!soc->ops->l_flowctl_ops->set_vdev_tx_desc_limit) in cdp_hl_fc_set_td_limit() 65 return soc->ops->l_flowctl_ops->set_vdev_tx_desc_limit(soc, vdev_id, in cdp_hl_fc_set_td_limit() 69 static inline int cdp_hl_fc_set_os_queue_status(ol_txrx_soc_handle soc, in cdp_hl_fc_set_os_queue_status() argument 73 if (!soc->ops->l_flowctl_ops->set_vdev_os_queue_status) in cdp_hl_fc_set_os_queue_status() [all …]
|
D | cdp_txrx_ppe.h | 29 QDF_STATUS cdp_ppesds_vp_setup_fw_recovery(struct cdp_soc_t *soc, in cdp_ppesds_vp_setup_fw_recovery() argument 33 if (!soc || !soc->ops || !soc->ops->ppeds_ops) { in cdp_ppesds_vp_setup_fw_recovery() 39 if (soc->ops->ppeds_ops->ppeds_vp_setup_recovery) in cdp_ppesds_vp_setup_fw_recovery() 40 return soc->ops->ppeds_ops->ppeds_vp_setup_recovery(soc, in cdp_ppesds_vp_setup_fw_recovery() 57 void cdp_ppesds_update_dev_stats(struct cdp_soc_t *soc, in cdp_ppesds_update_dev_stats() argument 61 if (!soc || !soc->ops || !soc->ops->ppeds_ops) { in cdp_ppesds_update_dev_stats() 67 if (soc->ops->ppeds_ops->ppeds_stats_sync) in cdp_ppesds_update_dev_stats() 68 return soc->ops->ppeds_ops->ppeds_stats_sync(soc, in cdp_ppesds_update_dev_stats() 85 QDF_STATUS cdp_ppesds_entry_attach(struct cdp_soc_t *soc, uint8_t vdev_id, in cdp_ppesds_entry_attach() argument 89 if (!soc || !soc->ops || !soc->ops->ppeds_ops) { in cdp_ppesds_entry_attach() [all …]
|
D | cdp_txrx_mlo.h | 23 struct cdp_mlo_ctxt *cdp_mlo_ctxt_attach(ol_txrx_soc_handle soc, in cdp_mlo_ctxt_attach() argument 26 if (!soc || !soc->ops) { in cdp_mlo_ctxt_attach() 31 if (!soc->ops->mlo_ops || in cdp_mlo_ctxt_attach() 32 !soc->ops->mlo_ops->mlo_ctxt_attach) in cdp_mlo_ctxt_attach() 35 return soc->ops->mlo_ops->mlo_ctxt_attach(ctrl_ctxt); in cdp_mlo_ctxt_attach() 39 void cdp_mlo_ctxt_detach(ol_txrx_soc_handle soc, in cdp_mlo_ctxt_detach() argument 42 if (!soc || !soc->ops) { in cdp_mlo_ctxt_detach() 47 if (!soc->ops->mlo_ops || in cdp_mlo_ctxt_detach() 48 !soc->ops->mlo_ops->mlo_ctxt_detach) in cdp_mlo_ctxt_detach() 51 soc->ops->mlo_ops->mlo_ctxt_detach(ml_ctxt); in cdp_mlo_ctxt_detach() [all …]
|
D | cdp_txrx_flow_ctrl_v2.h | 39 cdp_register_pause_cb(ol_txrx_soc_handle soc, in cdp_register_pause_cb() argument 42 if (!soc || !soc->ops) { in cdp_register_pause_cb() 48 if (!soc->ops->flowctl_ops || in cdp_register_pause_cb() 49 !soc->ops->flowctl_ops->register_pause_cb) in cdp_register_pause_cb() 52 return soc->ops->flowctl_ops->register_pause_cb(soc, pause_cb); in cdp_register_pause_cb() 66 cdp_set_desc_global_pool_size(ol_txrx_soc_handle soc, in cdp_set_desc_global_pool_size() argument 69 if (!soc || !soc->ops) { in cdp_set_desc_global_pool_size() 75 if (!soc->ops->flowctl_ops || in cdp_set_desc_global_pool_size() 76 !soc->ops->flowctl_ops->set_desc_global_pool_size) in cdp_set_desc_global_pool_size() 79 soc->ops->flowctl_ops->set_desc_global_pool_size( in cdp_set_desc_global_pool_size() [all …]
|
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/ |
D | dp_rings_main.c | 71 static QDF_STATUS dp_init_tx_ring_pair_by_index(struct dp_soc *soc, 73 static void dp_deinit_tx_pair_by_index(struct dp_soc *soc, int index); 74 static void dp_free_tx_ring_pair_by_index(struct dp_soc *soc, uint8_t index); 75 static QDF_STATUS dp_alloc_tx_ring_pair_by_index(struct dp_soc *soc, 139 static uint8_t dp_soc_ring_if_nss_offloaded(struct dp_soc *soc, in dp_soc_ring_if_nss_offloaded() argument 143 uint8_t nss_config = wlan_cfg_get_dp_soc_nss_cfg(soc->wlan_cfg_ctx); in dp_soc_ring_if_nss_offloaded() 161 void dp_soc_reset_mon_intr_mask(struct dp_soc *soc) in dp_soc_reset_mon_intr_mask() argument 165 for (i = 0; i < wlan_cfg_get_num_contexts(soc->wlan_cfg_ctx); i++) { in dp_soc_reset_mon_intr_mask() 166 soc->intr_ctx[i].rx_mon_ring_mask = 0; in dp_soc_reset_mon_intr_mask() 167 soc->intr_ctx[i].host2rxdma_mon_ring_mask = 0; in dp_soc_reset_mon_intr_mask() [all …]
|
D | dp_main.c | 67 cdp_dump_flow_pool_info(struct cdp_soc_t *soc) in cdp_dump_flow_pool_info() argument 151 void dp_configure_arch_ops(struct dp_soc *soc); 185 static void dp_soc_unset_qref_debug_list(struct dp_soc *soc); 246 static QDF_STATUS dp_umac_reset_action_trigger_recovery(struct dp_soc *soc); 247 static QDF_STATUS dp_umac_reset_handle_pre_reset(struct dp_soc *soc); 248 static QDF_STATUS dp_umac_reset_handle_post_reset(struct dp_soc *soc); 249 static QDF_STATUS dp_umac_reset_handle_post_reset_complete(struct dp_soc *soc); 408 struct dp_soc *soc = (struct dp_soc *)soc_hdl; in dp_get_num_rx_contexts() local 410 reo_ring_map = wlan_cfg_get_reo_rings_mapping(soc->wlan_cfg_ctx); in dp_get_num_rx_contexts() 412 switch (soc->arch_id) { in dp_get_num_rx_contexts() [all …]
|
D | dp_rx_err.c | 60 bool dp_rx_mcast_echo_check(struct dp_soc *soc, in dp_rx_mcast_echo_check() argument 78 if (!hal_rx_msdu_end_da_is_mcbc_get(soc->hal_soc, rx_tlv_hdr)) in dp_rx_mcast_echo_check() 107 if (hal_rx_msdu_end_sa_is_valid_get(soc->hal_soc, rx_tlv_hdr)) { in dp_rx_mcast_echo_check() 108 sa_idx = hal_rx_msdu_end_sa_idx_get(soc->hal_soc, rx_tlv_hdr); in dp_rx_mcast_echo_check() 111 (sa_idx >= wlan_cfg_get_max_ast_idx(soc->wlan_cfg_ctx))) { in dp_rx_mcast_echo_check() 117 qdf_spin_lock_bh(&soc->ast_lock); in dp_rx_mcast_echo_check() 118 ase = soc->ast_table[sa_idx]; in dp_rx_mcast_echo_check() 130 qdf_spin_unlock_bh(&soc->ast_lock); in dp_rx_mcast_echo_check() 134 qdf_spin_unlock_bh(&soc->ast_lock); in dp_rx_mcast_echo_check() 137 qdf_spin_lock_bh(&soc->mec_lock); in dp_rx_mcast_echo_check() [all …]
|
D | dp_peer.c | 64 static int dp_add_wds_entry_wrapper(struct dp_soc *soc, in dp_add_wds_entry_wrapper() argument 72 status = target_if_add_wds_entry(soc->ctrl_psoc, in dp_add_wds_entry_wrapper() 94 static int dp_update_wds_entry_wrapper(struct dp_soc *soc, in dp_update_wds_entry_wrapper() argument 101 status = target_if_update_wds_entry(soc->ctrl_psoc, in dp_update_wds_entry_wrapper() 122 void dp_del_wds_entry_wrapper(struct dp_soc *soc, in dp_del_wds_entry_wrapper() argument 128 target_if_del_wds_entry(soc->ctrl_psoc, vdev_id, in dp_del_wds_entry_wrapper() 132 static int dp_add_wds_entry_wrapper(struct dp_soc *soc, in dp_add_wds_entry_wrapper() argument 140 status = soc->cdp_soc.ol_ops->peer_add_wds_entry( in dp_add_wds_entry_wrapper() 141 soc->ctrl_psoc, in dp_add_wds_entry_wrapper() 153 static int dp_update_wds_entry_wrapper(struct dp_soc *soc, in dp_update_wds_entry_wrapper() argument [all …]
|
D | dp_rings.h | 30 static inline bool dp_is_mon_mask_valid(struct dp_soc *soc, in dp_is_mon_mask_valid() argument 39 static inline bool dp_is_mon_mask_valid(struct dp_soc *soc, in dp_is_mon_mask_valid() argument 86 void dp_soc_print_inactive_objects(struct dp_soc *soc); 105 void dp_find_missing_tx_comp(struct dp_soc *soc); 107 void dp_enable_verbose_debug(struct dp_soc *soc); 109 QDF_STATUS dp_peer_legacy_setup(struct dp_soc *soc, struct dp_peer *peer); 113 void dp_soc_interrupt_map_calculate(struct dp_soc *soc, int intr_ctx_num, 115 void dp_srng_msi_setup(struct dp_soc *soc, struct dp_srng *srng, 119 dp_srng_configure_interrupt_thresholds(struct dp_soc *soc, 151 void dp_soc_set_interrupt_mode(struct dp_soc *soc); [all …]
|
D | dp_ipa.c | 113 static QDF_STATUS __dp_ipa_handle_buf_smmu_mapping(struct dp_soc *soc, in __dp_ipa_handle_buf_smmu_mapping() argument 128 hdl = wlan_ipa_get_hdl(soc->ctrl_psoc, 0); in __dp_ipa_handle_buf_smmu_mapping() 133 qdf_update_mem_map_table(soc->osdev, &mem_map_table, in __dp_ipa_handle_buf_smmu_mapping() 161 QDF_STATUS dp_ipa_handle_rx_buf_smmu_mapping(struct dp_soc *soc, in dp_ipa_handle_rx_buf_smmu_mapping() argument 170 for (i = 0; i < soc->pdev_count; i++) { in dp_ipa_handle_rx_buf_smmu_mapping() 171 pdev = soc->pdev_list[i]; in dp_ipa_handle_rx_buf_smmu_mapping() 176 if (!wlan_cfg_is_ipa_enabled(soc->wlan_cfg_ctx) || in dp_ipa_handle_rx_buf_smmu_mapping() 177 !qdf_mem_smmu_s1_enabled(soc->osdev)) in dp_ipa_handle_rx_buf_smmu_mapping() 185 if (!(qdf_atomic_read(&soc->ipa_pipes_enabled) && in dp_ipa_handle_rx_buf_smmu_mapping() 186 qdf_atomic_read(&soc->ipa_map_allowed))) { in dp_ipa_handle_rx_buf_smmu_mapping() [all …]
|
D | dp_peer.h | 78 void check_free_list_for_invalid_flush(struct dp_soc *soc); 81 void add_entry_alloc_list(struct dp_soc *soc, struct dp_rx_tid *rx_tid, in add_entry_alloc_list() argument 86 uint32_t qref_index = soc->free_addr_list_idx; in add_entry_alloc_list() 88 max_list_size = soc->wlan_cfg_ctx->qref_control_size; in add_entry_alloc_list() 93 soc->list_qdesc_addr_alloc[qref_index].hw_qdesc_paddr = in add_entry_alloc_list() 95 soc->list_qdesc_addr_alloc[qref_index].ts_qdesc_mem_hdl = curr_ts; in add_entry_alloc_list() 96 soc->list_qdesc_addr_alloc[qref_index].hw_qdesc_vaddr_align = in add_entry_alloc_list() 98 soc->list_qdesc_addr_alloc[qref_index].hw_qdesc_vaddr_unalign = in add_entry_alloc_list() 100 soc->list_qdesc_addr_alloc[qref_index].peer_id = peer->peer_id; in add_entry_alloc_list() 101 soc->list_qdesc_addr_alloc[qref_index].tid = rx_tid->tid; in add_entry_alloc_list() [all …]
|
D | dp_tx_desc.c | 26 #define DP_TX_DESC_PAGE_DIVIDER(soc, num_desc_per_page, pool_id) \ argument 29 soc->tx_desc[pool_id].offset_filter = num_desc_per_page - 1; \ 36 soc->tx_desc[pool_id].page_divider = (sig_bit - 1); \ 40 #define DP_TX_DESC_PAGE_DIVIDER(soc, num_desc_per_page, pool_id) {} argument 77 struct dp_soc *soc = (struct dp_soc *)ctxt; in dp_tx_desc_clean_up() local 83 nbuf = dp_tx_comp_free_buf(soc, tx_desc, true); in dp_tx_desc_clean_up() 84 dp_tx_desc_release(soc, tx_desc, tx_desc->pool_id); in dp_tx_desc_clean_up() 98 void dp_tx_desc_pool_cleanup(struct dp_soc *soc, qdf_nbuf_t *nbuf_list, in dp_tx_desc_pool_cleanup() argument 103 uint8_t num_pool = wlan_cfg_get_num_tx_desc_pool(soc->wlan_cfg_ctx); in dp_tx_desc_pool_cleanup() 109 tx_desc_pool = dp_get_tx_desc_pool(soc, i); in dp_tx_desc_pool_cleanup() [all …]
|
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/rh/ |
D | dp_rh.c | 34 dp_srng_init_rh(struct dp_soc *soc, struct dp_srng *srng, int ring_type, in dp_srng_init_rh() argument 37 hal_soc_handle_t hal_soc = soc->hal_soc; in dp_srng_init_rh() 42 soc, ring_type, ring_num); in dp_srng_init_rh() 61 if (soc->cdp_soc.ol_ops->get_con_mode && in dp_srng_init_rh() 62 soc->cdp_soc.ol_ops->get_con_mode() == in dp_srng_init_rh() 64 if (soc->intr_mode == DP_INTR_MSI && in dp_srng_init_rh() 65 !dp_skip_msi_cfg(soc, ring_type)) { in dp_srng_init_rh() 66 dp_srng_msi_setup(soc, srng, &ring_params, in dp_srng_init_rh() 73 dp_srng_set_msi2_ring_params(soc, &ring_params, 0, 0); in dp_srng_init_rh() 78 dp_srng_configure_interrupt_thresholds(soc, &ring_params, in dp_srng_init_rh() [all …]
|
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/li/ |
D | dp_li.c | 77 static void dp_soc_cfg_attach_li(struct dp_soc *soc) in dp_soc_cfg_attach_li() argument 79 struct wlan_cfg_dp_soc_ctxt *soc_cfg_ctx = soc->wlan_cfg_ctx; in dp_soc_cfg_attach_li() 81 dp_soc_cfg_attach(soc); in dp_soc_cfg_attach_li() 105 static QDF_STATUS dp_soc_attach_li(struct dp_soc *soc, in dp_soc_attach_li() argument 108 soc->wbm_sw0_bm_id = hal_tx_get_wbm_sw0_bm_id(); in dp_soc_attach_li() 113 static QDF_STATUS dp_soc_detach_li(struct dp_soc *soc) in dp_soc_detach_li() argument 138 static void *dp_soc_init_li(struct dp_soc *soc, HTC_HANDLE htc_handle, in dp_soc_init_li() argument 141 wlan_minidump_log(soc, sizeof(*soc), soc->ctrl_psoc, in dp_soc_init_li() 144 soc->hif_handle = hif_handle; in dp_soc_init_li() 146 soc->hal_soc = hif_get_hal_handle(soc->hif_handle); in dp_soc_init_li() [all …]
|
D | dp_li_rx.c | 70 static inline bool dp_rx_mec_check_wrapper(struct dp_soc *soc, 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() 78 static inline bool dp_rx_mec_check_wrapper(struct dp_soc *soc, 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 103 ast_entry = soc->ast_table[msdu_metadata->da_idx]; in dp_rx_intrabss_ucast_check_li() 121 da_peer = dp_txrx_peer_get_ref_by_id(soc, da_peer_id, in dp_rx_intrabss_ucast_check_li() 157 dp_rx_intrabss_fwd_li(struct dp_soc *soc, in dp_rx_intrabss_fwd_li() argument 175 return dp_rx_intrabss_mcbc_fwd(soc, ta_txrx_peer, rx_tlv_hdr, in dp_rx_intrabss_fwd_li() 178 if (dp_rx_intrabss_eapol_drop_check(soc, ta_txrx_peer, rx_tlv_hdr, in dp_rx_intrabss_fwd_li() 182 if (dp_rx_intrabss_ucast_check_li(soc, nbuf, ta_txrx_peer, in dp_rx_intrabss_fwd_li() [all …]
|
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/monitor/1.0/ |
D | dp_rx_mon_dest_1.0.c | 56 dp_handle_tx_capture(struct dp_soc *soc, struct dp_pdev *pdev, in dp_handle_tx_capture() argument 70 dp_handle_tx_capture_from_dest(soc, pdev, mon_mpdu); in dp_handle_tx_capture() 82 hal_rx_hw_desc_mpdu_user_id(dp_pdev->soc->hal_soc, in dp_tx_capture_get_user_id() 113 hal_soc = dp_pdev->soc->hal_soc; in dp_rx_mon_link_desc_return() 115 hal_ring_hdl = dp_monitor_get_link_desc_ring(dp_pdev->soc, mac_id); in dp_rx_mon_link_desc_return() 167 dp_rx_mon_mpdu_pop(struct dp_soc *soc, uint32_t mac_id, in dp_rx_mon_mpdu_pop() argument 173 struct dp_pdev *dp_pdev = dp_get_pdev_for_lmac_id(soc, mac_id); in dp_rx_mon_mpdu_pop() 196 dp_rx_mon_dest_debug("%pK: pdev is null for mac_id = %d", soc, mac_id); in dp_rx_mon_mpdu_pop() 205 hal_rx_reo_ent_buf_paddr_get(soc->hal_soc, rxdma_dst_ring_desc, in dp_rx_mon_mpdu_pop() 249 hal_rx_msdu_list_get(soc->hal_soc, rx_msdu_link_desc, in dp_rx_mon_mpdu_pop() [all …]
|