/wlan-driver/qcacld-3.0/components/cmn_services/policy_mgr/src/ |
H A D | wlan_policy_mgr_action.c | 300 uint8_t vdev_id, qdf_freq_t ch_freq, in policy_mgr_get_sap_ch_width_update_action() argument 323 if (cur_bw == CH_WIDTH_320MHZ && ch_freq && in policy_mgr_get_sap_ch_width_update_action() 324 policy_mgr_is_conn_lead_to_dbs_sbs(psoc, vdev_id, ch_freq)) in policy_mgr_get_sap_ch_width_update_action() 327 !ch_freq && in policy_mgr_get_sap_ch_width_update_action() 455 uint32_t conn_index = 0, ch_freq, cur_freq; in policy_mgr_update_connection_info() local 511 ch_freq = conn_table_entry.mhz; in policy_mgr_update_connection_info() 514 if ((WLAN_REG_IS_24GHZ_CH_FREQ(ch_freq) && nss_2g > 1) || in policy_mgr_update_connection_info() 515 (WLAN_REG_IS_5GHZ_CH_FREQ(ch_freq) && nss_5g > 1)) in policy_mgr_update_connection_info() 519 nss = (WLAN_REG_IS_24GHZ_CH_FREQ(ch_freq)) ? nss_2g : nss_5g; in policy_mgr_update_connection_info() 528 psoc, conn_index, mode, ch_freq, in policy_mgr_update_connection_info() [all …]
|
H A D | wlan_policy_mgr_get_set_utils.c | 2203 qdf_freq_t ch_freq, in policy_mgr_ml_sta_active_freq() argument 2238 *ml_sta_link1_freq = ch_freq; in policy_mgr_ml_sta_active_freq() 2244 qdf_freq_t ch_freq, in policy_mgr_ml_sta_active_freq() argument 2255 qdf_freq_t ch_freq, in policy_mgr_allow_4th_new_freq() argument 2280 policy_mgr_ml_sta_active_freq(psoc, ch_freq, mode, ext_flags, in policy_mgr_allow_4th_new_freq() 2313 ch_freq, mode); in policy_mgr_allow_4th_new_freq() 2329 ch_freq, in policy_mgr_allow_4th_new_freq() 2336 ch_freq, device_mode_to_string(mode)); in policy_mgr_allow_4th_new_freq() 3442 uint32_t i, ch_freq; in policy_mgr_is_scc_with_this_vdev_id() local 3453 &ch_freq); in policy_mgr_is_scc_with_this_vdev_id() [all …]
|
H A D | wlan_policy_mgr_core.c | 482 uint32_t ch_freq, in policy_mgr_update_conc_list() argument 510 pm_conc_connection_list[conn_index].freq = ch_freq; in policy_mgr_update_conc_list() 678 uint32_t ch_freq, in policy_mgr_store_and_del_conn_info_by_chan_and_mode() argument 700 if (ch_freq != pm_conc_connection_list[conn_index].freq || in policy_mgr_store_and_del_conn_info_by_chan_and_mode() 710 ch_freq); in policy_mgr_store_and_del_conn_info_by_chan_and_mode() 1824 band_mask |= BIT(wlan_reg_freq_to_band(chan->ch_freq)); in policy_mgr_get_connected_vdev_band_mask() 1838 band_mask |= BIT(wlan_reg_freq_to_band(chan->ch_freq)); in policy_mgr_get_connected_vdev_band_mask() 1863 band_mask |= BIT(wlan_reg_freq_to_band(chan->ch_freq)); in policy_mgr_get_connected_vdev_band_mask() 3996 uint32_t ch_freq) in policy_mgr_disallow_mcc() argument 4010 if (pm_conc_connection_list[index].freq != ch_freq) { in policy_mgr_disallow_mcc() [all …]
|
H A D | wlan_policy_mgr_i.h | 766 uint32_t ch_freq, 863 uint32_t ch_freq, uint32_t num_connections, bool is_dfs_ch, 882 uint32_t ch_freq, uint32_t *list, 1088 uint32_t ch_freq,
|
H A D | wlan_policy_mgr_pcl.c | 493 uint32_t i, j = 0, ch_freq; in policy_mgr_update_valid_ch_freq_list() local 497 ch_freq = reg_ch_list[i].center_freq; in policy_mgr_update_valid_ch_freq_list() 500 pm_ctx->pdev, ch_freq, in policy_mgr_update_valid_ch_freq_list() 505 pm_ctx->pdev, ch_freq); in policy_mgr_update_valid_ch_freq_list() 4520 uint32_t policy_mgr_get_connection_count_with_ch_freq(uint32_t ch_freq) in policy_mgr_get_connection_count_with_ch_freq() argument 4527 ch_freq == pm_conc_connection_list[i].freq) in policy_mgr_get_connection_count_with_ch_freq() 4541 uint32_t ch_freq = 0; in policy_mgr_get_alternate_channel_for_sap() local 4591 ch_freq = pcl_channels[i]; in policy_mgr_get_alternate_channel_for_sap() 4593 } else if (!ch_freq) { in policy_mgr_get_alternate_channel_for_sap() 4594 ch_freq = pcl_channels[i]; in policy_mgr_get_alternate_channel_for_sap() [all …]
|
/wlan-driver/qca-wifi-host-cmn/target_if/mlme/psoc/src/ |
H A D | target_if_psoc_wake_lock.c | 206 uint32_t ch_freq, prev_ch_freq; in target_if_vdev_start_link_handler() local 221 ch_freq = curr_channel->ch_freq; in target_if_vdev_start_link_handler() 223 is_dfs = wlan_reg_is_dfs_for_freq(pdev, ch_freq); in target_if_vdev_start_link_handler() 228 pdev, ch_freq, &ch_params, in target_if_vdev_start_link_handler() 241 prev_ch_freq = prev_channel->ch_freq; in target_if_vdev_start_link_handler() 282 uint32_t ch_freq; in target_if_vdev_stop_link_handler() local 296 ch_freq = curr_channel->ch_freq; in target_if_vdev_stop_link_handler() 298 is_dfs = wlan_reg_is_dfs_for_freq(pdev, ch_freq); in target_if_vdev_stop_link_handler() 313 ch_freq, in target_if_vdev_stop_link_handler()
|
/wlan-driver/qcacld-3.0/components/cmn_services/policy_mgr/inc/ |
H A D | wlan_policy_mgr_api.h | 693 uint32_t ch_freq); 720 uint8_t vdev_id, uint32_t ch_freq); 738 uint8_t vdev_id, uint32_t ch_freq, 882 uint8_t vdev_id, uint32_t ch_freq, 888 uint8_t vdev_id, uint32_t ch_freq, in policy_mgr_change_sap_channel_with_csa() argument 1013 uint32_t ch_freq, uint32_t ch_width, 1032 uint32_t ch_freq, uint32_t ch_width); 1043 uint32_t ch_freq, uint32_t ch_width, in policy_mgr_process_forcescc_for_go() argument 1050 uint32_t ch_freq, uint32_t ch_width) in policy_mgr_do_go_plus_go_force_scc() argument 1520 uint32_t *ch_freq); [all …]
|
/wlan-driver/qca-wifi-host-cmn/umac/mlme/connection_mgr/dispatcher/src/ |
H A D | wlan_cm_api.c | 487 qdf_freq_t ch_freq, in wlan_cm_sta_set_chan_param() argument 512 if (WLAN_REG_IS_6GHZ_CHAN_FREQ(ch_freq)) in wlan_cm_sta_set_chan_param() 519 if (WLAN_REG_IS_24GHZ_CH_FREQ(ch_freq)) { in wlan_cm_sta_set_chan_param() 524 if (center_freq_40 == ch_freq + BW_10_MHZ) in wlan_cm_sta_set_chan_param() 525 sec_ch_2g_freq = ch_freq + BW_20_MHZ; in wlan_cm_sta_set_chan_param() 526 if (center_freq_40 == ch_freq - BW_10_MHZ) in wlan_cm_sta_set_chan_param() 527 sec_ch_2g_freq = ch_freq - BW_20_MHZ; in wlan_cm_sta_set_chan_param() 531 ch_freq, in wlan_cm_sta_set_chan_param() 537 wlan_vdev_get_id(vdev), ch_freq, in wlan_cm_sta_set_chan_param() 544 wlan_reg_fill_channel_list_for_pwrmode(pdev, ch_freq, in wlan_cm_sta_set_chan_param() [all …]
|
H A D | wlan_cm_ucfg_api.c | 118 sta_freq = bss_chan->ch_freq; in ucfg_cm_get_connected_band()
|
/wlan-driver/qca-wifi-host-cmn/umac/mlme/connection_mgr/core/src/ |
H A D | wlan_cm_connect_scan.c | 41 qdf_freq_t ch_freq; in cm_fill_scan_req() local 86 ch_freq = cm_req->req.chan_freq; in cm_fill_scan_req() 88 if (!ch_freq) in cm_fill_scan_req() 89 ch_freq = cm_req->req.chan_freq_hint; in cm_fill_scan_req() 90 if (ch_freq) { in cm_fill_scan_req() 93 ch_freq, in cm_fill_scan_req() 103 req->scan_req.chan_list.chan[0].freq = ch_freq; in cm_fill_scan_req()
|
/wlan-driver/qcacld-3.0/core/wma/src/ |
H A D | wma_ocb.c | 60 des_chan->ch_freq = config->channels[0].chan_freq; in wma_start_ocb_vdev() 61 if (wlan_reg_is_24ghz_ch_freq(des_chan->ch_freq)) in wma_start_ocb_vdev() 66 wlan_reg_freq_to_chan(wma->pdev, des_chan->ch_freq); in wma_start_ocb_vdev()
|
H A D | wma_scan_roam.c | 713 wma->interfaces[vdev_id].ch_freq = in wma_roam_update_vdev() 716 wma->interfaces[vdev_id].ch_freq = in wma_roam_update_vdev() 789 wma->interfaces[vdev_id].ch_freq, in wma_roam_update_vdev() 830 channel = wlan_reg_freq_to_chan(pdev, iface->ch_freq); in wma_update_phymode_on_roam() 835 wma_get_phy_mode_cb(iface->ch_freq, in wma_update_phymode_on_roam() 844 des_chan->ch_freq = chan->mhz; in wma_update_phymode_on_roam() 846 if (wlan_reg_is_24ghz_ch_freq(des_chan->ch_freq) && in wma_update_phymode_on_roam() 849 if (des_chan->ch_freq < chan->band_center_freq1) in wma_update_phymode_on_roam() 850 sec_ch_2g_freq = des_chan->ch_freq + 20; in wma_update_phymode_on_roam() 852 sec_ch_2g_freq = des_chan->ch_freq - 20; in wma_update_phymode_on_roam() [all …]
|
/wlan-driver/qcacld-3.0/components/umac/mlme/sap/ll_sap/dispatcher/src/ |
H A D | wlan_ll_sap_api.c | 61 uint32_t ch_freq = 0; in wlan_ll_sap_switch_bearer_on_sta_connect_start() local 91 ch_freq = entry->channel.chan_freq; in wlan_ll_sap_switch_bearer_on_sta_connect_start() 96 if (policy_mgr_2_freq_always_on_same_mac(psoc, ch_freq, in wlan_ll_sap_switch_bearer_on_sta_connect_start() 99 ch_freq, ll_lt_sap_freq); in wlan_ll_sap_switch_bearer_on_sta_connect_start() 104 ch_freq = 0; in wlan_ll_sap_switch_bearer_on_sta_connect_start()
|
/wlan-driver/qcacld-3.0/components/tdls/core/src/ |
H A D | wlan_tdls_peer.c | 640 qdf_freq_t ch_freq, allowed_freq; in tdls_extract_peer_state_param() local 686 ch_freq = peer->pref_off_chan_freq; in tdls_extract_peer_state_param() 687 if (wlan_reg_is_dfs_for_freq(pdev, ch_freq)) { in tdls_extract_peer_state_param() 708 ch_freq = peer->supported_chan_freq[i]; in tdls_extract_peer_state_param() 709 if (allowed_freq && allowed_freq != ch_freq) in tdls_extract_peer_state_param() 713 pdev, ch_freq, in tdls_extract_peer_state_param() 717 !wlan_reg_is_dfs_for_freq(pdev, ch_freq) && in tdls_extract_peer_state_param() 718 !wlan_reg_is_dsrc_freq(ch_freq)) { in tdls_extract_peer_state_param() 719 peer_param->peer_cap.peer_chan[num].ch_freq = ch_freq; in tdls_extract_peer_state_param() 720 if (!wlan_reg_is_6ghz_chan_freq(ch_freq)) { in tdls_extract_peer_state_param() [all …]
|
H A D | wlan_tdls_peer.h | 239 QDF_STATUS tdls_set_extctrl_param(struct tdls_peer *peer, qdf_freq_t ch_freq,
|
/wlan-driver/qcacld-3.0/core/hdd/src/ |
H A D | wlan_hdd_ipa.c | 53 qdf_freq_t ch_freq; member 313 conn->ch_freq = ctx->conn_info.chan_freq; in hdd_ipa_fill_sta_connection_info() 325 conn->ch_freq = ctx->operating_chan_freq; in hdd_ipa_fill_sap_connection_info() 349 uint32_t new_freq = conn->ch_freq; in hdd_ipa_get_tx_pipe_multi_conn() 396 *tx_pipe = WLAN_REG_IS_24GHZ_CH_FREQ(conn.ch_freq); in hdd_ipa_get_tx_pipe()
|
H A D | wlan_hdd_cm_connect.c | 598 if (!wlan_reg_is_5ghz_ch_freq(chan->ch_freq)) in hdd_get_sap_adapter_of_dfs() 608 chan->ch_freq, in hdd_get_sap_adapter_of_dfs() 644 qdf_freq_t ch_freq = 0; in wlan_hdd_cm_handle_sap_sta_dfs_conc() local 675 ch_freq = req->channel->center_freq; in wlan_hdd_cm_handle_sap_sta_dfs_conc() 713 ch_freq = cur_node->entry->channel.chan_freq; in wlan_hdd_cm_handle_sap_sta_dfs_conc() 722 if (WLAN_REG_IS_24GHZ_CH_FREQ(ch_freq)) { in wlan_hdd_cm_handle_sap_sta_dfs_conc() 728 ch_freq && in wlan_hdd_cm_handle_sap_sta_dfs_conc() 730 ch_freq, in wlan_hdd_cm_handle_sap_sta_dfs_conc() 733 ch_freq, hdd_ap_ctx->operating_chan_freq); in wlan_hdd_cm_handle_sap_sta_dfs_conc() 744 if (ch_freq) in wlan_hdd_cm_handle_sap_sta_dfs_conc() [all …]
|
H A D | wlan_hdd_hostapd.h | 126 uint8_t vdev_id, uint32_t ch_freq, 141 uint8_t vdev_id, uint32_t *ch_freq); 157 uint8_t vdev_id, uint32_t *ch_freq);
|
/wlan-driver/qcacld-3.0/components/cmn_services/interface_mgr/src/ |
H A D | wlan_if_mgr_roam.c | 477 (chan->ch_cfreq1 != bss_arg->ch_freq || in if_mgr_validate_sta_bcn_intrvl() 478 chan->ch_cfreq2 != bss_arg->ch_freq)) { in if_mgr_validate_sta_bcn_intrvl() 485 (chan->ch_cfreq1 != bss_arg->ch_freq || in if_mgr_validate_sta_bcn_intrvl() 486 chan->ch_cfreq2 != bss_arg->ch_freq) && in if_mgr_validate_sta_bcn_intrvl() 579 if ((chan->ch_cfreq1 != bss_arg->ch_freq || in if_mgr_validate_p2pcli_bcn_intrvl() 580 chan->ch_cfreq2 != bss_arg->ch_freq) && in if_mgr_validate_p2pcli_bcn_intrvl() 634 (chan->ch_cfreq1 != bss_arg->ch_freq || in if_mgr_validate_p2pgo_bcn_intrvl() 635 chan->ch_cfreq2 != bss_arg->ch_freq) && in if_mgr_validate_p2pgo_bcn_intrvl() 726 bss_arg.ch_freq = candidate->chan_freq; in if_mgr_is_beacon_interval_valid()
|
/wlan-driver/qcacld-3.0/components/cmn_services/logging/src/ |
H A D | wlan_connectivity_logging.c | 485 wlan_convert_freq_to_diag_band(chan_info->ch_freq); in wlan_connectivity_mlo_reconfig_event() 505 (qdf_freq_t)link_chan_info->ch_freq)) { in wlan_populate_link_addr() 510 (qdf_freq_t)link_chan_info->ch_freq)) { in wlan_populate_link_addr() 515 link_chan_info->ch_freq)) { in wlan_populate_link_addr() 535 link_chan_info->ch_freq); in wlan_populate_band_bitmap() 618 wlan_convert_freq_to_diag_band(uint16_t ch_freq) in wlan_convert_freq_to_diag_band() argument 622 band = wlan_reg_freq_to_band((qdf_freq_t)ch_freq); in wlan_convert_freq_to_diag_band() 692 wlan_convert_freq_to_diag_band(chan_info->ch_freq); in wlan_connectivity_mlo_setup_event() 721 freq = link_info->link_chan_info->ch_freq; in wlan_populate_tid_link_id_bitmap() 1125 freq = link_info->link_chan_info->ch_freq; in wlan_convert_link_id_to_diag_band() [all …]
|
/wlan-driver/qcacld-3.0/core/sme/src/csr/ |
H A D | csr_api_scan.c | 368 uint32_t ch_freq = 0; in csr_save_channel_power_for_band() local 383 ch_freq = mac->scan.defaultPowerTable[idx].center_freq; in csr_save_channel_power_for_band() 384 tmp_bool = (fill_5f && WLAN_REG_IS_5GHZ_CH_FREQ(ch_freq)) || in csr_save_channel_power_for_band() 385 (!fill_5f && WLAN_REG_IS_24GHZ_CH_FREQ(ch_freq)); in csr_save_channel_power_for_band() 987 uint32_t ch_freq; in csr_scan_filter_results() local 1002 ch_freq = mac_ctx->mlme_cfg->reg.valid_channel_freq_list[i]; in csr_scan_filter_results() 1003 valid_ch_freq_list[valid_chan_len++] = ch_freq; in csr_scan_filter_results()
|
/wlan-driver/qcacld-3.0/core/sap/src/ |
H A D | sap_fsm.c | 825 qdf_freq_t ch_freq; in sap_dfs_is_channel_in_nol_list() local 861 ch_freq = freq_list[i]; in sap_dfs_is_channel_in_nol_list() 865 pdev, ch_freq); in sap_dfs_is_channel_in_nol_list() 868 sap_err_rl("Invalid ch freq = %d, ch state=%d", ch_freq, in sap_dfs_is_channel_in_nol_list() 2179 uint32_t count, uint16_t ch_freq) in find_ch_freq_in_radar_hist() argument 2182 if (radar_result->ch_freq == ch_freq) in find_ch_freq_in_radar_hist() 2222 radar_result[*idx].ch_freq = ch_param.mhz_freq_seg0; in sap_append_cac_history() 2260 radar_result[*idx].ch_freq = chan_cfreq; in sap_append_cac_history() 2300 radar_result[i].ch_freq = nol_info->dfs_nol[i].nol_freq; in wlansap_query_radar_history() 4547 uint32_t ch_freq; in sap_get_freq_list() local [all …]
|
/wlan-driver/qca-wifi-host-cmn/umac/mlo_mgr/src/ |
H A D | wlan_mlo_mgr_primary_umac.c | 464 uint16_t ch_freq, assoc_freq; in wlan_vdev_derive_link_rssi() local 478 ch_freq = channel->ch_freq; in wlan_vdev_derive_link_rssi() 480 ch_freq = 1; in wlan_vdev_derive_link_rssi() 484 assoc_freq = assoc_channel->ch_freq; in wlan_vdev_derive_link_rssi() 493 log10_freq = (ch_freq * 10) / assoc_freq; in wlan_vdev_derive_link_rssi() 507 tx_pow = wlan_reg_get_channel_reg_power_for_freq(pdev, ch_freq); in wlan_vdev_derive_link_rssi()
|
/wlan-driver/qcacld-3.0/components/cmn_services/interface_mgr/inc/ |
H A D | wlan_if_mgr_roam.h | 94 qdf_freq_t ch_freq; member
|
/wlan-driver/qca-wifi-host-cmn/umac/mlme/vdev_mgr/core/src/ |
H A D | vdev_mgr_ops.c | 491 vdev_mgr_is_49G_5G_chan_freq(des_chan->ch_freq)) { in vdev_mgr_start_param_update() 493 tgt_dfs_set_current_channel_for_freq(pdev, des_chan->ch_freq, in vdev_mgr_start_param_update() 535 param->channel.mhz = des_chan->ch_freq; in vdev_mgr_start_param_update() 542 des_chan->ch_freq); in vdev_mgr_start_param_update() 743 mlme_obj->vdev->vdev_mlme.des_chan->ch_freq)) in vdev_mgr_configure_fd_for_sap()
|