/wlan-driver/qcacld-3.0/components/dp/dispatcher/src/ |
H A D | wlan_dp_ucfg_api.c | 60 struct wlan_dp_link *dp_link, *dp_link_next; in wlan_dp_set_vdev_direct_link_cfg() local 68 dp_for_each_link_held_safe(dp_intf, dp_link, dp_link_next) { in wlan_dp_set_vdev_direct_link_cfg() 72 dp_link->link_id, in wlan_dp_set_vdev_direct_link_cfg() 92 struct wlan_dp_link *dp_link, 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() 118 struct wlan_dp_link *dp_link, in wlan_dp_update_vdev_mac_addr() argument 143 struct wlan_dp_link *dp_link; in ucfg_dp_update_link_mac_addr() local 148 dp_link = dp_get_vdev_priv_obj(vdev); in ucfg_dp_update_link_mac_addr() 149 if (!is_dp_link_valid(dp_link)) { in ucfg_dp_update_link_mac_addr() 154 qdf_copy_macaddr(&dp_link->mac_addr, new_mac_addr); in ucfg_dp_update_link_mac_addr() [all …]
|
/wlan-driver/qcacld-3.0/components/dp/core/src/ |
H A D | wlan_dp_main.c | 224 bool is_dp_link_valid(struct wlan_dp_link *dp_link) in is_dp_link_valid() argument 229 if (!dp_link) { in is_dp_link_valid() 234 if (dp_link->magic != WLAN_DP_LINK_MAGIC) { in is_dp_link_valid() 235 dp_err("dp_link %pK bad magic %llx", dp_link, dp_link->magic); in is_dp_link_valid() 239 dp_intf = dp_link->dp_intf; in is_dp_link_valid() 244 return validate_link_id(dp_link->link_id); in is_dp_link_valid() 818 struct wlan_dp_link *dp_link; in dp_rx_mic_error_ind() local 828 dp_link = dp_get_vdev_priv_obj(vdev); in dp_rx_mic_error_ind() 829 if (!dp_link) { in dp_rx_mic_error_ind() 834 dp_intf = dp_link->dp_intf; in dp_rx_mic_error_ind() [all …]
|
H A D | wlan_dp_softap_txrx.c | 215 int dp_post_dhcp_ind(struct wlan_dp_link *dp_link, uint8_t *mac_addr, in dp_post_dhcp_ind() argument 226 if (!is_dp_link_valid(dp_link)) { in dp_post_dhcp_ind() 231 dp_intf = dp_link->dp_intf; in dp_post_dhcp_ind() 255 status = sb_ops->dp_send_dhcp_ind(dp_link->link_id, &msg); in dp_post_dhcp_ind() 276 struct wlan_dp_link *dp_link = link_context; in dp_softap_notify_dhcp_ind() local 278 if (!is_dp_link_valid(dp_link)) in dp_softap_notify_dhcp_ind() 284 dp_post_dhcp_ind(dp_link, dest_mac_addr, false); in dp_softap_notify_dhcp_ind() 287 int dp_softap_inspect_dhcp_packet(struct wlan_dp_link *dp_link, in dp_softap_inspect_dhcp_packet() argument 291 struct wlan_dp_intf *dp_intf = dp_link->dp_intf; in dp_softap_inspect_dhcp_packet() 334 dp_link, in dp_softap_inspect_dhcp_packet() [all …]
|
H A D | wlan_dp_txrx.c | 67 void dp_get_tx_resource(struct wlan_dp_link *dp_link, in dp_get_tx_resource() argument 70 struct wlan_dp_intf *dp_intf = dp_link->dp_intf; in dp_get_tx_resource() 73 dp_ops->dp_get_tx_resource(dp_link->link_id, in dp_get_tx_resource() 213 struct wlan_dp_link *dp_link = (struct wlan_dp_link *)context; in dp_tx_rx_collect_connectivity_stats_info() local 214 struct wlan_dp_intf *dp_intf = dp_link->dp_intf; in dp_tx_rx_collect_connectivity_stats_info() 416 void dp_get_transmit_mac_addr(struct wlan_dp_link *dp_link, in dp_get_transmit_mac_addr() argument 420 struct wlan_dp_intf *dp_intf = dp_link->dp_intf; in dp_get_transmit_mac_addr() 432 if (!dp_link->vdev) in dp_get_transmit_mac_addr() 437 state = wlan_nan_get_ndi_state(dp_link->vdev); in dp_get_transmit_mac_addr() 455 if (wlan_cm_is_vdev_active(dp_link->vdev)) in dp_get_transmit_mac_addr() [all …]
|
H A D | wlan_dp_nud_tracking.c | 43 struct wlan_dp_link *dp_link; in dp_txrx_get_tx_ack_count() local 47 dp_for_each_link_held_safe(dp_intf, dp_link, dp_link_next) { in dp_txrx_get_tx_ack_count() 48 ack_count += cdp_get_tx_ack_stats(soc, dp_link->link_id); in dp_txrx_get_tx_ack_count() 57 struct wlan_dp_link *dp_link = dp_get_vdev_priv_obj(vdev); in dp_nud_set_gateway_addr() local 60 if (!dp_link) { in dp_nud_set_gateway_addr() 65 dp_intf = dp_link->dp_intf; in dp_nud_set_gateway_addr() 355 struct wlan_dp_link *dp_link; in dp_nud_filter_netevent() local 398 dp_link = dp_intf->def_link; in dp_nud_filter_netevent() 399 vdev = dp_objmgr_get_vdev_by_user(dp_link, WLAN_DP_ID); in dp_nud_filter_netevent() 410 if (!dp_link->conn_info.is_authenticated) { in dp_nud_filter_netevent() [all …]
|
H A D | wlan_dp_periodic_sta_stats.c | 87 struct wlan_dp_link *dp_link = dp_get_vdev_priv_obj(vdev); in dp_periodic_sta_stats_start() local 91 if (!dp_link) { in dp_periodic_sta_stats_start() 96 dp_intf = dp_link->dp_intf; in dp_periodic_sta_stats_start() 113 struct wlan_dp_link *dp_link = dp_get_vdev_priv_obj(vdev); in dp_periodic_sta_stats_stop() local 117 if (!dp_link) { in dp_periodic_sta_stats_stop() 122 dp_intf = dp_link->dp_intf; in dp_periodic_sta_stats_stop()
|
H A D | wlan_dp_bus_bandwidth.c | 1885 struct wlan_dp_link *dp_link = NULL; in __dp_bus_bw_work_handler() local 1962 dp_for_each_link_held_safe(dp_intf, dp_link, in __dp_bus_bw_work_handler() 1966 dp_link->link_id, in __dp_bus_bw_work_handler() 1997 dp_for_each_link_held_safe(dp_intf, dp_link, dp_link_next) { in __dp_bus_bw_work_handler() 1998 dp_set_driver_del_ack_enable(dp_link->link_id, dp_ctx, in __dp_bus_bw_work_handler() 2001 dp_set_vdev_bundle_require_flag(dp_link->link_id, in __dp_bus_bw_work_handler() 2282 struct wlan_dp_link *dp_link = dp_get_vdev_priv_obj(vdev); in dp_bus_bw_compute_prev_txrx_stats() local 2286 if (!dp_link) { in dp_bus_bw_compute_prev_txrx_stats() 2291 dp_intf = dp_link->dp_intf; in dp_bus_bw_compute_prev_txrx_stats() 2294 dp_link, QDF_MAC_ADDR_REF(dp_link->mac_addr.bytes)); in dp_bus_bw_compute_prev_txrx_stats() [all …]
|
H A D | wlan_dp_fisa_rx.c | 437 struct wlan_dp_link *dp_link = in dp_fisa_rx_get_dp_intf_for_vdev() local 441 return dp_link->dp_intf; in dp_fisa_rx_get_dp_intf_for_vdev()
|
/wlan-driver/qcacld-3.0/components/dp/core/inc/ |
H A D | wlan_dp_main.h | 182 #define __dp_take_ref_and_fetch_front_link_safe(dp_intf, dp_link, \ argument 185 dp_get_front_link_no_lock(dp_intf, &(dp_link)), \ 186 dp_get_next_link_no_lock(dp_intf, dp_link, &(dp_link_next)), \ 196 #define __dp_take_ref_and_fetch_next_link_safe(dp_intf, dp_link, \ argument 199 dp_link = dp_link_next, \ 200 dp_get_next_link_no_lock(dp_intf, dp_link, &(dp_link_next)), \ 217 #define dp_for_each_link_held_safe(dp_intf, dp_link, dp_link_next) \ argument 218 for (__dp_take_ref_and_fetch_front_link_safe(dp_intf, dp_link, \ 220 __dp_is_link_valid(dp_link); \ 221 __dp_take_ref_and_fetch_next_link_safe(dp_intf, dp_link, \ [all …]
|
H A D | wlan_dp_objmgr.h | 116 #define dp_objmgr_get_vdev_by_user(dp_link, dbgid) \ argument 117 __dp_objmgr_get_vdev_by_user(dp_link, dbgid, __func__, __LINE__) 119 __dp_objmgr_get_vdev_by_user(struct wlan_dp_link *dp_link, 124 #define dp_objmgr_get_vdev_by_user(dp_link, dbgid) \ argument 125 __dp_objmgr_get_vdev_by_user(dp_link, dbgid, __func__) 127 __dp_objmgr_get_vdev_by_user(struct wlan_dp_link *dp_link,
|
H A D | wlan_dp_txrx.h | 99 int dp_post_dhcp_ind(struct wlan_dp_link *dp_link, 129 int dp_softap_inspect_dhcp_packet(struct wlan_dp_link *dp_link, 134 int dp_post_dhcp_ind(struct wlan_dp_link *dp_link, in dp_post_dhcp_ind() argument 141 int dp_softap_inspect_dhcp_packet(struct wlan_dp_link *dp_link, 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); 434 void dp_get_tx_resource(struct wlan_dp_link *dp_link, 490 void dp_get_tx_resource(struct wlan_dp_link *dp_link, in dp_get_tx_resource() argument 506 dp_start_xmit(struct wlan_dp_link *dp_link, qdf_nbuf_t nbuf);
|