/wlan-driver/qca-wifi-host-cmn/umac/mlme/vdev_mgr/dispatcher/src/ |
H A D | wlan_vdev_mgr_utils_api.c | 159 struct wlan_vdev_mgr_cfg mlme_cfg) in tgt_vdev_mgr_vdev_set_param_wrapper() argument 188 param1.param_value = mlme_cfg.value; in tgt_vdev_mgr_vdev_set_param_wrapper() 196 param2.param_value = mlme_cfg.value; in tgt_vdev_mgr_vdev_set_param_wrapper() 218 struct wlan_vdev_mgr_cfg mlme_cfg) in wlan_util_vdev_mlme_set_param() argument 238 mlme_proto->generic.dtim_period = mlme_cfg.value; in wlan_util_vdev_mlme_set_param() 242 mlme_proto->generic.slot_time = mlme_cfg.value; in wlan_util_vdev_mlme_set_param() 246 mlme_proto->generic.protection_mode = mlme_cfg.value; in wlan_util_vdev_mlme_set_param() 250 mlme_proto->generic.beacon_interval = mlme_cfg.value; in wlan_util_vdev_mlme_set_param() 254 mlme_proto->generic.ldpc = mlme_cfg.value; in wlan_util_vdev_mlme_set_param() 258 mlme_proto->generic.nss = mlme_cfg.value; in wlan_util_vdev_mlme_set_param() [all …]
|
H A D | wlan_vdev_mgr_ucfg_api.c | 135 struct wlan_vdev_mgr_cfg mlme_cfg) in ucfg_wlan_vdev_mgr_set_param() argument 148 return wlan_util_vdev_mlme_set_param(vdev_mlme, param_id, mlme_cfg); in ucfg_wlan_vdev_mgr_set_param()
|
/wlan-driver/qcacld-3.0/core/mac/src/pe/lim/ |
H A D | lim_process_cfg_updates.c | 46 struct wlan_mlme_cfg *mlme_cfg = mac->mlme_cfg; in lim_set_cfg_protection() local 68 mlme_cfg->sap_protection_cfg.protection_force_policy; in lim_set_cfg_protection() 76 val = mlme_cfg->sap_protection_cfg.protection_enabled; in lim_set_cfg_protection() 210 mac->mlme_cfg->ht_caps.short_preamble; in lim_update_config() 214 enabled = mac->mlme_cfg->wmm_params.wme_enabled; in lim_update_config() 217 enabled = mac->mlme_cfg->wmm_params.wsm_enabled; in lim_update_config() 226 enabled = mac->mlme_cfg->wmm_params.qos_enabled; in lim_update_config() 229 pe_session->limHcfEnabled = mac->mlme_cfg->feature_flags.enable_hcf; in lim_update_config()
|
H A D | lim_timer_utils.c | 63 mac->mlme_cfg->timeouts.join_failure_timeout); in lim_create_non_ap_timers() 76 mac->mlme_cfg->timeouts.probe_req_retry_timeout); in lim_create_non_ap_timers() 101 mac->mlme_cfg->timeouts.assoc_failure_timeout); in lim_create_non_ap_timers() 111 cfgValue = SYS_MS_TO_TICKS(mac->mlme_cfg->timeouts.addts_rsp_timeout); in lim_create_non_ap_timers() 124 mac->mlme_cfg->timeouts.auth_failure_timeout); in lim_create_non_ap_timers() 177 cfgValue = mac->mlme_cfg->sta.wait_cnf_timeout; in lim_create_timers() 192 cfgValue = mac->mlme_cfg->lfr.max_num_pre_auth; in lim_create_timers() 213 mac->mlme_cfg->timeouts.olbc_detect_timeout); in lim_create_timers() 534 mac->mlme_cfg->timeouts.join_failure_timeout); in lim_deactivate_and_change_timer() 555 mac->mlme_cfg->timeouts.probe_req_retry_timeout); in lim_deactivate_and_change_timer() [all …]
|
H A D | lim_prop_exts_utils.c | 83 if (mac_ctx->mlme_cfg->lfr.ese_enabled) in get_ese_version_ie_probe_response() 177 he_mcs_map = *((uint16_t *)mac_ctx->mlme_cfg->he_caps.dot11_he_cap. in lim_validate_he160_mcs_map() 181 he_mcs_map = *((uint16_t *)mac_ctx->mlme_cfg->he_caps.dot11_he_cap. in lim_validate_he160_mcs_map() 232 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() 615 mlme_vht_cap = &mac_ctx->mlme_cfg->vht_caps.vht_cap_info; in lim_extract_ap_capability() 649 if (!mac_ctx->mlme_cfg->vht_caps.vht_cap_info.enable_txbf_20mhz) in lim_extract_ap_capability() 822 if (mac_ctx->mlme_cfg->sta.allow_tpc_from_ap) { in lim_extract_ap_capability()
|
H A D | lim_roam_timer_utils.c | 43 mac_ctx->mlme_cfg->timeouts.reassoc_failure_timeout); in lim_create_timers_host_roam() 112 mac_ctx->mlme_cfg->timeouts.reassoc_failure_timeout); in lim_deactivate_and_change_timer_host_roam()
|
H A D | lim_assoc_utils.c | 152 if (mac->mlme_cfg->feature_flags.accept_short_slot_assoc) { in lim_compare_capabilities() 272 cfg_len = mac->mlme_cfg->rates.basic_mcs_set.len; in lim_check_mcs_set() 274 &mac->mlme_cfg->rates.basic_mcs_set, in lim_check_mcs_set() 1103 val = mac_ctx->mlme_cfg->feature_flags.enable_short_slot_time_11g; in lim_decide_short_slot() 1251 if (!mac_ctx->mlme_cfg->vht_caps.vht_cap_info.enable2x2) in lim_get_vht_gt80_nss() 1267 if (!mac_ctx->mlme_cfg->vht_caps.vht_cap_info.enable2x2) in lim_get_vht_gt80_nss() 1301 self_sta_dot11mode = mac_ctx->mlme_cfg->dot11_mode.dot11_mode; in lim_populate_vht_mcs_set() 1309 vht_cap_info = &mac_ctx->mlme_cfg->vht_caps.vht_cap_info; in lim_populate_vht_mcs_set() 1470 self_sta_dot11mode = mac_ctx->mlme_cfg->dot11_mode.dot11_mode; in lim_populate_own_rate_set() 1484 val_len = mac_ctx->mlme_cfg->rates.supported_11b.len; in lim_populate_own_rate_set() [all …]
|
H A D | lim_process_sme_req_messages.c | 279 return mac_ctx->mlme_cfg->lfr.ese_enabled; in lim_is_ese_enabled() 493 session->sap_dot11mc = mac_ctx->mlme_cfg->gen.sap_dot11mc; in lim_configure_ap_start_bss_session() 520 mac_ctx->mlme_cfg->wep_params.auth_type = eSIR_OPEN_SYSTEM; in lim_set_privacy() 525 mac_ctx->mlme_cfg->wep_params.auth_type = eSIR_AUTO_SWITCH; in lim_set_privacy() 527 mac_ctx->mlme_cfg->wep_params.auth_type = eSIR_SHARED_KEY; in lim_set_privacy() 532 mac_ctx->mlme_cfg->wep_params.auth_type = eSIR_AUTH_TYPE_SAE; in lim_set_privacy() 556 mac_ctx->mlme_cfg->feature_flags.enable_rsn = rsn_enabled; in lim_set_privacy() 557 mac_ctx->mlme_cfg->wep_params.is_privacy_enabled = privacy; in lim_set_privacy() 558 mac_ctx->mlme_cfg->wep_params.wep_default_key_id = 0; in lim_set_privacy() 694 if (mac_ctx->mlme_cfg->ht_caps.ht_cap_info.adv_coding_cap && in lim_set_ldpc_exception() [all …]
|
H A D | lim_ft.c | 411 self_dot11_mode = mac_ctx->mlme_cfg->dot11_mode.dot11_mode; in lim_calculate_dot11_mode() 427 !mac_ctx->mlme_cfg->vht_caps.vht_cap_info.b24ghz_band) in lim_calculate_dot11_mode() 439 !mac_ctx->mlme_cfg->vht_caps.vht_cap_info.b24ghz_band) in lim_calculate_dot11_mode() 476 !wlan_is_roam_offload_enabled(mac_ctx->mlme_cfg->lfr)) { in lim_fill_dot11mode() 792 if (mac->mlme_cfg->ht_caps.short_slot_time_enabled && in lim_fill_ft_session() 835 mac->mlme_cfg->ht_caps.enable_smps, in lim_fill_ft_session() 836 mac->mlme_cfg->ht_caps.smps, in lim_fill_ft_session() 1074 if (!mac->mlme_cfg->lfr.lfr3_roaming_offload || in lim_process_ft_aggr_qos_req() 1075 (mac->mlme_cfg->lfr.lfr3_roaming_offload && in lim_process_ft_aggr_qos_req()
|
H A D | lim_sme_req_utils.c | 65 val = mac_ctx->mlme_cfg->feature_flags.enable_rsn; in lim_is_rsn_ie_valid_in_sme_req_message() 179 privacy = mac_ctx->mlme_cfg->wep_params.is_privacy_enabled; in lim_set_rs_nie_wp_aiefrom_sme_start_bss_req_message() 181 val = mac_ctx->mlme_cfg->feature_flags.enable_rsn; in lim_set_rs_nie_wp_aiefrom_sme_start_bss_req_message()
|
H A D | lim_process_message_queue.c | 1344 if ((mac->mlme_cfg->gen.debug_packet_log & in lim_handle80211_frames() 1509 if (mac->mlme_cfg->gen.debug_packet_log & in lim_handle80211_frames() 2326 ht_cap_info = &mac->mlme_cfg->ht_caps.ht_cap_info; in handle_ht_capabilityand_ht_info() 2341 (uint8_t)mac->mlme_cfg->ht_caps.ampdu_params.mpdu_density; in handle_ht_capabilityand_ht_info() 2343 (uint8_t)mac->mlme_cfg->ht_caps.ampdu_params. in handle_ht_capabilityand_ht_info() 2348 (uint8_t)mac->mlme_cfg->ht_caps.info_field_1. in handle_ht_capabilityand_ht_info() 2351 (uint8_t)mac->mlme_cfg->ht_caps.info_field_1. in handle_ht_capabilityand_ht_info() 2354 mac->lim.gHTOperMode = (tSirMacHTOperatingMode)mac->mlme_cfg->ht_caps. in handle_ht_capabilityand_ht_info() 2357 mac->lim.gHTPCOActive = (uint8_t)mac->mlme_cfg->ht_caps.info_field_3. in handle_ht_capabilityand_ht_info() 2359 mac->lim.gHTPCOPhase = (uint8_t)mac->mlme_cfg->ht_caps.info_field_3. in handle_ht_capabilityand_ht_info() [all …]
|
H A D | lim_process_tdls.c | 243 numChans = mac->mlme_cfg->reg.valid_channel_list_num; in populate_dot11f_tdls_offchannel_params() 262 ch_freq = mac->mlme_cfg->reg.valid_channel_freq_list[i]; in populate_dot11f_tdls_offchannel_params() 265 mac->mlme_cfg->reg.valid_channel_freq_list[i]); in populate_dot11f_tdls_offchannel_params() 881 vht_cap_info = &mac->mlme_cfg->vht_caps.vht_cap_info; in populate_dot11f_tdls_ht_vht_cap() 895 &mac->mlme_cfg->rates.supported_mcs_set, in populate_dot11f_tdls_ht_vht_cap() 1122 ppet = mac->mlme_cfg->he_caps.he_ppet_5g; in lim_tdls_populate_ppe_caps() 1124 ppet = mac->mlme_cfg->he_caps.he_ppet_2g; in lim_tdls_populate_ppe_caps() 1200 he_cap_info = &mac->mlme_cfg->he_caps; in lim_tdls_populate_he_operations() 1280 *((uint16_t *)mac_ctx->mlme_cfg->he_caps.dot11_he_cap. in lim_tdls_fill_he_wideband_offchannel_mcs() 1282 *((uint16_t *)mac_ctx->mlme_cfg->he_caps.dot11_he_cap. in lim_tdls_fill_he_wideband_offchannel_mcs() [all …]
|
H A D | lim_session.c | 589 mac->mlme_cfg->obss_ht40.obss_color_collision_offload_enabled; in pe_create_session() 665 mac->mlme_cfg->obss_ht40.bss_color_collision_det_sta; in pe_create_session() 871 mac_ctx->mlme_cfg->timeouts.auth_failure_timeout = in pe_delete_session() 874 mac_ctx->mlme_cfg->timeouts.auth_failure_timeout = in pe_delete_session() 1112 mac_ctx->mlme_cfg->ht_caps.enable_smps, in lim_dump_session_info() 1113 mac_ctx->mlme_cfg->ht_caps.smps, in lim_dump_session_info() 1130 mac_ctx->mlme_cfg->wep_params.auth_type, in lim_dump_session_info() 1131 mac_ctx->mlme_cfg->wep_params.is_privacy_enabled); in lim_dump_session_info()
|
H A D | lim_aid_mgmt.c | 218 mac->mlme_cfg->sap_cfg.assoc_sta_limit) { in lim_assign_peer_idx() 242 mac->mlme_cfg->sap_cfg.assoc_sta_limit) { in lim_assign_mlo_conn_idx()
|
H A D | lim_process_mlm_host_roam.c | 518 listenInterval = mac->mlme_cfg->sap_cfg.listen_interval; in lim_process_sta_mlm_add_bss_rsp_ft() 612 teleBcnEn = mac->mlme_cfg->sap_cfg.tele_bcn_wakeup_en; in lim_process_mlm_ft_reassoc_req() 614 val = mac->mlme_cfg->sap_cfg.tele_bcn_max_li; in lim_process_mlm_ft_reassoc_req() 616 val = mac->mlme_cfg->sap_cfg.listen_interval; in lim_process_mlm_ft_reassoc_req()
|
/wlan-driver/qcacld-3.0/core/sme/inc/ |
H A D | csr_internal.h | 53 ((((mac_ctx)->mlme_cfg->lfr.roaming_dfs_channel) != \ 58 ((mac)->mlme_cfg->lfr.roam_prefer_5ghz) \ 358 (BIT(REG_BAND_2G) == (mac)->mlme_cfg->gen.band) 361 (BIT(REG_BAND_5G) == (mac)->mlme_cfg->gen.band) 365 (mac)->mlme_cfg->gen.band_capability) 368 (BIT(REG_BAND_2G) == (mac)->mlme_cfg->gen.band_capability) 375 (BAND_5G == (mac)->mlme_cfg->gen.band_capability) 378 ((BAND_ALL == (mac)->mlme_cfg->gen.band_capability) && \ 379 (BAND_ALL == (mac)->mlme_cfg->gen.band)) 397 (mac->mlme_cfg->wmm_params.wmm_tspec_element.ts_acm_is_off)
|
/wlan-driver/qcacld-3.0/core/mac/src/pe/sch/ |
H A D | sch_beacon_process.c | 117 (!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() 189 !mac_ctx->mlme_cfg->sap_protection_cfg.ignore_peer_ht_opmode) { in ap_beacon_process_24_ghz() 327 mac_ctx->mlme_cfg->rates.cfp_period = bcn->cfParamSet.cfpPeriod; in sch_bcn_process_sta() 334 mac_ctx->mlme_cfg->sap_cfg.dtim_interval = in sch_bcn_process_sta() 711 if (mac_ctx->mlme_cfg->sta.allow_tpc_from_ap) { in __sch_beacon_process_for_session() 748 if (mac_ctx->mlme_cfg->sta.allow_tpc_from_ap) { in __sch_beacon_process_for_session() 1086 if (!(mac->mlme_cfg)) { in sch_beacon_edca_process() 1099 if (mac->mlme_cfg->edca_params.enable_edca_params && !follow_ap_edca) { in sch_beacon_edca_process() 1101 mac->mlme_cfg->edca_params.edca_ac_vo.vo_aifs; in sch_beacon_edca_process() [all …]
|
H A D | sch_message.c | 130 edca_params = &mac->mlme_cfg->edca_params; in sch_get_params() 139 val = mac->mlme_cfg->wmm_params.edca_profile; in sch_get_params() 476 if (!mac_ctx->mlme_cfg) { in get_wmm_local_params() 481 edca_params = &mac_ctx->mlme_cfg->edca_params; in get_wmm_local_params() 518 edca_param_type = mac->mlme_cfg->edca_params.edca_param_type; in sch_qos_update_edca_pifs_param_for_ll_sap()
|
/wlan-driver/qcacld-3.0/core/sme/src/common/ |
H A D | sme_api.c | 464 if (mac->mlme_cfg->gen.fatal_event_trigger) in sme_get_command_buffer() 469 mac->mlme_cfg->gen.self_recovery); in sme_get_command_buffer() 890 (pmac->mlme_cfg->sap_cfg.country_code_priority)) { in sme_init_chan_list() 891 pmac->mlme_cfg->gen.enabled_11d = false; in sme_init_chan_list() 1052 mac_ctx->mlme_cfg->lfr.rssi_boost_threshold_5g = in sme_update_roam_params() 1054 mac_ctx->mlme_cfg->lfr.rssi_penalize_threshold_5g = in sme_update_roam_params() 1056 mac_ctx->mlme_cfg->lfr.rssi_boost_factor_5g = in sme_update_roam_params() 1058 mac_ctx->mlme_cfg->lfr.rssi_penalize_factor_5g = in sme_update_roam_params() 1060 mac_ctx->mlme_cfg->lfr.max_rssi_boost_5g = in sme_update_roam_params() 1065 mac_ctx->mlme_cfg->lfr.enable_5g_band_pref = true; in sme_update_roam_params() [all …]
|
/wlan-driver/qcacld-3.0/core/sme/src/csr/ |
H A D | csr_api_scan.c | 486 mac->mlme_cfg->reg.valid_channel_freq_list[i] = pchan_freq_list[i]; in csr_set_cfg_valid_channel_list() 489 mac->mlme_cfg->reg.valid_channel_list_num = NumChannels; in csr_set_cfg_valid_channel_list() 585 mac->mlme_cfg->power.max_tx_power_24.len = in csr_save_tx_power_to_cfg() 587 if (mac->mlme_cfg->power.max_tx_power_24.len > in csr_save_tx_power_to_cfg() 589 mac->mlme_cfg->power.max_tx_power_24.len = in csr_save_tx_power_to_cfg() 591 qdf_mem_copy(mac->mlme_cfg->power.max_tx_power_24.data, in csr_save_tx_power_to_cfg() 593 mac->mlme_cfg->power.max_tx_power_24.len); in csr_save_tx_power_to_cfg() 596 mac->mlme_cfg->power.max_tx_power_5.len = in csr_save_tx_power_to_cfg() 598 if (mac->mlme_cfg->power.max_tx_power_5.len > in csr_save_tx_power_to_cfg() 600 mac->mlme_cfg->power.max_tx_power_5.len = in csr_save_tx_power_to_cfg() [all …]
|
/wlan-driver/qcacld-3.0/components/mlme/core/src/ |
H A D | wlan_mlme_main.c | 2019 struct wlan_mlme_cfg *mlme_cfg) in mlme_init_he_cap_in_cfg() argument 2023 struct wlan_mlme_he_caps *he_caps = &mlme_cfg->he_caps; in mlme_init_he_cap_in_cfg() 2211 mlme_cfg->he_caps.he_mcs_12_13_supp_2g = in mlme_init_he_cap_in_cfg() 2215 mlme_cfg->he_caps.he_mcs_12_13_supp_5g = in mlme_init_he_cap_in_cfg() 2220 mlme_cfg->he_caps.disable_sap_mcs_12_13 = cfg_get(psoc, in mlme_init_he_cap_in_cfg() 2225 struct wlan_mlme_cfg *mlme_cfg) in mlme_init_he_cap_in_cfg() argument 2274 struct wlan_mlme_cfg *mlme_cfg) in mlme_init_eht_cap_in_cfg() argument 2276 struct wlan_mlme_eht_caps *eht_caps = &mlme_cfg->eht_caps; in mlme_init_eht_cap_in_cfg() 2303 struct wlan_mlme_cfg *mlme_cfg) in mlme_init_eht_cap_in_cfg() argument 3607 struct wlan_mlme_cfg *mlme_cfg) in mlme_init_roam_score_config() argument [all …]
|
/wlan-driver/qca-wifi-host-cmn/os_if/linux/mlme/src/ |
H A D | wlan_cfg80211_vdev_mlme.c | 58 struct wlan_vdev_mgr_cfg mlme_cfg) in wlan_cfg80211_vdev_mlme_set_param() argument 65 ucfg_wlan_vdev_mgr_set_param(vdev, param_id, mlme_cfg); in wlan_cfg80211_vdev_mlme_set_param()
|
/wlan-driver/qcacld-3.0/core/wma/src/ |
H A D | wma_eht.c | 898 vdev_id, mac->mlme_cfg->eht_caps.dot11_eht_cap.su_beamformer, in wma_set_eht_txbf_cfg() 899 mac->mlme_cfg->eht_caps.dot11_eht_cap.su_beamformee, in wma_set_eht_txbf_cfg() 900 mac->mlme_cfg->eht_caps.dot11_eht_cap.mu_bformer_le_80mhz || in wma_set_eht_txbf_cfg() 901 mac->mlme_cfg->eht_caps.dot11_eht_cap.mu_bformer_160mhz || in wma_set_eht_txbf_cfg() 902 mac->mlme_cfg->eht_caps.dot11_eht_cap.mu_bformer_320mhz); in wma_set_eht_txbf_cfg() 1081 bool su_bfer = mac->mlme_cfg->eht_caps.dot11_eht_cap.su_beamformer; in wma_set_eht_txbf_vdev_params() 1082 bool su_bfee = mac->mlme_cfg->eht_caps.dot11_eht_cap.su_beamformee; in wma_set_eht_txbf_vdev_params() 1084 (mac->mlme_cfg->eht_caps.dot11_eht_cap.mu_bformer_le_80mhz || in wma_set_eht_txbf_vdev_params() 1085 mac->mlme_cfg->eht_caps.dot11_eht_cap.mu_bformer_160mhz || in wma_set_eht_txbf_vdev_params() 1086 mac->mlme_cfg->eht_caps.dot11_eht_cap.mu_bformer_320mhz); in wma_set_eht_txbf_vdev_params()
|
/wlan-driver/qcacld-3.0/components/mlme/dispatcher/src/ |
H A D | wlan_mlme_ucfg_api.c | 213 struct wlan_mlme_cfg *mlme_cfg; in ucfg_mlme_cfg_chan_to_freq() local 220 mlme_cfg = &mlme_obj->cfg; in ucfg_mlme_cfg_chan_to_freq() 222 mlme_cfg->power.max_tx_power_24.max_len = CFG_MAX_TX_POWER_2_4_LEN; in ucfg_mlme_cfg_chan_to_freq() 225 mlme_cfg->power.max_tx_power_24_chan.max_len, in ucfg_mlme_cfg_chan_to_freq() 226 mlme_cfg->power.max_tx_power_24_chan.len, in ucfg_mlme_cfg_chan_to_freq() 227 mlme_cfg->power.max_tx_power_24_chan.data, in ucfg_mlme_cfg_chan_to_freq() 228 mlme_cfg->power.max_tx_power_24.data); in ucfg_mlme_cfg_chan_to_freq() 234 mlme_cfg->power.max_tx_power_24.len = converted_data_len; in ucfg_mlme_cfg_chan_to_freq() 236 mlme_cfg->power.max_tx_power_5.max_len = CFG_MAX_TX_POWER_5_LEN; in ucfg_mlme_cfg_chan_to_freq() 239 mlme_cfg->power.max_tx_power_5_chan.max_len, in ucfg_mlme_cfg_chan_to_freq() [all …]
|
/wlan-driver/qcacld-3.0/core/mac/src/sys/legacy/src/system/src/ |
H A D | mac_init_api.c | 136 mac->mlme_cfg = &mlme_ext_obj->cfg; in mac_open() 183 mac->mlme_cfg = NULL; in mac_close()
|