/wlan-driver/qcacld-3.0/components/dp/core/src/ |
H A D | wlan_dp_nud_tracking.c | 40 static uint32_t dp_txrx_get_tx_ack_count(struct wlan_dp_intf *dp_intf) in dp_txrx_get_tx_ack_count() argument 47 dp_for_each_link_held_safe(dp_intf, dp_link, dp_link_next) { in dp_txrx_get_tx_ack_count() 58 struct wlan_dp_intf *dp_intf; in dp_nud_set_gateway_addr() local 65 dp_intf = dp_link->dp_intf; in dp_nud_set_gateway_addr() 66 qdf_mem_copy(dp_intf->nud_tracking.gw_mac_addr.bytes, in dp_nud_set_gateway_addr() 69 dp_intf->nud_tracking.is_gw_updated = true; in dp_nud_set_gateway_addr() 72 void dp_nud_incr_gw_rx_pkt_cnt(struct wlan_dp_intf *dp_intf, in dp_nud_incr_gw_rx_pkt_cnt() argument 75 struct dp_nud_tracking_info *nud_tracking = &dp_intf->nud_tracking; in dp_nud_incr_gw_rx_pkt_cnt() 88 void dp_nud_flush_work(struct wlan_dp_intf *dp_intf) in dp_nud_flush_work() argument 90 struct wlan_dp_psoc_context *dp_ctx = dp_intf->dp_ctx; in dp_nud_flush_work() [all …]
|
H A D | wlan_dp_txrx.c | 49 struct wlan_dp_intf *dp_intf = (struct wlan_dp_intf *)intf_ctx; in wlan_dp_intf_get_pkt_type_bitmap_value() local 51 if (!dp_intf) { in wlan_dp_intf_get_pkt_type_bitmap_value() 56 return dp_intf->pkt_type_bitmap; in wlan_dp_intf_get_pkt_type_bitmap_value() 70 struct wlan_dp_intf *dp_intf = dp_link->dp_intf; in dp_get_tx_resource() local 71 struct wlan_dp_psoc_callbacks *dp_ops = &dp_intf->dp_ctx->dp_ops; in dp_get_tx_resource() 149 struct wlan_dp_intf *dp_intf) in dp_tx_rx_is_dns_domain_name_match() argument 153 if (dp_intf->track_dns_domain_len == 0) in dp_tx_rx_is_dns_domain_name_match() 157 if ((dp_intf->track_dns_domain_len + in dp_tx_rx_is_dns_domain_name_match() 162 dp_intf->track_dns_domain_len); in dp_tx_rx_is_dns_domain_name_match() 163 if (qdf_str_ncmp(domain_name, dp_intf->dns_payload, in dp_tx_rx_is_dns_domain_name_match() [all …]
|
H A D | wlan_dp_periodic_sta_stats.c | 25 struct wlan_dp_intf *dp_intf, next_dp_intf = NULL; in dp_periodic_sta_stats_display() local 34 dp_for_each_intf_held_safe(dp_ctx, dp_intf, next_dp_intf) { in dp_periodic_sta_stats_display() 37 if (dp_intf->device_mode != QDF_STA_MODE) in dp_periodic_sta_stats_display() 41 qdf_mutex_acquire(&dp_intf->sta_periodic_stats_lock); in dp_periodic_sta_stats_display() 43 if (!dp_intf->is_sta_periodic_stats_enabled) { in dp_periodic_sta_stats_display() 44 qdf_mutex_release(&dp_intf->sta_periodic_stats_lock); in dp_periodic_sta_stats_display() 48 dp_intf->periodic_stats_timer_counter++; in dp_periodic_sta_stats_display() 49 if ((dp_intf->periodic_stats_timer_counter * in dp_periodic_sta_stats_display() 54 dp_intf->periodic_stats_timer_count--; in dp_periodic_sta_stats_display() 55 if (dp_intf->periodic_stats_timer_count == 0) in dp_periodic_sta_stats_display() [all …]
|
H A D | wlan_dp_softap_txrx.c | 106 static void dp_softap_inspect_tx_eap_pkt(struct wlan_dp_intf *dp_intf, in dp_softap_inspect_tx_eap_pkt() argument 127 if (dp_intf->device_mode != QDF_P2P_GO_MODE) in dp_softap_inspect_tx_eap_pkt() 130 if (dp_intf->bss_state != BSS_INTF_START) { in dp_softap_inspect_tx_eap_pkt() 144 peer = wlan_objmgr_get_peer_by_mac(dp_intf->dp_ctx->psoc, in dp_softap_inspect_tx_eap_pkt() 162 qdf_event_set(&dp_intf->qdf_sta_eap_frm_done_event); in dp_softap_inspect_tx_eap_pkt() 166 qdf_event_reset(&dp_intf->qdf_sta_eap_frm_done_event); in dp_softap_inspect_tx_eap_pkt() 174 void dp_softap_check_wait_for_tx_eap_pkt(struct wlan_dp_intf *dp_intf, in dp_softap_check_wait_for_tx_eap_pkt() argument 181 if (dp_intf->device_mode != QDF_P2P_GO_MODE) in dp_softap_check_wait_for_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() 198 &dp_intf->qdf_sta_eap_frm_done_event, in dp_softap_check_wait_for_tx_eap_pkt() [all …]
|
H A D | wlan_dp_main.c | 149 struct wlan_dp_intf *dp_intf; in dp_get_intf_by_macaddr() local 152 for (dp_get_front_intf_no_lock(dp_ctx, &dp_intf); dp_intf; in dp_get_intf_by_macaddr() 153 dp_get_next_intf_no_lock(dp_ctx, dp_intf, &dp_intf)) { in dp_get_intf_by_macaddr() 154 if (qdf_is_macaddr_equal(&dp_intf->mac_addr, addr)) { in dp_get_intf_by_macaddr() 156 return dp_intf; in dp_get_intf_by_macaddr() 167 struct wlan_dp_intf *dp_intf; in dp_get_intf_by_netdev() local 170 for (dp_get_front_intf_no_lock(dp_ctx, &dp_intf); dp_intf; in dp_get_intf_by_netdev() 171 dp_get_next_intf_no_lock(dp_ctx, dp_intf, &dp_intf)) { in dp_get_intf_by_netdev() 172 if (dp_intf->dev == dev) { in dp_get_intf_by_netdev() 174 return dp_intf; in dp_get_intf_by_netdev() [all …]
|
H A D | wlan_dp_nud_tracking.h | 87 void dp_nud_incr_gw_rx_pkt_cnt(struct wlan_dp_intf *dp_intf, 96 void dp_nud_init_tracking(struct wlan_dp_intf *dp_intf); 104 void dp_nud_reset_tracking(struct wlan_dp_intf *dp_intf); 112 void dp_nud_deinit_tracking(struct wlan_dp_intf *dp_intf); 121 void dp_nud_ignore_tracking(struct wlan_dp_intf *dp_intf, 130 void dp_nud_flush_work(struct wlan_dp_intf *dp_intf); 156 static inline void dp_nud_incr_gw_rx_pkt_cnt(struct wlan_dp_intf *dp_intf, in dp_nud_incr_gw_rx_pkt_cnt() argument 161 static inline void dp_nud_init_tracking(struct wlan_dp_intf *dp_intf) in dp_nud_init_tracking() argument 165 static inline void dp_nud_reset_tracking(struct wlan_dp_intf *dp_intf) in dp_nud_reset_tracking() argument 169 static inline void dp_nud_deinit_tracking(struct wlan_dp_intf *dp_intf) in dp_nud_deinit_tracking() argument [all …]
|
H A D | wlan_dp_bus_bandwidth.c | 177 bbm_get_bus_bw_level_vote(struct wlan_dp_intf *dp_intf, in bbm_get_bus_bw_level_vote() argument 183 struct wlan_dp_psoc_context *dp_ctx = dp_intf->dp_ctx; in bbm_get_bus_bw_level_vote() 195 switch (dp_intf->device_mode) { in bbm_get_bus_bw_level_vote() 199 dp_intf->dev, in bbm_get_bus_bw_level_vote() 210 dp_intf->dev, in bbm_get_bus_bw_level_vote() 224 dp_intf->dev)) in bbm_get_bus_bw_level_vote() 261 struct wlan_dp_intf *dp_intf; in bbm_apply_tput_policy() local 285 dp_for_each_intf_held_safe(dp_ctx, dp_intf, dp_intf_next) { in bbm_apply_tput_policy() 286 if (dp_intf->num_links == 0) in bbm_apply_tput_policy() 289 tmp_vote = bbm_get_bus_bw_level_vote(dp_intf, tput_level); in bbm_apply_tput_policy() [all …]
|
H A D | wlan_dp_fisa_rx.c | 441 return dp_link->dp_intf; in dp_fisa_rx_get_dp_intf_for_vdev() 464 sw_ft_entry->dp_intf = dp_fisa_rx_get_dp_intf_for_vdev(vdev); in dp_rx_fisa_update_sw_ft_entry() 595 sw_ft_entry->dp_intf = in dp_rx_fisa_add_ft_entry() 1137 sw_ft_entry->dp_intf = dp_fisa_rx_get_dp_intf_for_vdev(vdev); in dp_fisa_rx_get_sw_ft_entry() 1152 sw_ft_entry->dp_intf = dp_fisa_rx_get_dp_intf_for_vdev(vdev); in dp_fisa_rx_get_sw_ft_entry() 2051 QDF_STATUS dp_rx_fisa_flush_by_intf_ctx_id(struct wlan_dp_intf *dp_intf, in dp_rx_fisa_flush_by_intf_ctx_id() argument 2064 dp_intf == sw_ft_entry[i].dp_intf && in dp_rx_fisa_flush_by_intf_ctx_id() 2067 i, &sw_ft_entry[i], dp_intf, rx_ctx_id); in dp_rx_fisa_flush_by_intf_ctx_id() 2088 struct wlan_dp_intf *dp_intf; in dp_fisa_disallowed_for_vdev() local 2090 dp_intf = dp_fisa_rx_get_dp_intf_for_vdev(vdev); in dp_fisa_disallowed_for_vdev() [all …]
|
/wlan-driver/qcacld-3.0/components/dp/dispatcher/src/ |
H A D | wlan_dp_ucfg_api.c | 58 struct wlan_dp_intf *dp_intf) in wlan_dp_set_vdev_direct_link_cfg() argument 64 if (dp_intf->device_mode != QDF_SAP_MODE || in wlan_dp_set_vdev_direct_link_cfg() 65 !dp_intf->dp_ctx->dp_direct_link_ctx) in wlan_dp_set_vdev_direct_link_cfg() 68 dp_for_each_link_held_safe(dp_intf, dp_link, dp_link_next) { in wlan_dp_set_vdev_direct_link_cfg() 70 dp_intf->direct_link_config.config_set; in wlan_dp_set_vdev_direct_link_cfg() 83 struct wlan_dp_intf *dp_intf) in wlan_dp_set_vdev_direct_link_cfg() argument 176 struct wlan_dp_intf *dp_intf; in ucfg_dp_update_intf_mac() local 182 dp_intf = dp_get_intf_by_macaddr(dp_ctx, cur_mac); in ucfg_dp_update_intf_mac() 183 if (!dp_intf) { in ucfg_dp_update_intf_mac() 194 qdf_copy_macaddr(&dp_intf->mac_addr, new_mac); in ucfg_dp_update_intf_mac() [all …]
|
/wlan-driver/qcacld-3.0/components/dp/core/inc/ |
H A D | wlan_dp_main.h | 83 #define __dp_take_ref_and_fetch_front_intf_safe(dp_ctx, dp_intf, \ argument 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), \ 98 #define __dp_take_ref_and_fetch_next_intf_safe(dp_ctx, dp_intf, \ argument 101 dp_intf = dp_intf_next, \ 102 dp_get_next_intf_no_lock(dp_ctx, dp_intf, &dp_intf_next), \ 119 #define dp_for_each_intf_held_safe(dp_ctx, dp_intf, dp_intf_next) \ argument 120 for (__dp_take_ref_and_fetch_front_intf_safe(dp_ctx, dp_intf, \ 122 __dp_is_intf_valid(dp_intf); \ 123 __dp_take_ref_and_fetch_next_intf_safe(dp_ctx, dp_intf, \ [all …]
|
H A D | wlan_dp_txrx.h | 87 void dp_softap_check_wait_for_tx_eap_pkt(struct wlan_dp_intf *dp_intf, 181 void dp_softap_tx_timeout(struct wlan_dp_intf *dp_intf); 216 void dp_tx_timeout(struct wlan_dp_intf *dp_intf); 282 QDF_STATUS wlan_dp_rx_deliver_to_stack(struct wlan_dp_intf *dp_intf, 378 qdf_nbuf_t dp_nbuf_orphan(struct wlan_dp_intf *dp_intf, in dp_nbuf_orphan() argument 381 struct wlan_dp_psoc_context *dp_ctx = dp_intf->dp_ctx; in dp_nbuf_orphan() 389 dp_intf->dev); in dp_nbuf_orphan() 419 ++dp_intf->dp_stats.tx_rx_stats.per_cpu[cpu].tx_orphaned; in dp_nbuf_orphan() 447 qdf_nbuf_t dp_nbuf_orphan(struct wlan_dp_intf *dp_intf, in dp_nbuf_orphan() argument 450 struct wlan_dp_psoc_context *dp_ctx = dp_intf->dp_ctx; in dp_nbuf_orphan() [all …]
|
H A D | wlan_dp_periodic_sta_stats.h | 45 void dp_periodic_sta_stats_init(struct wlan_dp_intf *dp_intf); 77 void dp_periodic_sta_stats_mutex_create(struct wlan_dp_intf *dp_intf); 85 void dp_periodic_sta_stats_mutex_destroy(struct wlan_dp_intf *dp_intf); 108 dp_periodic_sta_stats_init(struct wlan_dp_intf *dp_intf) in dp_periodic_sta_stats_init() argument 113 dp_periodic_sta_stats_mutex_create(struct wlan_dp_intf *dp_intf) in dp_periodic_sta_stats_mutex_create() argument 118 dp_periodic_sta_stats_mutex_destroy(struct wlan_dp_intf *dp_intf) in dp_periodic_sta_stats_mutex_destroy() argument
|
H A D | wlan_dp_priv.h | 464 struct wlan_dp_intf *dp_intf; member 722 struct wlan_dp_intf *dp_intf; member
|