Home
last modified time | relevance | path

Searched refs:channel (Results 1 – 25 of 121) sorted by relevance

12345

/wlan-driver/qca-wifi-host-cmn/umac/scan/core/src/
Dwlan_scan_cache_db.c87 for (i = 0; i < QDF_ARRAY_SIZE(rnr_channel_db->channel); i++) in scm_get_chan_meta()
88 if (rnr_channel_db->channel[i].chan_freq == chan_freq) in scm_get_chan_meta()
89 return &rnr_channel_db->channel[i]; in scm_get_chan_meta()
130 struct meta_rnr_channel *channel; in scm_add_rnr_channel_db() local
134 chan_freq = entry->channel.chan_freq; in scm_add_rnr_channel_db()
144 channel = scm_get_chan_meta(psoc, chan_freq); in scm_add_rnr_channel_db()
145 if (!channel) { in scm_add_rnr_channel_db()
149 channel->bss_beacon_probe_count++; in scm_add_rnr_channel_db()
150 channel->beacon_probe_last_time_found = entry->scan_entry_time; in scm_add_rnr_channel_db()
168 channel = scm_get_chan_meta(psoc, chan_freq); in scm_add_rnr_channel_db()
[all …]
Dwlan_scan_manager_6ghz.c57 struct meta_rnr_channel *channel; in scm_sort_6ghz_channel_list() local
86 channel = scm_get_chan_meta(psoc, temp_list[i].freq); in scm_sort_6ghz_channel_list()
87 if (!channel) in scm_sort_6ghz_channel_list()
89 weight = channel->bss_beacon_probe_count * BCN_PROBE_WEIGHTAGE + in scm_sort_6ghz_channel_list()
90 channel->saved_profile_count * SAVED_PROFILE_WEIGHTAGE; in scm_sort_6ghz_channel_list()
100 if (weight || channel->bss_beacon_probe_count) in scm_sort_6ghz_channel_list()
103 channel->bss_beacon_probe_count); in scm_sort_6ghz_channel_list()
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/core/mac/src/pe/lim/
Dlim_utils.h633 struct pe_session *pe_session, uint8_t channel, in lim_select_cb_mode() argument
637 if (channel == 36 || channel == 52 || channel == 100 || in lim_select_cb_mode()
638 channel == 116 || channel == 149) { in lim_select_cb_mode()
640 } else if (channel == 40 || channel == 56 || channel == 104 || in lim_select_cb_mode()
641 channel == 120 || channel == 153) { in lim_select_cb_mode()
643 } else if (channel == 44 || channel == 60 || channel == 108 || in lim_select_cb_mode()
644 channel == 124 || channel == 157) { in lim_select_cb_mode()
646 } else if (channel == 48 || channel == 64 || channel == 112 || in lim_select_cb_mode()
647 channel == 128 || channel == 161) { in lim_select_cb_mode()
649 } else if (channel == 165) { in lim_select_cb_mode()
[all …]
Dlim_prop_exts_utils.c593 uint8_t channel = 0; in lim_extract_ap_capability() local
741 channel = wlan_reg_freq_to_chan(mac_ctx->pdev, in lim_extract_ap_capability()
752 lim_get_80Mhz_center_channel(channel); in lim_extract_ap_capability()
761 lim_get_80Mhz_center_channel(channel); in lim_extract_ap_capability()
766 lim_get_80Mhz_center_channel(channel); in lim_extract_ap_capability()
/wlan-driver/qcacld-3.0/core/hdd/src/
Dwlan_hdd_ext_scan.c268 nla_put_u32(skb, PARAM_CHANNEL, ap->channel) || in hdd_extscan_nl_fill_bss()
359 (sizeof(ap->channel) + NLA_HDRLEN) + \ in wlan_hdd_cfg80211_extscan_cached_results_ind()
423 ap->channel, ap->rssi, ap->rtt, ap->rtt_sd, in wlan_hdd_cfg80211_extscan_cached_results_ind()
571 data->ap[i].channel, data->ap[i].rssi, in wlan_hdd_cfg80211_extscan_hotlist_match_ind()
613 data->ap[i].channel) || in wlan_hdd_cfg80211_extscan_hotlist_match_ind()
696 ap_info->channel, ap_info->numOfRssi); in wlan_hdd_cfg80211_extscan_signif_wifi_change_results_ind()
737 ap_info->channel) || in wlan_hdd_cfg80211_extscan_signif_wifi_change_results_ind()
815 data->ap.channel = cds_chan_to_freq(data->ap.channel); in wlan_hdd_cfg80211_extscan_full_scan_result_event()
828 data->ap.channel, data->ap.rssi, data->ap.rtt, in wlan_hdd_cfg80211_extscan_full_scan_result_event()
847 data->ap.channel) || in wlan_hdd_cfg80211_extscan_full_scan_result_event()
[all …]
Dwlan_hdd_cfg80211.h214 #define IS_CHANNEL_VALID(channel) ((channel >= 0 && channel < 15) \ argument
215 || (channel >= 36 && channel <= 184))
Dwlan_hdd_debugfs_llstat.c306 chan_stat->channel.width, in hdd_debugfs_process_radio_stats()
307 chan_stat->channel.center_freq, in hdd_debugfs_process_radio_stats()
308 chan_stat->channel.center_freq0, in hdd_debugfs_process_radio_stats()
309 chan_stat->channel.center_freq1, in hdd_debugfs_process_radio_stats()
/wlan-driver/qca-wifi-host-cmn/umac/mlme/vdev_mgr/core/src/
Dvdev_mgr_ops.c227 param->channel.puncture_bitmap = des_chan->puncture_bitmap; in vdev_mgr_start_param_update_11be()
504 param->channel.dfs_set_cfreq2 = in vdev_mgr_start_param_update()
517 param->channel.is_stadfs_en = is_stadfs_en; in vdev_mgr_start_param_update()
533 param->channel.chan_id = des_chan->ch_ieee; in vdev_mgr_start_param_update()
534 param->channel.pwr = mlme_obj->mgmt.generic.tx_power; in vdev_mgr_start_param_update()
535 param->channel.mhz = des_chan->ch_freq; in vdev_mgr_start_param_update()
536 param->channel.half_rate = mlme_obj->mgmt.rate_info.half_rate; in vdev_mgr_start_param_update()
537 param->channel.quarter_rate = mlme_obj->mgmt.rate_info.quarter_rate; in vdev_mgr_start_param_update()
540 param->channel.dfs_set = wlan_reg_is_dfs_for_freq( in vdev_mgr_start_param_update()
544 param->channel.is_chan_passive = in vdev_mgr_start_param_update()
[all …]
/wlan-driver/qca-wifi-host-cmn/wmi/src/
Dwmi_unified_ocb_ut.c403 (int)req->vdev_id, req->channel.mhz, in fake_vdev_start_cmd_tlv()
404 req->channel.phy_mode, in fake_vdev_start_cmd_tlv()
405 (int)req->channel.dfs_set, req->beacon_intval, req->dtim_period, in fake_vdev_start_cmd_tlv()
406 req->channel.cfreq1, req->channel.cfreq2, in fake_vdev_start_cmd_tlv()
407 req->channel.maxregpower, in fake_vdev_start_cmd_tlv()
/wlan-driver/qca-wifi-host-cmn/umac/regulatory/core/src/
Dreg_opclass.h43 uint16_t reg_dmn_get_chanwidth_from_opclass(uint8_t *country, uint8_t channel,
54 uint16_t reg_dmn_get_opclass_from_channel(uint8_t *country, uint8_t channel,
327 uint8_t *country, uint8_t channel, uint8_t opclass) in reg_dmn_get_chanwidth_from_opclass() argument
345 uint8_t *country, uint8_t channel, uint8_t offset) in reg_dmn_get_opclass_from_channel() argument
506 uint8_t channel,
/wlan-driver/qca-wifi-host-cmn/umac/mlme/connection_mgr/core/src/
Dwlan_cm_bss_scoring.c863 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()
1634 puncture_bitmap = entry->channel.puncture_bitmap; in cm_get_puncture_bw()
1712 if (WLAN_REG_IS_24GHZ_CH_FREQ(entry->channel.chan_freq)) { in cm_get_ch_width()
1882 freq_entry = entry->channel.chan_freq; in cm_bss_mlo_type()
1888 freq[i] = entry_partner[i]->channel.chan_freq; in cm_bss_mlo_type()
[all …]
Dwlan_cm_connect.c777 event_data.validate_bss_info.chan_freq = scan_entry->channel.chan_freq; in cm_if_mgr_validate_candidate()
1033 freq = req->cur_candidate->entry->channel.chan_freq; in cm_is_retry_with_same_candidate()
1992 assoc_freq = scan_entry->channel.chan_freq; in cm_modify_partner_info_based_on_dbs_or_sbs_mode()
2737 req.bss->entry->channel.chan_freq, in cm_resume_connect_after_peer_create()
3064 struct wlan_channel channel = {0}; in cm_update_link_channel_info() local
3076 channel.ch_freq = cache_entry->channel.chan_freq; in cm_update_link_channel_info()
3077 channel.ch_ieee = wlan_reg_freq_to_chan(pdev, channel.ch_freq); in cm_update_link_channel_info()
3078 channel.ch_phymode = cache_entry->phy_mode; in cm_update_link_channel_info()
3079 channel.ch_cfreq1 = cache_entry->channel.cfreq0; in cm_update_link_channel_info()
3080 channel.ch_cfreq2 = cache_entry->channel.cfreq1; in cm_update_link_channel_info()
[all …]
/wlan-driver/qcacld-3.0/components/tdls/core/src/
Dwlan_tdls_peer.c132 uint8_t tdls_find_opclass(struct wlan_objmgr_psoc *psoc, uint8_t channel, in tdls_find_opclass() argument
147 return wlan_reg_dmn_get_opclass_from_channel(country, channel, in tdls_find_opclass()
503 uint32_t *channel, uint32_t *opclass) in tdls_determine_channel_opclass() argument
525 *channel = wlan_reg_freq_to_chan(pdev, policy_mgr_get_channel( in tdls_determine_channel_opclass()
531 *channel = wlan_reg_freq_to_chan(pdev, in tdls_determine_channel_opclass()
535 tdls_debug("channel:%d opclass:%d", *channel, *opclass); in tdls_determine_channel_opclass()
834 uint32_t channel = 0; in tdls_set_link_status() local
863 peer, &channel, &op_class); in tdls_set_link_status()
865 peer->state_change_notification(mac, op_class, channel, in tdls_set_link_status()
892 uint32_t channel = 0; in tdls_set_peer_link_status() local
[all …]
/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()
312 scan_params->channel.cfreq0 = in util_scan_get_phymode_11be()
316 scan_params->channel.cfreq1 = in util_scan_get_phymode_11be()
325 scan_params->channel.puncture_bitmap = in util_scan_get_phymode_11be()
328 scan_params->channel.puncture_bitmap |= in util_scan_get_phymode_11be()
332 scan_params->channel.puncture_bitmap = 0; in util_scan_get_phymode_11be()
683 scan_params->channel.cfreq0 = in util_scan_get_phymode_6g()
688 scan_params->channel.cfreq1 = in util_scan_get_phymode_6g()
773 scan_params->channel.cfreq0 = in util_scan_get_phymode_5g()
[all …]
/wlan-driver/qcacld-3.0/components/umac/mlme/connection_mgr/core/src/
Dwlan_cm_roam_fw_sync.c493 struct wlan_channel channel = {0}; in cm_roam_update_mlo_mgr_info() local
504 qdf_mem_zero(&channel, sizeof(channel)); in cm_roam_update_mlo_mgr_info()
506 channel.ch_freq = ml_link->channel.mhz; in cm_roam_update_mlo_mgr_info()
507 channel.ch_cfreq1 = ml_link->channel.band_center_freq1; in cm_roam_update_mlo_mgr_info()
508 channel.ch_cfreq2 = ml_link->channel.band_center_freq2; in cm_roam_update_mlo_mgr_info()
514 mlo_mgr_roam_update_ap_link_info(vdev, ml_link, &channel); in cm_roam_update_mlo_mgr_info()
542 rsp->connect_rsp.freq = ml_link->channel.mhz; in cm_fill_bssid_freq_info()
Dwlan_cm_host_util.c175 req->bss->entry->channel.chan_freq, in cm_handle_reassoc_req()
208 req->bss->entry->channel.chan_freq); in cm_handle_reassoc_req()
/wlan-driver/qcacld-3.0/core/mac/src/pe/include/
Drrm_global.h122 uint8_t channel; member
153 uint8_t channel; member
209 uint8_t channel; member
/wlan-driver/qca-wifi-host-cmn/umac/green_ap/core/src/
Dwlan_green_ap_main.c148 uint16_t channel = 1; in wlan_green_ap_state_mc() local
176 channel = green_ap_tx_ops->get_current_channel( in wlan_green_ap_state_mc()
282 if ((channel == 0) || (channel_flags == 0)) { in wlan_green_ap_state_mc()
/wlan-driver/qcacld-3.0/core/mac/src/pe/rrm/
Drrm_api.c427 pSmeNeighborRpt->sNeighborBssDescription[i].channel = in rrm_process_neighbor_report_response()
428 pNeighborRep->NeighborReport[i].channel; in rrm_process_neighbor_report_response()
1195 pBeaconReq->measurement_request.Beacon.channel, in rrm_process_beacon_report_req()
1206 pBeaconReq->measurement_request.Beacon.channel, in rrm_process_beacon_report_req()
1323 pBeaconReq->measurement_request.Beacon.channel; in rrm_process_beacon_report_req()
1735 beacon_report->channel = in rrm_process_beacon_report_xmit()
2016 uint8_t op_class, channel; in rrm_process_channel_load_req() local
2080 channel = chan_load_req->measurement_request.channel_load.channel; in rrm_process_channel_load_req()
2099 channel, meas_duration, randomization_intv, in rrm_process_channel_load_req()
2114 country, channel, in rrm_process_channel_load_req()
[all …]
/wlan-driver/platform/icnss2/
DKconfig8 communicating WLAN on/off control messages to FW over QMI channel.
29 over QMI channel.
/wlan-driver/qca-wifi-host-cmn/umac/mlo_mgr/inc/
Dwlan_mlo_mgr_link_switch.h212 struct wlan_channel channel);
246 struct wlan_channel channel);
/wlan-driver/qcacld-3.0/components/umac/mlme/mlo_mgr/inc/
Dwlan_mlo_mgr_roam.h352 struct wlan_channel *channel);
664 struct wlan_channel *channel) in mlo_mgr_roam_update_ap_link_info() argument
/wlan-driver/qcacld-3.0/configs/
Dqcn7605_defconfig19 # Enable Usable channel feature
/wlan-driver/qca-wifi-host-cmn/umac/mlo_mgr/src/
Dwlan_mlo_mgr_primary_umac.c154 struct wlan_channel *channel; in wlan_mld_get_best_primary_umac_w_rssi() local
204 channel = wlan_vdev_mlme_get_bss_chan(link_vdevs[i]); in wlan_mld_get_best_primary_umac_w_rssi()
205 mld_ch_width[id] = channel->ch_width; in wlan_mld_get_best_primary_umac_w_rssi()
463 struct wlan_channel *channel, *assoc_channel; in wlan_vdev_derive_link_rssi() local
476 channel = wlan_vdev_get_active_channel(vdev); in wlan_vdev_derive_link_rssi()
477 if (channel) in wlan_vdev_derive_link_rssi()
478 ch_freq = channel->ch_freq; in wlan_vdev_derive_link_rssi()

12345