/wlan-driver/qcacld-3.0/core/hdd/src/ |
H A D | wlan_hdd_cm_disconnect.c | 55 void hdd_handle_disassociation_event(struct wlan_hdd_link_info *link_info, in hdd_handle_disassociation_event() argument 58 struct hdd_adapter *adapter = link_info->adapter; in hdd_handle_disassociation_event() 64 sta_ctx = WLAN_HDD_GET_STATION_CTX_PTR(link_info); in hdd_handle_disassociation_event() 74 link_info->vdev_id, NULL, in hdd_handle_disassociation_event() 77 hdd_lpass_notify_disconnect(link_info); in hdd_handle_disassociation_event() 79 vdev = hdd_objmgr_get_vdev_by_user(link_info, WLAN_DP_ID); in hdd_handle_disassociation_event() 127 __hdd_cm_disconnect_handler_pre_user_update(struct wlan_hdd_link_info *link_info) in __hdd_cm_disconnect_handler_pre_user_update() argument 129 struct hdd_adapter *adapter = link_info->adapter; in __hdd_cm_disconnect_handler_pre_user_update() 135 sta_ctx = WLAN_HDD_GET_STATION_CTX_PTR(link_info); in __hdd_cm_disconnect_handler_pre_user_update() 144 link_info->vdev_id, in __hdd_cm_disconnect_handler_pre_user_update() [all …]
|
H A D | wlan_hdd_son.c | 77 struct wlan_hdd_link_info *link_info; in hdd_son_is_acs_in_progress() local 85 link_info = wlan_hdd_get_link_info_from_objmgr(vdev); in hdd_son_is_acs_in_progress() 86 if (!link_info) { in hdd_son_is_acs_in_progress() 91 if (!hdd_adapter_is_ap(link_info->adapter)) { in hdd_son_is_acs_in_progress() 92 hdd_err("vdev id %d is not AP", link_info->vdev_id); in hdd_son_is_acs_in_progress() 96 in_progress = qdf_atomic_read(&link_info->session.ap.acs_in_progress); in hdd_son_is_acs_in_progress() 147 struct wlan_hdd_link_info *link_info; in hdd_son_set_chwidth() local 155 link_info = wlan_hdd_get_link_info_from_objmgr(vdev); in hdd_son_set_chwidth() 156 if (!link_info) { in hdd_son_set_chwidth() 163 return hdd_set_mac_chan_width(link_info, chwidth, link_id, false); in hdd_son_set_chwidth() [all …]
|
H A D | wlan_hdd_dcs.c | 76 struct wlan_hdd_link_info *link_info; in hdd_dcs_switch_chan_cb() local 84 link_info = wlan_hdd_get_link_info_from_objmgr(vdev); in hdd_dcs_switch_chan_cb() 85 if (!link_info) { in hdd_dcs_switch_chan_cb() 90 adapter = link_info->adapter; in hdd_dcs_switch_chan_cb() 93 if (!hdd_cm_is_vdev_associated(link_info)) in hdd_dcs_switch_chan_cb() 96 bssid = &link_info->session.station.conn_info.bssid; in hdd_dcs_switch_chan_cb() 105 wlan_hdd_cm_issue_disconnect(link_info, in hdd_dcs_switch_chan_cb() 119 if (!test_bit(SOFTAP_BSS_STARTED, &link_info->link_flags)) in hdd_dcs_switch_chan_cb() 132 wlan_hdd_set_sap_csa_reason(psoc, link_info->vdev_id, in hdd_dcs_switch_chan_cb() 254 struct wlan_hdd_link_info *link_info; in hdd_dcs_cb() local [all …]
|
H A D | wlan_hdd_cm_api.h | 60 wlan_hdd_cm_issue_disconnect(struct wlan_hdd_link_info *link_info, 243 void reset_mscs_params(struct wlan_hdd_link_info *link_info); 246 void reset_mscs_params(struct wlan_hdd_link_info *link_info) in reset_mscs_params() argument 259 void hdd_handle_disassociation_event(struct wlan_hdd_link_info *link_info, 270 __hdd_cm_disconnect_handler_pre_user_update(struct wlan_hdd_link_info *link_info); 282 __hdd_cm_disconnect_handler_post_user_update(struct wlan_hdd_link_info *link_info, 294 void hdd_cm_set_peer_authenticate(struct wlan_hdd_link_info *link_info, 304 void hdd_cm_update_rssi_snr_by_bssid(struct wlan_hdd_link_info *link_info); 346 void hdd_cm_save_connect_status(struct wlan_hdd_link_info *link_info, 355 bool hdd_cm_is_vdev_associated(struct wlan_hdd_link_info *link_info); [all …]
|
H A D | wlan_hdd_cm_connect.c | 61 bool hdd_cm_is_vdev_associated(struct wlan_hdd_link_info *link_info) in hdd_cm_is_vdev_associated() argument 68 sta_ctx = WLAN_HDD_GET_STATION_CTX_PTR(link_info); in hdd_cm_is_vdev_associated() 69 if (link_info->adapter->device_mode == QDF_NDI_MODE) in hdd_cm_is_vdev_associated() 73 vdev = hdd_objmgr_get_vdev_by_user(link_info, WLAN_OSIF_CM_ID); in hdd_cm_is_vdev_associated() 89 bool hdd_cm_is_vdev_connected(struct wlan_hdd_link_info *link_info) in hdd_cm_is_vdev_connected() argument 94 enum QDF_OPMODE opmode = link_info->adapter->device_mode; in hdd_cm_is_vdev_connected() 96 sta_ctx = WLAN_HDD_GET_STATION_CTX_PTR(link_info); in hdd_cm_is_vdev_connected() 104 vdev = hdd_objmgr_get_vdev_by_user(link_info, WLAN_OSIF_CM_ID); in hdd_cm_is_vdev_connected() 115 bool hdd_cm_is_connecting(struct wlan_hdd_link_info *link_info) in hdd_cm_is_connecting() argument 121 vdev = hdd_objmgr_get_vdev_by_user(link_info, WLAN_OSIF_CM_ID); in hdd_cm_is_connecting() [all …]
|
H A D | wlan_hdd_lpass.c | 84 struct wlan_hdd_link_info *link_info, in wlan_hdd_gen_wlan_status_pack() argument 101 if (!link_info) { in wlan_hdd_gen_wlan_status_pack() 112 if (wlan_hdd_validate_vdev_id(link_info->vdev_id)) in wlan_hdd_gen_wlan_status_pack() 115 adapter = link_info->adapter; in wlan_hdd_gen_wlan_status_pack() 161 data->vdev_id = link_info->vdev_id; in wlan_hdd_gen_wlan_status_pack() 165 data->rssi = link_info->rssi; in wlan_hdd_gen_wlan_status_pack() 230 static void wlan_hdd_send_status_pkg(struct wlan_hdd_link_info *link_info, in wlan_hdd_send_status_pkg() argument 249 ret = wlan_hdd_gen_wlan_status_pack(data, link_info, in wlan_hdd_send_status_pkg() 303 wlan_hdd_send_scan_intf_info(struct wlan_hdd_link_info *link_info) in wlan_hdd_send_scan_intf_info() argument 305 wlan_hdd_send_status_pkg(link_info, NULL, 1, 0); in wlan_hdd_send_scan_intf_info() [all …]
|
H A D | wlan_hdd_nan_datapath.c | 146 struct wlan_hdd_link_info *link_info; in hdd_is_ndp_allowed() local 150 hdd_adapter_for_each_active_link_info(adapter, link_info) { in hdd_is_ndp_allowed() 154 &link_info->link_flags)) { in hdd_is_ndp_allowed() 165 if (hdd_cm_is_vdev_associated(link_info) || in hdd_is_ndp_allowed() 166 hdd_cm_is_connecting(link_info)) { in hdd_is_ndp_allowed() 190 struct wlan_hdd_link_info *link_info; in hdd_is_ndp_allowed() local 194 hdd_adapter_for_each_active_link_info(adapter, link_info) { in hdd_is_ndp_allowed() 199 &link_info->link_flags)) { in hdd_is_ndp_allowed() 210 if (hdd_cm_is_vdev_associated(link_info) || in hdd_is_ndp_allowed() 211 hdd_cm_is_connecting(link_info)) { in hdd_is_ndp_allowed() [all …]
|
H A D | wlan_hdd_assoc.c | 256 struct wlan_hdd_link_info *link_info) in wlan_hdd_sae_copy_ta_addr() argument 262 status = ucfg_cm_get_sae_auth_ta(link_info->adapter->hdd_ctx->pdev, in wlan_hdd_sae_copy_ta_addr() 263 link_info->vdev_id, in wlan_hdd_sae_copy_ta_addr() 267 else if (wlan_vdev_mlme_is_mlo_vdev(link_info->vdev)) { in wlan_hdd_sae_copy_ta_addr() 268 link_addr = wlan_vdev_mlme_get_linkaddr(link_info->vdev); in wlan_hdd_sae_copy_ta_addr() 279 struct wlan_hdd_link_info *link_info) in wlan_hdd_sae_copy_ta_addr() argument 296 struct wlan_hdd_link_info *link_info) in wlan_hdd_sae_update_mld_addr() argument 303 if (!link_info->vdev) in wlan_hdd_sae_update_mld_addr() 306 vdev = link_info->vdev; in wlan_hdd_sae_update_mld_addr() 343 struct wlan_hdd_link_info *link_info) in wlan_hdd_sae_update_mld_addr() argument [all …]
|
H A D | wlan_hdd_hostapd.c | 331 hdd_hostapd_deinit_sap_session(struct wlan_hdd_link_info *link_info) in hdd_hostapd_deinit_sap_session() argument 336 sap_ctx = WLAN_HDD_GET_SAP_CTX_PTR(link_info); in hdd_hostapd_deinit_sap_session() 342 wlan_hdd_undo_acs(link_info); in hdd_hostapd_deinit_sap_session() 348 if (!hdd_sap_destroy_ctx(link_info)) { in hdd_hostapd_deinit_sap_session() 962 wlan_hdd_get_puncture_bitmap(struct wlan_hdd_link_info *link_info) in wlan_hdd_get_puncture_bitmap() argument 964 struct hdd_adapter *adapter = link_info->adapter; in wlan_hdd_get_puncture_bitmap() 965 struct hdd_ap_ctx *ap_ctx = WLAN_HDD_GET_AP_CTX_PTR(link_info); in wlan_hdd_get_puncture_bitmap() 991 wlan_hdd_get_puncture_bitmap(struct wlan_hdd_link_info *link_info) in wlan_hdd_get_puncture_bitmap() argument 1067 static void hdd_chan_change_notify_update(struct wlan_hdd_link_info *link_info) in hdd_chan_change_notify_update() argument 1069 struct hdd_adapter *adapter = link_info->adapter; in hdd_chan_change_notify_update() [all …]
|
H A D | wlan_hdd_cfg.c | 1098 static QDF_STATUS hdd_set_nss_params(struct wlan_hdd_link_info *link_info, in hdd_set_nss_params() argument 1104 struct hdd_adapter *adapter = link_info->adapter; in hdd_set_nss_params() 1117 link_info->vdev_id, in hdd_set_nss_params() 1120 hdd_err("vdev is NULL %d", link_info->vdev_id); in hdd_set_nss_params() 1143 link_info->vdev_id))) in hdd_set_nss_params() 1149 static void hdd_update_nss_in_vdev(struct wlan_hdd_link_info *link_info, in hdd_update_nss_in_vdev() argument 1155 struct hdd_adapter *adapter = link_info->adapter; in hdd_update_nss_in_vdev() 1172 vdev = hdd_objmgr_get_vdev_by_user(link_info, WLAN_OSIF_ID); in hdd_update_nss_in_vdev() 1180 static void hdd_set_sap_nss_params(struct wlan_hdd_link_info *link_info, in hdd_set_sap_nss_params() argument 1184 hdd_update_nss_in_vdev(link_info, mac_handle, tx_nss, rx_nss); in hdd_set_sap_nss_params() [all …]
|
H A D | wlan_hdd_stats.c | 235 static int copy_station_stats_to_adapter(struct wlan_hdd_link_info *link_info, in copy_station_stats_to_adapter() argument 245 struct hdd_adapter *adapter = link_info->adapter; in copy_station_stats_to_adapter() 247 vdev = hdd_objmgr_get_vdev_by_user(link_info, WLAN_OSIF_STATS_ID); in copy_station_stats_to_adapter() 251 hdd_stats = &link_info->hdd_stats; in copy_station_stats_to_adapter() 289 link_info->is_mlo_vdev_active = in copy_station_stats_to_adapter() 299 switch (hdd_conn_get_connected_band(link_info)) { in copy_station_stats_to_adapter() 364 copy_station_big_data_stats_to_adapter(struct wlan_hdd_link_info *link_info, in copy_station_big_data_stats_to_adapter() argument 368 &link_info->big_data_stats; in copy_station_big_data_stats_to_adapter() 474 static bool wlan_hdd_is_mlo_connection(struct wlan_hdd_link_info *link_info) in wlan_hdd_is_mlo_connection() argument 479 if (!link_info) { in wlan_hdd_is_mlo_connection() [all …]
|
H A D | wlan_hdd_mlo.c | 172 struct wlan_hdd_link_info *link_info; in hdd_wlan_register_mlo_interfaces() local 204 hdd_adapter_for_each_link_info(ml_adapter, link_info) { in hdd_wlan_register_mlo_interfaces() 205 qdf_copy_macaddr(&link_info->link_addr, in hdd_wlan_register_mlo_interfaces() 283 struct wlan_hdd_link_info *link_info, *iter_link_info; in hdd_adapter_link_switch_notification() local 291 link_info = osif_priv->legacy_osif_priv; in hdd_adapter_link_switch_notification() 292 adapter = link_info->adapter; in hdd_adapter_link_switch_notification() 294 if (link_info->vdev_id != adapter->deflink->vdev_id) { in hdd_adapter_link_switch_notification() 296 adapter->deflink->vdev_id, link_info->vdev_id); in hdd_adapter_link_switch_notification() 389 struct wlan_hdd_link_info *temp_link_info, *link_info; in hdd_adapter_restore_link_vdev_map() local 392 hdd_adapter_for_each_link_info(adapter, link_info) { in hdd_adapter_restore_link_vdev_map() [all …]
|
H A D | wlan_hdd_wext.c | 2765 void hdd_wlan_get_stats(struct wlan_hdd_link_info *link_info, uint16_t *length, in hdd_wlan_get_stats() argument 2768 struct hdd_tx_rx_stats *stats = &link_info->hdd_stats.tx_rx_stats; in hdd_wlan_get_stats() 2780 struct hdd_context *hdd_ctx = link_info->adapter->hdd_ctx; in hdd_wlan_get_stats() 2783 vdev = hdd_objmgr_get_vdev_by_user(link_info, WLAN_DP_ID); in hdd_wlan_get_stats() 2874 link_info->vdev_id, &buffer[len], in hdd_wlan_get_stats() 2963 static int hdd_we_dump_stats(struct wlan_hdd_link_info *link_info, int value) in hdd_we_dump_stats() argument 2965 return hdd_wlan_dump_stats(link_info->adapter, value); in hdd_we_dump_stats() 3306 int hdd_we_update_phymode(struct wlan_hdd_link_info *link_info, in hdd_we_update_phymode() argument 3326 return hdd_update_phymode(link_info->adapter, phymode, supported_band, in hdd_we_update_phymode() 3346 static int hdd_handle_pdev_reset(struct wlan_hdd_link_info *link_info, in hdd_handle_pdev_reset() argument [all …]
|
H A D | wlan_hdd_lpass.h | 77 void hdd_lpass_notify_connect(struct wlan_hdd_link_info *link_info); 88 void hdd_lpass_notify_disconnect(struct wlan_hdd_link_info *link_info); 99 void hdd_lpass_notify_mode_change(struct wlan_hdd_link_info *link_info); 110 void hdd_lpass_notify_start(struct wlan_hdd_link_info *link_info); 159 hdd_lpass_notify_connect(struct wlan_hdd_link_info *link_info) in hdd_lpass_notify_connect() argument 164 hdd_lpass_notify_disconnect(struct wlan_hdd_link_info *link_info) in hdd_lpass_notify_disconnect() argument 169 hdd_lpass_notify_mode_change(struct wlan_hdd_link_info *link_info) in hdd_lpass_notify_mode_change() argument 174 hdd_lpass_notify_start(struct wlan_hdd_link_info *link_info) in hdd_lpass_notify_start() argument
|
H A D | wlan_hdd_ioctl.c | 145 typedef int (*hdd_drv_cmd_handler_t)(struct wlan_hdd_link_info *link_info, 2501 int wlan_hdd_set_mc_rate(struct wlan_hdd_link_info *link_info, int target_rate) in wlan_hdd_set_mc_rate() argument 2505 struct hdd_adapter *adapter = link_info->adapter; in wlan_hdd_set_mc_rate() 2547 static int drv_cmd_p2p_dev_addr(struct wlan_hdd_link_info *link_info, in drv_cmd_p2p_dev_addr() argument 2559 link_info->vdev_id, in drv_cmd_p2p_dev_addr() 2587 static int drv_cmd_p2p_set_noa(struct wlan_hdd_link_info *link_info, in drv_cmd_p2p_set_noa() argument 2593 return hdd_set_p2p_noa(link_info->adapter->dev, command); in drv_cmd_p2p_set_noa() 2609 static int drv_cmd_p2p_set_ps(struct wlan_hdd_link_info *link_info, in drv_cmd_p2p_set_ps() argument 2615 return hdd_set_p2p_opps(link_info->adapter->dev, command); in drv_cmd_p2p_set_ps() 2618 static int drv_cmd_set_band(struct wlan_hdd_link_info *link_info, in drv_cmd_set_band() argument [all …]
|
H A D | wlan_hdd_stats.h | 212 bool hdd_get_interface_info(struct wlan_hdd_link_info *link_info, 223 int wlan_hdd_ll_stats_get(struct wlan_hdd_link_info *link_info, 285 wlan_hdd_ll_stats_get(struct wlan_hdd_link_info *link_info, in wlan_hdd_ll_stats_get() argument 460 QDF_STATUS wlan_hdd_get_rssi(struct wlan_hdd_link_info *link_info, 470 QDF_STATUS wlan_hdd_get_snr(struct wlan_hdd_link_info *link_info, int8_t *snr); 483 int wlan_hdd_get_linkspeed_for_peermac(struct wlan_hdd_link_info *link_info, 498 int wlan_hdd_get_link_speed(struct wlan_hdd_link_info *link_info, 510 int wlan_hdd_get_sap_go_peer_linkspeed(struct wlan_hdd_link_info *link_info, 526 void wlan_hdd_get_peer_rx_rate_stats(struct wlan_hdd_link_info *link_info); 529 wlan_hdd_get_peer_rx_rate_stats(struct wlan_hdd_link_info *link_info) in wlan_hdd_get_peer_rx_rate_stats() argument [all …]
|
H A D | wlan_hdd_btc_chain_mode.c | 43 struct wlan_hdd_link_info *link_info; in wlan_hdd_btc_chain_mode_handler() local 60 link_info = wlan_hdd_get_link_info_from_vdev(psoc, vdev_id); in wlan_hdd_btc_chain_mode_handler() 61 if (!link_info) { in wlan_hdd_btc_chain_mode_handler() 66 adapter = link_info->adapter; in wlan_hdd_btc_chain_mode_handler() 83 nss, link_info->vdev_id, adapter->device_mode); in wlan_hdd_btc_chain_mode_handler() 95 sme_update_he_cap_nss(mac_handle, link_info->vdev_id, nss); in wlan_hdd_btc_chain_mode_handler() 96 freq = hdd_get_link_info_home_channel(link_info); in wlan_hdd_btc_chain_mode_handler() 112 wlan_hdd_cm_issue_disconnect(link_info, in wlan_hdd_btc_chain_mode_handler() 117 hdd_restart_sap(link_info); in wlan_hdd_btc_chain_mode_handler()
|
H A D | wlan_hdd_main.c | 502 struct wlan_hdd_link_info *link_info; in hdd_common_roam_callback() local 505 link_info = wlan_hdd_get_link_info_from_vdev(psoc, session_id); in hdd_common_roam_callback() 506 if (!link_info) in hdd_common_roam_callback() 509 adapter = link_info->adapter; in hdd_common_roam_callback() 519 status = hdd_sme_roam_callback(link_info, roam_info, in hdd_common_roam_callback() 525 wlansap_roam_callback(link_info->session.ap.sap_context, in hdd_common_roam_callback() 712 struct wlan_hdd_link_info *link_info; in wlan_hdd_txrx_pause_cb() local 717 link_info = hdd_get_link_info_by_vdev(hdd_ctx, vdev_id); in wlan_hdd_txrx_pause_cb() 718 if (!link_info) in wlan_hdd_txrx_pause_cb() 721 adapter = link_info->adapter; in wlan_hdd_txrx_pause_cb() [all …]
|
H A D | wlan_hdd_station_info.c | 172 static int hdd_get_sta_congestion(struct wlan_hdd_link_info *link_info, in hdd_get_sta_congestion() argument 179 vdev = hdd_objmgr_get_vdev_by_user(link_info, WLAN_OSIF_STATS_ID); in hdd_get_sta_congestion() 203 static int hdd_get_station_assoc_fail(struct wlan_hdd_link_info *link_info) in hdd_get_station_assoc_fail() argument 207 struct hdd_context *hdd_ctx = WLAN_HDD_GET_CTX(link_info->adapter); in hdd_get_station_assoc_fail() 219 hdd_sta_ctx = WLAN_HDD_GET_STATION_CTX_PTR(link_info); in hdd_get_station_assoc_fail() 227 if (hdd_get_sta_congestion(link_info, &congestion)) in hdd_get_station_assoc_fail() 415 struct wlan_hdd_link_info *link_info, int idx) in hdd_add_tx_bitrate() argument 427 sta_ctx = WLAN_HDD_GET_STATION_CTX_PTR(link_info); in hdd_add_tx_bitrate() 430 if (hdd_cm_is_vdev_associated(link_info)) in hdd_add_tx_bitrate() 500 struct wlan_hdd_link_info *link_info, int idx) in hdd_add_sta_info() argument [all …]
|
H A D | wlan_hdd_pre_cac.c | 228 struct wlan_hdd_link_info *pre_cac_link_info, *link_info; in __wlan_hdd_request_pre_cac() local 247 link_info = ap_adapter->deflink; in __wlan_hdd_request_pre_cac() 248 hdd_ap_ctx = WLAN_HDD_GET_AP_CTX_PTR(link_info); in __wlan_hdd_request_pre_cac() 399 link_info->vdev_id, in __wlan_hdd_request_pre_cac() 434 ucfg_pre_cac_set_freq_before_pre_cac(link_info->vdev, in __wlan_hdd_request_pre_cac() 436 ucfg_pre_cac_set_freq(link_info->vdev, pre_cac_chan_freq); in __wlan_hdd_request_pre_cac() 537 struct wlan_hdd_link_info *link_info; in wlan_hdd_pre_cac_conditional_freq_switch_ind() local 540 link_info = wlan_hdd_get_link_info_from_vdev(psoc, vdev_id); in wlan_hdd_pre_cac_conditional_freq_switch_ind() 541 if (!link_info) { in wlan_hdd_pre_cac_conditional_freq_switch_ind() 546 adapter = link_info->adapter; in wlan_hdd_pre_cac_conditional_freq_switch_ind() [all …]
|
H A D | wlan_hdd_object_manager.h | 147 #define hdd_objmgr_get_vdev_by_user(link_info, dbgid) \ argument 148 __hdd_objmgr_get_vdev_by_user(link_info, dbgid, __func__, __LINE__) 150 __hdd_objmgr_get_vdev_by_user(struct wlan_hdd_link_info *link_info, 155 #define hdd_objmgr_get_vdev_by_user(link_info, dbgid) \ argument 156 __hdd_objmgr_get_vdev_by_user(link_info, dbgid, __func__) 158 __hdd_objmgr_get_vdev_by_user(struct wlan_hdd_link_info *link_info,
|
H A D | wlan_hdd_tdls.c | 231 struct wlan_hdd_link_info *link_info; in wlan_hdd_get_tdls_allowed() local 235 hdd_adapter_for_each_active_link_info(adapter, link_info) { in wlan_hdd_get_tdls_allowed() 236 vdev = hdd_objmgr_get_vdev_by_user(link_info, WLAN_TDLS_NB_ID); in wlan_hdd_get_tdls_allowed() 533 struct wlan_hdd_link_info *link_info; in wlan_hdd_tdls_enable() local 538 hdd_adapter_for_each_active_link_info(adapter, link_info) { in wlan_hdd_tdls_enable() 539 vdev = hdd_objmgr_get_vdev_by_user(link_info, WLAN_TDLS_NB_ID); in wlan_hdd_tdls_enable() 639 struct wlan_hdd_link_info *link_info; in wlan_hdd_tdls_disable() local 643 hdd_adapter_for_each_active_link_info(adapter, link_info) { in wlan_hdd_tdls_disable() 644 vdev = hdd_objmgr_get_vdev_by_user(link_info, WLAN_TDLS_NB_ID); in wlan_hdd_tdls_disable() 976 hdd_is_sta_legacy(struct wlan_hdd_link_info *link_info) in hdd_is_sta_legacy() argument [all …]
|
/wlan-driver/qca-wifi-host-cmn/umac/mlo_mgr/src/ |
H A D | wlan_mlo_mgr_link_switch.c | 35 struct mlo_link_info *link_info; in mlo_mgr_update_link_info_mac_addr() local 43 link_info = &vdev->mlo_dev_ctx->link_ctx->links_info[0]; in mlo_mgr_update_link_info_mac_addr() 47 qdf_mem_copy(&link_info->link_addr, in mlo_mgr_update_link_info_mac_addr() 51 link_info->vdev_id = link_mac_info->vdev_id; in mlo_mgr_update_link_info_mac_addr() 53 link_info->vdev_id, in mlo_mgr_update_link_info_mac_addr() 54 QDF_MAC_ADDR_REF(link_info->link_addr.bytes)); in mlo_mgr_update_link_info_mac_addr() 56 link_info++; in mlo_mgr_update_link_info_mac_addr() 64 struct mlo_link_info *link_info; in mlo_mgr_update_ap_link_info() local 70 link_info = &vdev->mlo_dev_ctx->link_ctx->links_info[0]; in mlo_mgr_update_ap_link_info() 73 if (qdf_is_macaddr_zero(&link_info->ap_link_addr)) in mlo_mgr_update_ap_link_info() [all …]
|
/wlan-driver/qca-wifi-host-cmn/target_if/init_deinit/src/ |
H A D | mlo_global_h_shmem_arena.c | 200 struct wlan_host_mlo_glb_rx_reo_per_link_info *link_info) in extract_mlo_glb_rx_reo_per_link_info_tlv() argument 209 qdf_assert_always(link_info); in extract_mlo_glb_rx_reo_per_link_info_tlv() 220 link_info->link_id = link_id; in extract_mlo_glb_rx_reo_per_link_info_tlv() 237 &link_info->fw_consumed); in extract_mlo_glb_rx_reo_per_link_info_tlv() 243 &link_info->fw_forwarded); in extract_mlo_glb_rx_reo_per_link_info_tlv() 249 &link_info->hw_forwarded); in extract_mlo_glb_rx_reo_per_link_info_tlv() 298 uint32_t link_info; in extract_mlo_glb_rx_reo_snapshot_info_tlv() local 312 link_info = get_field_value_in_tlv(ptlv, link_info, tlv_len); in extract_mlo_glb_rx_reo_snapshot_info_tlv() 314 MLO_SHMEM_GLB_LINK_INFO_PARAM_VALID_LINK_BMAP_GET(link_info); in extract_mlo_glb_rx_reo_snapshot_info_tlv() 333 snapshot_info->link_info = qdf_mem_malloc( in extract_mlo_glb_rx_reo_snapshot_info_tlv() [all …]
|
/wlan-driver/qcacld-3.0/core/hdd/inc/ |
H A D | wlan_hdd_main.h | 1489 struct wlan_hdd_link_info link_info[WLAN_MAX_ML_BSS_LINKS]; member 1500 #define WLAN_HDD_GET_STATION_CTX_PTR(link_info) (&(link_info)->session.station) argument 1501 #define WLAN_HDD_GET_AP_CTX_PTR(link_info) (&(link_info)->session.ap) argument 1503 #define WLAN_HDD_GET_HOSTAP_STATE_PTR(link_info) \ argument 1504 (&(WLAN_HDD_GET_AP_CTX_PTR((link_info))->hostapd_state)) 1505 #define WLAN_HDD_GET_SAP_CTX_PTR(link_info) \ argument 1506 (WLAN_HDD_GET_AP_CTX_PTR((link_info))->sap_context) 2594 (*hdd_adapter_iterate_cb)(struct wlan_hdd_link_info *link_info, void *context); 2740 &((adapter)->link_info[(link_idx)]) : NULL 2744 #define __hdd_adapter_get_first_active_link_info(adapter, link_info) \ argument [all …]
|