Searched refs:acs_cfg (Results 1 – 11 of 11) sorted by relevance
111 sap_ctx->acs_cfg->acs_puncture_bitmap = ch_params->reg_punc_bitmap; in sap_acs_set_puncture_bitmap()140 ch_params.ch_width = sap_ctx->acs_cfg->ch_width; in sap_config_acs_result()146 sap_ctx->acs_cfg->pri_ch_freq, in sap_config_acs_result()152 mac_ctx->pdev, sap_ctx->acs_cfg->pri_ch_freq, in sap_config_acs_result()154 sap_ctx->acs_cfg->ch_width = ch_params.ch_width; in sap_config_acs_result()155 if (sap_ctx->acs_cfg->ch_width > CH_WIDTH_40MHZ || in sap_config_acs_result()156 WLAN_REG_IS_6GHZ_CHAN_FREQ(sap_ctx->acs_cfg->pri_ch_freq)) in sap_config_acs_result()157 sap_ctx->acs_cfg->vht_seg0_center_ch_freq = in sap_config_acs_result()160 sap_ctx->acs_cfg->vht_seg0_center_ch_freq = 0; in sap_config_acs_result()162 if (sap_ctx->acs_cfg->ch_width == CH_WIDTH_80P80MHZ || in sap_config_acs_result()[all …]
591 psap_ctx->acs_cfg = &config->acs_cfg; in wlansap_set_scan_acs_channel_params()592 psap_ctx->ch_width_orig = config->acs_cfg.ch_width; in wlansap_set_scan_acs_channel_params()781 sap_ctx->acs_cfg = &sap_config->acs_cfg; in wlan_sap_set_sap_ctx_acs_cfg()838 sap_ctx->acs_cfg = &config->acs_cfg; in wlansap_start_bss()1632 if (((sap_ctx->acs_cfg && sap_ctx->acs_cfg->acs_mode) || in wlansap_set_channel_change_with_csa()2798 struct sap_acs_cfg *acs_cfg; in sap_undo_acs() local2803 acs_cfg = &sap_cfg->acs_cfg; in sap_undo_acs()2804 if (!acs_cfg) in sap_undo_acs()2807 if (acs_cfg->freq_list) { in sap_undo_acs()2809 qdf_mem_free(acs_cfg->freq_list); in sap_undo_acs()[all …]
290 if (sap_ctx->acs_cfg) { in sap_random_channel_sel()291 acs_info.acs_mode = sap_ctx->acs_cfg->acs_mode; in sap_random_channel_sel()292 acs_info.chan_freq_list = sap_ctx->acs_cfg->master_freq_list; in sap_random_channel_sel()294 sap_ctx->acs_cfg->master_ch_list_count; in sap_random_channel_sel()925 struct sap_acs_cfg *acs_cfg) in sap_select_default_oper_chan() argument930 if (!acs_cfg) in sap_select_default_oper_chan()933 if (!acs_cfg->ch_list_count || !acs_cfg->freq_list) { in sap_select_default_oper_chan()936 acs_cfg->master_freq_list[0]); in sap_select_default_oper_chan()937 return acs_cfg->master_freq_list[0]; in sap_select_default_oper_chan()954 for (i = 0; i < acs_cfg->ch_list_count; i++) { in sap_select_default_oper_chan()[all …]
72 if (sap_ctx->acs_cfg->start_ch_freq <= \74 sap_ctx->acs_cfg->end_ch_freq <= \77 else if (sap_ctx->acs_cfg->start_ch_freq >= \390 if ((!sap_ctx->acs_cfg->freq_list) || in sap_select_preferred_channel_from_channel_list()392 (!sap_ctx->acs_cfg->ch_list_count)) in sap_select_preferred_channel_from_channel_list()396 sap_ctx->acs_cfg->freq_list, in sap_select_preferred_channel_from_channel_list()397 sap_ctx->acs_cfg->ch_list_count)) in sap_select_preferred_channel_from_channel_list()466 if (sap_acs_is_puncture_applicable(sap_ctx->acs_cfg)) { in sap_chan_sel_init()493 if (sap_acs_is_puncture_applicable(sap_ctx->acs_cfg)) { in sap_chan_sel_init()528 *ch_list, sap_ctx->acs_cfg->freq_list, in sap_chan_sel_init()[all …]
184 struct sap_acs_cfg *acs_cfg; member513 struct sap_acs_cfg *acs_cfg);
1863 struct sap_acs_cfg *acs_cfg) in hdd_son_init_acs_channels() argument1868 if (!hdd_ctx || !acs_cfg) { in hdd_son_init_acs_channels()1872 if (acs_cfg->freq_list) { in hdd_son_init_acs_channels()1877 qdf_mem_zero(acs_cfg, sizeof(*acs_cfg)); in hdd_son_init_acs_channels()1878 acs_cfg->ch_width = CH_WIDTH_20MHZ; in hdd_son_init_acs_channels()1885 acs_cfg->freq_list = qdf_mem_malloc(sizeof(*acs_cfg->freq_list) * in hdd_son_init_acs_channels()1887 if (!acs_cfg->freq_list) { in hdd_son_init_acs_channels()1891 acs_cfg->master_freq_list = in hdd_son_init_acs_channels()1892 qdf_mem_malloc(sizeof(*acs_cfg->master_freq_list) * in hdd_son_init_acs_channels()1894 if (!acs_cfg->master_freq_list) { in hdd_son_init_acs_channels()[all …]
2409 if (con_sap_config->acs_cfg.acs_mode == true) { in wlan_hdd_sap_cfg_dfs_override()2410 if (con_ch_freq != con_sap_config->acs_cfg.pri_ch_freq && in wlan_hdd_sap_cfg_dfs_override()2411 con_ch_freq != con_sap_config->acs_cfg.ht_sec_ch_freq) { in wlan_hdd_sap_cfg_dfs_override()2415 con_sap_config->acs_cfg.pri_ch_freq, in wlan_hdd_sap_cfg_dfs_override()2416 con_sap_config->acs_cfg.ht_sec_ch_freq); in wlan_hdd_sap_cfg_dfs_override()2423 if (sap_config->acs_cfg.freq_list) { in wlan_hdd_sap_cfg_dfs_override()2424 qdf_mem_free(sap_config->acs_cfg.freq_list); in wlan_hdd_sap_cfg_dfs_override()2425 sap_config->acs_cfg.freq_list = NULL; in wlan_hdd_sap_cfg_dfs_override()2427 if (sap_config->acs_cfg.master_freq_list) { in wlan_hdd_sap_cfg_dfs_override()2428 qdf_mem_free(sap_config->acs_cfg.master_freq_list); in wlan_hdd_sap_cfg_dfs_override()[all …]
2135 ap_ctx->sap_config.acs_cfg.acs_mode); in hdd_hostapd_check_channel_post_csa()3069 ap_ctx->sap_config.acs_cfg.pri_ch_freq = in hdd_hostapd_sap_event_cb()3071 ap_ctx->sap_config.acs_cfg.ht_sec_ch_freq = in hdd_hostapd_sap_event_cb()3073 ap_ctx->sap_config.acs_cfg.vht_seg0_center_ch_freq = in hdd_hostapd_sap_event_cb()3075 ap_ctx->sap_config.acs_cfg.vht_seg1_center_ch_freq = in hdd_hostapd_sap_event_cb()3077 ap_ctx->sap_config.acs_cfg.ch_width = in hdd_hostapd_sap_event_cb()3106 ap_ctx->sap_config.acs_cfg.pri_ch_freq = in hdd_hostapd_sap_event_cb()3108 ap_ctx->sap_config.acs_cfg.ht_sec_ch_freq = in hdd_hostapd_sap_event_cb()3110 ap_ctx->sap_config.acs_cfg.vht_seg0_center_ch_freq = in hdd_hostapd_sap_event_cb()3112 ap_ctx->sap_config.acs_cfg.vht_seg1_center_ch_freq = in hdd_hostapd_sap_event_cb()[all …]
2445 !!link_info->session.ap.sap_config.acs_cfg.acs_mode); in hdd_roam_channel_switch_handler()
13355 ch_width = adapter->deflink->session.ap.sap_config.acs_cfg.ch_width; in hdd_check_chn_bw_boundary_unsafe()13418 if (!ap_ctx->sap_config.acs_cfg.acs_mode) { in hdd_unsafe_channel_restart_sap()13420 ap_ctx->sap_config.acs_cfg.acs_mode); in hdd_unsafe_channel_restart_sap()
554 struct sap_acs_cfg acs_cfg; member1836 void sap_dump_acs_channel(struct sap_acs_cfg *acs_cfg);1880 bool sap_acs_is_puncture_applicable(struct sap_acs_cfg *acs_cfg);1898 static inline bool sap_acs_is_puncture_applicable(struct sap_acs_cfg *acs_cfg) in sap_acs_is_puncture_applicable() argument