Home
last modified time | relevance | path

Searched refs:NUM_CHANNELS (Results 1 – 25 of 64) sorted by relevance

123

/wlan-driver/qca-wifi-host-cmn/umac/regulatory/core/src/
H A Dreg_lte.c65 if (psoc_priv_obj->unsafe_chan_list.chan_cnt >= NUM_CHANNELS) { in reg_process_ch_avoid_freq()
86 for (ch_loop = 0; ch_loop < NUM_CHANNELS; in reg_process_ch_avoid_freq()
93 for (ch_loop = 0; ch_loop < NUM_CHANNELS; in reg_process_ch_avoid_freq()
113 NUM_CHANNELS) { in reg_process_ch_avoid_freq()
125 if (ch_loop >= NUM_CHANNELS) in reg_process_ch_avoid_freq()
H A Dreg_priv_objs.h400 struct regulatory_channel cur_chan_list[NUM_CHANNELS];
402 struct regulatory_channel secondary_cur_chan_list[NUM_CHANNELS];
404 struct regulatory_channel mas_chan_list[NUM_CHANNELS];
412 struct regulatory_channel cache_disable_chan_list[NUM_CHANNELS];
H A Dreg_build_chan_list.c445 for (chan_enum = 0; chan_enum < NUM_CHANNELS; chan_enum++) { in reg_modify_chan_list_for_dfs_channels()
755 for (chan_enum = 0; chan_enum < NUM_CHANNELS; chan_enum++) { in reg_modify_chan_list_for_indoor_channels()
771 for (chan_enum = 0; chan_enum < NUM_CHANNELS; chan_enum++) { in reg_modify_chan_list_for_indoor_channels()
829 if (min_enum == NUM_CHANNELS || max_enum == NUM_CHANNELS) in reg_modify_chan_list_for_indoor_concurrency()
1102 for (chan_enum = 0; chan_enum < NUM_CHANNELS; chan_enum++) { in reg_modify_chan_list_for_chan_144()
1121 for (chan_enum = 0; chan_enum < NUM_CHANNELS; chan_enum++) { in reg_modify_chan_list_for_nol_list()
1141 for (chan_enum = 0; chan_enum < NUM_CHANNELS; chan_enum++) { in reg_modify_chan_list_for_static_puncture()
1173 for (chan_enum = 0; chan_enum < NUM_CHANNELS; chan_enum++) { in reg_find_low_limit_chan_enum()
1210 for (chan_enum = NUM_CHANNELS - 1; chan_enum >= 0; chan_enum--) { in reg_find_high_limit_chan_enum()
1287 uint32_t low_limit_2g = NUM_CHANNELS; in reg_modify_chan_list_for_freq_range()
[all …]
H A Dreg_services_common.c478 const struct chan_map channel_map_us[NUM_CHANNELS] = {
648 const struct chan_map channel_map_eu[NUM_CHANNELS] = {
818 const struct chan_map channel_map_jp[NUM_CHANNELS] = {
988 const struct chan_map channel_map_global[NUM_CHANNELS] = {
1158 const struct chan_map channel_map_china[NUM_CHANNELS] = {
1631 if (num_chans > NUM_CHANNELS) { in reg_freq_to_chan_for_chlist()
1689 chan = reg_freq_to_chan_for_chlist(chan_list, freq, NUM_CHANNELS); in reg_freq_to_chan()
2439 uint32_t low_limit_2g = NUM_CHANNELS; in reg_chan_in_range()
2440 uint32_t high_limit_2g = NUM_CHANNELS; in reg_chan_in_range()
2441 uint32_t low_limit_5g = NUM_CHANNELS; in reg_chan_in_range()
[all …]
H A Dreg_utils.c870 for (j = 0; j < NUM_CHANNELS; j++) { in reg_cache_channel_freq_state()
1190 for (count = 0; count < NUM_CHANNELS; count++) { in reg_program_mas_chan_list()
1200 NUM_CHANNELS * sizeof(struct regulatory_channel)); in reg_program_mas_chan_list()
/wlan-driver/qca-wifi-host-cmn/wmi/inc/
H A Dwmi_unified_sta_param.h296 uint32_t pcl_list[NUM_CHANNELS];
298 uint32_t saved_chan_list[NUM_CHANNELS];
300 uint8_t weighed_valid_list[NUM_CHANNELS];
301 uint8_t weight_list[NUM_CHANNELS];
/wlan-driver/qcacld-3.0/components/cmn_services/policy_mgr/src/
H A Dwlan_policy_mgr_pcl.c496 for (i = 0; i < NUM_CHANNELS; i++) { in policy_mgr_update_valid_ch_freq_list()
562 NUM_CHANNELS ? in policy_mgr_reg_chan_change_callback()
563 NUM_CHANNELS : avoid_freq_ind->chan_list.chan_cnt; in policy_mgr_reg_chan_change_callback()
589 pm_ctx->unsafe_channel_count = chan_cnt >= NUM_CHANNELS ? in policy_mgr_init_chan_avoidance()
590 NUM_CHANNELS : chan_cnt; in policy_mgr_init_chan_avoidance()
607 uint32_t current_channel_list[NUM_CHANNELS]; in policy_mgr_update_with_safe_channel_list()
608 uint8_t org_weight_list[NUM_CHANNELS]; in policy_mgr_update_with_safe_channel_list()
623 current_channel_count = QDF_MIN(*len, NUM_CHANNELS); in policy_mgr_update_with_safe_channel_list()
637 qdf_mem_copy(org_weight_list, weight_list, NUM_CHANNELS); in policy_mgr_update_with_safe_channel_list()
744 uint32_t pcl_list[NUM_CHANNELS]; in policy_mgr_modify_pcl_based_on_dnbs()
[all …]
H A Dwlan_policy_mgr_core.c2942 orig_channel_count = QDF_MIN(*len, NUM_CHANNELS); in policy_mgr_set_weight_of_disabled_inactive_channels_to_zero()
3100 if (*index >= NUM_CHANNELS || *index >= pcl_sz) in policy_mgr_add_24g_to_pcl()
3104 if ((i + *index) >= NUM_CHANNELS || (i + *index) >= pcl_sz) in policy_mgr_add_24g_to_pcl()
3196 channel_list = qdf_mem_malloc(NUM_CHANNELS * sizeof(uint32_t)); in policy_mgr_get_channel_list()
3197 channel_list_24 = qdf_mem_malloc(NUM_CHANNELS * sizeof(uint32_t)); in policy_mgr_get_channel_list()
3198 channel_list_5 = qdf_mem_malloc(NUM_CHANNELS * sizeof(uint32_t)); in policy_mgr_get_channel_list()
3199 sbs_freqs = qdf_mem_malloc(NUM_CHANNELS * sizeof(uint32_t)); in policy_mgr_get_channel_list()
3200 channel_list_6 = qdf_mem_malloc(NUM_CHANNELS * sizeof(uint32_t)); in policy_mgr_get_channel_list()
3201 rest_freqs = qdf_mem_malloc(NUM_CHANNELS * sizeof(uint32_t)); in policy_mgr_get_channel_list()
3217 num_channels = QDF_MIN(num_channels, NUM_CHANNELS); in policy_mgr_get_channel_list()
[all …]
H A Dwlan_policy_mgr_i.h400 uint32_t sap_mandatory_channels[NUM_CHANNELS];
418 uint32_t unsafe_channel_list[NUM_CHANNELS];
426 uint32_t valid_ch_freq_list[NUM_CHANNELS];
H A Dwlan_policy_mgr_ll_sap.c178 uint32_t channel_list[NUM_CHANNELS]; in policy_mgr_ll_lt_sap_get_restart_freq_for_concurent_sap()
/wlan-driver/qcacld-3.0/components/cmn_services/policy_mgr/inc/
H A Dwlan_policy_mgr_public_struct.h1630 uint32_t pcl_list[NUM_CHANNELS];
1631 uint8_t weight_list[NUM_CHANNELS];
1648 uint32_t pcl_list[NUM_CHANNELS];
1650 uint32_t saved_chan_list[NUM_CHANNELS];
1652 uint8_t weighed_valid_list[NUM_CHANNELS];
1653 uint8_t weight_list[NUM_CHANNELS];
/wlan-driver/qca-wifi-host-cmn/umac/wifi_pos/inc/
H A Dwifi_pos_utils_pub.h42 #define WIFI_POS_MAX_NUM_CHANNELS NUM_CHANNELS
44 #define WIFI_POS_MAX_NUM_CHANNELS (NUM_CHANNELS * 2)
/wlan-driver/qca-wifi-host-cmn/umac/regulatory/dispatcher/inc/
H A Dreg_services_public_struct.h491 NUM_CHANNELS, enumerator
494 MAX_CHANNEL = (NUM_CHANNELS - 1),
500 INVALID_CHANNEL = NUM_CHANNELS,
1675 struct regulatory_channel mas_chan_list[NUM_CHANNELS];
1792 uint16_t chan_freq_list[NUM_CHANNELS];
1793 int32_t txpower[NUM_CHANNELS];
1794 bool is_valid_txpower[NUM_CHANNELS];
/wlan-driver/qcacld-3.0/core/hdd/src/
H A Dwlan_hdd_sysfs_policy_mgr.c90 uint8_t weight_list[NUM_CHANNELS] = {0}; in __hdd_sysfs_pm_pcl_store()
91 uint32_t pcl[NUM_CHANNELS] = {0}; in __hdd_sysfs_pm_pcl_store()
H A Dwlan_hdd_regulatory.c64 struct regulatory_channel reg_channels[NUM_CHANNELS];
566 chan_enum < NUM_CHANNELS; in hdd_process_regulatory_data()
787 chan_enum < NUM_CHANNELS; in hdd_update_indoor_channel()
1293 for (chan_cnt = 0; chan_cnt < NUM_CHANNELS; chan_cnt++) { in fill_wiphy_band_channels()
1569 for (i = 0; i < NUM_CHANNELS; i++) { in hdd_regulatory_chanlist_dump()
1607 cur_chan_list = qdf_mem_malloc(sizeof(*cur_chan_list) * NUM_CHANNELS); in hdd_country_change_bw_check()
1616 for (i = 0; i < NUM_CHANNELS; i++) { in hdd_country_change_bw_check()
2041 cur_chan_list = qdf_mem_malloc(sizeof(*cur_chan_list) * NUM_CHANNELS); in hdd_regulatory_init()
H A Dwlan_hdd_sap_cond_chan_switch.c123 if (freq_len > NUM_CHANNELS) { in __wlan_hdd_cfg80211_conditional_chan_switch()
H A Dwlan_hdd_dcs.c183 uint16_t final_lst[NUM_CHANNELS] = {0}; in hdd_dcs_select_random_chan()
189 res_msg = qdf_mem_malloc(NUM_CHANNELS * in hdd_dcs_select_random_chan()
/wlan-driver/qca-wifi-host-cmn/umac/dfs/dispatcher/src/
H A Dwlan_dfs_utils_api.c669 cur_chan_list = qdf_mem_malloc(NUM_CHANNELS * in utils_dfs_get_chan_list()
684 for (i = 0; i < NUM_CHANNELS; i++) { in utils_dfs_get_chan_list()
807 uint32_t pcl_ch[NUM_CHANNELS] = {0}; in utils_dfs_get_channel_list()
808 uint8_t weight_list[NUM_CHANNELS] = {0}; in utils_dfs_get_channel_list()
886 uint32_t num_chan = NUM_CHANNELS; in utils_dfs_get_vdev_random_channel_for_freq()
1298 return NUM_CHANNELS; in dfs_get_num_chans()
1507 cur_chan_list = qdf_mem_malloc(NUM_CHANNELS * in dfs_init_chan_state_array()
1520 for (i = 0; i < NUM_CHANNELS; i++) { in dfs_init_chan_state_array()
/wlan-driver/qca-wifi-host-cmn/umac/mlme/connection_mgr/dispatcher/inc/
H A Dwlan_cm_bss_score_param.h275 uint32_t pcl_freq_list[NUM_CHANNELS];
276 uint8_t pcl_weight_list[NUM_CHANNELS];
/wlan-driver/qcacld-3.0/components/umac/mlme/connection_mgr/core/src/
H A Dwlan_cm_host_util.c110 if (filter->num_of_channels > NUM_CHANNELS) in cm_update_advance_roam_scan_filter()
111 filter->num_of_channels = NUM_CHANNELS; in cm_update_advance_roam_scan_filter()
/wlan-driver/qca-wifi-host-cmn/umac/scan/dispatcher/inc/
H A Dwlan_scan_public_structs.h800 qdf_freq_t chan_freq_list[NUM_CHANNELS];
994 struct chan_list_info ch_scan_info[NUM_CHANNELS];
1005 struct chan_info chan[NUM_CHANNELS];
1451 #define SCAN_PNO_MAX_NETW_CHANNELS_EX (NUM_CHANNELS)
/wlan-driver/qca-wifi-host-cmn/umac/scan/core/src/
H A Dwlan_scan_manager_6ghz.c125 for (i = 0, j = 0; (i < NUM_CHANNELS && j < tmp_list_count); i++) in scm_sort_6ghz_channel_list()
277 cur_chan_list = qdf_mem_malloc(NUM_CHANNELS * in scm_add_all_valid_6g_channels()
296 for (i = freq_idx; i < NUM_CHANNELS; i++) { in scm_add_all_valid_6g_channels()
/wlan-driver/qcacld-3.0/core/hdd/inc/
H A Dqc_sap_ioctl.h32 uint8_t channels[NUM_CHANNELS];
/wlan-driver/qcacld-3.0/components/pre_cac/core/src/
H A Dwlan_pre_cac_main.c292 uint8_t pcl_weights[NUM_CHANNELS] = {0}; in pre_cac_validate_and_get_freq()
293 uint32_t freq_list[NUM_CHANNELS] = {0}; in pre_cac_validate_and_get_freq()
/wlan-driver/qcacld-3.0/core/sap/src/
H A Dsap_module.c3352 uint16_t unsafe_chan[NUM_CHANNELS] = {0}; in wlansap_select_chan_with_best_bandwidth()
3390 sizeof(uint16_t) * NUM_CHANNELS); in wlansap_select_chan_with_best_bandwidth()
3391 unsafe_chan_cnt = QDF_MIN(unsafe_chan_cnt, NUM_CHANNELS); in wlansap_select_chan_with_best_bandwidth()
3480 uint32_t pcl_freqs[NUM_CHANNELS]; in wlansap_get_safe_channel()
3632 uint32_t pcl_freqs[NUM_CHANNELS] = {0}; in wlansap_get_safe_channel_from_pcl_and_acs_range()
3719 cur_chan_list = qdf_mem_malloc(NUM_CHANNELS * in wlansap_get_2g_first_safe_chan_freq()
3732 for (i = 0; i < NUM_CHANNELS; i++) { in wlansap_get_2g_first_safe_chan_freq()
3761 uint32_t pcl_freqs[NUM_CHANNELS] = {0}; in wlansap_get_safe_channel_from_pcl_for_sap()
3918 pcl_freqs = qdf_mem_malloc(NUM_CHANNELS * sizeof(uint32_t)); in wlansap_get_valid_freq()
3935 NUM_CHANNELS, in wlansap_get_valid_freq()
[all …]

123