Home
last modified time | relevance | path

Searched refs:session (Results 1 – 25 of 90) sorted by relevance

1234

/wlan-driver/qcacld-3.0/core/mac/src/pe/lim/
Dlim_prop_exts_utils.c63 struct pe_session *session) in get_local_power_constraint_probe_response() argument
81 struct pe_session *session) in get_ese_version_ie_probe_response() argument
84 session->is_ese_version_ie_present = in get_ese_version_ie_probe_response()
91 struct pe_session *session) in get_local_power_constraint_probe_response() argument
98 struct pe_session *session) in get_ese_version_ie_probe_response() argument
104 static void lim_extract_he_op(struct pe_session *session, in lim_extract_he_op() argument
111 if (!session->he_capable) in lim_extract_he_op()
116 qdf_mem_copy(&session->he_op, &beacon_struct->he_op, in lim_extract_he_op()
117 sizeof(session->he_op)); in lim_extract_he_op()
118 if (!session->he_6ghz_band) in lim_extract_he_op()
[all …]
Dlim_session.c283 pe_init_pmf_comeback_timer(tpAniSirGlobal mac_ctx, struct pe_session *session) in pe_init_pmf_comeback_timer() argument
287 if (session->opmode != QDF_STA_MODE) in pe_init_pmf_comeback_timer()
290 session->pmf_retry_timer_info.mac = mac_ctx; in pe_init_pmf_comeback_timer()
291 session->pmf_retry_timer_info.vdev_id = session->vdev_id; in pe_init_pmf_comeback_timer()
292 session->pmf_retry_timer_info.retried = false; in pe_init_pmf_comeback_timer()
294 &session->pmf_retry_timer, QDF_TIMER_TYPE_SW, in pe_init_pmf_comeback_timer()
296 (void *)&session->pmf_retry_timer_info); in pe_init_pmf_comeback_timer()
308 void pe_delete_fils_info(struct pe_session *session) in pe_delete_fils_info() argument
312 if (!session || (session && !session->valid)) { in pe_delete_fils_info()
316 fils_info = session->fils_info; in pe_delete_fils_info()
[all …]
Dlim_process_mlm_host_roam.c67 struct pe_session *session; in lim_process_mlm_reassoc_req() local
69 session = pe_find_session_by_session_id(mac_ctx, in lim_process_mlm_reassoc_req()
71 if (!session) { in lim_process_mlm_reassoc_req()
79 reassoc_req->sessionId, GET_LIM_SYSTEM_ROLE(session), in lim_process_mlm_reassoc_req()
80 session->limMlmState, in lim_process_mlm_reassoc_req()
83 if (LIM_IS_AP_ROLE(session) || in lim_process_mlm_reassoc_req()
84 (session->limMlmState != in lim_process_mlm_reassoc_req()
94 session->limMlmState, GET_LIM_SYSTEM_ROLE(session), in lim_process_mlm_reassoc_req()
96 lim_print_mlm_state(mac_ctx, LOGW, session->limMlmState); in lim_process_mlm_reassoc_req()
102 if (session->pLimMlmReassocReq) in lim_process_mlm_reassoc_req()
[all …]
Dlim_process_mlm_req_messages.c104 struct pe_session *session; in lim_process_rrm_sta_stats_rsp_timeout() local
111 session = pe_find_session_by_session_id(mac, in lim_process_rrm_sta_stats_rsp_timeout()
113 if (!session) { in lim_process_rrm_sta_stats_rsp_timeout()
120 pe_warn("STA STATS RSP timeout vdev_id %d", session->vdev_id); in lim_process_rrm_sta_stats_rsp_timeout()
151 mac, session, in lim_process_rrm_sta_stats_rsp_timeout()
166 mac, session, mac->rrm.rrmPEContext.rrm_sta_stats.peer, in lim_process_rrm_sta_stats_rsp_timeout()
173 struct pe_session *session; in lim_process_sae_auth_timeout() local
176 session = pe_find_session_by_session_id(mac_ctx, in lim_process_sae_auth_timeout()
178 if (!session) { in lim_process_sae_auth_timeout()
184 session->peSessionId, session->limMlmState, in lim_process_sae_auth_timeout()
[all …]
Dlim_process_assoc_req_frame.c156 struct pe_session *session; in lim_check_sta_in_pe_entries() local
160 session = &mac_ctx->lim.gpSession[i]; in lim_check_sta_in_pe_entries()
161 if (session->valid && in lim_check_sta_in_pe_entries()
162 (session->opmode == QDF_SAP_MODE)) { in lim_check_sta_in_pe_entries()
165 &assoc_id, &session->dph.dphHashTable); in lim_check_sta_in_pe_entries()
168 (sessionid != session->peSessionId)) in lim_check_sta_in_pe_entries()
187 session->self_mac_addr)); in lim_check_sta_in_pe_entries()
190 (uint8_t *)sa, session, false); in lim_check_sta_in_pe_entries()
201 session); in lim_check_sta_in_pe_entries()
223 struct pe_session *session, uint8_t sub_type) in lim_chk_sa_da() argument
[all …]
Dlim_process_sme_req_messages.c120 static void lim_mlo_sap_validate_and_update_ra(struct pe_session *session,
462 struct pe_session *session, in lim_configure_ap_start_bss_session() argument
468 session->limSystemRole = eLIM_AP_ROLE; in lim_configure_ap_start_bss_session()
469 session->privacy = sme_start_bss_req->privacy; in lim_configure_ap_start_bss_session()
470 session->fwdWPSPBCProbeReq = 1; in lim_configure_ap_start_bss_session()
471 session->authType = sme_start_bss_req->authType; in lim_configure_ap_start_bss_session()
473 session->dtimPeriod = (uint8_t) sme_start_bss_req->dtimPeriod; in lim_configure_ap_start_bss_session()
477 session->apUapsdEnable = sap_uapsd; in lim_configure_ap_start_bss_session()
479 session->gLimProtectionControl = in lim_configure_ap_start_bss_session()
483 qdf_mem_copy((void *)&session->cfgProtection, in lim_configure_ap_start_bss_session()
[all …]
Dlim_process_beacon_frame.c60 struct pe_session *session, in lim_process_bcn_prb_rsp_t2lm() argument
66 if (!session || !bcn_ptr || !mac_ctx) { in lim_process_bcn_prb_rsp_t2lm()
76 vdev = session->vdev; in lim_process_bcn_prb_rsp_t2lm()
102 struct pe_session *session, in lim_process_beacon_mlo() argument
123 if (!session || !bcn_ptr || !mac_ctx) { in lim_process_beacon_mlo()
127 vdev = session->vdev; in lim_process_beacon_mlo()
257 lim_get_update_eht_bw_puncture_allow(struct pe_session *session, in lim_get_update_eht_bw_puncture_allow() argument
269 psoc = wlan_vdev_get_psoc(session->vdev); in lim_get_update_eht_bw_puncture_allow()
274 status = mlme_get_peer_phymode(psoc, session->bssId, &phy_mode); in lim_get_update_eht_bw_puncture_allow()
277 status, QDF_MAC_ADDR_REF(session->bssId)); in lim_get_update_eht_bw_puncture_allow()
[all …]
Dlim_utils.h196 struct pe_session *session);
272 void lim_set_mlo_caps(struct mac_context *mac, struct pe_session *session,
301 struct pe_session *session);
316 static inline void lim_update_sta_mlo_info(struct pe_session *session, in lim_update_sta_mlo_info() argument
323 void lim_set_mlo_caps(struct mac_context *mac, struct pe_session *session, in lim_set_mlo_caps() argument
344 struct pe_session *session) in lim_set_emlsr_caps() argument
478 struct pe_session *session,
965 struct pe_session *session, uint16_t result_code,
982 struct pe_session *session, uint16_t result_code,
990 struct pe_session *session, uint16_t result_code, in lim_diag_mgmt_tx_event_report() argument
[all …]
Dlim_process_probe_req_frame.c234 static bool lim_need_broadcast_probe_rsp(struct pe_session *session, in lim_need_broadcast_probe_rsp() argument
237 if (WLAN_REG_IS_6GHZ_CHAN_FREQ(session->curr_op_freq) && in lim_need_broadcast_probe_rsp()
244 static bool lim_need_broadcast_probe_rsp(struct pe_session *session, in lim_need_broadcast_probe_rsp() argument
275 struct pe_session *session) in lim_process_probe_req_frame() argument
286 if (LIM_IS_AP_ROLE(session) && in lim_process_probe_req_frame()
287 session->curr_op_freq == WMA_GET_RX_FREQ(rx_pkt_info)) { in lim_process_probe_req_frame()
296 if ((session->access_policy_vendor_ie) && in lim_process_probe_req_frame()
297 (session->access_policy == in lim_process_probe_req_frame()
300 &session->access_policy_vendor_ie[2], in lim_process_probe_req_frame()
303 session->access_policy); in lim_process_probe_req_frame()
[all …]
Dlim_process_action_frame.c249 uint8_t *rx_pkt_info, struct pe_session *session) in __lim_process_operating_mode_action_frame() argument
271 if (session->ch_switch_in_progress) { in __lim_process_operating_mode_action_frame()
292 &session->dph.dphHashTable); in __lim_process_operating_mode_action_frame()
300 operating_mode_frm->OperatingMode.rxNSS, session); in __lim_process_operating_mode_action_frame()
302 if (lim_update_channel_width(mac_ctx, sta_ptr, session, in __lim_process_operating_mode_action_frame()
305 wlan_son_deliver_opmode(session->vdev, in __lim_process_operating_mode_action_frame()
328 struct pe_session *session) in __lim_process_gid_management_action_frame() argument
362 &session->dph.dphHashTable); in __lim_process_gid_management_action_frame()
400 lim_check_membership_user_position(mac_ctx, session, membership, in __lim_process_gid_management_action_frame()
477 uint8_t *rx_pkt_info, struct pe_session *session) in __lim_process_add_ts_rsp() argument
[all …]
Dlim_ft_preauth.c130 struct pe_session *session; in lim_process_ft_pre_auth_req() local
139 session = pe_find_session_by_bssid(mac_ctx, in lim_process_ft_pre_auth_req()
142 if (!session) { in lim_process_ft_pre_auth_req()
148 session); in lim_process_ft_pre_auth_req()
154 if (!LIM_IS_STA_ROLE(session)) { in lim_process_ft_pre_auth_req()
161 session->ftPEContext.ftPreAuthStatus = QDF_STATUS_E_FAILURE; in lim_process_ft_pre_auth_req()
162 session->ftPEContext.ftPreAuthSession = true; in lim_process_ft_pre_auth_req()
165 if (session->ftPEContext.pFTPreAuthReq) { in lim_process_ft_pre_auth_req()
166 if (session->ftPEContext.pFTPreAuthReq->pbssDescription) { in lim_process_ft_pre_auth_req()
168 session->ftPEContext.pFTPreAuthReq->pbssDescription); in lim_process_ft_pre_auth_req()
[all …]
Dlim_mlo.c154 struct pe_session *session) in lim_send_mlo_ie_update() argument
157 sch_set_fixed_beacon_fields(mac_ctx, session))) { in lim_send_mlo_ie_update()
162 lim_send_beacon_ind(mac_ctx, session, REASON_MLO_IE_UPDATE); in lim_send_mlo_ie_update()
167 struct pe_session *session; in lim_partner_link_info_change() local
179 session = pe_find_session_by_vdev_id( in lim_partner_link_info_change()
181 if (!session) { in lim_partner_link_info_change()
186 if (session->mlo_link_info.bcn_tmpl_exist) in lim_partner_link_info_change()
187 lim_send_mlo_ie_update(mac, session); in lim_partner_link_info_change()
198 struct pe_session *session, uint8_t link_id) in pe_find_partner_session_by_link_id() argument
210 if (!session) { in pe_find_partner_session_by_link_id()
[all …]
Dlim_mlo.h62 struct pe_session *session, uint8_t link_id);
72 void lim_get_mlo_vdev_list(struct pe_session *session, uint16_t *vdev_count,
132 bool lim_is_mlo_conn(struct pe_session *session, tpDphHashNode sta_ds);
203 bool lim_mlo_partner_auth_type(struct pe_session *session,
262 QDF_STATUS lim_fill_complete_mlo_ie(struct pe_session *session,
286 struct pe_session *session,
300 struct pe_session *session,
312 lim_send_bcn_frame_mlo(struct mac_context *mac_ctx, struct pe_session *session);
323 struct pe_session *session);
333 struct pe_session *session);
[all …]
Dlim_utils.c1939 void lim_disconnect_complete(struct pe_session *session, bool del_bss) in lim_disconnect_complete() argument
1942 struct mac_context *mac = session->mac_ctx; in lim_disconnect_complete()
1944 if (wlan_vdev_mlme_get_substate(session->vdev) == in lim_disconnect_complete()
1946 status = wlan_vdev_mlme_sm_deliver_evt(session->vdev, in lim_disconnect_complete()
1948 sizeof(*session), in lim_disconnect_complete()
1949 session); in lim_disconnect_complete()
1953 wlan_vdev_mlme_sm_deliver_evt(session->vdev, in lim_disconnect_complete()
1955 sizeof(*session), session); in lim_disconnect_complete()
1957 lim_send_stop_bss_failure_resp(mac, session); in lim_disconnect_complete()
2637 struct pe_session *session) in lim_update_11a_protection() argument
[all …]
Dlim_trace.c120 pRecord->qtime, pRecord->time, pRecord->session, in lim_trace_dump()
128 pRecord->qtime, pRecord->time, pRecord->session, in lim_trace_dump()
136 pRecord->qtime, pRecord->time, pRecord->session, in lim_trace_dump()
149 pRecord->session, "RX Mgmt:", in lim_trace_dump()
158 pRecord->session, "Drop RX Mgmt:", in lim_trace_dump()
167 pRecord->session, "RX Mgmt TSF:", " ", in lim_trace_dump()
173 pRecord->qtime, pRecord->time, pRecord->session, in lim_trace_dump()
179 pRecord->qtime, pRecord->time, pRecord->session, in lim_trace_dump()
186 pRecord->qtime, pRecord->time, pRecord->session, in lim_trace_dump()
195 pRecord->qtime, pRecord->time, pRecord->session, in lim_trace_dump()
[all …]
Dlim_process_mlm_rsp_messages.c459 struct pe_session *session; in lim_pmf_comeback_timer_callback() local
461 session = pe_find_session_by_vdev_id(mac_ctx, info->vdev_id); in lim_pmf_comeback_timer_callback()
462 if (!session) { in lim_pmf_comeback_timer_callback()
467 if (session->limMlmState != eLIM_MLM_WT_ASSOC_RSP_STATE) { in lim_pmf_comeback_timer_callback()
469 session->limMlmState, session->vdev_id); in lim_pmf_comeback_timer_callback()
474 session->vdev_id, session->limMlmState, info->lim_mlm_state); in lim_pmf_comeback_timer_callback()
477 session->limPrevMlmState = info->lim_prev_mlm_state; in lim_pmf_comeback_timer_callback()
478 session->limMlmState = info->lim_mlm_state; in lim_pmf_comeback_timer_callback()
479 lim_send_mlm_assoc_req(mac_ctx, session); in lim_pmf_comeback_timer_callback()
745 static void lim_update_connected_links(struct pe_session *session) in lim_update_connected_links() argument
[all …]
Dlim_send_messages.c96 struct pe_session *session) in lim_send_switch_chnl_params() argument
106 if (!session) { in lim_send_switch_chnl_params()
110 if (!session->vdev) { in lim_send_switch_chnl_params()
114 mlme_obj = wlan_vdev_mlme_get_cmpt_obj(session->vdev); in lim_send_switch_chnl_params()
119 status = lim_pre_vdev_start(mac, mlme_obj, session); in lim_send_switch_chnl_params()
123 session->ch_switch_in_progress = true; in lim_send_switch_chnl_params()
130 status = wma_pre_chan_switch_setup(session->vdev_id); in lim_send_switch_chnl_params()
136 mlme_is_chan_switch_in_progress(session->vdev)); in lim_send_switch_chnl_params()
141 wma_post_chan_switch_setup(session->vdev_id); in lim_send_switch_chnl_params()
146 rsp.vdev_id = session->vdev_id; in lim_send_switch_chnl_params()
[all …]
Dlim_send_management_frames.c3353 struct pe_session *session, in lim_calculate_auth_mlo_ie_len() argument
3360 mlo_ie = &session->mlo_ie; in lim_calculate_auth_mlo_ie_len()
3361 if (wlan_vdev_mlme_is_mlo_vdev(session->vdev)) { in lim_calculate_auth_mlo_ie_len()
3364 pe_debug("Auth TX sys role: %d", GET_LIM_SYSTEM_ROLE(session)); in lim_calculate_auth_mlo_ie_len()
3365 if (LIM_IS_STA_ROLE(session)) { in lim_calculate_auth_mlo_ie_len()
3366 populate_dot11f_auth_mlo_ie(mac_ctx, session, mlo_ie); in lim_calculate_auth_mlo_ie_len()
3368 } else if (LIM_IS_AP_ROLE(session)) { in lim_calculate_auth_mlo_ie_len()
3381 populate_dot11f_auth_mlo_ie(mac_ctx, session, in lim_calculate_auth_mlo_ie_len()
3394 struct pe_session *session, in lim_calculate_auth_mlo_ie_len() argument
3419 struct pe_session *session) in lim_send_auth_mgmt_frame() argument
[all …]
Dlim_send_sme_rsp_messages.c894 struct pe_session *session = NULL; in lim_send_sme_disassoc_ntf() local
913 session = &mac->lim.gpSession[i]; in lim_send_sme_disassoc_ntf()
914 if (session->valid && in lim_send_sme_disassoc_ntf()
915 (session->opmode == QDF_SAP_MODE)) { in lim_send_sme_disassoc_ntf()
919 &session->dph.dphHashTable); in lim_send_sme_disassoc_ntf()
925 if (lim_add_sta(mac, sta_ds, false, session) != in lim_send_sme_disassoc_ntf()
1855 static void lim_set_csa_chan_param_11be(struct pe_session *session, in lim_set_csa_chan_param_11be() argument
1859 if (!session || !csa_param || !ch_param || !session->vdev) { in lim_set_csa_chan_param_11be()
1865 !session->eht_config.support_320mhz_6ghz) in lim_set_csa_chan_param_11be()
1868 wlan_cm_sta_set_chan_param(session->vdev, in lim_set_csa_chan_param_11be()
[all …]
/wlan-driver/qcacld-3.0/core/mac/src/pe/sch/
Dsch_beacon_process.c60 tpUpdateBeaconParams bcn_prm, struct pe_session *session, in ap_beacon_process_5_ghz() argument
65 if (!session->htCapability) in ap_beacon_process_5_ghz()
68 if (bcn_struct->chan_freq != session->curr_op_freq) in ap_beacon_process_5_ghz()
78 &(session->gLimOverlap11aParams)); in ap_beacon_process_5_ghz()
80 if (session->gLimOverlap11aParams.numSta in ap_beacon_process_5_ghz()
81 && !session->gLimOverlap11aParams.protectionEnabled) { in ap_beacon_process_5_ghz()
83 bcn_prm, session); in ap_beacon_process_5_ghz()
92 &(session->gLimOverlapHt20Params)); in ap_beacon_process_5_ghz()
94 if (session->gLimOverlapHt20Params.numSta in ap_beacon_process_5_ghz()
95 && !session->gLimOverlapHt20Params.protectionEnabled) in ap_beacon_process_5_ghz()
[all …]
Dsch_beacon_gen.c114 struct pe_session *session, in lim_update_link_info() argument
118 struct mlo_link_ie *link_ie = &session->mlo_link_info.link_ie; in lim_update_link_info()
123 session->mlo_link_info.upt_bcn_mlo_ie = false; in lim_update_link_info()
124 session->mlo_link_info.bss_param_change = false; in lim_update_link_info()
130 session->mlo_link_info.bss_param_change = true; in lim_update_link_info()
132 wlan_vdev_get_id(session->vdev)); in lim_update_link_info()
145 session->mlo_link_info.bss_param_change = true; in lim_update_link_info()
147 wlan_vdev_get_id(session->vdev)); in lim_update_link_info()
152 session->mlo_link_info.upt_bcn_mlo_ie = true; in lim_update_link_info()
155 session->mlo_link_info.bss_param_change = true; in lim_update_link_info()
[all …]
/wlan-driver/qcacld-3.0/components/target_if/pmo/src/
Dtarget_if_pmo_lphb.c44 ts_lphb_enable->item, ts_lphb_enable->session); in target_if_pmo_send_lphb_enable()
53 hb_enable_fp.vdev_id = ts_lphb_enable->session; in target_if_pmo_send_lphb_enable()
56 hb_enable_fp.session = ts_lphb_enable->session; in target_if_pmo_send_lphb_enable()
84 ts_lphb_tcp_param->session, in target_if_pmo_send_lphb_tcp_params()
89 hb_tcp_params_fp.vdev_id = ts_lphb_tcp_param->session; in target_if_pmo_send_lphb_tcp_params()
97 hb_tcp_params_fp.session = ts_lphb_tcp_param->session; in target_if_pmo_send_lphb_tcp_params()
125 ts_lphb_tcp_filter->session, ts_lphb_tcp_filter->filter[0], in target_if_pmo_send_lphb_tcp_pkt_filter()
131 hb_tcp_filter_fp.vdev_id = ts_lphb_tcp_filter->session; in target_if_pmo_send_lphb_tcp_pkt_filter()
134 hb_tcp_filter_fp.session = ts_lphb_tcp_filter->session; in target_if_pmo_send_lphb_tcp_pkt_filter()
166 ts_lphb_udp_param->session, in target_if_pmo_send_lphb_udp_params()
[all …]
/wlan-driver/qcacld-3.0/core/mac/src/pe/nan/
Dnan_datapath.c48 struct pe_session *session; in lim_add_ndi_peer() local
65 session = pe_find_session_by_vdev_id(mac_ctx, vdev_id); in lim_add_ndi_peer()
66 if (!session) { in lim_add_ndi_peer()
74 &assoc_id, &session->dph.dphHashTable); in lim_add_ndi_peer()
83 ucfg_nan_set_peer_mc_list(session->vdev, peer_mac_addr); in lim_add_ndi_peer()
85 peer_idx = lim_assign_peer_idx(mac_ctx, session); in lim_add_ndi_peer()
92 &session->dph.dphHashTable); in lim_add_ndi_peer()
101 status = lim_add_sta(mac_ctx, sta_ds, false, session); in lim_add_ndi_peer()
135 struct pe_session *session; in lim_ndp_delete_peer_by_addr() local
149 session = pe_find_session_by_vdev_id(mac_ctx, vdev_id); in lim_ndp_delete_peer_by_addr()
[all …]
/wlan-driver/qcacld-3.0/core/mac/src/pe/include/
Dlim_process_fils.h54 void lim_add_fils_data_to_auth_frame(struct pe_session *session, uint8_t *body);
97 struct pe_session *session,
111 struct pe_session *session,
142 struct pe_session *session,
191 struct pe_session *session,
237 lim_add_fils_data_to_auth_frame(struct pe_session *session, uint8_t *body) in lim_add_fils_data_to_auth_frame() argument
248 struct pe_session *session, in lim_update_fils_config() argument
255 struct pe_session *session,
268 struct pe_session *session, in populate_fils_connect_params() argument
288 struct pe_session *session, in aead_decrypt_assoc_rsp() argument
/wlan-driver/qca-wifi-host-cmn/wmi/src/
Dwmi_unified_twt_tlv.c1080 *session, in extract_twt_session_stats_event_data()
1104 session->vdev_id = twt_session->vdev_id; in extract_twt_session_stats_event_data()
1106 m2 = session->peer_mac.bytes; in extract_twt_session_stats_event_data()
1108 session->event_type = twt_session->event_type; in extract_twt_session_stats_event_data()
1110 session->flow_id = WMI_TWT_SESSION_FLAG_FLOW_ID_GET(flags); in extract_twt_session_stats_event_data()
1111 session->bcast = WMI_TWT_SESSION_FLAG_BCAST_TWT_GET(flags); in extract_twt_session_stats_event_data()
1112 session->trig = WMI_TWT_SESSION_FLAG_TRIGGER_TWT_GET(flags); in extract_twt_session_stats_event_data()
1113 session->announ = WMI_TWT_SESSION_FLAG_ANNOUN_TWT_GET(flags); in extract_twt_session_stats_event_data()
1114 session->protection = WMI_TWT_SESSION_FLAG_TWT_PROTECTION_GET(flags); in extract_twt_session_stats_event_data()
1115 session->info_frame_disabled = in extract_twt_session_stats_event_data()
[all …]

1234