/wlan-driver/qcacld-3.0/components/dp/core/src/ |
H A D | wlan_dp_bus_bandwidth.c | 183 struct wlan_dp_psoc_context *dp_ctx = dp_intf->dp_ctx; in bbm_get_bus_bw_level_vote() local 184 struct bbm_context *bbm_ctx = dp_ctx->bbm_ctx; in bbm_get_bus_bw_level_vote() 187 struct wlan_dp_psoc_callbacks *cb_obj = &dp_ctx->dp_ops; in bbm_get_bus_bw_level_vote() 258 bbm_apply_tput_policy(struct wlan_dp_psoc_context *dp_ctx, in bbm_apply_tput_policy() argument 266 struct bbm_context *bbm_ctx = dp_ctx->bbm_ctx; in bbm_apply_tput_policy() 267 hdd_cb_handle ctx = dp_ctx->dp_ops.callback_ctx; in bbm_apply_tput_policy() 274 if (dp_ctx->dp_ops.dp_any_adapter_connected(ctx)) in bbm_apply_tput_policy() 279 psoc = dp_ctx->psoc; in bbm_apply_tput_policy() 285 dp_for_each_intf_held_safe(dp_ctx, dp_intf, dp_intf_next) { in bbm_apply_tput_policy() 330 bbm_apply_non_persistent_policy(struct wlan_dp_psoc_context *dp_ctx, in bbm_apply_non_persistent_policy() argument [all …]
|
H A D | wlan_dp_rx_fst.c | 42 static void dp_rx_dump_fisa_table(struct wlan_dp_psoc_context *dp_ctx) in dp_rx_dump_fisa_table() argument 44 hal_soc_handle_t hal_soc_hdl = dp_ctx->hal_soc; in dp_rx_dump_fisa_table() 45 struct wlan_dp_psoc_cfg *dp_cfg = &dp_ctx->dp_cfg; in dp_rx_dump_fisa_table() 46 struct dp_rx_fst *fst = dp_ctx->rx_fst; in dp_rx_dump_fisa_table() 78 static void dp_print_fisa_stats(struct wlan_dp_psoc_context *dp_ctx) in dp_print_fisa_stats() argument 80 struct wlan_dp_psoc_cfg *dp_cfg = &dp_ctx->dp_cfg; in dp_print_fisa_stats() 81 struct dp_rx_fst *fst = dp_ctx->rx_fst; in dp_print_fisa_stats() 127 static QDF_STATUS dp_rx_dump_fisa_stats(struct wlan_dp_psoc_context *dp_ctx) in dp_rx_dump_fisa_stats() argument 130 struct dp_rx_fst *rx_fst = dp_ctx->rx_fst; in dp_rx_dump_fisa_stats() 166 struct wlan_dp_psoc_context *dp_ctx = dp_get_context(); in dp_set_fst_in_cmem() local [all …]
|
H A D | wlan_dp_txrx.c | 60 void dp_rx_skip_fisa(struct wlan_dp_psoc_context *dp_ctx, uint32_t value) in dp_rx_skip_fisa() argument 62 qdf_atomic_set(&dp_ctx->skip_fisa_param.skip_fisa, !value); in dp_rx_skip_fisa() 71 struct wlan_dp_psoc_callbacks *dp_ops = &dp_intf->dp_ctx->dp_ops; in dp_get_tx_resource() 196 void dp_reset_all_intfs_connectivity_stats(struct wlan_dp_psoc_context *dp_ctx) in dp_reset_all_intfs_connectivity_stats() argument 200 qdf_spin_lock_bh(&dp_ctx->intf_list_lock); in dp_reset_all_intfs_connectivity_stats() 201 for (dp_get_front_intf_no_lock(dp_ctx, &dp_intf); dp_intf; in dp_reset_all_intfs_connectivity_stats() 202 dp_get_next_intf_no_lock(dp_ctx, dp_intf, &dp_intf)) { in dp_reset_all_intfs_connectivity_stats() 205 qdf_spin_unlock_bh(&dp_ctx->intf_list_lock); in dp_reset_all_intfs_connectivity_stats() 219 pkt_type_bitmap &= ~dp_intf->dp_ctx->arp_connectivity_map; in dp_tx_rx_collect_connectivity_stats_info() 514 static void dp_mark_icmp_req_to_fw(struct wlan_dp_psoc_context *dp_ctx, in dp_mark_icmp_req_to_fw() argument [all …]
|
H A D | wlan_dp_main.c | 73 struct wlan_dp_psoc_context *dp_ctx; in dp_allocate_ctx() local 75 dp_ctx = qdf_mem_malloc(sizeof(*dp_ctx)); in dp_allocate_ctx() 76 if (!dp_ctx) { in dp_allocate_ctx() 81 qdf_spinlock_create(&dp_ctx->intf_list_lock); in dp_allocate_ctx() 82 qdf_spinlock_create(&dp_ctx->dp_link_del_lock); in dp_allocate_ctx() 83 qdf_list_create(&dp_ctx->intf_list, 0); in dp_allocate_ctx() 84 TAILQ_INIT(&dp_ctx->inactive_dp_link_list); in dp_allocate_ctx() 86 dp_attach_ctx(dp_ctx); in dp_allocate_ctx() 93 struct wlan_dp_psoc_context *dp_ctx; in dp_free_ctx() local 95 dp_ctx = dp_get_context(); in dp_free_ctx() [all …]
|
H A D | wlan_dp_bus_bandwidth.h | 124 void dp_rtpm_tput_policy_apply(struct wlan_dp_psoc_context *dp_ctx, 133 int dp_rtpm_tput_policy_get_vote(struct wlan_dp_psoc_context *dp_ctx); 146 void dp_rtpm_tput_policy_apply(struct wlan_dp_psoc_context *dp_ctx, in dp_rtpm_tput_policy_apply() argument 152 dp_rtpm_tput_policy_get_vote(struct wlan_dp_psoc_context *dp_ctx) in dp_rtpm_tput_policy_get_vote() argument 170 struct wlan_dp_psoc_context *dp_ctx = dp_psoc_get_priv(psoc); in dp_set_high_bus_bw_request() local 173 dp_ctx->high_bus_bw_request |= (1 << vdev_id); in dp_set_high_bus_bw_request() 175 dp_ctx->high_bus_bw_request &= ~(1 << vdev_id); in dp_set_high_bus_bw_request() 196 void wlan_dp_update_tcp_rx_param(struct wlan_dp_psoc_context *dp_ctx, 208 bool dp_is_current_high_throughput(struct wlan_dp_psoc_context *dp_ctx); 211 bool dp_is_current_high_throughput(struct wlan_dp_psoc_context *dp_ctx) in dp_is_current_high_throughput() argument [all …]
|
H A D | wlan_dp_nud_tracking.c | 90 struct wlan_dp_psoc_context *dp_ctx = dp_intf->dp_ctx; in dp_nud_flush_work() local 93 dp_ctx->dp_cfg.enable_nud_tracking) { in dp_nud_flush_work() 101 struct wlan_dp_psoc_context *dp_ctx = dp_intf->dp_ctx; in dp_nud_deinit_tracking() local 104 dp_ctx->dp_cfg.enable_nud_tracking) { in dp_nud_deinit_tracking() 112 struct wlan_dp_psoc_context *dp_ctx = dp_intf->dp_ctx; in dp_nud_ignore_tracking() local 115 dp_ctx->dp_cfg.enable_nud_tracking) in dp_nud_ignore_tracking() 121 struct wlan_dp_psoc_context *dp_ctx = dp_intf->dp_ctx; in dp_nud_reset_tracking() local 124 dp_ctx->dp_cfg.enable_nud_tracking) { in dp_nud_reset_tracking() 149 struct wlan_dp_psoc_callbacks *cb = &dp_intf->dp_ctx->dp_ops; in dp_nud_stats_info() 280 struct wlan_dp_psoc_context *dp_ctx = dp_intf->dp_ctx; in dp_nud_failure_work() local [all …]
|
H A D | wlan_dp_fisa_rx.h | 110 QDF_STATUS dp_fisa_rx(struct wlan_dp_psoc_context *dp_ctx, 147 void dp_suspend_fse_cache_flush(struct wlan_dp_psoc_context *dp_ctx); 155 QDF_STATUS dp_rx_fst_attach(struct wlan_dp_psoc_context *dp_ctx); 163 QDF_STATUS dp_rx_fst_target_config(struct wlan_dp_psoc_context *dp_ctx); 171 QDF_STATUS dp_rx_fisa_config(struct wlan_dp_psoc_context *dp_ctx); 179 void dp_rx_fst_detach(struct wlan_dp_psoc_context *dp_ctx); 187 void dp_resume_fse_cache_flush(struct wlan_dp_psoc_context *dp_ctx); 196 void dp_rx_fst_update_pm_suspend_status(struct wlan_dp_psoc_context *dp_ctx, 205 void dp_rx_fst_requeue_wq(struct wlan_dp_psoc_context *dp_ctx); 237 dp_rx_fst_update_pm_suspend_status(struct wlan_dp_psoc_context *dp_ctx, in dp_rx_fst_update_pm_suspend_status() argument
|
H A D | wlan_dp_softap_txrx.c | 144 peer = wlan_objmgr_get_peer_by_mac(dp_intf->dp_ctx->psoc, in dp_softap_inspect_tx_eap_pkt() 184 peer = wlan_objmgr_get_peer_by_mac(dp_intf->dp_ctx->psoc, in dp_softap_check_wait_for_tx_eap_pkt() 239 if (qdf_unlikely(!dp_intf->dp_ctx->enable_dp_rx_threads && in dp_post_dhcp_ind() 240 dp_intf->dp_ctx->is_suspend)) { in dp_post_dhcp_ind() 245 sb_ops = &dp_intf->dp_ctx->sb_ops; in dp_post_dhcp_ind() 308 peer = wlan_objmgr_get_peer_by_mac(dp_intf->dp_ctx->psoc, in dp_softap_inspect_dhcp_packet() 535 if (dp_is_current_high_throughput(dp_intf->dp_ctx)) in dp_softap_config_tx_pkt_tracing() 646 struct wlan_dp_psoc_context *dp_ctx = dp_intf->dp_ctx; in dp_softap_start_xmit() local 681 dp_ctx->no_tx_offload_pkt_cnt++; in dp_softap_start_xmit() 781 void dp_softap_tsf_timestamp_rx(struct wlan_dp_psoc_context *dp_ctx, in dp_softap_tsf_timestamp_rx() argument [all …]
|
H A D | wlan_dp_fisa_rx.c | 148 wlan_dp_nbuf_skip_rx_pkt_tlv(struct wlan_dp_psoc_context *dp_ctx, in wlan_dp_nbuf_skip_rx_pkt_tlv() argument 155 l2_hdr_offset = hal_rx_msdu_end_l3_hdr_padding_get(dp_ctx->hal_soc, in wlan_dp_nbuf_skip_rx_pkt_tlv() 192 wlan_dp_get_flow_tuple_from_nbuf(struct wlan_dp_psoc_context *dp_ctx, in wlan_dp_get_flow_tuple_from_nbuf() argument 196 struct dp_rx_fst *rx_fst = dp_ctx->rx_fst; in wlan_dp_get_flow_tuple_from_nbuf() 202 hal_rx_msdu_end_l3_hdr_padding_get(dp_ctx->hal_soc, in wlan_dp_get_flow_tuple_from_nbuf() 205 hal_rx_get_l3_l4_offsets(dp_ctx->hal_soc, rx_tlv_hdr, in wlan_dp_get_flow_tuple_from_nbuf() 279 hw_fse = hal_rx_flow_setup_fse(fisa_hdl->dp_ctx->hal_soc, in dp_rx_fisa_setup_hw_fse() 429 return hal_rx_flow_setup_cmem_fse(fisa_hdl->dp_ctx->hal_soc, in dp_rx_fisa_setup_cmem_fse() 457 struct wlan_dp_psoc_context *dp_ctx, in dp_rx_fisa_update_sw_ft_entry() argument 465 sw_ft_entry->dp_ctx = dp_ctx; in dp_rx_fisa_update_sw_ft_entry() [all …]
|
H A D | wlan_dp_periodic_sta_stats.c | 23 void dp_periodic_sta_stats_display(struct wlan_dp_psoc_context *dp_ctx) in dp_periodic_sta_stats_display() argument 31 if (!dp_ctx) in dp_periodic_sta_stats_display() 34 dp_for_each_intf_held_safe(dp_ctx, dp_intf, next_dp_intf) { in dp_periodic_sta_stats_display() 40 dp_cfg = dp_ctx->dp_cfg; in dp_periodic_sta_stats_display() 97 dp_cfg = dp_intf->dp_ctx->dp_cfg; in dp_periodic_sta_stats_start() 123 dp_cfg = dp_intf->dp_ctx->dp_cfg; in dp_periodic_sta_stats_stop()
|
H A D | wlan_dp_wfds.c | 42 wlan_psoc_get_dp_handle(dl_wfds->direct_link_ctx->dp_ctx->psoc); in dp_wfds_send_config_msg() 54 qdf_dev = dl_wfds->direct_link_ctx->dp_ctx->qdf_dev; in dp_wfds_send_config_msg() 161 status = wlan_qmi_wfds_send_config_msg(direct_link_ctx->dp_ctx->psoc, in dp_wfds_send_config_msg() 187 wlan_psoc_get_dp_handle(dl_wfds->direct_link_ctx->dp_ctx->psoc); in dp_wfds_req_mem_msg() 195 qdf_dev = dl_wfds->direct_link_ctx->dp_ctx->qdf_dev; in dp_wfds_req_mem_msg() 254 dl_wfds->direct_link_ctx->dp_ctx->psoc, in dp_wfds_req_mem_msg() 285 dlink_wfds->direct_link_ctx->dp_ctx->psoc, in dp_wfds_ipcc_map_n_cfg_msg() 411 qdf_device_t qdf_ctx = dl_wfds->direct_link_ctx->dp_ctx->qdf_dev; in dp_wfds_alloc_mem_arena() 439 qdf_device_t qdf_ctx = dl_wfds->direct_link_ctx->dp_ctx->qdf_dev; in dp_wfds_free_mem_arena() 458 qdf_device_t qdf_ctx = dl_wfds->direct_link_ctx->dp_ctx->qdf_dev; in dp_wfds_alloc_mem_arena() [all …]
|
H A D | wlan_dp_rx_thread.c | 546 struct wlan_dp_psoc_context *dp_ctx; in dp_rx_thread_gro_flush() local 548 dp_ctx = dp_get_context(); in dp_rx_thread_gro_flush() 549 if (!dp_ctx) { in dp_rx_thread_gro_flush() 555 dp_ctx->dp_ops.dp_rx_thread_napi_gro_flush(&rx_thread->napi, in dp_rx_thread_gro_flush()
|
/wlan-driver/qcacld-3.0/components/dp/dispatcher/src/ |
H A D | wlan_dp_ucfg_api.c | 65 !dp_intf->dp_ctx->dp_direct_link_ctx) in wlan_dp_set_vdev_direct_link_cfg() 91 QDF_STATUS wlan_dp_update_vdev_mac_addr(struct wlan_dp_psoc_context *dp_ctx, in wlan_dp_update_vdev_mac_addr() argument 100 return cdp_txrx_set_vdev_param(dp_ctx->cdp_soc, dp_link->link_id, in wlan_dp_update_vdev_mac_addr() 117 QDF_STATUS wlan_dp_update_vdev_mac_addr(struct wlan_dp_psoc_context *dp_ctx, in wlan_dp_update_vdev_mac_addr() argument 142 struct wlan_dp_psoc_context *dp_ctx; in ucfg_dp_update_link_mac_addr() local 146 dp_ctx = dp_get_context(); in ucfg_dp_update_link_mac_addr() 157 status = wlan_dp_update_vdev_mac_addr(dp_ctx, dp_link, in ucfg_dp_update_link_mac_addr() 178 struct wlan_dp_psoc_context *dp_ctx; in ucfg_dp_update_intf_mac() local 180 dp_ctx = dp_psoc_get_priv(psoc); in ucfg_dp_update_intf_mac() 182 dp_intf = dp_get_intf_by_macaddr(dp_ctx, cur_mac); in ucfg_dp_update_intf_mac() [all …]
|
/wlan-driver/qcacld-3.0/components/dp/core/inc/ |
H A D | wlan_dp_main.h | 57 dp_get_front_intf_no_lock(struct wlan_dp_psoc_context *dp_ctx, 71 dp_get_next_intf_no_lock(struct wlan_dp_psoc_context *dp_ctx, 83 #define __dp_take_ref_and_fetch_front_intf_safe(dp_ctx, dp_intf, \ argument 85 qdf_spin_lock_bh(&dp_ctx->intf_list_lock), \ 86 dp_get_front_intf_no_lock(dp_ctx, &dp_intf), \ 87 dp_get_next_intf_no_lock(dp_ctx, dp_intf, &dp_intf_next), \ 88 qdf_spin_unlock_bh(&dp_ctx->intf_list_lock) 98 #define __dp_take_ref_and_fetch_next_intf_safe(dp_ctx, dp_intf, \ argument 100 qdf_spin_lock_bh(&dp_ctx->intf_list_lock), \ 102 dp_get_next_intf_no_lock(dp_ctx, dp_intf, &dp_intf_next), \ [all …]
|
H A D | wlan_dp_txrx.h | 66 void dp_rx_skip_fisa(struct wlan_dp_psoc_context *dp_ctx, uint32_t value); 75 void dp_reset_all_intfs_connectivity_stats(struct wlan_dp_psoc_context *dp_ctx); 319 void dp_disable_rx_ol_for_low_tput(struct wlan_dp_psoc_context *dp_ctx, 381 struct wlan_dp_psoc_context *dp_ctx = dp_intf->dp_ctx; in dp_nbuf_orphan() local 382 struct wlan_dp_psoc_callbacks *dp_ops = &dp_ctx->dp_ops; in dp_nbuf_orphan() 407 if (dp_ctx->dp_cfg.tx_orphan_enable) in dp_nbuf_orphan() 410 } else if (dp_ctx->dp_cfg.tx_orphan_enable) { in dp_nbuf_orphan() 450 struct wlan_dp_psoc_context *dp_ctx = dp_intf->dp_ctx; in dp_nbuf_orphan() local 455 if (unlikely(dp_ctx->dp_cfg.tx_orphan_enable) || in dp_nbuf_orphan() 638 QDF_STATUS dp_rx_ol_init(struct wlan_dp_psoc_context *dp_ctx, [all …]
|
H A D | wlan_dp_objmgr.h | 99 struct wlan_dp_psoc_context *dp_ctx; in dp_psoc_get_priv() local 101 dp_ctx = wlan_objmgr_psoc_get_comp_private_obj(psoc, WLAN_COMP_DP); in dp_psoc_get_priv() 102 QDF_BUG(dp_ctx); in dp_psoc_get_priv() 104 return dp_ctx; in dp_psoc_get_priv()
|
H A D | wlan_dp_periodic_sta_stats.h | 53 void dp_periodic_sta_stats_display(struct wlan_dp_psoc_context *dp_ctx); 89 dp_periodic_sta_stats_display(struct wlan_dp_psoc_context *dp_ctx) in dp_periodic_sta_stats_display() argument
|
H A D | wlan_dp_priv.h | 470 struct wlan_dp_psoc_context *dp_ctx; member 542 struct wlan_dp_psoc_context *dp_ctx; member 631 struct wlan_dp_psoc_context *dp_ctx; member 751 struct wlan_dp_psoc_context *dp_ctx; member
|
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/ |
H A D | dp_umac_reset.c | 304 static bool dp_umac_reset_peek_rx_event(void *dp_ctx) in dp_umac_reset_peek_rx_event() argument 306 struct dp_intr *int_ctx = (struct dp_intr *)dp_ctx; in dp_umac_reset_peek_rx_event() 453 static int dp_umac_reset_rx_event_handler(void *dp_ctx) in dp_umac_reset_rx_event_handler() argument 455 struct dp_intr *int_ctx = (struct dp_intr *)dp_ctx; in dp_umac_reset_rx_event_handler()
|
H A D | dp_rings.h | 111 uint32_t dp_service_srngs_wrapper(void *dp_ctx, uint32_t dp_budget, int cpu); 143 uint32_t dp_service_srngs(void *dp_ctx, uint32_t dp_budget, int cpu);
|
H A D | dp_rings_main.c | 561 uint32_t dp_service_near_full_srngs(void *dp_ctx, uint32_t dp_budget, int cpu) in dp_service_near_full_srngs() argument 563 struct dp_intr *int_ctx = (struct dp_intr *)dp_ctx; in dp_service_near_full_srngs() 577 uint32_t dp_service_srngs(void *dp_ctx, uint32_t dp_budget, int cpu) in dp_service_srngs() argument 579 struct dp_intr *int_ctx = (struct dp_intr *)dp_ctx; in dp_service_srngs() 717 uint32_t dp_service_srngs(void *dp_ctx, uint32_t dp_budget, int cpu) in dp_service_srngs() argument 719 struct dp_intr *int_ctx = (struct dp_intr *)dp_ctx; in dp_service_srngs()
|
H A D | dp_types.h | 2585 uint32_t (*dp_service_srngs)(void *dp_ctx, uint32_t dp_budget, int cpu);
|
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/li/ |
H A D | dp_li.c | 133 static uint32_t dp_service_srngs_li(void *dp_ctx, uint32_t dp_budget, int cpu) in dp_service_srngs_li() argument 135 return dp_service_srngs(dp_ctx, dp_budget, cpu); in dp_service_srngs_li()
|
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/rh/ |
H A D | dp_rh.c | 618 static uint32_t dp_service_srngs_rh(void *dp_ctx, uint32_t dp_budget, int cpu) in dp_service_srngs_rh() argument 620 struct dp_intr *int_ctx = (struct dp_intr *)dp_ctx; in dp_service_srngs_rh()
|
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/be/ |
H A D | dp_be.c | 2135 static uint32_t dp_service_srngs_be(void *dp_ctx, uint32_t dp_budget, int cpu) in dp_service_srngs_be() argument 2137 return dp_service_srngs(dp_ctx, dp_budget, cpu); in dp_service_srngs_be()
|