Home
last modified time | relevance | path

Searched refs:mac_ctx (Results 1 – 25 of 99) sorted by relevance

1234

/wlan-driver/qcacld-3.0/core/mac/src/pe/lim/
H A Dlim_process_mlm_req_messages.c171 void lim_process_sae_auth_timeout(struct mac_context *mac_ctx) in lim_process_sae_auth_timeout() argument
176 session = pe_find_session_by_session_id(mac_ctx, in lim_process_sae_auth_timeout()
177 mac_ctx->lim.lim_timers.sae_auth_timer.sessionId); in lim_process_sae_auth_timeout()
190 mac_ctx->auth_ack_status, in lim_process_sae_auth_timeout()
198 lim_restore_from_auth_state(mac_ctx, in lim_process_sae_auth_timeout()
206 lim_print_mlm_state(mac_ctx, LOGE, session->limMlmState); in lim_process_sae_auth_timeout()
229 void lim_process_mlm_req_messages(struct mac_context *mac_ctx, in lim_process_mlm_req_messages() argument
234 lim_process_mlm_auth_req(mac_ctx, msg->bodyptr); in lim_process_mlm_req_messages()
237 lim_process_mlm_assoc_req(mac_ctx, msg->bodyptr); in lim_process_mlm_req_messages()
240 lim_process_mlm_disassoc_req(mac_ctx, msg->bodyptr); in lim_process_mlm_req_messages()
[all …]
H A Dlim_process_message_queue.c68 static void lim_process_normal_hdd_msg(struct mac_context *mac_ctx,
435 static void lim_process_set_default_scan_ie_request(struct mac_context *mac_ctx, in lim_process_set_default_scan_ie_request() argument
458 pe_session = pe_find_session_by_vdev_id(mac_ctx, in lim_process_set_default_scan_ie_request()
460 if (lim_update_ext_cap_ie(mac_ctx, in lim_process_set_default_scan_ie_request()
481 ret_code = wma_post_ctrl_msg(mac_ctx, &msg_q); in lim_process_set_default_scan_ie_request()
500 static bool def_msg_decision(struct mac_context *mac_ctx, in def_msg_decision() argument
508 if (mac_ctx->lim.gLimSmeState == eLIM_SME_OFFLINE_STATE) { in def_msg_decision()
510 if (lim_defer_msg(mac_ctx, lim_msg) != TX_SUCCESS) { in def_msg_decision()
512 lim_log_session_states(mac_ctx); in def_msg_decision()
513 lim_handle_defer_msg_error(mac_ctx, lim_msg); in def_msg_decision()
[all …]
H A Dlim_process_auth_frame.c124 static void lim_process_auth_shared_system_algo(struct mac_context *mac_ctx, in lim_process_auth_shared_system_algo() argument
139 val = mac_ctx->mlme_cfg->wep_params.is_privacy_enabled; in lim_process_auth_shared_system_algo()
161 lim_send_auth_mgmt_frame(mac_ctx, auth_frame, in lim_process_auth_shared_system_algo()
167 auth_node = lim_acquire_free_pre_auth_node(mac_ctx, in lim_process_auth_shared_system_algo()
168 &mac_ctx->lim.gLimPreAuthTimerTable); in lim_process_auth_shared_system_algo()
185 lim_add_pre_auth_node(mac_ctx, auth_node); in lim_process_auth_shared_system_algo()
208 lim_send_auth_mgmt_frame(mac_ctx, auth_frame, in lim_process_auth_shared_system_algo()
211 lim_delete_pre_auth_node(mac_ctx, mac_hdr->sa); in lim_process_auth_shared_system_algo()
233 lim_send_auth_mgmt_frame(mac_ctx, in lim_process_auth_shared_system_algo()
238 lim_delete_pre_auth_node(mac_ctx, mac_hdr->sa); in lim_process_auth_shared_system_algo()
[all …]
H A Dlim_roam_timer_utils.c38 uint32_t lim_create_timers_host_roam(struct mac_context *mac_ctx) in lim_create_timers_host_roam() argument
43 mac_ctx->mlme_cfg->timeouts.reassoc_failure_timeout); in lim_create_timers_host_roam()
45 if (tx_timer_create(mac_ctx, in lim_create_timers_host_roam()
46 &mac_ctx->lim.lim_timers.gLimReassocFailureTimer, in lim_create_timers_host_roam()
54 if (tx_timer_create(mac_ctx, in lim_create_timers_host_roam()
55 &mac_ctx->lim.lim_timers.gLimFTPreAuthRspTimer, in lim_create_timers_host_roam()
65 tx_timer_delete(&mac_ctx->lim.lim_timers.gLimReassocFailureTimer); in lim_create_timers_host_roam()
69 void lim_delete_timers_host_roam(struct mac_context *mac_ctx) in lim_delete_timers_host_roam() argument
71 tLimTimers *lim_timer = &mac_ctx->lim.lim_timers; in lim_delete_timers_host_roam()
79 void lim_deactivate_timers_host_roam(struct mac_context *mac_ctx) in lim_deactivate_timers_host_roam() argument
[all …]
H A Dlim_process_assoc_req_frame.c62 static void lim_convert_supported_channels(struct mac_context *mac_ctx, in lim_convert_supported_channels() argument
98 chan_freq = wlan_reg_legacy_chan_to_freq(mac_ctx->pdev, in lim_convert_supported_channels()
148 static QDF_STATUS lim_check_sta_in_pe_entries(struct mac_context *mac_ctx, in lim_check_sta_in_pe_entries() argument
159 for (i = 0; i < mac_ctx->lim.maxBssId; i++) { in lim_check_sta_in_pe_entries()
160 session = &mac_ctx->lim.gpSession[i]; in lim_check_sta_in_pe_entries()
164 mac_ctx, sa, in lim_check_sta_in_pe_entries()
188 lim_send_disassoc_mgmt_frame(mac_ctx, in lim_check_sta_in_pe_entries()
200 lim_send_sme_disassoc_ind(mac_ctx, sta_ds, in lim_check_sta_in_pe_entries()
222 static bool lim_chk_sa_da(struct mac_context *mac_ctx, tpSirMacMgmtHdr hdr, in lim_chk_sa_da() argument
231 lim_send_assoc_rsp_mgmt_frame(mac_ctx, STATUS_UNSPECIFIED_FAILURE, in lim_chk_sa_da()
[all …]
H A Dlim_link_monitoring_algo.c61 static void lim_delete_sta_util(struct mac_context *mac_ctx, tpDeleteStaContext msg, in lim_delete_sta_util() argument
68 stads = dph_lookup_hash_entry(mac_ctx, msg->addr2, &msg->assocId, in lim_delete_sta_util()
99 mac_ctx, in lim_delete_sta_util()
106 mac_ctx, in lim_delete_sta_util()
109 lim_trigger_sta_deletion(mac_ctx, stads, in lim_delete_sta_util()
122 lim_send_sme_tdls_del_sta_ind(mac_ctx, stads, in lim_delete_sta_util()
167 lim_delete_tdls_peers(mac_ctx, session_entry); in lim_delete_sta_util()
170 lim_post_sme_message(mac_ctx, LIM_MLM_DEAUTH_IND, in lim_delete_sta_util()
173 lim_send_sme_deauth_ind(mac_ctx, stads, session_entry); in lim_delete_sta_util()
192 void lim_delete_sta_context(struct mac_context *mac_ctx, in lim_delete_sta_context() argument
[all …]
H A Dlim_process_mlm_rsp_messages.c295 void lim_process_mlm_join_cnf(struct mac_context *mac_ctx, in lim_process_mlm_join_cnf() argument
303 session_entry = pe_find_session_by_session_id(mac_ctx, in lim_process_mlm_join_cnf()
310 wlan_connectivity_sta_info_event(mac_ctx->psoc, session_entry->vdev_id, in lim_process_mlm_join_cnf()
325 if (lim_sta_send_add_bss_pre_assoc(mac_ctx, in lim_process_mlm_join_cnf()
335 MTRACE(mac_trace(mac_ctx, TRACE_CODE_SME_STATE, in lim_process_mlm_join_cnf()
339 lim_handle_sme_join_result(mac_ctx, result_code, in lim_process_mlm_join_cnf()
360 static void lim_send_mlm_assoc_req(struct mac_context *mac_ctx, in lim_send_mlm_assoc_req() argument
383 if (lim_get_capability_info(mac_ctx, &caps, session_entry) in lim_send_mlm_assoc_req()
423 tele_bcn = mac_ctx->mlme_cfg->sap_cfg.tele_bcn_wakeup_en; in lim_send_mlm_assoc_req()
425 val = mac_ctx->mlme_cfg->sap_cfg.tele_bcn_max_li; in lim_send_mlm_assoc_req()
[all …]
H A Dlim_process_sme_req_messages.c86 static void lim_process_sme_disassoc_cnf(struct mac_context *mac_ctx,
88 static void lim_process_sme_deauth_req(struct mac_context *mac_ctx,
90 static void lim_process_sme_disassoc_req(struct mac_context *mac_ctx,
117 static void lim_process_ext_change_channel(struct mac_context *mac_ctx,
277 lim_is_ese_enabled(struct mac_context *mac_ctx) in lim_is_ese_enabled() argument
279 return mac_ctx->mlme_cfg->lfr.ese_enabled; in lim_is_ese_enabled()
283 lim_is_ese_enabled(struct mac_context *mac_ctx) in lim_is_ese_enabled() argument
383 __lim_is_deferred_msg_for_radar(struct mac_context *mac_ctx, in __lim_is_deferred_msg_for_radar() argument
396 if (lim_defer_msg(mac_ctx, message) != TX_SUCCESS) { in __lim_is_deferred_msg_for_radar()
461 lim_configure_ap_start_bss_session(struct mac_context *mac_ctx, in lim_configure_ap_start_bss_session() argument
[all …]
H A Dlim_process_assoc_rsp_frame.c67 static void lim_update_stads_htcap(struct mac_context *mac_ctx, in lim_update_stads_htcap() argument
98 lim_fill_rx_highest_supported_rate(mac_ctx, &highest_rxrate, in lim_update_stads_htcap()
138 void lim_update_assoc_sta_datas(struct mac_context *mac_ctx, in lim_update_assoc_sta_datas() argument
151 lim_get_phy_mode(mac_ctx, &phy_mode, session_entry); in lim_update_assoc_sta_datas()
163 lim_update_stads_htcap(mac_ctx, sta_ds, assoc_rsp, in lim_update_assoc_sta_datas()
196 if (mac_ctx->mlme_cfg->vht_caps.vht_cap_info. in lim_update_assoc_sta_datas()
205 lim_update_stads_he_caps(mac_ctx, sta_ds, assoc_rsp, in lim_update_assoc_sta_datas()
208 lim_update_stads_eht_caps(mac_ctx, sta_ds, assoc_rsp, in lim_update_assoc_sta_datas()
220 if (lim_populate_peer_rate_set(mac_ctx, &sta_ds->supportedRates, in lim_update_assoc_sta_datas()
252 sch_beacon_edca_process(mac_ctx, in lim_update_assoc_sta_datas()
[all …]
H A Dlim_process_probe_rsp_frame.c57 lim_validate_ie_information_in_probe_rsp_frame(struct mac_context *mac_ctx, in lim_validate_ie_information_in_probe_rsp_frame() argument
79 status = sir_validate_and_rectify_ies(mac_ctx, in lim_validate_ie_information_in_probe_rsp_frame()
97 lim_process_updated_ies_in_probe_rsp(struct mac_context *mac_ctx, in lim_process_updated_ies_in_probe_rsp() argument
116 sta_ds = dph_get_hash_entry(mac_ctx, DPH_STA_HASH_INDEX_PEER, in lim_process_updated_ies_in_probe_rsp()
131 status = sch_beacon_edca_process(mac_ctx, in lim_process_updated_ies_in_probe_rsp()
144 lim_set_active_edca_params(mac_ctx, in lim_process_updated_ies_in_probe_rsp()
147 lim_send_edca_params(mac_ctx, in lim_process_updated_ies_in_probe_rsp()
157 lim_detect_change_in_ap_capabilities(mac_ctx, probe_rsp, in lim_process_updated_ies_in_probe_rsp()
164 void lim_process_gen_probe_rsp_frame(struct mac_context *mac_ctx, in lim_process_gen_probe_rsp_frame() argument
198 status = sir_convert_probe_frame2_struct(mac_ctx, in lim_process_gen_probe_rsp_frame()
[all …]
H A Dlim_send_management_frames.c118 void lim_populate_mac_header(struct mac_context *mac_ctx, uint8_t *buf, in lim_populate_mac_header() argument
144 lim_add_mgmt_seq_num(mac_ctx, mac_hdr); in lim_populate_mac_header()
147 mac_ctx->mgmtSeqNum, mac_hdr->seqControl.fragNum); in lim_populate_mac_header()
175 lim_send_probe_req_mgmt_frame(struct mac_context *mac_ctx, in lim_send_probe_req_mgmt_frame() argument
209 channel = wlan_reg_freq_to_chan(mac_ctx->pdev, chan_freq); in lim_send_probe_req_mgmt_frame()
217 !mac_ctx->mlme_cfg->vht_caps.vht_cap_info.b24ghz_band && in lim_send_probe_req_mgmt_frame()
232 pesession = pe_find_session_by_bssid(mac_ctx, bssid, &sessionid); in lim_send_probe_req_mgmt_frame()
248 populate_dot11f_ssid(mac_ctx, ssid, &pr->SSID); in lim_send_probe_req_mgmt_frame()
251 p2pie = limGetP2pIEPtr(mac_ctx, additional_ie, addn_ielen); in lim_send_probe_req_mgmt_frame()
263 populate_dot11f_supp_rates(mac_ctx, 15, &pr->SuppRates, in lim_send_probe_req_mgmt_frame()
[all …]
H A Dlim_utils.h275 QDF_STATUS lim_send_mlo_caps_ie(struct mac_context *mac_ctx,
289 void lim_strip_mlo_ie(struct mac_context *mac_ctx,
300 void lim_set_emlsr_caps(struct mac_context *mac_ctx,
329 void lim_strip_mlo_ie(struct mac_context *mac_ctx, in lim_strip_mlo_ie() argument
335 QDF_STATUS lim_send_mlo_caps_ie(struct mac_context *mac_ctx, in lim_send_mlo_caps_ie() argument
343 static inline void lim_set_emlsr_caps(struct mac_context *mac_ctx, in lim_set_emlsr_caps() argument
378 void lim_send_sme_mgmt_frame_ind(struct mac_context *mac_ctx, uint8_t frame_type,
391 void lim_deactivate_timers(struct mac_context *mac_ctx);
403 void lim_deactivate_timers_for_vdev(struct mac_context *mac_ctx,
757 void lim_process_add_sta_rsp(struct mac_context *mac_ctx,
[all …]
H A Dlim_process_action_frame.c145 lim_process_ext_channel_switch_action_frame(struct mac_context *mac_ctx, in lim_process_ext_channel_switch_action_frame() argument
168 status = dot11f_unpack_ext_channel_switch_action_frame(mac_ctx, in lim_process_ext_channel_switch_action_frame()
181 if (!wlan_reg_is_6ghz_supported(mac_ctx->psoc) && in lim_process_ext_channel_switch_action_frame()
182 (wlan_reg_is_6ghz_op_class(mac_ctx->pdev, in lim_process_ext_channel_switch_action_frame()
203 ((wlan_reg_get_channel_state_for_pwrmode(mac_ctx->pdev, in lim_process_ext_channel_switch_action_frame()
206 (wlan_reg_is_dfs_for_freq(mac_ctx->pdev, target_freq) && in lim_process_ext_channel_switch_action_frame()
208 mac_ctx->psoc))))) { in lim_process_ext_channel_switch_action_frame()
233 lim_sys_process_mmh_msg_api(mac_ctx, &mmh_msg); in lim_process_ext_channel_switch_action_frame()
248 static void __lim_process_operating_mode_action_frame(struct mac_context *mac_ctx, in __lim_process_operating_mode_action_frame() argument
280 status = dot11f_unpack_operating_mode(mac_ctx, body_ptr, frame_len, in __lim_process_operating_mode_action_frame()
[all …]
H A Dlim_types.h379 void lim_process_mlm_start_cnf(struct mac_context *mac_ctx, uint32_t *msg_buf);
451 void lim_process_beacon_eht(struct mac_context *mac_ctx,
466 void lim_process_beacon_eht(struct mac_context *mac_ctx, in lim_process_beacon_eht() argument
489 void lim_process_bcn_prb_rsp_t2lm(struct mac_context *mac_ctx,
501 void lim_process_beacon_mlo(struct mac_context *mac_ctx,
517 lim_process_ml_reconfig(struct mac_context *mac_ctx,
522 void lim_process_beacon_mlo(struct mac_context *mac_ctx, in lim_process_beacon_mlo() argument
529 void lim_process_bcn_prb_rsp_t2lm(struct mac_context *mac_ctx, in lim_process_bcn_prb_rsp_t2lm() argument
536 lim_process_ml_reconfig(struct mac_context *mac_ctx, in lim_process_ml_reconfig() argument
558 void lim_process_gen_probe_rsp_frame(struct mac_context *mac_ctx,
[all …]
/wlan-driver/qcacld-3.0/core/sme/src/common/
H A Dsme_power_save.c67 static void sme_ps_fill_uapsd_req_params(struct mac_context *mac_ctx, in sme_ps_fill_uapsd_req_params() argument
74 struct ps_global_info *ps_global_info = &mac_ctx->sme.ps_global_info; in sme_ps_fill_uapsd_req_params()
117 static void sme_set_ps_state(struct mac_context *mac_ctx, in sme_set_ps_state() argument
120 struct ps_global_info *ps_global_info = &mac_ctx->sme.ps_global_info; in sme_set_ps_state()
126 static void sme_get_ps_state(struct mac_context *mac_ctx, in sme_get_ps_state() argument
129 struct ps_global_info *ps_global_info = &mac_ctx->sme.ps_global_info; in sme_get_ps_state()
141 sme_ps_enable_ps_req_params(struct mac_context *mac_ctx, uint32_t vdev_id) in sme_ps_enable_ps_req_params() argument
144 struct ps_global_info *ps_global_info = &mac_ctx->sme.ps_global_info; in sme_ps_enable_ps_req_params()
154 sme_ps_fill_uapsd_req_params(mac_ctx, in sme_ps_enable_ps_req_params()
182 static QDF_STATUS sme_ps_disable_ps_req_params(struct mac_context *mac_ctx, in sme_ps_disable_ps_req_params() argument
[all …]
H A Dsme_api.c132 struct mac_context *mac_ctx; in sme_get_mac_context() local
139 mac_ctx = MAC_CONTEXT(mac_handle); in sme_get_mac_context()
141 return mac_ctx; in sme_get_mac_context()
300 static void free_sme_cmds(struct mac_context *mac_ctx) in free_sme_cmds() argument
304 if (!mac_ctx->sme.sme_cmd_buf_addr) in free_sme_cmds()
307 for (idx = 0; idx < mac_ctx->sme.sme_cmd_count; idx++) in free_sme_cmds()
308 qdf_mem_free(mac_ctx->sme.sme_cmd_buf_addr[idx]); in free_sme_cmds()
310 qdf_mem_free(mac_ctx->sme.sme_cmd_buf_addr); in free_sme_cmds()
311 mac_ctx->sme.sme_cmd_buf_addr = NULL; in free_sme_cmds()
364 void sme_release_command(struct mac_context *mac_ctx, tSmeCmd *sme_cmd) in sme_release_command() argument
[all …]
/wlan-driver/qcacld-3.0/core/mac/src/pe/nan/
H A Dnan_datapath.c45 static QDF_STATUS lim_add_ndi_peer(struct mac_context *mac_ctx, in lim_add_ndi_peer() argument
54 if (!wlan_is_vdev_id_up(mac_ctx->pdev, vdev_id)) { in lim_add_ndi_peer()
65 session = pe_find_session_by_vdev_id(mac_ctx, vdev_id); in lim_add_ndi_peer()
72 sta_ds = dph_lookup_hash_entry(mac_ctx, in lim_add_ndi_peer()
85 peer_idx = lim_assign_peer_idx(mac_ctx, session); 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()
101 status = lim_add_sta(mac_ctx, sta_ds, false, session); in lim_add_ndi_peer()
115 struct mac_context *mac_ctx = cds_get_context(QDF_MODULE_ID_PE); in lim_add_ndi_peer_converged() local
117 if (!mac_ctx) in lim_add_ndi_peer_converged()
120 return lim_add_ndi_peer(mac_ctx, vdev_id, peer_mac_addr); in lim_add_ndi_peer_converged()
[all …]
/wlan-driver/qcacld-3.0/core/mac/src/pe/sch/
H A Dsch_beacon_process.c58 ap_beacon_process_5_ghz(struct mac_context *mac_ctx, uint8_t *rx_pkt_info, in ap_beacon_process_5_ghz() argument
77 lim_update_overlap_sta_param(mac_ctx, mac_hdr->bssId, in ap_beacon_process_5_ghz()
82 lim_update_11a_protection(mac_ctx, true, true, in ap_beacon_process_5_ghz()
91 lim_update_overlap_sta_param(mac_ctx, mac_hdr->bssId, in ap_beacon_process_5_ghz()
96 lim_enable_ht20_protection(mac_ctx, true, true, in ap_beacon_process_5_ghz()
101 ap_beacon_process_24_ghz(struct mac_context *mac_ctx, uint8_t *rx_pkt_info, in ap_beacon_process_24_ghz() argument
117 (!mac_ctx->mlme_cfg->sta.ignore_peer_erp_info && in ap_beacon_process_24_ghz()
124 if (wlan_cm_get_ese_assoc(mac_ctx->pdev, session->vdev_id)) in ap_beacon_process_24_ghz()
130 lim_enable_overlap11g_protection(mac_ctx, bcn_prm, in ap_beacon_process_24_ghz()
143 (!mac_ctx->mlme_cfg->sta.ignore_peer_erp_info && in ap_beacon_process_24_ghz()
[all …]
H A Dsch_beacon_gen.c113 static void lim_update_link_info(struct mac_context *mac_ctx, in lim_update_link_info() argument
246 dot11f_pack_beacon1(mac_ctx, bcn_1, ptr, in lim_update_link_info()
334 static void lim_update_link_info(struct mac_context *mac_ctx, in lim_update_link_info() argument
398 sch_append_addn_ie(struct mac_context *mac_ctx, struct pe_session *session, in sch_append_addn_ie() argument
425 status = lim_strip_ie(mac_ctx, addn_ie, &addn_ielen, WLAN_ELEMID_VENDOR, in sch_append_addn_ie()
440 p2p_ie = (uint8_t *)limGetP2pIEPtr(mac_ctx, &add_ie[0], addn_ielen); in sch_append_addn_ie()
441 if ((p2p_ie) && !mac_ctx->beacon_offload) { in sch_append_addn_ie()
443 noa_len = lim_get_noa_attr_stream(mac_ctx, noa_strm, session); in sch_append_addn_ie()
467 populate_channel_switch_ann(struct mac_context *mac_ctx, in populate_channel_switch_ann() argument
471 populate_dot11f_chan_switch_ann(mac_ctx, &bcn->ChanSwitchAnn, in populate_channel_switch_ann()
[all …]
/wlan-driver/qcacld-3.0/core/sme/src/csr/
H A Dcsr_util.c179 void csr_purge_pdev_all_ser_cmd_list(struct mac_context *mac_ctx) in csr_purge_pdev_all_ser_cmd_list() argument
181 wlan_serialization_purge_all_pdev_cmd(mac_ctx->pdev); in csr_purge_pdev_all_ser_cmd_list()
184 tListElem *csr_nonscan_active_ll_peek_head(struct mac_context *mac_ctx, in csr_nonscan_active_ll_peek_head() argument
190 cmd = wlan_serialization_peek_head_active_cmd_using_psoc(mac_ctx->psoc, in csr_nonscan_active_ll_peek_head()
200 tListElem *csr_nonscan_pending_ll_peek_head(struct mac_context *mac_ctx, in csr_nonscan_pending_ll_peek_head() argument
206 cmd = wlan_serialization_peek_head_pending_cmd_using_psoc(mac_ctx->psoc, in csr_nonscan_pending_ll_peek_head()
214 mac_ctx->psoc, cmd, false); in csr_nonscan_pending_ll_peek_head()
220 bool csr_nonscan_active_ll_remove_entry(struct mac_context *mac_ctx, in csr_nonscan_active_ll_remove_entry() argument
225 head = csr_nonscan_active_ll_peek_head(mac_ctx, inter_locked); in csr_nonscan_active_ll_remove_entry()
232 tListElem *csr_nonscan_pending_ll_next(struct mac_context *mac_ctx, in csr_nonscan_pending_ll_next() argument
[all …]
H A Dcsr_api_roam.c109 static QDF_STATUS csr_sae_callback(struct mac_context *mac_ctx, in csr_sae_callback() argument
136 csr_roam_call_callback(mac_ctx, session_id, roam_info, in csr_sae_callback()
143 static inline QDF_STATUS csr_sae_callback(struct mac_context *mac_ctx, in csr_sae_callback() argument
597 static void csr_roam_arrange_ch_list(struct mac_context *mac_ctx, in csr_roam_arrange_ch_list() argument
600 bool prefer_5g = CSR_IS_ROAM_PREFER_5GHZ(mac_ctx); in csr_roam_arrange_ch_list()
601 bool prefer_dfs = CSR_IS_DFS_CH_ROAM_ALLOWED(mac_ctx); in csr_roam_arrange_ch_list()
615 !wlan_reg_is_dfs_for_freq(mac_ctx->pdev, in csr_roam_arrange_ch_list()
675 static void csr_roam_sort_channel_for_early_stop(struct mac_context *mac_ctx, in csr_roam_sort_channel_for_early_stop() argument
765 csr_roam_arrange_ch_list(mac_ctx, chan_list->chanParam, num_channel); in csr_roam_sort_channel_for_early_stop()
1561 bool csr_roam_is_ese_assoc(struct mac_context *mac_ctx, uint32_t session_id) in csr_roam_is_ese_assoc() argument
[all …]
/wlan-driver/qcacld-3.0/core/sap/src/
H A Dsap_api_link_cntl.c137 struct mac_context *mac_ctx = MAC_CONTEXT(mac_handle); in sap_config_acs_result() local
145 wlan_sap_get_concurrent_bw(mac_ctx->pdev, mac_ctx->psoc, in sap_config_acs_result()
152 mac_ctx->pdev, sap_ctx->acs_cfg->pri_ch_freq, in sap_config_acs_result()
256 struct mac_context *mac_ctx = MAC_CONTEXT(mac_handle); in wlansap_calculate_chan_from_scan_result() local
272 list = wlan_scan_get_result(mac_ctx->pdev, filter); in wlansap_calculate_chan_from_scan_result()
363 struct mac_context *mac_ctx = MAC_CONTEXT(mac_handle); in wlansap_pre_start_bss_acs_scan_callback() local
374 wlansap_filter_unsafe_ch(mac_ctx->psoc, sap_ctx); in wlansap_pre_start_bss_acs_scan_callback()
376 wlan_sap_filter_non_preferred_channels(mac_ctx->pdev, sap_ctx); in wlansap_pre_start_bss_acs_scan_callback()
379 sap_select_default_oper_chan(mac_ctx, in wlansap_pre_start_bss_acs_scan_callback()
393 sap_select_default_oper_chan(mac_ctx, in wlansap_pre_start_bss_acs_scan_callback()
[all …]
H A Dsap_fsm.c191 struct mac_context *mac_ctx; in sap_is_chan_change_needed() local
198 mac_ctx = sap_get_mac_context(); in sap_is_chan_change_needed()
199 if (!mac_ctx) { in sap_is_chan_change_needed()
204 ch_params = &mac_ctx->sap.SapDfsInfo.new_ch_params; in sap_is_chan_change_needed()
205 if (mac_ctx->sap.SapDfsInfo.orig_chanWidth == 0) { in sap_is_chan_change_needed()
207 mac_ctx->sap.SapDfsInfo.orig_chanWidth = ch_wd; in sap_is_chan_change_needed()
209 ch_wd = mac_ctx->sap.SapDfsInfo.orig_chanWidth; in sap_is_chan_change_needed()
216 wlan_reg_set_channel_params_for_pwrmode(mac_ctx->pdev, in sap_is_chan_change_needed()
232 mac_ctx->sap.SapDfsInfo.new_chanWidth = in sap_is_chan_change_needed()
266 struct mac_context *mac_ctx; in sap_random_channel_sel() local
[all …]
/wlan-driver/qcacld-3.0/core/mac/src/sys/legacy/src/system/src/
H A Dsys_entry_func.c74 QDF_STATUS sys_bbt_process_message_core(struct mac_context *mac_ctx, in sys_bbt_process_message_core() argument
85 mac_ctx->sys.gSysBbtReceived++; in sys_bbt_process_message_core()
90 mac_ctx->sys.gSysFrameCount[type][subtype]++; in sys_bbt_process_message_core()
91 framecount = mac_ctx->sys.gSysFrameCount[type][subtype]; in sys_bbt_process_message_core()
101 !GET_LIM_PROCESS_DEFD_MESGS(mac_ctx)) { in sys_bbt_process_message_core()
106 dropreason = lim_is_pkt_candidate_for_drop(mac_ctx, bd_ptr, in sys_bbt_process_message_core()
111 MTRACE(mac_trace(mac_ctx, in sys_bbt_process_message_core()
123 mac_ctx->sys.gSysFrameCount[type][subtype]); in sys_bbt_process_message_core()
130 mac_ctx->sys.gSysFrameCount[type][subtype]); in sys_bbt_process_message_core()
137 mac_ctx->sys.gSysFrameCount[type][subtype]); in sys_bbt_process_message_core()
[all …]
/wlan-driver/qcacld-3.0/core/mac/src/pe/include/
H A Dlim_process_fils.h38 bool lim_process_fils_auth_frame2(struct mac_context *mac_ctx,
65 bool lim_is_valid_fils_auth_frame(struct mac_context *mac_ctx,
96 void lim_update_fils_config(struct mac_context *mac_ctx,
109 QDF_STATUS lim_create_fils_auth_data(struct mac_context *mac_ctx,
141 populate_fils_connect_params(struct mac_context *mac_ctx,
173 QDF_STATUS aead_encrypt_assoc_req(struct mac_context *mac_ctx,
190 QDF_STATUS aead_decrypt_assoc_rsp(struct mac_context *mac_ctx,
221 bool lim_verify_fils_params_assoc_rsp(struct mac_context *mac_ctx,
226 static inline bool lim_process_fils_auth_frame2(struct mac_context *mac_ctx, in lim_process_fils_auth_frame2() argument
241 static inline bool lim_is_valid_fils_auth_frame(struct mac_context *mac_ctx, in lim_is_valid_fils_auth_frame() argument
[all …]

1234