/wlan-driver/qca-wifi-host-cmn/umac/regulatory/core/src/ |
D | reg_lte.c | 55 struct ch_avoid_freq_type *range; in reg_process_ch_avoid_freq() local 72 range = &psoc_priv_obj->avoid_freq_list.avoid_freq_range[i]; in reg_process_ch_avoid_freq() 74 start_channel = reg_freq_to_chan(pdev, range->start_freq); in reg_process_ch_avoid_freq() 75 end_channel = reg_freq_to_chan(pdev, range->end_freq); in reg_process_ch_avoid_freq() 77 range->start_freq, start_channel, range->end_freq, in reg_process_ch_avoid_freq() 88 if (REG_CH_TO_FREQ(ch_loop) >= range->start_freq) { in reg_process_ch_avoid_freq() 95 if (REG_CH_TO_FREQ(ch_loop) >= range->end_freq) { in reg_process_ch_avoid_freq() 97 if (REG_CH_TO_FREQ(ch_loop) > range->end_freq) in reg_process_ch_avoid_freq()
|
D | reg_services_common.c | 6703 const struct bonded_channel_freq *range = NULL; in reg_add_indoor_concurrency() local 6714 range = wlan_reg_get_bonded_chan_entry(freq, width, 0); in reg_add_indoor_concurrency() 6721 list->chan_range = range; in reg_add_indoor_concurrency() 8504 struct ch_avoid_freq_type *range; in reg_process_ch_avoid_freq_ext() local 8557 range = &psoc_priv_obj->avoid_freq_ext_list.avoid_freq_range[i]; in reg_process_ch_avoid_freq_ext() 8559 start_channel = reg_freq_to_chan(pdev, range->start_freq); in reg_process_ch_avoid_freq_ext() 8560 end_channel = reg_freq_to_chan(pdev, range->end_freq); in reg_process_ch_avoid_freq_ext() 8561 txpower = range->txpower; in reg_process_ch_avoid_freq_ext() 8562 is_valid_txpower = range->is_valid_txpower; in reg_process_ch_avoid_freq_ext() 8565 range->start_freq, start_channel, range->end_freq, in reg_process_ch_avoid_freq_ext() [all …]
|
D | reg_build_chan_list.c | 5389 struct freq_range *range) in reg_find_range_for_chan_idx() argument 5394 range->left = center_freq - min_bw / 2; in reg_find_range_for_chan_idx() 5395 range->right = center_freq + min_bw / 2; in reg_find_range_for_chan_idx() 5407 reg_is_range_subset_of_freq_obj(struct freq_range *range, in reg_is_range_subset_of_freq_obj() argument 5410 return (range->left >= freq_obj->low_freq && in reg_is_range_subset_of_freq_obj() 5411 range->right <= freq_obj->high_freq); in reg_is_range_subset_of_freq_obj() 5547 struct freq_range range; in reg_try_coalescing_freq_objs() local 5549 reg_find_range_for_chan_idx(chan_enum, afc_chan_list, &range); in reg_try_coalescing_freq_objs() 5550 reg_coalesce_afc_freq_info(power_info, &range, cur_freq_index, in reg_try_coalescing_freq_objs()
|
D | reg_opclass.c | 573 static bool reg_is_range_valid(struct freq_range *range) in reg_is_range_valid() argument 575 return (range->right > range->left); in reg_is_range_valid()
|
/wlan-driver/qcacld-3.0/core/sap/src/ |
D | sap_api_link_cntl.c | 1522 const struct bonded_channel_freq *range) in sap_is_prev_n_freqs_free() argument 1525 uint32_t min_index = wlan_reg_get_chan_enum_for_freq(range->start_freq); in sap_is_prev_n_freqs_free() 1526 uint32_t max_index = wlan_reg_get_chan_enum_for_freq(range->end_freq); in sap_is_prev_n_freqs_free() 1574 const struct bonded_channel_freq *range = NULL; in is_freq_allowed_for_sap() local 1610 range = wlan_reg_get_bonded_chan_entry(freq, ch_width, 0); in is_freq_allowed_for_sap() 1611 if (!range) { in is_freq_allowed_for_sap() 1616 sap_debug("freq range for bw %d is %d-%d", ch_width, range->start_freq, in is_freq_allowed_for_sap() 1617 range->end_freq); in is_freq_allowed_for_sap() 1623 range); in is_freq_allowed_for_sap() 1627 range); in is_freq_allowed_for_sap() [all …]
|
/wlan-driver/qcacld-3.0/core/sme/src/rrm/ |
D | sme_rrm.c | 740 const struct bonded_channel_freq *range; in sme_rrm_send_chan_load_report_xmit_ind() local 781 range = wlan_reg_get_bonded_chan_entry(op_freq, in sme_rrm_send_chan_load_report_xmit_ind() 784 if (!range) { in sme_rrm_send_chan_load_report_xmit_ind() 790 start_freq = range->start_freq; in sme_rrm_send_chan_load_report_xmit_ind() 791 end_freq = range->end_freq; in sme_rrm_send_chan_load_report_xmit_ind() 805 range = in sme_rrm_send_chan_load_report_xmit_ind() 807 if (!range) { in sme_rrm_send_chan_load_report_xmit_ind() 812 start_freq = range->start_freq; in sme_rrm_send_chan_load_report_xmit_ind() 813 end_freq = range->end_freq; in sme_rrm_send_chan_load_report_xmit_ind()
|
/wlan-driver/qcacld-3.0/components/cp_stats/dispatcher/src/ |
D | wlan_cp_stats_mc_ucfg_api.c | 1284 const struct bonded_channel_freq *range = NULL; in wlan_cp_stats_update_channel_stats() local 1299 range = in wlan_cp_stats_update_channel_stats() 1302 if (!range) { in wlan_cp_stats_update_channel_stats() 1308 start_freq = range->start_freq; in wlan_cp_stats_update_channel_stats() 1309 end_freq = range->end_freq; in wlan_cp_stats_update_channel_stats()
|
/wlan-driver/qca-wifi-host-cmn/umac/dfs/core/src/filtering/ |
D | dfs_fcc_bin5.c | 828 int range; in dfs_get_random_bin5_dur() local 831 range = (MAX_BIN5_DUR - MIN_BIN5_DUR + 1); in dfs_get_random_bin5_dur() 832 new_dur %= range; in dfs_get_random_bin5_dur()
|
/wlan-driver/qcacld-3.0/components/mlme/core/src/ |
D | wlan_mlme_main.c | 109 const struct bonded_channel_freq *range; in mlme_fill_freq_in_scan_start_request() local 169 range = wlan_reg_get_bonded_chan_entry(operation_chan_freq, in mlme_fill_freq_in_scan_start_request() 171 if (!range) { in mlme_fill_freq_in_scan_start_request() 183 first_freq = range->start_freq; in mlme_fill_freq_in_scan_start_request() 184 for (; first_freq <= range->end_freq; first_freq += BW_20_MHZ) { in mlme_fill_freq_in_scan_start_request() 194 associated_ch_width, range->start_freq, in mlme_fill_freq_in_scan_start_request() 195 range->end_freq, req->scan_req.chan_list.num_chan); in mlme_fill_freq_in_scan_start_request() 438 const struct bonded_channel_freq *range; in mlme_update_freq_in_scan_start_req() local 455 range = wlan_reg_get_bonded_chan_entry(op_freq, in mlme_update_freq_in_scan_start_req() 458 if (!range) { in mlme_update_freq_in_scan_start_req() [all …]
|
/wlan-driver/qcacld-3.0/components/cmn_services/policy_mgr/src/ |
D | wlan_policy_mgr_get_set_utils.c | 1149 policy_mgr_get_highest_5ghz_freq_frm_range(struct policy_mgr_freq_range *range) in policy_mgr_get_highest_5ghz_freq_frm_range() argument 1158 if (range[phy_id].high_5ghz_freq > highest_freq) in policy_mgr_get_highest_5ghz_freq_frm_range() 1159 highest_freq = range[phy_id].high_5ghz_freq; in policy_mgr_get_highest_5ghz_freq_frm_range() 1166 policy_mgr_get_lowest_5ghz_freq_frm_range(struct policy_mgr_freq_range *range) in policy_mgr_get_lowest_5ghz_freq_frm_range() argument 1172 if ((!lowest_freq && range[phy_id].low_5ghz_freq) || in policy_mgr_get_lowest_5ghz_freq_frm_range() 1173 (range[phy_id].low_5ghz_freq < lowest_freq)) in policy_mgr_get_lowest_5ghz_freq_frm_range() 1174 lowest_freq = range[phy_id].low_5ghz_freq; in policy_mgr_get_lowest_5ghz_freq_frm_range()
|
/wlan-driver/qcacld-3.0/core/hdd/src/ |
D | wlan_hdd_cfg80211.c | 28326 const struct bonded_channel_freq *range = NULL; in wlan_hdd_fill_subband_scan_info() local 28363 range = wlan_reg_get_bonded_chan_entry(info->freq, in wlan_hdd_fill_subband_scan_info() 28365 if (!range) { in wlan_hdd_fill_subband_scan_info() 28370 start_freq = range->start_freq; in wlan_hdd_fill_subband_scan_info() 28371 end_freq = range->end_freq; in wlan_hdd_fill_subband_scan_info()
|