Home
last modified time | relevance | path

Searched refs:ch_params (Results 1 – 25 of 60) sorted by relevance

123

/wlan-driver/qcacld-3.0/core/cds/src/
Dcds_reg_service.c43 struct ch_params ch_params; in cds_get_vendor_reg_flags() local
65 qdf_mem_zero(&ch_params, sizeof(ch_params)); in cds_get_vendor_reg_flags()
69 ch_params.ch_width = bandwidth; in cds_get_vendor_reg_flags()
72 &ch_params, REG_CURRENT_PWR_MODE) != in cds_get_vendor_reg_flags()
80 ch_params.ch_width = bandwidth; in cds_get_vendor_reg_flags()
83 &ch_params, REG_CURRENT_PWR_MODE) != in cds_get_vendor_reg_flags()
91 ch_params.ch_width = bandwidth; in cds_get_vendor_reg_flags()
94 &ch_params, REG_CURRENT_PWR_MODE) != in cds_get_vendor_reg_flags()
102 qdf_mem_zero(&ch_params, sizeof(ch_params)); in cds_get_vendor_reg_flags()
103 ch_params.ch_width = bandwidth; in cds_get_vendor_reg_flags()
[all …]
/wlan-driver/qcacld-3.0/core/sap/src/
Dsap_fsm.c189 struct ch_params *ch_params; in sap_is_chan_change_needed() local
204 ch_params = &mac_ctx->sap.SapDfsInfo.new_ch_params; in sap_is_chan_change_needed()
212 ch_params->ch_width = ch_wd; in sap_is_chan_change_needed()
215 wlan_reg_set_create_punc_bitmap(ch_params, true); in sap_is_chan_change_needed()
219 ch_params, in sap_is_chan_change_needed()
221 if (ch_params->ch_width == sap_ctx->ch_params.ch_width) { in sap_is_chan_change_needed()
222 status = wlan_reg_extract_puncture_by_bw(ch_params->ch_width, in sap_is_chan_change_needed()
223 ch_params->reg_punc_bitmap, in sap_is_chan_change_needed()
225 ch_params->mhz_freq_seg1, in sap_is_chan_change_needed()
230 ch_params->reg_punc_bitmap, in sap_is_chan_change_needed()
[all …]
Dsap_module.c728 return sap_ctx->ch_params.ch_width; in wlan_sap_get_vht_ch_width()
732 struct ch_params *ch_params) in wlan_sap_get_ch_params() argument
739 *ch_params = sap_ctx->ch_params; in wlan_sap_get_ch_params()
822 sap_ctx->ch_params = config->ch_params; in wlansap_start_bss()
1360 if (sap_context->ch_params.sec_ch_offset == LOW_PRIMARY_CH) in wlansap_2g_original_bw_validate()
1362 else if (sap_context->ch_params.sec_ch_offset == in wlansap_2g_original_bw_validate()
1375 struct ch_params *tgt_ch_params) in wlansap_get_csa_chanwidth_from_phymode()
1379 struct ch_params ch_params = {0}; in wlansap_get_csa_chanwidth_from_phymode() local
1422 ch_params.ch_width = ch_width; in wlansap_get_csa_chanwidth_from_phymode()
1424 wlan_reg_set_create_punc_bitmap(&ch_params, true); in wlansap_get_csa_chanwidth_from_phymode()
[all …]
Dsap_api_link_cntl.c105 struct ch_params *ch_params) in sap_acs_set_puncture_bitmap() argument
108 ch_params->center_freq_seg0, in sap_acs_set_puncture_bitmap()
109 ch_params->ch_width, in sap_acs_set_puncture_bitmap()
110 ch_params->reg_punc_bitmap); in sap_acs_set_puncture_bitmap()
111 sap_ctx->acs_cfg->acs_puncture_bitmap = ch_params->reg_punc_bitmap; in sap_acs_set_puncture_bitmap()
115 struct ch_params *ch_params) in sap_acs_set_puncture_bitmap() argument
136 struct ch_params ch_params = {0}; in sap_config_acs_result() local
140 ch_params.ch_width = sap_ctx->acs_cfg->ch_width; in sap_config_acs_result()
142 wlan_reg_set_create_punc_bitmap(&ch_params, true); in sap_config_acs_result()
147 ch_params.ch_width); in sap_config_acs_result()
[all …]
Dsap_internal.h179 struct ch_params ch_params; member
238 struct ch_params ch_params_before_ch_switch;
/wlan-driver/qcacld-3.0/core/hdd/src/
Dwlan_hdd_pre_cac.c145 struct ch_params ch_params = {0}; in wlan_set_def_pre_cac_chan() local
153 ch_params.ch_width = *ch_width; in wlan_set_def_pre_cac_chan()
156 &ch_params, in wlan_set_def_pre_cac_chan()
158 switch (ch_params.sec_ch_offset) { in wlan_set_def_pre_cac_chan()
170 switch (ch_params.ch_width) { in wlan_set_def_pre_cac_chan()
176 if (ch_params.mhz_freq_seg1) in wlan_set_def_pre_cac_chan()
177 chandef->center_freq2 = ch_params.mhz_freq_seg1; in wlan_set_def_pre_cac_chan()
185 if (ch_params.ch_width == CH_WIDTH_80MHZ || in wlan_set_def_pre_cac_chan()
186 ch_params.ch_width == CH_WIDTH_80P80MHZ || in wlan_set_def_pre_cac_chan()
187 ch_params.ch_width == CH_WIDTH_160MHZ) { in wlan_set_def_pre_cac_chan()
[all …]
Dwlan_hdd_hostapd.c374 struct ch_params *ch_params) in hdd_hostapd_channel_allow_suspend() argument
398 ch_params, in hdd_hostapd_channel_allow_suspend()
425 struct ch_params *ch_params) in hdd_hostapd_channel_prevent_suspend() argument
448 &sap_ctx->ch_params, in hdd_hostapd_channel_prevent_suspend()
1819 struct ch_params *sap_ch_param) in hdd_fill_channel_change_puncture()
1827 struct ch_params *sap_ch_param) in hdd_fill_channel_change_puncture()
1842 struct ch_params sap_ch_param = {0}; in hdd_hostapd_chan_change()
2243 sap_config->ch_params.ch_width = in hdd_hostapd_sap_event_cb()
2249 sap_config->ch_params.ch_width); in hdd_hostapd_sap_event_cb()
2253 sap_config->ch_params = ap_ctx->sap_context->ch_params; in hdd_hostapd_sap_event_cb()
[all …]
Dwlan_hdd_oemdata.c397 struct ch_params ch_params = {0}; in hdd_update_channel_bw_info() local
406 ch_params.ch_width = CH_WIDTH_MAX; in hdd_update_channel_bw_info()
409 hdd_ctx->pdev, chan_freq, 0, &ch_params, REG_CURRENT_PWR_MODE); in hdd_update_channel_bw_info()
410 if (ch_params.center_freq_seg0) in hdd_update_channel_bw_info()
412 cds_chan_to_freq(ch_params.center_freq_seg0); in hdd_update_channel_bw_info()
414 if (ch_params.ch_width < CH_WIDTH_INVALID) { in hdd_update_channel_bw_info()
415 phy_mode = wma_chan_phy_mode(chan_freq, ch_params.ch_width, in hdd_update_channel_bw_info()
429 chan_freq, wni_dot11_mode, ch_params.ch_width, in hdd_update_channel_bw_info()
430 ch_params.sec_ch_offset, in hdd_update_channel_bw_info()
Dwlan_hdd_cm_connect.c564 struct ch_params ch_params = {0}; in hdd_get_sap_adapter_of_dfs() local
601 ch_params.ch_width = chan->ch_width; in hdd_get_sap_adapter_of_dfs()
602 if (ch_params.ch_width == CH_WIDTH_160MHZ) in hdd_get_sap_adapter_of_dfs()
603 wlan_reg_set_create_punc_bitmap(&ch_params, in hdd_get_sap_adapter_of_dfs()
609 &ch_params, in hdd_get_sap_adapter_of_dfs()
759 struct ch_params ch_params; in wlan_hdd_cm_handle_sap_sta_dfs_conc() local
761 qdf_mem_zero(&ch_params, sizeof(ch_params)); in wlan_hdd_cm_handle_sap_sta_dfs_conc()
762 ch_params.ch_width = ch_bw; in wlan_hdd_cm_handle_sap_sta_dfs_conc()
765 hdd_ctx->pdev, ch_freq, &ch_params, in wlan_hdd_cm_handle_sap_sta_dfs_conc()
771 ch_params.ch_width = ch_bw; in wlan_hdd_cm_handle_sap_sta_dfs_conc()
[all …]
/wlan-driver/qcacld-3.0/core/mac/src/pe/lim/
Dlim_send_sme_rsp_messages.c1633 struct ch_params ch_params = {0}; in lim_process_csa_wbw_ie() local
1749 ch_params.ch_width = ap_new_ch_width; in lim_process_csa_wbw_ie()
1752 0, &ch_params, in lim_process_csa_wbw_ie()
1754 ap_new_ch_width = ch_params.ch_width; in lim_process_csa_wbw_ie()
1755 csa_params->new_ch_freq_seg1 = ch_params.center_freq_seg0; in lim_process_csa_wbw_ie()
1756 csa_params->new_ch_freq_seg2 = ch_params.center_freq_seg1; in lim_process_csa_wbw_ie()
1857 struct ch_params *ch_param) in lim_set_csa_chan_param_11be()
1885 struct ch_params *ch_param) in lim_set_chan_sw_puncture()
1945 struct ch_params *ch_param) in lim_set_csa_chan_param_11be()
1950 struct ch_params *ch_param) in lim_set_chan_sw_puncture()
[all …]
Dlim_prop_exts_utils.c540 struct ch_params ch_params = {0}; in lim_update_ch_width_for_p2p_client() local
558 ch_params.ch_width = CH_WIDTH_80MHZ; in lim_update_ch_width_for_p2p_client()
561 &ch_params, in lim_update_ch_width_for_p2p_client()
563 if (ch_params.ch_width == CH_WIDTH_20MHZ) in lim_update_ch_width_for_p2p_client()
564 ch_params.sec_ch_offset = PHY_SINGLE_CHANNEL_CENTERED; in lim_update_ch_width_for_p2p_client()
566 session->htSupportedChannelWidthSet = ch_params.sec_ch_offset ? 1 : 0; in lim_update_ch_width_for_p2p_client()
568 session->htSecondaryChannelOffset = ch_params.sec_ch_offset; in lim_update_ch_width_for_p2p_client()
569 session->ch_width = ch_params.ch_width; in lim_update_ch_width_for_p2p_client()
570 session->ch_center_freq_seg0 = ch_params.center_freq_seg0; in lim_update_ch_width_for_p2p_client()
571 session->ch_center_freq_seg1 = ch_params.center_freq_seg1; in lim_update_ch_width_for_p2p_client()
[all …]
Dlim_utils.c4932 struct ch_params ch_params; in lim_check_vht_op_mode_change() local
4962 qdf_mem_zero(&ch_params, sizeof(ch_params)); in lim_check_vht_op_mode_change()
4963 ch_params.ch_width = chanWidth; in lim_check_vht_op_mode_change()
4966 0, &ch_params, in lim_check_vht_op_mode_change()
4977 csa_param->new_ch_width = ch_params.ch_width; in lim_check_vht_op_mode_change()
4978 csa_param->new_ch_freq_seg1 = ch_params.center_freq_seg0; in lim_check_vht_op_mode_change()
4979 csa_param->new_ch_freq_seg2 = ch_params.center_freq_seg1; in lim_check_vht_op_mode_change()
6133 struct ch_params *ch_params) in lim_update_ap_he_op() argument
6136 ch_params->center_freq_seg0, ch_params->center_freq_seg1, in lim_update_ap_he_op()
6137 ch_params->ch_width); in lim_update_ap_he_op()
[all …]
/wlan-driver/qca-wifi-host-cmn/target_if/mlme/psoc/src/
Dtarget_if_psoc_wake_lock.c210 struct ch_params ch_params = {0}; in target_if_vdev_start_link_handler() local
225 ch_params.ch_width = ch_width; in target_if_vdev_start_link_handler()
228 pdev, ch_freq, &ch_params, in target_if_vdev_start_link_handler()
245 ch_params.ch_width = prev_ch_width; in target_if_vdev_start_link_handler()
249 prev_ch_freq, &ch_params, in target_if_vdev_start_link_handler()
285 struct ch_params ch_params = {0}; in target_if_vdev_stop_link_handler() local
308 ch_params.ch_width = ch_width; in target_if_vdev_stop_link_handler()
314 &ch_params, in target_if_vdev_stop_link_handler()
/wlan-driver/qcacld-3.0/components/pre_cac/core/src/
Dwlan_pre_cac_main.c298 struct ch_params ch_params; in pre_cac_validate_and_get_freq() local
329 qdf_mem_zero(&ch_params, sizeof(ch_params)); in pre_cac_validate_and_get_freq()
330 ch_params.ch_width = cac_ch_width; in pre_cac_validate_and_get_freq()
331 wlan_reg_set_create_punc_bitmap(&ch_params, true); in pre_cac_validate_and_get_freq()
334 pdev, freq_list[i], &ch_params, in pre_cac_validate_and_get_freq()
359 qdf_mem_zero(&ch_params, sizeof(ch_params)); in pre_cac_validate_and_get_freq()
360 ch_params.ch_width = cac_ch_width; in pre_cac_validate_and_get_freq()
361 wlan_reg_set_create_punc_bitmap(&ch_params, true); in pre_cac_validate_and_get_freq()
364 pdev, chan_freq, &ch_params, in pre_cac_validate_and_get_freq()
/wlan-driver/qca-wifi-host-cmn/umac/regulatory/core/src/
Dreg_services_common.c344 reg_fetch_punc_bitmap(struct ch_params *ch_params) in reg_fetch_punc_bitmap() argument
346 if (!ch_params) in reg_fetch_punc_bitmap()
349 return ch_params->input_punc_bitmap; in reg_fetch_punc_bitmap()
3680 struct ch_params ch_params = {0}; in reg_update_usable_chan_resp() local
3695 ch_params.ch_width = CH_WIDTH_MAX; in reg_update_usable_chan_resp()
3699 0, &ch_params, in_6g_pwr_mode, true); in reg_update_usable_chan_resp()
3702 res_msg[index].bw = ch_params.ch_width; in reg_update_usable_chan_resp()
3703 if (ch_params.center_freq_seg0) in reg_update_usable_chan_resp()
3705 ch_params.center_freq_seg0; in reg_update_usable_chan_resp()
3706 if (ch_params.center_freq_seg1) in reg_update_usable_chan_resp()
[all …]
Dreg_services_common.h1095 struct ch_params *ch_params,
1133 struct ch_params *ch_params,
1228 void reg_set_create_punc_bitmap(struct ch_params *ch_params,
1278 static inline void reg_set_create_punc_bitmap(struct ch_params *ch_params, in reg_set_create_punc_bitmap() argument
2388 struct ch_params *ch_params,
2845 reg_fetch_punc_bitmap(struct ch_params *ch_params);
2848 reg_fetch_punc_bitmap(struct ch_params *ch_params) in reg_fetch_punc_bitmap() argument
2869 struct ch_params *ch_param,
Dreg_opclass.c1304 struct ch_params chan_params = {0}; in reg_freq_to_chan_op_class()
1701 struct ch_params ch_params = {0}; in reg_is_chan_supported() local
1718 ch_params = chan_list.chan_param[0]; in reg_is_chan_supported()
1720 if (ch_params.ch_width == ch_width) in reg_is_chan_supported()
1732 struct ch_params ch_params = {0}; in reg_is_chan_supported() local
1734 ch_params.ch_width = ch_width; in reg_is_chan_supported()
1735 reg_set_channel_params_for_pwrmode(pdev, pri_freq, 0, &ch_params, in reg_is_chan_supported()
1737 if (ch_params.ch_width == ch_width) in reg_is_chan_supported()
/wlan-driver/qca-wifi-host-cmn/umac/dfs/dispatcher/inc/
Dwlan_dfs_utils_api.h457 struct ch_params *ch_params,
480 uint16_t flags, struct ch_params *ch_params, uint32_t *hw_mode,
498 struct ch_params *ch_params,
882 struct ch_params *chan_params,
887 struct ch_params *chan_params, in utils_dfs_get_rcac_channel()
/wlan-driver/qcacld-3.0/components/cmn_services/policy_mgr/src/
Dwlan_policy_mgr_ll_sap.c228 struct ch_params ch_params = {0}; in policy_mgr_ll_lt_sap_restart_concurrent_sap() local
312 ch_params.ch_width = policy_mgr_get_ch_width(sap_info.bw); in policy_mgr_ll_lt_sap_restart_concurrent_sap()
314 0, &ch_params, in policy_mgr_ll_lt_sap_restart_concurrent_sap()
317 sap_info.vdev_id, restart_freq, ch_params.ch_width); in policy_mgr_ll_lt_sap_restart_concurrent_sap()
326 ch_params.ch_width, true); in policy_mgr_ll_lt_sap_restart_concurrent_sap()
Dwlan_policy_mgr_action.c2492 struct ch_params ch_params = {0}; in policy_mgr_handle_sap_plus_go_force_scc() local
2551 ch_params.ch_width = existing_ch_width; in policy_mgr_handle_sap_plus_go_force_scc()
2554 psoc, existing_vdev_id, intf_ch_freq, &ch_params); in policy_mgr_handle_sap_plus_go_force_scc()
2562 &ch_params); in policy_mgr_handle_sap_plus_go_force_scc()
2577 ch_params.ch_width, true); in policy_mgr_handle_sap_plus_go_force_scc()
2976 struct ch_params *ch_params) in policy_mgr_valid_sap_conc_channel_check() argument
3033 old_ch_width = ch_params->ch_width; in policy_mgr_valid_sap_conc_channel_check()
3036 psoc, sap_vdev_id, ch_freq, ch_params); in policy_mgr_valid_sap_conc_channel_check()
3039 pm_ctx->pdev, ch_params, ch_freq); in policy_mgr_valid_sap_conc_channel_check()
3117 if (ch_freq != sap_ch_freq || old_ch_width != ch_params->ch_width) { in policy_mgr_valid_sap_conc_channel_check()
[all …]
/wlan-driver/qcacld-3.0/core/sap/inc/
Dsap_api.h535 struct ch_params ch_params; member
632 struct ch_params new_ch_params;
683 struct ch_params cac_ch_param;
1195 struct ch_params *tgt_ch_params);
1293 struct ch_params *ch_params);
1488 struct ch_params *ch_params);
1891 struct ch_params *ch_params);
1904 struct ch_params *ch_params) in sap_acs_set_puncture_support() argument
/wlan-driver/qcacld-3.0/components/son/dispatcher/src/
Dson_api.c151 struct ch_params *chan_params) in wlan_son_get_chan_flag()
155 struct ch_params ch_width40_ch_params; in wlan_son_get_chan_flag()
160 struct ch_params ch_params; in wlan_son_get_chan_flag() local
177 qdf_mem_zero(&ch_params, sizeof(ch_params)); in wlan_son_get_chan_flag()
186 ch_params.ch_width = bandwidth; in wlan_son_get_chan_flag()
189 ch_params.ch_width = CH_WIDTH_80P80MHZ; in wlan_son_get_chan_flag()
192 &ch_params, REG_CURRENT_PWR_MODE) != in wlan_son_get_chan_flag()
208 ch_params.ch_width = CH_WIDTH_160MHZ; in wlan_son_get_chan_flag()
211 &ch_params, REG_CURRENT_PWR_MODE) != in wlan_son_get_chan_flag()
227 ch_params.ch_width = CH_WIDTH_80MHZ; in wlan_son_get_chan_flag()
[all …]
/wlan-driver/qca-wifi-host-cmn/umac/regulatory/dispatcher/src/
Dwlan_reg_services_api.c1237 struct ch_params *ch_params, in wlan_reg_get_5g_bonded_channel_state_for_pwrmode() argument
1243 if (!ch_params) { in wlan_reg_get_5g_bonded_channel_state_for_pwrmode()
1247 bw = ch_params->ch_width; in wlan_reg_get_5g_bonded_channel_state_for_pwrmode()
1251 uint16_t in_punc_bitmap = reg_fetch_punc_bitmap(ch_params); in wlan_reg_get_5g_bonded_channel_state_for_pwrmode()
1260 ch_params, in wlan_reg_get_5g_bonded_channel_state_for_pwrmode()
1282 struct ch_params *ch_params, in wlan_reg_set_channel_params_for_pwrmode() argument
1287 ch_params, in wlan_reg_set_channel_params_for_pwrmode()
1345 void wlan_reg_set_create_punc_bitmap(struct ch_params *ch_params, in wlan_reg_set_create_punc_bitmap() argument
1348 reg_set_create_punc_bitmap(ch_params, is_create_punc_bitmap); in wlan_reg_set_create_punc_bitmap()
1522 struct ch_params params = {0}; in wlan_reg_get_bonded_channel_state_for_pwrmode()
/wlan-driver/qcacld-3.0/core/wma/src/
Dwma_scan_roam.c134 static void wma_update_ch_list_11be_params(struct ch_params *ch) in wma_update_ch_list_11be_params()
139 static void wma_update_ch_list_11be_params(struct ch_params *ch) in wma_update_ch_list_11be_params()
162 struct ch_params ch_params = {0}; in wma_update_channel_list() local
229 wma_update_ch_list_11be_params(&ch_params); in wma_update_channel_list()
233 &ch_params, in wma_update_channel_list()
237 wma_map_phy_ch_bw_to_wmi_channel_width(ch_params.ch_width); in wma_update_channel_list()
822 struct ch_params ch_params = {0}; in wma_update_phymode_on_roam() local
845 ch_params.ch_width = des_chan->ch_width; in wma_update_phymode_on_roam()
856 &ch_params, in wma_update_phymode_on_roam()
858 if (ch_params.ch_width != des_chan->ch_width || in wma_update_phymode_on_roam()
[all …]
/wlan-driver/qca-wifi-host-cmn/umac/regulatory/dispatcher/inc/
Dwlan_reg_services_api.h1570 struct ch_params *ch_params,
1685 void wlan_reg_set_create_punc_bitmap(struct ch_params *ch_params,
1777 static inline void wlan_reg_set_create_punc_bitmap(struct ch_params *ch_params, in wlan_reg_set_create_punc_bitmap() argument
1821 struct ch_params *ch_params,

123