/wlan-driver/qca-wifi-host-cmn/umac/dfs/core/src/misc/ |
D | dfs_process_radar_found_ind.c | 234 uint32_t center_freq, in dfs_find_20mhz_subchans_from_offsets() argument 237 uint16_t first_chan20_cen = center_freq - (ch_width / 2) + BW_10; in dfs_find_20mhz_subchans_from_offsets() 243 center_freq + freq_offset->offset[i]; in dfs_find_20mhz_subchans_from_offsets() 422 dfs_calc_bonding_freqs(qdf_freq_t center_freq, in dfs_calc_bonding_freqs() argument 429 qdf_freq_t first_subchan_cfreq = center_freq - (ch_width / 2) + in dfs_calc_bonding_freqs() 446 void dfs_get_20mhz_bonding_channels(uint16_t center_freq, uint16_t *freq_list) in dfs_get_20mhz_bonding_channels() argument 450 dfs_calc_bonding_freqs(center_freq, chwidth, freq_list); in dfs_get_20mhz_bonding_channels() 462 void dfs_get_40mhz_bonding_channels(uint16_t center_freq, uint16_t *freq_list) in dfs_get_40mhz_bonding_channels() argument 466 dfs_calc_bonding_freqs(center_freq, chwidth, freq_list); in dfs_get_40mhz_bonding_channels() 478 void dfs_get_80mhz_bonding_channels(uint16_t center_freq, uint16_t *freq_list) in dfs_get_80mhz_bonding_channels() argument [all …]
|
/wlan-driver/qca-wifi-host-cmn/umac/regulatory/core/src/ |
D | reg_services_common.h | 46 #define REG_MIN_24GHZ_CH_FREQ channel_map[MIN_24GHZ_CHANNEL].center_freq 47 #define REG_MAX_24GHZ_CH_FREQ channel_map[MAX_24GHZ_CHANNEL].center_freq 54 #define REG_MIN_5GHZ_CH_FREQ channel_map[MIN_5GHZ_CHANNEL].center_freq 55 #define REG_MAX_5GHZ_CH_FREQ channel_map[MAX_5GHZ_CHANNEL].center_freq 59 #define REG_MIN_49GHZ_CH_FREQ channel_map[MIN_49GHZ_CHANNEL].center_freq 60 #define REG_MAX_49GHZ_CH_FREQ channel_map[MAX_49GHZ_CHANNEL].center_freq 71 (((freq) >= channel_map[MIN_5GHZ_CHANNEL].center_freq) && \ 72 ((freq) <= channel_map[MAX_5GHZ_CHANNEL].center_freq)) 85 center_freq - HALF_20MHZ_BW) 87 center_freq + HALF_20MHZ_BW) [all …]
|
D | reg_build_chan_list.c | 69 dst_list[dst_idx].center_freq = in reg_init_chan() 70 channel_map[chan_enum].center_freq; in reg_init_chan() 228 mas_chan_list[i].center_freq - in reg_populate_band_channels_ext_for_6g() 231 mas_chan_list[i].center_freq + in reg_populate_band_channels_ext_for_6g() 301 mas_chan_list[chan_enum].center_freq - in reg_populate_band_channels() 304 mas_chan_list[chan_enum].center_freq + in reg_populate_band_channels() 521 start_freq_6g = pdev_priv_obj->cur_chan_list[MIN_6GHZ_CHANNEL].center_freq; in reg_get_active_6ghz_freq_range_with_fcc_set() 522 end_freq_6g = pdev_priv_obj->cur_chan_list[MAX_6GHZ_CHANNEL].center_freq; in reg_get_active_6ghz_freq_range_with_fcc_set() 761 reg_is_5ghz_ch_freq(chan_list[chan_enum].center_freq))) { in reg_modify_chan_list_for_indoor_channels() 1041 if (chan_list->center_freq == fcc_rule[index].center_freq) { in reg_get_tx_power_for_fcc_channel() [all …]
|
D | reg_services_common.c | 1641 if (chan_list[count].center_freq >= freq) in reg_freq_to_chan_for_chlist() 1648 if (chan_list[count].center_freq == freq) in reg_freq_to_chan_for_chlist() 1661 (freq - chan_list[count - 1].center_freq) / 5); in reg_freq_to_chan_for_chlist() 1735 if (REG_IS_49GHZ_FREQ(chan_list[count].center_freq)) { in reg_compute_chan_to_freq_for_chlist() 1753 return chan_list[count].center_freq; in reg_compute_chan_to_freq_for_chlist() 1760 REG_IS_49GHZ_FREQ(chan_list[count - 1].center_freq) || in reg_compute_chan_to_freq_for_chlist() 1767 return (chan_list[count - 1].center_freq + in reg_compute_chan_to_freq_for_chlist() 2446 qdf_freq_t center_freq; in reg_chan_in_range() local 2450 center_freq = chan_list[chan_enum].center_freq; in reg_chan_in_range() 2452 if ((center_freq - min_bw / 2) >= low_freq_2g) { in reg_chan_in_range() [all …]
|
D | reg_utils.h | 32 #define REG_DSRC_START_FREQ channel_map[MIN_DSRC_CHANNEL].center_freq 33 #define REG_DSRC_END_FREQ channel_map[MAX_DSRC_CHANNEL].center_freq
|
D | reg_utils.c | 872 cur_chan_list[j].center_freq) { in reg_cache_channel_freq_state() 874 cache_disable_chan_list[i].center_freq = in reg_cache_channel_freq_state() 1192 reg_channels[count].center_freq = in reg_program_mas_chan_list() 1193 channel_map[count].center_freq; in reg_program_mas_chan_list()
|
/wlan-driver/qca-wifi-host-cmn/umac/dfs/dispatcher/src/ |
D | wlan_dfs_utils_api.c | 689 chan_list[j].dfs_ch_freq = cur_chan_list[i].center_freq; in utils_dfs_get_chan_list() 732 uint16_t center_freq; in utils_dfs_get_channel_list() local 749 center_freq = dfs->dfs_curchan->dfs_ch_freq; in utils_dfs_get_channel_list() 750 is_curchan_5g = WLAN_REG_IS_5GHZ_CH_FREQ(center_freq); in utils_dfs_get_channel_list() 751 is_curchan_24g = WLAN_REG_IS_24GHZ_CH_FREQ(center_freq); in utils_dfs_get_channel_list() 752 is_curchan_49g = WLAN_REG_IS_49GHZ_FREQ(center_freq); in utils_dfs_get_channel_list() 758 center_freq = tmp_chan_list[i].dfs_ch_freq; in utils_dfs_get_channel_list() 761 if (!dfs_mlme_check_allowed_prim_chanlist(pdev, center_freq)) in utils_dfs_get_channel_list() 769 if (WLAN_REG_IS_5GHZ_CH_FREQ(center_freq) || in utils_dfs_get_channel_list() 771 WLAN_REG_IS_6GHZ_CHAN_FREQ(center_freq))) { in utils_dfs_get_channel_list() [all …]
|
/wlan-driver/qca-wifi-host-cmn/umac/wifi_pos/src/ |
D | wifi_pos_main.c | 542 wifi_pos_ch[i].ch_power.center_freq = ch_info[i].center_freq; in wifi_pos_pdev_iterator() 546 wlan_reg_is_dfs_for_freq(pdev, ch_info[i].center_freq); in wifi_pos_pdev_iterator() 549 ch_info[i].center_freq, &wifi_pos_ch[i]); in wifi_pos_pdev_iterator() 696 freq = ch[i].ch_power.center_freq; in wifi_pos_process_ch_info_req() 713 ch[i].ch_power.center_freq = valid_channel_list[i]; in wifi_pos_process_ch_info_req() 715 pdev, ch[i].ch_power.center_freq); in wifi_pos_process_ch_info_req() 719 ch[i].ch_power.center_freq); in wifi_pos_process_ch_info_req() 722 ch[i].ch_power.center_freq); in wifi_pos_process_ch_info_req() 725 ch[i].ch_power.center_freq, in wifi_pos_process_ch_info_req() 742 ch_info, i, ch[idx].ch_power.center_freq); in wifi_pos_process_ch_info_req() [all …]
|
/wlan-driver/qca-wifi-host-cmn/umac/dfs/core/src/filtering/ |
D | dfs_init.c | 421 bool dfs_check_intersect_excl(int low_freq, int high_freq, int center_freq) in dfs_check_intersect_excl() argument 423 return ((center_freq > low_freq) && (center_freq < high_freq)); in dfs_check_intersect_excl() 426 int dfs_check_etsi_overlap(int center_freq, int chan_width, in dfs_check_etsi_overlap() argument 433 chan_freq_low = center_freq - (chan_width / 2); in dfs_check_etsi_overlap() 434 chan_freq_high = center_freq + (chan_width / 2); in dfs_check_etsi_overlap()
|
/wlan-driver/qca-wifi-host-cmn/umac/scan/dispatcher/src/ |
D | wlan_scan_ucfg_api.c | 1027 reg_chan->center_freq, in is_chan_enabled_for_scan() 1035 if ((util_scan_scm_freq_to_band(reg_chan->center_freq) == in is_chan_enabled_for_scan() 1037 ((reg_chan->center_freq < low_2g) || in is_chan_enabled_for_scan() 1038 (reg_chan->center_freq > high_2g))) in is_chan_enabled_for_scan() 1040 else if ((util_scan_scm_freq_to_band(reg_chan->center_freq) == in is_chan_enabled_for_scan() 1042 ((reg_chan->center_freq < low_5g) || in is_chan_enabled_for_scan() 1043 (reg_chan->center_freq > high_5g))) in is_chan_enabled_for_scan() 1107 reg_chan_list[idx].center_freq)) || in ucfg_scan_init_chanlist_params() 1110 reg_chan_list[idx].center_freq) || in ucfg_scan_init_chanlist_params() 1112 reg_chan_list[idx].center_freq) || in ucfg_scan_init_chanlist_params() [all …]
|
/wlan-driver/qca-wifi-host-cmn/target_if/spectral/ |
D | target_if_spectral.c | 3976 uint32_t center_freq; in target_if_is_center_freq_of_any_chan() local 3979 center_freq = cur_chan_list[i].center_freq; in target_if_is_center_freq_of_any_chan() 3982 (center_freq == chan_freq)) { in target_if_is_center_freq_of_any_chan() 4009 uint16_t *center_freq) in target_if_calculate_center_freq() argument 4024 if (!center_freq) { in target_if_calculate_center_freq() 4030 *center_freq = chan_freq; in target_if_calculate_center_freq() 4052 *center_freq = (start_freq + end_freq) >> 1; in target_if_calculate_center_freq() 4072 uint16_t center_freq, in target_if_validate_center_freq() argument 4099 (pdev, center_freq, is_valid); in target_if_validate_center_freq() 4109 (pdev, center_freq + FREQ_OFFSET_10MHZ, in target_if_validate_center_freq() [all …]
|
/wlan-driver/qca-wifi-host-cmn/wmi/src/ |
D | wmi_unified_dcs_tlv.c | 130 awgn_info->center_freq = (qdf_freq_t)ev->chan_freq; in extract_dcs_awgn_info_tlv() 135 awgn_info->channel_width, awgn_info->center_freq, in extract_dcs_awgn_info_tlv()
|
/wlan-driver/qca-wifi-host-cmn/umac/dcs/core/src/ |
D | wlan_dcs.c | 830 freq = cur_chan_list[i].center_freq; in wlan_dcs_get_pcl_for_sap() 1019 if (!WLAN_REG_IS_SAME_BAND_FREQS(freq, awgn_info->center_freq)) in wlan_dcs_get_available_chan_for_bw() 1051 if (WLAN_DCS_IS_FREQ_IN_WIDTH(awgn_info->center_freq, in wlan_dcs_get_available_chan_for_bw() 1066 if (WLAN_DCS_IS_FREQ_IN_WIDTH(awgn_info->center_freq, in wlan_dcs_get_available_chan_for_bw() 1169 awgn_info->center_freq && awgn_info->chan_bw_intf_bitmap && in wlan_dcs_is_awgnim_valid() 1171 WLAN_REG_IS_6GHZ_CHAN_FREQ(awgn_info->center_freq)); in wlan_dcs_is_awgnim_valid() 1247 if (awgn_info->center_freq != op_freq) { in wlan_dcs_process_awgn_sta() 1300 if (awgn_info->center_freq != op_freq) { in wlan_dcs_process_awgn_sap() 1302 vdev_id, awgn_info->center_freq, op_freq); in wlan_dcs_process_awgn_sap() 1355 pdev_id, awgn_info->channel_width, awgn_info->center_freq, in wlan_dcs_awgn_process()
|
/wlan-driver/qcacld-3.0/core/sap/src/ |
D | sap_fsm.c | 469 qdf_freq_t center_freq = ch_params->mhz_freq_seg0; in sap_ch_params_to_bonding_channels() local 475 center_freq = ch_params->mhz_freq_seg1; in sap_ch_params_to_bonding_channels() 476 freq_list[0] = center_freq - 70; in sap_ch_params_to_bonding_channels() 477 freq_list[1] = center_freq - 50; in sap_ch_params_to_bonding_channels() 478 freq_list[2] = center_freq - 30; in sap_ch_params_to_bonding_channels() 479 freq_list[3] = center_freq - 10; in sap_ch_params_to_bonding_channels() 480 freq_list[4] = center_freq + 10; in sap_ch_params_to_bonding_channels() 481 freq_list[5] = center_freq + 30; in sap_ch_params_to_bonding_channels() 482 freq_list[6] = center_freq + 50; in sap_ch_params_to_bonding_channels() 483 freq_list[7] = center_freq + 70; in sap_ch_params_to_bonding_channels() [all …]
|
/wlan-driver/qcacld-3.0/os_if/p2p/src/ |
D | wlan_cfg80211_p2p.c | 383 roc_req.chan_freq = chan->center_freq; in wlan_cfg80211_roc() 387 ret = policy_mgr_is_chan_ok_for_dnbs(psoc, chan->center_freq, &ok); in wlan_cfg80211_roc() 441 chan_freq = chan->center_freq; in wlan_cfg80211_mgmt_tx()
|
/wlan-driver/qcacld-3.0/core/hdd/src/ |
D | wlan_hdd_regulatory.c | 481 reg_rule = freq_reg_info(wiphy, MHZ_TO_KHZ(chan->center_freq)); in hdd_modify_wiphy() 487 chan->center_freq); in hdd_modify_wiphy() 493 chan->center_freq); in hdd_modify_wiphy() 499 chan->center_freq); in hdd_modify_wiphy() 735 cds_chan->center_freq); in hdd_modify_indoor_channel_state_flags() 1294 if (wiphy_chan[wiphy_index].center_freq == in fill_wiphy_band_channels() 1295 cur_chan_list[chan_cnt].center_freq) { in fill_wiphy_band_channels() 1575 chan->center_freq, chan->tx_power); in hdd_regulatory_chanlist_dump() 1621 if (cur_chan_list[i].center_freq == oper_freq && in hdd_country_change_bw_check()
|
D | wlan_hdd_sysfs_get_freq_for_pwr.c | 134 "%d ", chan_list[i].center_freq); in __wlan_hdd_sysfs_freq_show()
|
D | wlan_hdd_hostapd.c | 1134 vdev_id, chandef.chan->center_freq, chandef.width, in hdd_chan_change_notify_update() 4754 adapter->device_mode, chandef->chan->center_freq, in wlan_hdd_set_channel() 4766 chandef->chan->center_freq) || in wlan_hdd_set_channel() 4767 (wlan_reg_max_chan_freq() < chandef->chan->center_freq)) { in wlan_hdd_set_channel() 4769 chandef->chan->center_freq); in wlan_hdd_set_channel() 4792 chandef->chan->center_freq)) { in wlan_hdd_set_channel() 4793 hdd_err("Invalid freq: %d", chandef->chan->center_freq); in wlan_hdd_set_channel() 4799 sap_config->chan_freq = chandef->chan->center_freq; in wlan_hdd_set_channel() 4806 sap_config->chan_freq = chandef->chan->center_freq; in wlan_hdd_set_channel() 6020 if (wiphy_channel->center_freq == freq) in wlan_hdd_get_wiphy_channel() [all …]
|
D | wlan_hdd_nan_datapath.c | 297 if (wlan_reg_is_6ghz_chan_freq(cur_chan_list[i].center_freq)) in hdd_ndi_select_valid_freq() 302 cur_chan_list[i].center_freq, in hdd_ndi_select_valid_freq() 304 *freq = cur_chan_list[i].center_freq; in hdd_ndi_select_valid_freq()
|
/wlan-driver/qca-wifi-host-cmn/hal/wifi3.0/ |
D | hal_generic_api.h | 92 hal_rx_radiotap_num_to_freq(uint16_t chan_num, qdf_freq_t center_freq) in hal_rx_radiotap_num_to_freq() argument 94 if (center_freq > CHANNEL_FREQ_5920 && center_freq < CHANNEL_FREQ_5950) in hal_rx_radiotap_num_to_freq() 97 if (center_freq < CHANNEL_FREQ_5950) { in hal_rx_radiotap_num_to_freq()
|
/wlan-driver/qca-wifi-host-cmn/os_if/linux/mlme/src/ |
D | osif_cm_req.c | 457 req->channel ? req->channel->center_freq : 0, in osif_cm_dump_connect_req() 463 req->channel_hint ? req->channel_hint->center_freq : 0); in osif_cm_dump_connect_req() 748 connect_req->chan_freq = req->channel->center_freq; in osif_cm_connect() 751 connect_req->chan_freq_hint = req->channel_hint->center_freq; in osif_cm_connect()
|
/wlan-driver/qca-wifi-host-cmn/umac/dcs/dispatcher/inc/ |
D | wlan_dcs_public_structs.h | 150 qdf_freq_t center_freq; member
|
/wlan-driver/qca-wifi-host-cmn/umac/regulatory/dispatcher/inc/ |
D | reg_services_public_struct.h | 714 qdf_freq_t center_freq; member 1007 qdf_freq_t center_freq; member 1145 qdf_freq_t center_freq; member 1225 uint16_t center_freq; member
|
/wlan-driver/qcacld-3.0/components/cmn_services/policy_mgr/src/ |
D | wlan_policy_mgr_action.c | 2388 channel_list[chn_idx].center_freq) && in policy_mgr_nan_sap_post_disable_conc_check() 2391 channel_list[chn_idx].center_freq)) { in policy_mgr_nan_sap_post_disable_conc_check() 2393 channel_list[chn_idx].center_freq); in policy_mgr_nan_sap_post_disable_conc_check() 2394 sap_freq = channel_list[chn_idx].center_freq; in policy_mgr_nan_sap_post_disable_conc_check() 3260 qdf_freq_t center_freq, in policy_mgr_check_bw_with_unsafe_chan_freq() argument 3272 if (ch_width <= CH_WIDTH_20MHZ || !center_freq) in policy_mgr_check_bw_with_unsafe_chan_freq() 3279 freq_start = center_freq - bw / 2; in policy_mgr_check_bw_with_unsafe_chan_freq() 3280 freq_end = center_freq + bw / 2; in policy_mgr_check_bw_with_unsafe_chan_freq() 3315 qdf_freq_t center_freq; in policy_mgr_change_sap_channel_with_csa() local 3333 center_freq = ch_params.mhz_freq_seg1; in policy_mgr_change_sap_channel_with_csa() [all …]
|
/wlan-driver/qca-wifi-host-cmn/umac/scan/core/src/ |
D | wlan_scan_manager_6ghz.c | 299 if (cur_chan_list[i].center_freq == in scm_add_all_valid_6g_channels() 308 cur_chan_list[i].center_freq; in scm_add_all_valid_6g_channels()
|