/wlan-driver/qcacld-3.0/core/mac/src/pe/lim/ |
D | lim_process_assoc_req_frame.c | 155 tpDphHashNode sta_ds = NULL; in lim_check_sta_in_pe_entries() local 163 sta_ds = dph_lookup_hash_entry( in lim_check_sta_in_pe_entries() 166 if (sta_ds in lim_check_sta_in_pe_entries() 167 && (!sta_ds->rmfEnabled || in lim_check_sta_in_pe_entries() 170 if (sta_ds->mlmStaContext.mlmState == in lim_check_sta_in_pe_entries() 172 sta_ds->mlmStaContext.mlmState == in lim_check_sta_in_pe_entries() 174 sta_ds->sta_deletion_in_progress) { in lim_check_sta_in_pe_entries() 177 sta_ds->sta_deletion_in_progress, in lim_check_sta_in_pe_entries() 178 QDF_MAC_ADDR_REF(sta_ds->staAddr), in lim_check_sta_in_pe_entries() 179 sta_ds->mlmStaContext.mlmState); in lim_check_sta_in_pe_entries() [all …]
|
D | lim_process_assoc_rsp_frame.c | 68 tpDphHashNode sta_ds, tpSirAssocRsp assoc_rsp, in lim_update_stads_htcap() argument 75 sta_ds->mlmStaContext.htCapability = assoc_rsp->HTCaps.present; in lim_update_stads_htcap() 77 sta_ds->htGreenfield = in lim_update_stads_htcap() 80 sta_ds->htSupportedChannelWidthSet = in lim_update_stads_htcap() 85 sta_ds->htSupportedChannelWidthSet = in lim_update_stads_htcap() 87 sta_ds->htLsigTXOPProtection = in lim_update_stads_htcap() 89 sta_ds->htMIMOPSState = in lim_update_stads_htcap() 91 sta_ds->htMaxAmsduLength = in lim_update_stads_htcap() 93 sta_ds->htAMpduDensity = ht_caps->mpduDensity; in lim_update_stads_htcap() 94 sta_ds->htDsssCckRate40MHzSupport = in lim_update_stads_htcap() [all …]
|
D | lim_assoc_utils.c | 336 tpDphHashNode sta_ds; in lim_del_peer_info() local 338 sta_ds = dph_get_hash_entry(mac, i, in lim_del_peer_info() 340 if (!sta_ds) in lim_del_peer_info() 343 peer = wlan_objmgr_get_peer_by_mac(psoc, sta_ds->staAddr, in lim_del_peer_info() 350 cdp_peer_teardown(soc, pe_session->vdev_id, sta_ds->staAddr); in lim_del_peer_info() 353 sta_ds->staAddr, in lim_del_peer_info() 358 sta_ds->staAddr, bitmap); in lim_del_peer_info() 377 tpDphHashNode sta_ds; in lim_del_sta_all() local 390 sta_ds = dph_get_hash_entry( in lim_del_sta_all() 393 if (!sta_ds) in lim_del_sta_all() [all …]
|
D | lim_mlo.h | 92 tpDphHashNode sta_ds); 122 void lim_mlo_set_mld_mac_peer(tpDphHashNode sta_ds, 132 bool lim_is_mlo_conn(struct pe_session *session, tpDphHashNode sta_ds); 140 bool lim_is_mlo_recv_assoc(tpDphHashNode sta_ds); 149 void lim_set_mlo_recv_assoc(tpDphHashNode sta_ds, bool mlo_recv_assoc_frm); 225 tpDphHashNode sta_ds); 239 void lim_mlo_save_mlo_info(tpDphHashNode sta_ds, 407 tpDphHashNode sta_ds) in lim_mlo_notify_peer_disconn() argument 417 tpDphHashNode sta_ds, in lim_mlo_set_mld_mac_peer() argument 428 tpDphHashNode sta_ds) in lim_is_mlo_conn() argument [all …]
|
D | lim_link_monitoring_algo.c | 197 tpDphHashNode sta_ds; in lim_delete_sta_context() local 221 sta_ds = dph_get_hash_entry(mac_ctx, in lim_delete_sta_context() 224 if (!sta_ds) { in lim_delete_sta_context() 301 lim_trigger_sta_deletion(struct mac_context *mac_ctx, tpDphHashNode sta_ds, in lim_trigger_sta_deletion() argument 306 if (!sta_ds) { in lim_trigger_sta_deletion() 311 if ((sta_ds->mlmStaContext.mlmState == eLIM_MLM_WT_DEL_STA_RSP_STATE) || in lim_trigger_sta_deletion() 312 (sta_ds->mlmStaContext.mlmState == in lim_trigger_sta_deletion() 314 sta_ds->sta_deletion_in_progress) { in lim_trigger_sta_deletion() 317 sta_ds->sta_deletion_in_progress, sta_ds->staAddr, in lim_trigger_sta_deletion() 318 sta_ds->mlmStaContext.mlmState); in lim_trigger_sta_deletion() [all …]
|
D | lim_process_deauth_frame.c | 380 tpDphHashNode sta_ds; in lim_perform_deauth() local 383 sta_ds = dph_lookup_hash_entry(mac_ctx, addr, &aid, in lim_perform_deauth() 385 if (!sta_ds) { in lim_perform_deauth() 485 if ((sta_ds) in lim_perform_deauth() 486 && (STA_ENTRY_TDLS_PEER == sta_ds->staType)) { in lim_perform_deauth() 492 lim_send_sme_tdls_del_sta_ind(mac_ctx, sta_ds, in lim_perform_deauth() 563 if (!sta_ds) { in lim_perform_deauth() 568 if ((sta_ds->mlmStaContext.mlmState == eLIM_MLM_WT_DEL_STA_RSP_STATE) || in lim_perform_deauth() 569 (sta_ds->mlmStaContext.mlmState == eLIM_MLM_WT_DEL_BSS_RSP_STATE) || in lim_perform_deauth() 570 sta_ds->sta_deletion_in_progress) { in lim_perform_deauth() [all …]
|
D | lim_mlo.c | 310 tpDphHashNode sta_ds, in lim_mlo_update_cleanup_trigger() argument 332 if (!sta_ds) { in lim_mlo_update_cleanup_trigger() 337 if (lim_is_mlo_recv_assoc(sta_ds)) { in lim_mlo_update_cleanup_trigger() 338 assoc_sta = sta_ds; in lim_mlo_update_cleanup_trigger() 340 lim_mlo_get_assoc_link_session_sta_ds(session, sta_ds->assocId, in lim_mlo_update_cleanup_trigger() 363 if (!link_sta || link_sta == sta_ds) { in lim_mlo_update_cleanup_trigger() 373 tpDphHashNode sta_ds) in lim_mlo_notify_peer_disconn() argument 382 if (!sta_ds) { in lim_mlo_notify_peer_disconn() 393 sta_ds->staAddr, in lim_mlo_notify_peer_disconn() 403 pe_session, sta_ds, in lim_mlo_notify_peer_disconn() [all …]
|
D | lim_process_disassoc_frame.c | 353 tpDphHashNode sta_ds; in lim_disassoc_tdls_peers() local 356 sta_ds = dph_lookup_hash_entry(mac_ctx, addr, &aid, in lim_disassoc_tdls_peers() 358 if (!sta_ds) { in lim_disassoc_tdls_peers() 367 ((sta_ds->mlmStaContext.mlmState == in lim_disassoc_tdls_peers() 369 (sta_ds->mlmStaContext.mlmState == in lim_disassoc_tdls_peers() 381 tpDphHashNode sta_ds; in lim_perform_disassoc() local 384 sta_ds = dph_lookup_hash_entry(mac_ctx, addr, &aid, in lim_perform_disassoc() 386 if (!sta_ds) { in lim_perform_disassoc() 390 sta_ds->mlmStaContext.cleanupTrigger = eLIM_PEER_ENTITY_DISASSOC; in lim_perform_disassoc() 391 sta_ds->mlmStaContext.disassocReason = rc; in lim_perform_disassoc() [all …]
|
D | lim_process_mlm_rsp_messages.c | 1268 tpDphHashNode sta_ds = NULL; in lim_process_mlm_set_keys_cnf() local 1286 sta_ds = dph_lookup_hash_entry(mac, in lim_process_mlm_set_keys_cnf() 1289 if (sta_ds && pMlmSetKeysCnf->key_len_nonzero) in lim_process_mlm_set_keys_cnf() 1290 sta_ds->is_key_installed = 1; in lim_process_mlm_set_keys_cnf() 1297 sta_ds ? sta_ds->is_key_installed : 0); in lim_process_mlm_set_keys_cnf() 1338 tpDphHashNode sta_ds = NULL; in lim_sta_handle_connect_fail() local 1356 sta_ds = dph_get_hash_entry(mac_ctx, DPH_STA_HASH_INDEX_PEER, in lim_sta_handle_connect_fail() 1358 if (sta_ds) { in lim_sta_handle_connect_fail() 1359 sta_ds->mlmStaContext.disassocReason = in lim_sta_handle_connect_fail() 1361 sta_ds->mlmStaContext.cleanupTrigger = in lim_sta_handle_connect_fail() [all …]
|
D | lim_utils.h | 270 tpDphHashNode sta_ds); 318 tpDphHashNode sta_ds) in lim_update_sta_mlo_info() argument 831 tpDphHashNode sta_ds); 1024 void lim_set_stads_rtt_cap(tpDphHashNode sta_ds, struct s_ext_cap *ext_cap, 1249 tpDphHashNode sta_ds); 1405 tpDphHashNode sta_ds, tpSirAssocRsp assoc_rsp, 1441 tpAddStaParams add_sta_params, tpDphHashNode sta_ds, 1475 static inline bool lim_is_sta_he_capable(tpDphHashNode sta_ds) in lim_is_sta_he_capable() argument 1477 return sta_ds->mlmStaContext.he_capable; in lim_is_sta_he_capable() 1497 void lim_update_stads_he_capable(tpDphHashNode sta_ds, tpSirAssocReq assoc_req); [all …]
|
D | lim_send_sme_rsp_messages.c | 152 lim_get_he_rate_info_flag(tpDphHashNode sta_ds) in lim_get_he_rate_info_flag() argument 154 tDot11fIEhe_cap *peer_he = &sta_ds->he_config; in lim_get_he_rate_info_flag() 167 lim_get_he_rate_info_flag(tpDphHashNode sta_ds) in lim_get_he_rate_info_flag() argument 183 lim_get_eht_rate_info_flag(tpDphHashNode sta_ds) in lim_get_eht_rate_info_flag() argument 185 if (sta_ds->eht_config.support_320mhz_6ghz) in lim_get_eht_rate_info_flag() 187 else if (sta_ds->ch_width == CH_WIDTH_160MHZ) in lim_get_eht_rate_info_flag() 189 else if (sta_ds->ch_width == CH_WIDTH_80MHZ) in lim_get_eht_rate_info_flag() 191 else if (sta_ds->ch_width == CH_WIDTH_40MHZ) in lim_get_eht_rate_info_flag() 198 lim_get_eht_rate_info_flag(tpDphHashNode sta_ds) in lim_get_eht_rate_info_flag() argument 215 uint32_t lim_get_max_rate_flags(struct mac_context *mac_ctx, tpDphHashNode sta_ds) in lim_get_max_rate_flags() argument [all …]
|
D | lim_process_action_frame.c | 1327 tpDphHashNode sta_ds; in __lim_process_sa_query_request_action_frame() local 1360 sta_ds = dph_lookup_hash_entry(mac, mac_header->sa, &aid, in __lim_process_sa_query_request_action_frame() 1373 if (sta_ds && sta_ds->ocv_enabled && in __lim_process_sa_query_request_action_frame() 1374 sta_ds->last_ocv_done_freq != pe_session->curr_op_freq) in __lim_process_sa_query_request_action_frame() 1385 if (sta_ds && sta_ds->ocv_enabled) in __lim_process_sa_query_request_action_frame() 1386 sta_ds->last_ocv_done_freq = pe_session->curr_op_freq; in __lim_process_sa_query_request_action_frame() 1557 tpDphHashNode sta_ds; in lim_process_addba_req() local 1591 sta_ds = dph_lookup_hash_entry(mac_ctx, mac_hdr->sa, &aid, in lim_process_addba_req() 1593 if (sta_ds && in lim_process_addba_req() 1595 sta_ds->staType == STA_ENTRY_TDLS_PEER)) in lim_process_addba_req() [all …]
|
D | lim_utils.c | 1263 tpDphHashNode sta_ds; in lim_update_short_preamble() local 1268 sta_ds = in lim_update_short_preamble() 1274 if (!sta_ds || phy_mode != WNI_CFG_PHY_MODE_11G) in lim_update_short_preamble() 1277 if (sta_ds->shortPreambleEnabled != eHAL_CLEAR) in lim_update_short_preamble() 1369 tpDphHashNode sta_ds; in lim_update_short_slot_time() local 1375 sta_ds = dph_lookup_hash_entry(mac_ctx, peer_mac_addr, &aid, in lim_update_short_slot_time() 1379 if (!sta_ds || phy_mode != WNI_CFG_PHY_MODE_11G) in lim_update_short_slot_time() 1391 if (sta_ds->shortSlotTimeEnabled != eHAL_CLEAR) in lim_update_short_slot_time() 5356 tpDphHashNode sta_ds = NULL; in lim_check_conc_and_send_edca() local 5372 sta_ds = dph_lookup_hash_entry(mac, in lim_check_conc_and_send_edca() [all …]
|
D | lim_process_probe_rsp_frame.c | 103 tpDphHashNode sta_ds; in lim_process_updated_ies_in_probe_rsp() local 116 sta_ds = dph_get_hash_entry(mac_ctx, DPH_STA_HASH_INDEX_PEER, in lim_process_updated_ies_in_probe_rsp() 136 } else if (sta_ds) { in lim_process_updated_ies_in_probe_rsp() 137 qdf_mem_copy(&sta_ds->qos.peer_edca_params, in lim_process_updated_ies_in_probe_rsp()
|
D | lim_send_management_frames.c | 1376 tpDphHashNode sta_ds; in lim_assoc_rsp_tx_complete() local 1405 sta_ds = dph_lookup_hash_entry(mac_ctx, in lim_assoc_rsp_tx_complete() 1408 if (!sta_ds) { in lim_assoc_rsp_tx_complete() 1415 (tpSirAssocReq)session_entry->parsedAssocReq[sta_ds->assocId]; in lim_assoc_rsp_tx_complete() 1418 pe_err("assoc req for assoc_id:%d is NULL", sta_ds->assocId); in lim_assoc_rsp_tx_complete() 1425 sta_ds->staAddr, in lim_assoc_rsp_tx_complete() 1427 lim_trigger_sta_deletion(mac_ctx, sta_ds, session_entry); in lim_assoc_rsp_tx_complete() 1431 if (lim_is_mlo_conn(session_entry, sta_ds) && in lim_assoc_rsp_tx_complete() 1443 sta_ds, session_entry)) { in lim_assoc_rsp_tx_complete() 1462 sme_assoc_ind->reassocReq = sta_ds->mlmStaContext.subType; in lim_assoc_rsp_tx_complete() [all …]
|
D | lim_process_mlm_req_messages.c | 1353 tpDphHashNode sta_ds; in lim_process_mlm_deauth_req_ntf() local 1469 sta_ds = dph_lookup_hash_entry(mac_ctx, in lim_process_mlm_deauth_req_ntf() 1474 if (!sta_ds && (!mac_ctx->mlme_cfg->sap_cfg.is_sap_bcast_deauth_enabled in lim_process_mlm_deauth_req_ntf() 1506 } else if (sta_ds && (sta_ds->mlmStaContext.mlmState != in lim_process_mlm_deauth_req_ntf() 1508 (sta_ds->mlmStaContext.mlmState != in lim_process_mlm_deauth_req_ntf() 1520 } else if (sta_ds) { in lim_process_mlm_deauth_req_ntf() 1522 sta_ds->mlmStaContext.disassocReason = in lim_process_mlm_deauth_req_ntf() 1524 sta_ds->mlmStaContext.cleanupTrigger = in lim_process_mlm_deauth_req_ntf() 1536 sta_ds->mlmStaContext.mlmState = eLIM_MLM_WT_DEL_STA_RSP_STATE; in lim_process_mlm_deauth_req_ntf() 1540 sta_ds = dph_get_hash_entry(mac_ctx, i, in lim_process_mlm_deauth_req_ntf() [all …]
|
D | lim_reassoc_utils.c | 392 tpDphHashNode sta_ds; in lim_add_ft_sta_self() local 394 sta_ds = dph_get_hash_entry(mac_ctx, DPH_STA_HASH_INDEX_PEER, in lim_add_ft_sta_self() 397 if (!sta_ds) { in lim_add_ft_sta_self() 407 sta_ds->supportedRates.supportedMCSSet, in lim_add_ft_sta_self()
|
D | lim_assoc_utils.h | 84 struct sDphHashNode *sta_ds, 121 tpDphHashNode sta_ds, 386 struct sDphHashNode *sta_ds);
|
D | lim_process_sme_req_messages.c | 7087 tpDphHashNode sta_ds = NULL; in lim_delete_all_peers() local 7103 sta_ds = dph_get_hash_entry(mac_ctx, i, in lim_delete_all_peers() 7105 if (!sta_ds) in lim_delete_all_peers() 7107 lim_mlo_notify_peer_disconn(session, sta_ds); in lim_delete_all_peers() 7108 status = lim_del_sta(mac_ctx, sta_ds, false, session); in lim_delete_all_peers() 7110 lim_delete_dph_hash_entry(mac_ctx, sta_ds->staAddr, in lim_delete_all_peers() 7111 sta_ds->assocId, session); in lim_delete_all_peers() 7112 if (lim_is_mlo_conn(session, sta_ds)) in lim_delete_all_peers() 7114 sta_ds->assocId, in lim_delete_all_peers() 7117 lim_release_peer_idx(mac_ctx, sta_ds->assocId, in lim_delete_all_peers() [all …]
|
D | lim_api.c | 604 tpDphHashNode sta_ds; in is_mgmt_protected() local 619 sta_ds = dph_lookup_hash_entry(mac_ctx, (uint8_t *)peer_mac_addr, &aid, in is_mgmt_protected() 621 if (sta_ds) { in is_mgmt_protected() 629 if (sta_ds->rmfEnabled && sta_ds->is_key_installed) in is_mgmt_protected() 2858 tpDphHashNode curr_sta_ds = NULL, sta_ds = NULL; in pe_roam_synch_callback() local 3003 sta_ds = dph_lookup_hash_entry(mac_ctx, session_ptr->bssId, &aid, in pe_roam_synch_callback() 3005 if (!sta_ds && !is_multi_link_roam(roam_sync_ind_ptr)) { in pe_roam_synch_callback() 3134 if (sta_ds) { in pe_roam_synch_callback() 3136 lim_mlo_notify_peer_disconn(session_ptr, sta_ds); in pe_roam_synch_callback() 3137 lim_mlo_roam_delete_link_peer(session_ptr, sta_ds); in pe_roam_synch_callback() [all …]
|
D | lim_process_tdls.c | 484 tpDphHashNode sta_ds; in lim_prepare_tdls_frame_header() local 504 sta_ds = dph_lookup_hash_entry(mac, peerMac, &aid, in lim_prepare_tdls_frame_header() 506 if (sta_ds) in lim_prepare_tdls_frame_header() 507 qos_mode = sta_ds->qosMode; in lim_prepare_tdls_frame_header() 2348 tpDphHashNode sta_ds; in lim_send_tdls_teardown_frame() local 2399 sta_ds = dph_lookup_hash_entry(mac, pe_session->bssId, &aid, in lim_send_tdls_teardown_frame() 2401 if (sta_ds) in lim_send_tdls_teardown_frame() 2402 qos_mode = sta_ds->qosMode; in lim_send_tdls_teardown_frame() 4434 tpDphHashNode sta_ds; in lim_process_tdls_del_sta_rsp() local 4446 sta_ds = dph_lookup_hash_entry(mac_ctx, del_sta_params->staMac, in lim_process_tdls_del_sta_rsp() [all …]
|
/wlan-driver/qcacld-3.0/core/mac/src/pe/nan/ |
D | nan_datapath.c | 49 tpDphHashNode sta_ds; in lim_add_ndi_peer() local 72 sta_ds = dph_lookup_hash_entry(mac_ctx, in lim_add_ndi_peer() 76 if (sta_ds) { in lim_add_ndi_peer() 91 sta_ds = dph_add_hash_entry(mac_ctx, peer_mac_addr.bytes, peer_idx, in lim_add_ndi_peer() 93 if (!sta_ds) { in lim_add_ndi_peer() 100 sta_ds->staType = STA_ENTRY_NDI_PEER; in lim_add_ndi_peer() 101 status = lim_add_sta(mac_ctx, sta_ds, false, session); in lim_add_ndi_peer() 136 tpDphHashNode sta_ds; in lim_ndp_delete_peer_by_addr() local 156 sta_ds = dph_lookup_hash_entry(mac_ctx, peer_ndi_mac_addr.bytes, in lim_ndp_delete_peer_by_addr() 158 if (!sta_ds) { in lim_ndp_delete_peer_by_addr() [all …]
|
/wlan-driver/qcacld-3.0/core/mac/src/pe/include/ |
D | lim_api.h | 799 tpDphHashNode sta_ds); 808 QDF_STATUS lim_process_srp_ie(tpSirAssocRsp ar, tpDphHashNode sta_ds); 827 tpDphHashNode sta_ds) in lim_update_vdev_sr_elements() argument 832 QDF_STATUS lim_process_srp_ie(tpSirAssocRsp ar, tpDphHashNode sta_ds) in lim_process_srp_ie() argument 924 tpDphHashNode sta_ds); 963 tpDphHashNode sta_ds) in lim_mlo_roam_delete_link_peer() argument
|
D | lim_global.h | 199 struct sDphHashNode *sta_ds; member
|
/wlan-driver/qcacld-3.0/core/mac/src/pe/sch/ |
D | sch_beacon_process.c | 391 sch_bcn_update_he_ies(struct mac_context *mac_ctx, tpDphHashNode sta_ds, in sch_bcn_update_he_ies() argument 428 sch_bcn_update_he_ies(struct mac_context *mac_ctx, tpDphHashNode sta_ds, in sch_bcn_update_he_ies() argument 437 sch_bcn_update_opmode_change(struct mac_context *mac_ctx, tpDphHashNode sta_ds, in sch_bcn_update_opmode_change() argument 477 lim_update_nss(mac_ctx, sta_ds, bcn->OperatingMode.rxNSS, in sch_bcn_update_opmode_change() 492 lim_update_channel_width(mac_ctx, sta_ds, session, ch_width, &ch_bw); in sch_bcn_update_opmode_change()
|