Home
last modified time | relevance | path

Searched refs:sta (Results 1 – 25 of 50) sorted by relevance

12

/wlan-driver/qcacld-3.0/core/mac/src/dph/
Ddph_hash_table.c178 tpDphHashNode sta, pnext; in dph_init_sta_state() local
185 sta = get_node(mac, (uint8_t) assocId, hash_table); in dph_init_sta_state()
186 pnext = sta->next; in dph_init_sta_state()
189 qdf_mem_zero((uint8_t *)sta, sizeof(tDphHashNode)); in dph_init_sta_state()
190 sta->next = pnext; in dph_init_sta_state()
193 sta->assocId = assocId; in dph_init_sta_state()
196 qdf_mem_copy(sta->staAddr, staAddr, sizeof(tSirMacAddr)); in dph_init_sta_state()
198 sta->added = 1; in dph_init_sta_state()
199 sta->is_disassoc_deauth_in_progress = 0; in dph_init_sta_state()
200 sta->sta_deletion_in_progress = false; in dph_init_sta_state()
[all …]
/wlan-driver/qcacld-3.0/core/mac/src/pe/lim/
Dlim_mlo.c702 tpDphHashNode sta; in lim_mlo_ap_sta_assoc_suc() local
725 sta = dph_lookup_hash_entry(mac, peer->macaddr, &aid, in lim_mlo_ap_sta_assoc_suc()
727 if (!sta) { in lim_mlo_ap_sta_assoc_suc()
731 if (lim_send_mlm_assoc_ind(mac, sta, pe_session) != QDF_STATUS_SUCCESS) in lim_mlo_ap_sta_assoc_suc()
732 lim_reject_association(mac, sta->staAddr, in lim_mlo_ap_sta_assoc_suc()
733 sta->mlmStaContext.subType, in lim_mlo_ap_sta_assoc_suc()
734 true, sta->mlmStaContext.authType, in lim_mlo_ap_sta_assoc_suc()
735 sta->assocId, true, in lim_mlo_ap_sta_assoc_suc()
742 tpDphHashNode sta, in lim_ap_mlo_sta_peer_ind() argument
751 if (!sta) { in lim_ap_mlo_sta_peer_ind()
[all …]
Dlim_link_monitoring_algo.c346 lim_connectivity_bmiss_disconn_event(tpDphHashNode sta, in lim_connectivity_bmiss_disconn_event() argument
370 *(struct qdf_mac_addr *)sta->staAddr, in lim_connectivity_bmiss_disconn_event()
379 tpDphHashNode sta = NULL; in lim_tear_down_link_with_ap() local
412 sta = dph_get_hash_entry(mac, DPH_STA_HASH_INDEX_PEER, in lim_tear_down_link_with_ap()
414 if (!sta) { in lim_tear_down_link_with_ap()
421 if ((sta->mlmStaContext.disassocReason == in lim_tear_down_link_with_ap()
423 (sta->mlmStaContext.cleanupTrigger == in lim_tear_down_link_with_ap()
429 sta->mlmStaContext.disassocReason = reasonCode; in lim_tear_down_link_with_ap()
430 sta->mlmStaContext.cleanupTrigger = trigger; in lim_tear_down_link_with_ap()
433 sta->staAddr, sizeof(tSirMacAddr)); in lim_tear_down_link_with_ap()
[all …]
Dlim_process_disassoc_frame.c73 tpDphHashNode sta; in lim_process_disassoc_frame() local
172 sta = in lim_process_disassoc_frame()
176 if (!sta) { in lim_process_disassoc_frame()
284 if ((sta->mlmStaContext.mlmState == eLIM_MLM_WT_DEL_STA_RSP_STATE) || in lim_process_disassoc_frame()
285 (sta->mlmStaContext.mlmState == eLIM_MLM_WT_DEL_BSS_RSP_STATE) || in lim_process_disassoc_frame()
286 sta->sta_deletion_in_progress) { in lim_process_disassoc_frame()
292 sta->sta_deletion_in_progress, in lim_process_disassoc_frame()
294 sta->mlmStaContext.mlmState); in lim_process_disassoc_frame()
297 sta->sta_deletion_in_progress = true; in lim_process_disassoc_frame()
299 if (sta->mlmStaContext.mlmState != eLIM_MLM_LINK_ESTABLISHED_STATE) { in lim_process_disassoc_frame()
[all …]
Dlim_process_tdls.c1464 tDphHashNode *sta) in lim_tdls_check_and_force_he_ldpc_cap() argument
1466 if (pe_session && sta->he_config.present) in lim_tdls_check_and_force_he_ldpc_cap()
1467 lim_check_and_force_he_ldpc_cap(pe_session, &sta->he_config); in lim_tdls_check_and_force_he_ldpc_cap()
1491 tDphHashNode *sta, in lim_tdls_update_node_he_caps() argument
1499 &sta->he_config); in lim_tdls_update_node_he_caps()
1504 if (!sta->he_config.present) in lim_tdls_update_node_he_caps()
1507 sta->mlmStaContext.he_capable = 1; in lim_tdls_update_node_he_caps()
1508 lim_tdls_set_he_chan_width(mac, &sta->he_config, pe_session, in lim_tdls_update_node_he_caps()
1510 lim_log_he_cap(mac, &sta->he_config); in lim_tdls_update_node_he_caps()
1513 &sta->he_6g_band_cap); in lim_tdls_update_node_he_caps()
[all …]
Dlim_process_mlm_host_roam.c174 tpDphHashNode sta = NULL; in lim_handle_sme_reaasoc_result() local
183 sta = in lim_handle_sme_reaasoc_result()
186 if (sta) { in lim_handle_sme_reaasoc_result()
187 sta->mlmStaContext.disassocReason = in lim_handle_sme_reaasoc_result()
189 sta->mlmStaContext.cleanupTrigger = in lim_handle_sme_reaasoc_result()
191 sta->mlmStaContext.resultCode = resultCode; in lim_handle_sme_reaasoc_result()
192 sta->mlmStaContext.protStatusCode = protStatusCode; in lim_handle_sme_reaasoc_result()
193 lim_mlo_notify_peer_disconn(pe_session, sta); in lim_handle_sme_reaasoc_result()
194 lim_cleanup_rx_path(mac, sta, pe_session, true); in lim_handle_sme_reaasoc_result()
198 sta->staAddr, sta->assocId, in lim_handle_sme_reaasoc_result()
[all …]
Dlim_reassoc_utils.c109 tpDphHashNode sta, struct pe_session *pe_session) in lim_handle_del_bss_in_re_assoc_context() argument
124 tpDphHashNode sta; in lim_handle_del_bss_in_re_assoc_context() local
145 sta = dph_add_hash_entry(mac, in lim_handle_del_bss_in_re_assoc_context()
149 if (!sta) { in lim_handle_del_bss_in_re_assoc_context()
172 lim_update_assoc_sta_datas(mac, sta, assocRsp, in lim_handle_del_bss_in_re_assoc_context()
245 tpDphHashNode sta, struct pe_session *pe_session) in lim_handle_add_bss_in_re_assoc_context() argument
257 tpDphHashNode sta; in lim_handle_add_bss_in_re_assoc_context() local
271 sta = in lim_handle_add_bss_in_re_assoc_context()
274 if (!sta) { in lim_handle_add_bss_in_re_assoc_context()
293 lim_update_assoc_sta_datas(mac, sta, assocRsp, in lim_handle_add_bss_in_re_assoc_context()
Dlim_assoc_utils.c411 lim_cleanup_rx_path(struct mac_context *mac, tpDphHashNode sta, in lim_cleanup_rx_path() argument
417 sta->assocId, pe_session->limSmeState, in lim_cleanup_rx_path()
418 sta->mlmStaContext.mlmState, delete_peer); in lim_cleanup_rx_path()
432 if (sta->mlmStaContext.mlmState == eLIM_MLM_WT_ASSOC_CNF_STATE) { in lim_cleanup_rx_path()
434 sta->assocId); in lim_cleanup_rx_path()
436 if (!sta->mlmStaContext.updateContext) { in lim_cleanup_rx_path()
442 lim_del_sta(mac, sta, true, pe_session); in lim_cleanup_rx_path()
445 lim_delete_dph_hash_entry(mac, sta->staAddr, in lim_cleanup_rx_path()
446 sta->assocId, pe_session); in lim_cleanup_rx_path()
452 lim_admit_control_delete_sta(mac, sta->assocId); in lim_cleanup_rx_path()
[all …]
Dlim_process_mlm_rsp_messages.c874 tpDphHashNode sta = 0; in lim_process_mlm_assoc_ind() local
902 sta = dph_get_hash_entry(mac, in lim_process_mlm_assoc_ind()
905 if (!sta) { in lim_process_mlm_assoc_ind()
913 pSirSmeAssocInd->reassocReq = sta->mlmStaContext.subType; in lim_process_mlm_assoc_ind()
914 pSirSmeAssocInd->timingMeasCap = sta->timingMeasCap; in lim_process_mlm_assoc_ind()
1674 tpDphHashNode sta = in lim_process_sta_mlm_del_bss_rsp() local
1684 if (!sta) { in lim_process_sta_mlm_del_bss_rsp()
1690 sta->mlmStaContext.mlmState) { in lim_process_sta_mlm_del_bss_rsp()
1692 sta->mlmStaContext.mlmState); in lim_process_sta_mlm_del_bss_rsp()
1696 pe_debug("STA AssocID %d MAC "QDF_MAC_ADDR_FMT, sta->assocId, in lim_process_sta_mlm_del_bss_rsp()
[all …]
Dlim_assoc_utils.h163 tpDphHashNode sta, struct pe_session *pe_session);
165 tpDphHashNode sta, struct pe_session *pe_session);
180 tpDphHashNode sta, struct pe_session *pe_session) in lim_handle_add_bss_in_re_assoc_context() argument
183 tpDphHashNode sta, struct pe_session *pe_session) in lim_handle_del_bss_in_re_assoc_context() argument
245 tpDphHashNode sta, tpSirAssocRsp pAssocRsp,
301 tpDphHashNode sta,
Dlim_mlo.h192 tpDphHashNode sta,
301 tpDphHashNode sta,
452 tpDphHashNode sta, in lim_ap_mlo_sta_peer_ind() argument
499 tpDphHashNode sta, in lim_send_assoc_rsp_mgmt_frame_mlo() argument
Dlim_send_management_frames.c1517 uint8_t subtype, tpDphHashNode sta, in lim_send_assoc_rsp_mgmt_frame() argument
1552 if (sta && lim_is_mlo_conn(pe_session, sta) && in lim_send_assoc_rsp_mgmt_frame()
1553 !lim_is_mlo_recv_assoc(sta)) { in lim_send_assoc_rsp_mgmt_frame()
1556 QDF_MAC_ADDR_REF(sta->staAddr)); in lim_send_assoc_rsp_mgmt_frame()
1571 addts = (qos_mode && sta && sta->qos.addtsPresent) ? 1 : 0; in lim_send_assoc_rsp_mgmt_frame()
1577 if (!sta) { in lim_send_assoc_rsp_mgmt_frame()
1587 sta->supportedRates.llbRates, in lim_send_assoc_rsp_mgmt_frame()
1588 sta->supportedRates.llaRates); in lim_send_assoc_rsp_mgmt_frame()
1591 if (LIM_IS_AP_ROLE(pe_session) && sta && in lim_send_assoc_rsp_mgmt_frame()
1594 pe_session->parsedAssocReq[sta->assocId]; in lim_send_assoc_rsp_mgmt_frame()
[all …]
Dlim_send_sme_rsp_messages.c1060 lim_send_sme_disassoc_ind(struct mac_context *mac, tpDphHashNode sta, in lim_send_sme_disassoc_ind() argument
1075 pSirSmeDisassocInd->reasonCode = sta->mlmStaContext.disassocReason; in lim_send_sme_disassoc_ind()
1080 qdf_mem_copy(pSirSmeDisassocInd->peer_macaddr.bytes, sta->staAddr, in lim_send_sme_disassoc_ind()
1085 lim_is_disconnect_from_ap(sta->mlmStaContext.cleanupTrigger); in lim_send_sme_disassoc_ind()
1095 0, (uint16_t) sta->mlmStaContext.disassocReason); in lim_send_sme_disassoc_ind()
1118 lim_send_sme_deauth_ind(struct mac_context *mac, tpDphHashNode sta, in lim_send_sme_deauth_ind() argument
1134 (tSirResultCodes) sta->mlmStaContext.cleanupTrigger; in lim_send_sme_deauth_ind()
1138 (tSirResultCodes) sta->mlmStaContext.disassocReason; in lim_send_sme_deauth_ind()
1144 qdf_mem_copy(pSirSmeDeauthInd->peer_macaddr.bytes, sta->staAddr, in lim_send_sme_deauth_ind()
1146 pSirSmeDeauthInd->reasonCode = sta->mlmStaContext.disassocReason; in lim_send_sme_deauth_ind()
[all …]
Dlim_prop_exts_utils.c232 session->mac_ctx->mlme_cfg->sta.sta_prefer_80mhz_over_160mhz; in lim_update_he_bw_cap_mcs()
605 session->mac_ctx->mlme_cfg->sta.sta_prefer_80mhz_over_160mhz; in lim_extract_ap_capability()
782 self_nss = mac_ctx->vdev_type_nss_5g.sta; in lim_extract_ap_capability()
784 self_nss = mac_ctx->vdev_type_nss_2g.sta; in lim_extract_ap_capability()
822 if (mac_ctx->mlme_cfg->sta.allow_tpc_from_ap) { in lim_extract_ap_capability()
Dlim_utils.c1118 tpDphHashNode sta; in lim_decide_ap_protection() local
1127 sta = in lim_decide_ap_protection()
1130 if (!sta) in lim_decide_ap_protection()
1140 if (false == sta->mlmStaContext.htCapability) { in lim_decide_ap_protection()
1154 if (sta->erpEnabled == eHAL_CLEAR) { in lim_decide_ap_protection()
1166 if ((sta->erpEnabled == eHAL_CLEAR) && in lim_decide_ap_protection()
1167 (!sta->mlmStaContext.htCapability)) { in lim_decide_ap_protection()
1176 else if (!sta->mlmStaContext.htCapability) { in lim_decide_ap_protection()
1190 (true == sta->mlmStaContext.htCapability)) { in lim_decide_ap_protection()
1191 if (!sta->htGreenfield) { in lim_decide_ap_protection()
[all …]
/wlan-driver/qcacld-3.0/core/hdd/src/
Dwlan_hdd_sysfs_sta_info.c32 struct hdd_station_info *sta, *tmp = NULL; in __show_sta_info() local
53 hdd_for_each_sta_ref_safe(adapter->sta_info_list, sta, tmp, in __show_sta_info()
55 if (QDF_IS_ADDR_BROADCAST(sta->sta_mac.bytes)) { in __show_sta_info()
56 hdd_put_sta_info_ref(&adapter->sta_info_list, &sta, in __show_sta_info()
62 QDF_MAC_ADDR_REF(sta->sta_mac.bytes), in __show_sta_info()
63 sta->ecsa_capable); in __show_sta_info()
65 hdd_put_sta_info_ref(&adapter->sta_info_list, &sta, true, in __show_sta_info()
Dwlan_hdd_softap_tx_rx.c457 struct hdd_station_info *sta = *sta_info; in hdd_softap_deregister_sta() local
471 if (!sta) { in hdd_softap_deregister_sta()
487 if (QDF_IS_ADDR_BROADCAST(sta->sta_mac.bytes)) { in hdd_softap_deregister_sta()
491 !qdf_is_macaddr_zero(&sta->mld_addr)) in hdd_softap_deregister_sta()
492 mac_addr = &sta->mld_addr; in hdd_softap_deregister_sta()
494 mac_addr = &sta->sta_mac; in hdd_softap_deregister_sta()
511 ucfg_dp_del_latency_critical_client(vdev, sta->dot11_mode); in hdd_softap_deregister_sta()
515 if (!QDF_IS_ADDR_BROADCAST(sta->sta_mac.bytes) && in hdd_softap_deregister_sta()
516 sta->dot11_mode < QCA_WLAN_802_11_MODE_INVALID) in hdd_softap_deregister_sta()
517 ap_ctx->client_count[sta->dot11_mode]--; in hdd_softap_deregister_sta()
[all …]
Dwlan_hdd_hostapd_wext.c2274 struct hdd_station_info *sta, *tmp = NULL; in hdd_softap_get_sta_info() local
2280 hdd_for_each_sta_ref_safe(adapter->sta_info_list, sta, tmp, in hdd_softap_get_sta_info()
2284 &sta, true, in hdd_softap_get_sta_info()
2293 if (QDF_IS_ADDR_BROADCAST(sta->sta_mac.bytes)) { in hdd_softap_get_sta_info()
2295 &sta, true, in hdd_softap_get_sta_info()
2303 QDF_MAC_ADDR_REF(sta->sta_mac.bytes), in hdd_softap_get_sta_info()
2304 sta->ecsa_capable); in hdd_softap_get_sta_info()
2305 hdd_put_sta_info_ref(&adapter->sta_info_list, &sta, true, in hdd_softap_get_sta_info()
/wlan-driver/qcacld-3.0/core/mac/src/pe/sch/
Dsch_beacon_process.c117 (!mac_ctx->mlme_cfg->sta.ignore_peer_erp_info && in ap_beacon_process_24_ghz()
143 (!mac_ctx->mlme_cfg->sta.ignore_peer_erp_info && in ap_beacon_process_24_ghz()
268 tpDphHashNode sta = NULL; in sch_bcn_process_sta() local
352 sta = dph_get_hash_entry(mac_ctx, DPH_STA_HASH_INDEX_PEER, in sch_bcn_process_sta()
358 qdf_mem_copy(&sta->qos.peer_edca_params, in sch_bcn_process_sta()
366 } else if (sta) { in sch_bcn_process_sta()
511 tpDphHashNode sta, in lim_detect_change_in_srp() argument
518 sr_ie = sta->parsed_ies.srp_ie; in lim_detect_change_in_srp()
527 sta->parsed_ies.srp_ie = bcn->srp_ie; in lim_detect_change_in_srp()
528 lim_update_vdev_sr_elements(session, sta); in lim_detect_change_in_srp()
[all …]
/wlan-driver/qcacld-3.0/core/mac/src/pe/include/
Dlim_api.h67 #define GET_LIM_STA_CONTEXT_MLM_STATE(sta) (sta->mlmStaContext.mlmState) argument
68 #define SET_LIM_STA_CONTEXT_MLM_STATE(sta, state) (sta->mlmStaContext.mlmState = state) argument
268 void lim_trigger_sta_deletion(struct mac_context *mac, tpDphHashNode sta,
273 void lim_send_sme_tdls_del_sta_ind(struct mac_context *mac, tpDphHashNode sta,
/wlan-driver/qcacld-3.0/components/mlme/core/src/
Dwlan_mlme_main.c2576 struct wlan_mlme_sta_cfg *sta) in mlme_init_sta_mlo_cfg() argument
2578 sta->mlo_support_link_num = in mlme_init_sta_mlo_cfg()
2580 sta->mlo_support_link_band = in mlme_init_sta_mlo_cfg()
2582 sta->mlo_max_simultaneous_links = in mlme_init_sta_mlo_cfg()
2584 sta->mlo_prefer_percentage = in mlme_init_sta_mlo_cfg()
2586 sta->mlo_same_link_mld_address = in mlme_init_sta_mlo_cfg()
2588 sta->mlo_5gl_5gh_mlsr = in mlme_init_sta_mlo_cfg()
2590 sta->epcs_capability = in mlme_init_sta_mlo_cfg()
2594 sta->mlo_support_link_num, sta->mlo_support_link_band); in mlme_init_sta_mlo_cfg()
2761 struct wlan_mlme_sta_cfg *sta) in mlme_init_sta_mlo_cfg() argument
[all …]
/wlan-driver/qca-wifi-host-cmn/umac/dcs/core/src/
Dwlan_dcs.c1449 conn_info->sta[conn_info->sta_cnt].freq = chan->ch_freq; in wlan_dcs_afc_get_conn_info()
1450 conn_info->sta[conn_info->sta_cnt].bw = chan->ch_width; in wlan_dcs_afc_get_conn_info()
1451 conn_info->sta[conn_info->sta_cnt].vdev_id = vdev_id; in wlan_dcs_afc_get_conn_info()
1621 qdf_freq_t target_freq = conn_info->sta[0].freq; in wlan_dcs_afc_sap_dcs_with_sta()
1625 if (!WLAN_REG_IS_6GHZ_CHAN_FREQ(conn_info->sta[0].freq)) in wlan_dcs_afc_sap_dcs_with_sta()
1630 conn_info->sta[0].freq) { in wlan_dcs_afc_sap_dcs_with_sta()
1640 pdev, conn_info->sta[0].freq)) in wlan_dcs_afc_sap_dcs_with_sta()
1838 !WLAN_REG_IS_24GHZ_CH_FREQ(conn_info.sta[0].freq)) in wlan_dcs_afc_process()
/wlan-driver/qcacld-3.0/components/mlme/dispatcher/src/
Dwlan_mlme_ucfg_api.c262 *val = mlme_obj->cfg.sta.sta_keep_alive_period; in ucfg_mlme_get_sta_keep_alive_period()
692 *val = mlme_obj->cfg.sta.pmkid_modes; in ucfg_mlme_get_pmkid_modes()
707 mlme_obj->cfg.sta.pmkid_modes = val; in ucfg_mlme_set_pmkid_modes()
724 *out_mode = mlme_obj->cfg.sta.dot11p_mode; in ucfg_mlme_get_dot11p_mode()
741 *val = mlme_obj->cfg.sta.enable_go_cts2self_for_sta; in ucfg_mlme_get_go_cts2self_for_sta()
758 *val = mlme_obj->cfg.sta.qcn_ie_support; in ucfg_mlme_get_qcn_ie_support()
775 *val = mlme_obj->cfg.sta.tgt_gtx_usr_cfg; in ucfg_mlme_get_tgt_gtx_usr_cfg()
1376 *val = mlme_obj->cfg.sta.sta_keepalive_method; in ucfg_mlme_get_sta_keepalive_method()
Dwlan_mlme_api.c1408 return mlme_obj->cfg.sta.epcs_capability; in wlan_mlme_get_epcs_capability()
1420 mlme_obj->cfg.sta.epcs_capability, flag); in wlan_mlme_set_epcs_capability()
1421 mlme_obj->cfg.sta.epcs_capability = flag; in wlan_mlme_set_epcs_capability()
1440 return mlme_obj->cfg.sta.eht_disable_punct_in_us_lpi; in wlan_mlme_get_eht_disable_punct_in_us_lpi()
1451 mlme_obj->cfg.sta.eht_disable_punct_in_us_lpi = flag; in wlan_mlme_set_eht_disable_punct_in_us_lpi()
1461 return mlme_obj->cfg.sta.usr_disable_eht; in wlan_mlme_get_usr_disable_sta_eht()
1473 mlme_obj->cfg.sta.usr_disable_eht, disable); in wlan_mlme_set_usr_disable_sta_eht()
1474 mlme_obj->cfg.sta.usr_disable_eht = disable; in wlan_mlme_set_usr_disable_sta_eht()
1566 return mlme_obj->cfg.sta.mlo_max_simultaneous_links; in wlan_mlme_get_sta_mlo_simultaneous_links()
1579 mlme_obj->cfg.sta.mlo_max_simultaneous_links = value; in wlan_mlme_set_sta_mlo_simultaneous_links()
[all …]
/wlan-driver/qca-wifi-host-cmn/umac/mlme/include/
Dwlan_vdev_mlme.h331 struct vdev_mlme_proto_sta sta; member
631 struct vdev_mlme_mgmt_sta sta; member
1271 vdev_mlme->mgmt.sta.he_mcs_12_13_map = he_mcs_12_13_map; in wlan_vdev_mlme_set_he_mcs_12_13_map()
1291 return vdev_mlme->mgmt.sta.he_mcs_12_13_map; in wlan_vdev_mlme_get_he_mcs_12_13_map()

12