Home
last modified time | relevance | path

Searched refs:chan_freq (Results 1 – 25 of 200) sorted by relevance

12345678

/wlan-driver/qcacld-3.0/core/sap/src/
Dsap_ch_select.c302 uint32_t chan_freq; in sap_process_avoid_ie() local
332 chan_freq = in sap_process_avoid_ie()
336 sap_debug("Q2Q-IE avoid freq = %d", chan_freq); in sap_process_avoid_ie()
346 if (spect_ch[i].chan_freq != chan_freq) in sap_process_avoid_ie()
456 ch_info->chan_freq = *ch_list; in sap_chan_sel_init()
481 ch_info->chan_freq))) { in sap_chan_sel_init()
483 ch_info->chan_freq)) { in sap_chan_sel_init()
509 if (wlan_reg_is_dsrc_freq(ch_info->chan_freq)) in sap_chan_sel_init()
531 ch_info->chan_freq, in sap_chan_sel_init()
613 (struct mac_context *p_mac, uint32_t chan_freq) in sap_get_channel_status() argument
[all …]
Dsap_fsm.c217 sap_ctx->chan_freq, in sap_is_chan_change_needed()
224 sap_ctx->chan_freq, in sap_is_chan_change_needed()
231 sap_ctx->chan_freq); in sap_is_chan_change_needed()
261 uint16_t chan_freq; in sap_random_channel_sel() local
321 sap_ctx->chan_freq != sap_ctx->candidate_freq && in sap_random_channel_sel()
323 chan_freq = sap_ctx->candidate_freq; in sap_random_channel_sel()
326 wlan_reg_set_channel_params_for_pwrmode(pdev, chan_freq, 0, in sap_random_channel_sel()
329 sap_debug("random chan select candidate freq=%d", chan_freq); in sap_random_channel_sel()
334 &hw_mode, &chan_freq, &acs_info))) { in sap_random_channel_sel()
348 return chan_freq; in sap_random_channel_sel()
[all …]
Dsap_module.c465 qdf_freq_t chan_freq, in wlansap_is_channel_in_nol_list() argument
473 return sap_dfs_is_channel_in_nol_list(sap_ctx, chan_freq, in wlansap_is_channel_in_nol_list()
487 uint16_t chan_freq, in wlansap_is_channel_leaking_in_nol() argument
493 leakage_adjusted_lst[0] = chan_freq; in wlansap_is_channel_leaking_in_nol()
526 sap_ctx->chan_freq, in wlansap_check_cc_intf()
573 wlansap_set_acs_ch_freq(psap_ctx, config->chan_freq); in wlansap_set_scan_acs_channel_params()
820 sap_ctx->chan_freq = config->chan_freq; in wlansap_start_bss()
1326 uint32_t chan_freq, in wlansap_5g_original_bw_validate() argument
1331 WLAN_REG_IS_5GHZ_CH_FREQ(chan_freq) && in wlansap_5g_original_bw_validate()
1352 uint32_t chan_freq, in wlansap_2g_original_bw_validate() argument
[all …]
/wlan-driver/qcacld-3.0/components/umac/mlme/sap/ll_sap/dispatcher/src/
Dwlan_ll_sap_api.c91 ch_freq = entry->channel.chan_freq; in wlan_ll_sap_switch_bearer_on_sta_connect_start()
172 qdf_freq_t chan_freq) in wlan_ll_lt_sap_override_freq() argument
177 return chan_freq; in wlan_ll_lt_sap_override_freq()
183 if (!policy_mgr_get_connection_count_with_ch_freq(chan_freq)) in wlan_ll_lt_sap_override_freq()
184 return chan_freq; in wlan_ll_lt_sap_override_freq()
189 chan_freq, freq); in wlan_ll_lt_sap_override_freq()
195 qdf_freq_t chan_freq, in wlan_get_ll_lt_sap_restart_freq() argument
202 if (wlan_reg_is_disable_in_secondary_list_for_freq(pdev, chan_freq) && in wlan_get_ll_lt_sap_restart_freq()
203 !utils_dfs_is_freq_in_nol(pdev, chan_freq)) { in wlan_get_ll_lt_sap_restart_freq()
206 } else if (wlan_reg_is_passive_for_freq(pdev, chan_freq)) { in wlan_get_ll_lt_sap_restart_freq()
[all …]
/wlan-driver/qcacld-3.0/core/mac/src/pe/lim/
Dlim_scan_result_utils.c73 uint32_t chan_freq; in lim_collect_bss_description() local
134 chan_freq = lim_get_channel_from_beacon(mac, pBPR); in lim_collect_bss_description()
135 pBssDescr->chan_freq = chan_freq; in lim_collect_bss_description()
139 lim_get_nw_type(mac, chan_freq, SIR_MAC_MGMT_FRAME, pBPR); in lim_collect_bss_description()
195 pBPR->chan_freq = chan_freq; in lim_collect_bss_description()
Dlim_process_probe_rsp_frame.c224 probe_rsp->chan_freq); in lim_update_mlo_mgr_prb_info()
300 uint32_t chan_freq = 0; in lim_process_probe_rsp_frame() local
417 chan_freq = in lim_process_probe_rsp_frame()
420 lim_received_hb_handler(mac_ctx, chan_freq, in lim_process_probe_rsp_frame()
424 probe_rsp->chan_freq, in lim_process_probe_rsp_frame()
/wlan-driver/qcacld-3.0/components/umac/mlme/sap/ll_sap/dispatcher/inc/
Dwlan_ll_sap_api.h143 qdf_freq_t chan_freq);
161 qdf_freq_t chan_freq,
219 qdf_freq_t chan_freq) in wlan_ll_lt_sap_override_freq() argument
221 return chan_freq; in wlan_ll_lt_sap_override_freq()
226 qdf_freq_t chan_freq, in wlan_get_ll_lt_sap_restart_freq() argument
/wlan-driver/qcacld-3.0/core/hdd/src/
Dwlan_hdd_pre_cac.c67 qdf_freq_t chan_freq; in wlan_hdd_pre_cac_success() local
97 chan_freq = ucfg_pre_cac_get_freq(ap_adapter->deflink->vdev); in wlan_hdd_pre_cac_success()
99 chan_freq, in wlan_hdd_pre_cac_success()
212 uint32_t chan_freq, in __wlan_hdd_request_pre_cac() argument
273 if (chan_freq) { in __wlan_hdd_request_pre_cac()
275 if (wlan_set_def_pre_cac_chan(hdd_ctx, chan_freq, &chandef, in __wlan_hdd_request_pre_cac()
277 hdd_err("failed to set pre_cac channel %d", chan_freq); in __wlan_hdd_request_pre_cac()
281 hdd_debug("channel: %d bw: %d", chan_freq, cac_ch_width); in __wlan_hdd_request_pre_cac()
283 ret = ucfg_pre_cac_validate_and_get_freq(hdd_ctx->pdev, chan_freq, in __wlan_hdd_request_pre_cac()
500 int wlan_hdd_request_pre_cac(struct hdd_context *hdd_ctx, uint32_t chan_freq) in wlan_hdd_request_pre_cac() argument
[all …]
Dwlan_hdd_lpass.c44 uint32_t chan_freq) in wlan_hdd_get_channel_info() argument
50 status = sme_get_reg_info(hdd_ctx->mac_handle, chan_freq, in wlan_hdd_get_channel_info()
55 chan_info->mhz = chan_freq; in wlan_hdd_get_channel_info()
60 wlan_reg_get_channel_state_for_pwrmode(hdd_ctx->pdev, chan_freq, in wlan_hdd_get_channel_info()
64 hdd_update_channel_bw_info(hdd_ctx, chan_freq, in wlan_hdd_get_channel_info()
166 data->freq = sta_ctx->conn_info.chan_freq; in wlan_hdd_gen_wlan_status_pack()
/wlan-driver/qcacld-3.0/components/cmn_services/interface_mgr/src/
Dwlan_if_mgr_roam.c726 bss_arg.ch_freq = candidate->chan_freq; in if_mgr_is_beacon_interval_valid()
876 uint32_t chan_freq = candidate_info->chan_freq; in if_mgr_validate_candidate() local
896 chan_freq)) { in if_mgr_validate_candidate()
899 chan_freq, in if_mgr_validate_candidate()
900 wlan_reg_is_freq_indoor(pdev, chan_freq)); in if_mgr_validate_candidate()
908 if (policy_mgr_get_ll_lt_sap_freq(psoc) == chan_freq) { in if_mgr_validate_candidate()
910 chan_freq); in if_mgr_validate_candidate()
947 !policy_mgr_is_concurrency_allowed(psoc, mode, chan_freq, in if_mgr_validate_candidate()
951 chan_freq, in if_mgr_validate_candidate()
960 if (!policy_mgr_is_hwmode_set_for_given_chnl(psoc, chan_freq)) { in if_mgr_validate_candidate()
[all …]
/wlan-driver/qca-wifi-host-cmn/umac/scan/core/src/
Dwlan_scan_cache_db.c75 uint32_t chan_freq) in scm_get_chan_meta() argument
80 if (!psoc || !chan_freq || !wlan_reg_is_6ghz_chan_freq(chan_freq)) in scm_get_chan_meta()
88 if (rnr_channel_db->channel[i].chan_freq == chan_freq) in scm_get_chan_meta()
128 uint32_t chan_freq; in scm_add_rnr_channel_db() local
134 chan_freq = entry->channel.chan_freq; in scm_add_rnr_channel_db()
135 is_6g_bss = wlan_reg_is_6ghz_chan_freq(chan_freq); in scm_add_rnr_channel_db()
141 scm_debug("BSS freq %d BSSID: "QDF_MAC_ADDR_FMT, chan_freq, in scm_add_rnr_channel_db()
144 channel = scm_get_chan_meta(psoc, chan_freq); in scm_add_rnr_channel_db()
146 scm_debug("Failed to get chan Meta freq %d", chan_freq); in scm_add_rnr_channel_db()
165 chan_freq = wlan_reg_chan_opclass_to_freq(rnr_bss->channel_number, in scm_add_rnr_channel_db()
[all …]
Dwlan_scan_filter.c732 band = wlan_reg_freq_to_band(db_entry->channel.chan_freq); in scm_mlo_filter_match()
737 db_entry->channel.chan_freq, filter->band_bitmap); in scm_mlo_filter_match()
821 band_mask = BIT(wlan_reg_freq_to_band(db_entry->channel.chan_freq)); in scm_eht_puncture_valid()
842 db_entry->channel.chan_freq, in scm_eht_puncture_valid()
849 db_entry->channel.chan_freq, width, center_freq_320m, in scm_eht_puncture_valid()
941 WLAN_REG_IS_6GHZ_CHAN_FREQ(db_entry->channel.chan_freq)) { in scm_filter_match()
949 db_entry->channel.chan_freq); in scm_filter_match()
963 utils_dfs_is_freq_in_nol(pdev, db_entry->channel.chan_freq)) { in scm_filter_match()
975 db_entry->channel.chan_freq) { in scm_filter_match()
990 db_entry->channel.chan_freq); in scm_filter_match()
/wlan-driver/qcacld-3.0/os_if/p2p/src/
Dwlan_cfg80211_p2p.c302 chan = ieee80211_get_channel(wdev->wiphy, p2p_event->chan_freq); in wlan_p2p_event_callback()
383 roc_req.chan_freq = chan->center_freq; in wlan_cfg80211_roc()
395 osif_err("channel%d not OK for DNBS", roc_req.chan_freq); in wlan_cfg80211_roc()
432 qdf_freq_t chan_freq = 0; in wlan_cfg80211_mgmt_tx() local
441 chan_freq = chan->center_freq; in wlan_cfg80211_mgmt_tx()
460 ret = policy_mgr_is_chan_ok_for_dnbs(psoc, chan_freq, &ok); in wlan_cfg80211_mgmt_tx()
468 chan_freq); in wlan_cfg80211_mgmt_tx()
474 mgmt_tx.chan_freq = chan_freq; in wlan_cfg80211_mgmt_tx()
/wlan-driver/qcacld-3.0/components/pkt_capture/core/src/
Dwlan_pkt_capture_mgmt_txrx.c179 uint8_t chan = wlan_freq_to_chan(txrx_status->chan_freq); in pkt_capture_mgmtpkt_process()
193 txrx_status->chan_freq; in pkt_capture_mgmtpkt_process()
221 vdev_priv->curr_freq = txrx_status->chan_freq; in pkt_capture_mgmtpkt_process()
259 pkt->status = txrx_status->chan_freq; in pkt_capture_mgmtpkt_process()
392 txrx_status.chan_num = wlan_reg_freq_to_chan(pdev, params->chan_freq); in pkt_capture_process_mgmt_tx_data()
393 txrx_status.chan_freq = params->chan_freq; in pkt_capture_process_mgmt_tx_data()
429 uint16_t chan_freq, in pkt_capture_mgmt_tx() argument
480 params.chan_freq = chan_freq; in pkt_capture_mgmt_tx()
727 txrx_status.chan_freq = rx_params->chan_freq; in pkt_capture_mgmt_rx_data_cb()
/wlan-driver/qcacld-3.0/components/p2p/core/src/
Dwlan_p2p_roc.c122 req->scan_req.chan_list.chan[0].freq = roc_ctx->chan_freq; in p2p_scan_start()
293 p2p_evt.chan_freq = roc_ctx->chan_freq; in p2p_send_roc_event()
323 roc_ctx->vdev_id, roc_ctx->chan_freq, roc_ctx->duration); in p2p_destroy_roc_ctx()
411 roc_ctx->scan_id, roc_ctx->tx_ctx, roc_ctx->chan_freq, in p2p_roc_timeout()
440 roc_ctx->scan_id, roc_ctx->tx_ctx, roc_ctx->chan_freq, in p2p_execute_roc_req()
670 roc_ctx->tx_ctx, roc_ctx->chan_freq, in p2p_find_current_roc_ctx()
706 struct p2p_soc_priv_obj *p2p_soc_obj, qdf_freq_t chan_freq) in p2p_find_roc_by_chan_freq() argument
717 if (roc_ctx->chan_freq == chan_freq) { in p2p_find_roc_by_chan_freq()
724 roc_ctx->tx_ctx, roc_ctx->chan_freq, in p2p_find_roc_by_chan_freq()
840 roc_ctx->tx_ctx, roc_ctx->chan_freq, in p2p_process_cleanup_roc_queue()
[all …]
/wlan-driver/qcacld-3.0/components/pre_cac/core/src/
Dwlan_pre_cac_main.c286 uint32_t chan_freq, in pre_cac_validate_and_get_freq() argument
307 if (!chan_freq) { in pre_cac_validate_and_get_freq()
362 if (wlan_reg_is_5ghz_ch_freq(chan_freq) && in pre_cac_validate_and_get_freq()
364 pdev, chan_freq, &ch_params, in pre_cac_validate_and_get_freq()
372 if (!wlan_mlme_is_channel_valid(psoc, chan_freq) || in pre_cac_validate_and_get_freq()
375 chan_freq, is_ch_dfs); in pre_cac_validate_and_get_freq()
378 *pre_cac_chan_freq = chan_freq; in pre_cac_validate_and_get_freq()
/wlan-driver/qca-wifi-host-cmn/umac/mlme/connection_mgr/core/src/
Dwlan_cm_bss_scoring.c601 cm_get_pcl_weight_of_channel(uint32_t chan_freq, in cm_get_pcl_weight_of_channel() argument
612 if (pcl_lst->pcl_freq_list[i] == chan_freq) { in cm_get_pcl_weight_of_channel()
863 entry->channel.chan_freq, in cm_is_assoc_allowed()
905 if (WLAN_REG_IS_24GHZ_CH_FREQ(entry->channel.chan_freq)) { in cm_calculate_bandwidth()
1218 entry->channel.chan_freq, data_rate_kbps, in cm_calculate_etp()
1264 entry->channel.chan_freq, entry->rssi_raw, is_ht, in cm_calculate_etp()
1302 WLAN_REG_IS_6GHZ_CHAN_FREQ(entry->channel.chan_freq))) in cm_calculate_etp_score()
1306 nss = cm_get_sta_nss(psoc, entry->channel.chan_freq, in cm_calculate_etp_score()
1365 cm_get_pcl_weight_of_channel(uint32_t chan_freq, in cm_get_pcl_weight_of_channel() argument
1712 if (WLAN_REG_IS_24GHZ_CH_FREQ(entry->channel.chan_freq)) { in cm_get_ch_width()
[all …]
/wlan-driver/qcacld-3.0/core/hdd/inc/
Dwlan_hdd_pre_cac.h36 int wlan_hdd_request_pre_cac(struct hdd_context *hdd_ctx, uint32_t chan_freq);
65 wlan_hdd_request_pre_cac(struct hdd_context *hdd_ctx, uint32_t chan_freq) in wlan_hdd_request_pre_cac() argument
/wlan-driver/qcacld-3.0/components/p2p/dispatcher/inc/
Dwlan_p2p_public_struct.h73 qdf_freq_t chan_freq; member
102 qdf_freq_t chan_freq; member
153 qdf_freq_t chan_freq; member
/wlan-driver/qca-wifi-host-cmn/umac/dfs/dispatcher/inc/
Dwlan_dfs_mlme_api.h171 uint16_t chan_freq,
307 uint32_t chan_freq);
312 uint32_t chan_freq) in dfs_mlme_check_allowed_prim_chanlist() argument
/wlan-driver/qcacld-3.0/components/ocb/dispatcher/inc/
Dwlan_ocb_public_structs.h63 uint32_t chan_freq; member
110 uint32_t chan_freq; member
145 uint32_t chan_freq; member
/wlan-driver/qca-wifi-host-cmn/umac/scan/dispatcher/src/
Dwlan_scan_utils_api.c205 (entry1->channel.chan_freq == in util_is_scan_entry_match()
206 entry2->channel.chan_freq)) { in util_is_scan_entry_match()
574 qdf_freq_t *chan_freq, in util_scan_get_chan_from_he_6g_params() argument
606 *chan_freq = wlan_reg_chan_band_to_freq(pdev, in util_scan_get_chan_from_he_6g_params()
610 !wlan_reg_is_freq_enabled(pdev, *chan_freq, REG_BEST_PWR_MODE)) { in util_scan_get_chan_from_he_6g_params()
613 he_6g_params->primary_channel, *chan_freq); in util_scan_get_chan_from_he_6g_params()
715 qdf_freq_t *chan_freq, in util_scan_get_chan_from_he_6g_params() argument
775 scan_params->channel.chan_freq); in util_scan_get_phymode_5g()
927 scan_params->channel.chan_freq); in util_scan_get_phymode_2g()
969 if (WLAN_REG_IS_24GHZ_CH_FREQ(scan_params->channel.chan_freq)) in util_scan_get_phymode()
[all …]
/wlan-driver/qca-wifi-host-cmn/umac/dfs/core/src/filtering/
Ddfs_init.c448 int chan_freq; in dfs_is_en302_502_applicable() local
455 chan_freq = dfs->dfs_curchan->dfs_ch_mhz_freq_seg1; in dfs_is_en302_502_applicable()
472 chan_freq, chan_width / 2, in dfs_is_en302_502_applicable()
477 chan_freq = dfs->dfs_curchan->dfs_ch_mhz_freq_seg2; in dfs_is_en302_502_applicable()
480 chan_freq, chan_width / 2, in dfs_is_en302_502_applicable()
485 chan_freq, chan_width, in dfs_is_en302_502_applicable()
/wlan-driver/qcacld-3.0/components/pre_cac/dispatcher/src/
Dwlan_pre_cac_ucfg_api.c75 uint32_t chan_freq, in ucfg_pre_cac_validate_and_get_freq() argument
79 return pre_cac_validate_and_get_freq(pdev, chan_freq, in ucfg_pre_cac_validate_and_get_freq()
/wlan-driver/qca-wifi-host-cmn/dp/inc/
Dcdp_txrx_flow_ctrl_legacy.h60 uint8_t vdev_id, uint32_t chan_freq) in cdp_hl_fc_set_td_limit() argument
66 chan_freq); in cdp_hl_fc_set_td_limit()
89 uint8_t vdev_id, uint32_t chan_freq) in cdp_hl_fc_set_td_limit() argument

12345678