/wlan-driver/qca-wifi-host-cmn/umac/scan/core/src/ |
H A D | wlan_scan_manager_6ghz.c | 54 struct chan_list *chan_list) in scm_sort_6ghz_channel_list() argument 69 for (i = 0; i < chan_list->num_chan; i++) in scm_sort_6ghz_channel_list() 70 if (WLAN_REG_IS_6GHZ_CHAN_FREQ(chan_list->chan[i].freq)) in scm_sort_6ghz_channel_list() 71 temp_list[j++] = chan_list->chan[i]; in scm_sort_6ghz_channel_list() 126 if (wlan_reg_is_6ghz_chan_freq(chan_list->chan[i].freq)) { in scm_sort_6ghz_channel_list() 127 chan_list->chan[i].freq = rnr_chan_info[j].chan_freq; in scm_sort_6ghz_channel_list() 128 chan_list->chan[i].flags = rnr_chan_info[j].flags; in scm_sort_6ghz_channel_list() 129 chan_list->chan[i].phymode = rnr_chan_info[j++].phymode; in scm_sort_6ghz_channel_list() 144 struct chan_list *chan_list; in scm_update_rnr_info() local 151 chan_list = &req->scan_req.chan_list; in scm_update_rnr_info() [all …]
|
H A D | wlan_scan_manager_6ghz.h | 65 struct chan_list *chan_list, 115 struct chan_list *chan_list, 122 struct chan_list *pno_chan_list, in scm_add_channel_flags() 143 struct chan_list *chan_list, in scm_add_all_valid_6g_channels() argument
|
H A D | wlan_scan_manager.c | 837 for (i = 0; i < req->scan_req.chan_list.num_chan; i++) { in scm_update_5ghz_6ghz_chlist() 839 req->scan_req.chan_list.chan[i].freq)) { in scm_update_5ghz_6ghz_chlist() 847 req->scan_req.chan_list.chan[i].freq)) in scm_update_5ghz_6ghz_chlist() 851 req->scan_req.chan_list.chan[num_scan_channels++] = in scm_update_5ghz_6ghz_chlist() 852 req->scan_req.chan_list.chan[i]; in scm_update_5ghz_6ghz_chlist() 854 if (num_scan_channels < req->scan_req.chan_list.num_chan) in scm_update_5ghz_6ghz_chlist() 856 req->scan_req.chan_list.num_chan, num_scan_channels); in scm_update_5ghz_6ghz_chlist() 857 req->scan_req.chan_list.num_chan = num_scan_channels; in scm_update_5ghz_6ghz_chlist() 866 for (i = 0; i < req->scan_req.chan_list.num_chan; i++) { in scm_update_24g_chlist() 868 req->scan_req.chan_list.chan[i].freq)) in scm_update_24g_chlist() [all …]
|
H A D | wlan_scan_cache_db.h | 292 struct chan_list *chan_list); 315 struct chan_list *chan_list) in scm_filter_rnr_flag_pno() argument
|
/wlan-driver/qca-wifi-host-cmn/umac/regulatory/core/src/ |
H A D | reg_build_chan_list.c | 438 struct regulatory_channel *chan_list, bool dfs_enabled) in reg_modify_chan_list_for_dfs_channels() argument 446 if (chan_list[chan_enum].chan_flags & REGULATORY_CHAN_RADAR) { in reg_modify_chan_list_for_dfs_channels() 447 chan_list[chan_enum].state = CHANNEL_STATE_DISABLE; in reg_modify_chan_list_for_dfs_channels() 448 chan_list[chan_enum].chan_flags |= in reg_modify_chan_list_for_dfs_channels() 752 struct regulatory_channel *chan_list = pdev_priv_obj->cur_chan_list; in reg_modify_chan_list_for_indoor_channels() local 757 chan_list[chan_enum].chan_flags) && in reg_modify_chan_list_for_indoor_channels() 759 chan_list[chan_enum].chan_flags) && in reg_modify_chan_list_for_indoor_channels() 761 reg_is_5ghz_ch_freq(chan_list[chan_enum].center_freq))) { in reg_modify_chan_list_for_indoor_channels() 762 chan_list[chan_enum].state = in reg_modify_chan_list_for_indoor_channels() 764 chan_list[chan_enum].chan_flags |= in reg_modify_chan_list_for_indoor_channels() [all …]
|
H A D | reg_build_chan_list.h | 119 struct regulatory_channel *chan_list); 277 struct regulatory_channel *chan_list, 283 struct regulatory_channel *chan_list) in reg_get_6g_ap_master_chan_list() argument 343 struct regulatory_channel *chan_list, in reg_get_6g_pwrmode_chan_list() argument 372 struct regulatory_channel *chan_list, 384 struct regulatory_channel *chan_list); 395 struct regulatory_channel *chan_list); 406 struct regulatory_channel *chan_list); 420 struct regulatory_channel *chan_list);
|
H A D | reg_services_common.c | 1624 reg_freq_to_chan_for_chlist(struct regulatory_channel *chan_list, in reg_freq_to_chan_for_chlist() argument 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() 1649 return chan_list[count].chan_num; in reg_freq_to_chan_for_chlist() 1654 if ((chan_list[count - 1].chan_num == INVALID_CHANNEL_NUM) || in reg_freq_to_chan_for_chlist() 1655 (chan_list[count].chan_num == INVALID_CHANNEL_NUM)) { in reg_freq_to_chan_for_chlist() 1660 return (chan_list[count - 1].chan_num + in reg_freq_to_chan_for_chlist() 1661 (freq - chan_list[count - 1].center_freq) / 5); in reg_freq_to_chan_for_chlist() 1671 struct regulatory_channel *chan_list; in reg_freq_to_chan() local 1688 chan_list = pdev_priv_obj->mas_chan_list; in reg_freq_to_chan() [all …]
|
/wlan-driver/qca-wifi-host-cmn/umac/dfs/core/src/misc/ |
H A D | dfs_nol.c | 276 struct dfs_channel *chan_list; in dfs_print_nolhistory() local 287 chan_list = qdf_mem_malloc(nchans * sizeof(*chan_list)); in dfs_print_nolhistory() 288 if (!chan_list) in dfs_print_nolhistory() 292 (void *)chan_list, &nchans); in dfs_print_nolhistory() 295 qdf_mem_free(chan_list); in dfs_print_nolhistory() 302 j, chan_list[i].dfs_ch_freq); in dfs_print_nolhistory() 304 qdf_mem_free(chan_list); in dfs_print_nolhistory() 590 struct dfs_channel *chan_list; in dfs_clear_nolhistory() local 611 chan_list = qdf_mem_malloc(nchans * sizeof(*chan_list)); in dfs_clear_nolhistory() 612 if (!chan_list) in dfs_clear_nolhistory() [all …]
|
/wlan-driver/qcacld-3.0/core/hdd/src/ |
H A D | wlan_hdd_sysfs_get_freq_for_pwr.c | 100 struct regulatory_channel *chan_list; in __wlan_hdd_sysfs_freq_show() local 119 chan_list = qdf_mem_malloc(len_6g); in __wlan_hdd_sysfs_freq_show() 120 if (!chan_list) in __wlan_hdd_sysfs_freq_show() 126 chan_list); in __wlan_hdd_sysfs_freq_show() 129 if ((chan_list[i].state != CHANNEL_STATE_DISABLE) && in __wlan_hdd_sysfs_freq_show() 130 !(chan_list[i].chan_flags & REGULATORY_CHAN_DISABLED)) { in __wlan_hdd_sysfs_freq_show() 134 "%d ", chan_list[i].center_freq); in __wlan_hdd_sysfs_freq_show() 139 qdf_mem_free(chan_list); in __wlan_hdd_sysfs_freq_show()
|
H A D | wlan_hdd_ioctl.h | 118 uint32_t *chan_list, uint8_t *num_channels); 129 uint32_t *chan_list, uint8_t *num_channels) in hdd_get_roam_scan_freq() argument
|
H A D | wlan_hdd_regulatory.c | 1539 struct regulatory_channel *chan_list) in fill_wiphy_6ghz_band_channels() argument 1541 fill_wiphy_band_channels(wiphy, chan_list, NL80211_BAND_6GHZ); in fill_wiphy_6ghz_band_channels() 1546 struct regulatory_channel *chan_list) in fill_wiphy_6ghz_band_channels() argument 1559 static void hdd_regulatory_chanlist_dump(struct regulatory_channel *chan_list) in hdd_regulatory_chanlist_dump() argument 1570 chan = &chan_list[i]; in hdd_regulatory_chanlist_dump() 1952 struct regulatory_channel *chan_list, in hdd_regulatory_dyn_cbk() argument 1976 hdd_ch_avoid_ind(hdd_ctx, &avoid_freq_ind->chan_list, in hdd_regulatory_dyn_cbk() 1984 hdd_regulatory_chanlist_dump(chan_list); in hdd_regulatory_dyn_cbk() 1986 fill_wiphy_band_channels(wiphy, chan_list, NL80211_BAND_2GHZ); in hdd_regulatory_dyn_cbk() 1987 fill_wiphy_band_channels(wiphy, chan_list, NL80211_BAND_5GHZ); in hdd_regulatory_dyn_cbk() [all …]
|
H A D | wlan_hdd_ioctl.c | 2674 struct regulatory_channel *chan_list; in drv_cmd_get_wifi6e_channels() local 2704 chan_list = qdf_mem_malloc(NUM_CHANNELS * sizeof(*chan_list)); in drv_cmd_get_wifi6e_channels() 2705 if (!chan_list) in drv_cmd_get_wifi6e_channels() 2708 status = wlan_reg_get_pwrmode_chan_list(hdd_ctx->pdev, chan_list, in drv_cmd_get_wifi6e_channels() 2719 state = chan_list[i + MIN_6GHZ_CHANNEL].state; in drv_cmd_get_wifi6e_channels() 2725 chan_list[i + MIN_6GHZ_CHANNEL].chan_num); in drv_cmd_get_wifi6e_channels() 2743 qdf_mem_free(chan_list); in drv_cmd_get_wifi6e_channels() 3395 hdd_dump_roam_scan_ch_list(uint32_t *chan_list, uint16_t num_channels) in hdd_dump_roam_scan_ch_list() argument 3405 chan_list[i]); in hdd_dump_roam_scan_ch_list() 3423 hdd_sort_roam_scan_ch_list(uint32_t *chan_list, uint16_t num_channels) in hdd_sort_roam_scan_ch_list() argument [all …]
|
/wlan-driver/qca-wifi-host-cmn/umac/dfs/dispatcher/src/ |
H A D | wlan_dfs_utils_api.c | 661 struct dfs_channel *chan_list = (struct dfs_channel *)clist; in utils_dfs_get_chan_list() local 688 chan_list[j].dfs_ch_ieee = cur_chan_list[i].chan_num; in utils_dfs_get_chan_list() 689 chan_list[j].dfs_ch_freq = cur_chan_list[i].center_freq; in utils_dfs_get_chan_list() 691 chan_list[j].dfs_ch_flagext = in utils_dfs_get_chan_list() 695 chan_list[j].dfs_ch_flagext |= in utils_dfs_get_chan_list() 722 struct dfs_channel *chan_list, in utils_dfs_get_channel_list() argument 772 chan_list[j].dfs_ch_ieee = chan_num; in utils_dfs_get_channel_list() 773 chan_list[j].dfs_ch_freq = center_freq; in utils_dfs_get_channel_list() 774 chan_list[j].dfs_ch_flagext = flagext; in utils_dfs_get_channel_list() 779 chan_list[j].dfs_ch_ieee = chan_num; in utils_dfs_get_channel_list() [all …]
|
/wlan-driver/qca-wifi-host-cmn/umac/scan/dispatcher/src/ |
H A D | wlan_scan_ucfg_api.c | 199 struct chan_list *pno_chan_list = in ucfg_scan_add_flags_to_pno_chan_list() 411 struct chan_list *chan_list) in ucfg_scan_set_custom_scan_chan_list() argument 416 if (!pdev || !chan_list) { in ucfg_scan_set_custom_scan_chan_list() 417 scm_warn("pdev: 0x%pK, chan_list: 0x%pK", pdev, chan_list); in ucfg_scan_set_custom_scan_chan_list() 424 chan_list, sizeof(*chan_list)); in ucfg_scan_set_custom_scan_chan_list() 1051 uint32_t num_chans, uint32_t *chan_list, uint32_t *phymode) in ucfg_scan_init_chanlist_params() argument 1059 uint32_t max_chans = sizeof(req->scan_req.chan_list.chan) / in ucfg_scan_init_chanlist_params() 1060 sizeof(req->scan_req.chan_list.chan[0]); in ucfg_scan_init_chanlist_params() 1118 chan_list = scan_freqs; in ucfg_scan_init_chanlist_params() 1123 qdf_mem_zero(&req->scan_req.chan_list, in ucfg_scan_init_chanlist_params() [all …]
|
H A D | wlan_scan_api.c | 866 for (i = 0; i < req->scan_req.chan_list.num_chan; i++) { in wlan_scan_update_low_latency_profile_chnlist() 867 freq = req->scan_req.chan_list.chan[i].freq; in wlan_scan_update_low_latency_profile_chnlist() 873 req->scan_req.chan_list.chan[num_scan_channels++] = in wlan_scan_update_low_latency_profile_chnlist() 874 req->scan_req.chan_list.chan[i]; in wlan_scan_update_low_latency_profile_chnlist() 876 if (num_scan_channels < req->scan_req.chan_list.num_chan) in wlan_scan_update_low_latency_profile_chnlist() 878 req->scan_req.chan_list.num_chan, in wlan_scan_update_low_latency_profile_chnlist() 881 req->scan_req.chan_list.num_chan = num_scan_channels; in wlan_scan_update_low_latency_profile_chnlist()
|
/wlan-driver/qcacld-3.0/components/nan/core/src/ |
H A D | nan_api.c | 418 struct regulatory_channel *chan_list; in wlan_is_nan_allowed_on_6ghz_freq() local 424 chan_list = qdf_mem_malloc(len_6g); in wlan_is_nan_allowed_on_6ghz_freq() 425 if (!chan_list) in wlan_is_nan_allowed_on_6ghz_freq() 430 chan_list); in wlan_is_nan_allowed_on_6ghz_freq() 433 if ((freq == chan_list[i].center_freq) && in wlan_is_nan_allowed_on_6ghz_freq() 434 (chan_list[i].state == CHANNEL_STATE_ENABLE)) { in wlan_is_nan_allowed_on_6ghz_freq() 441 qdf_mem_free(chan_list); in wlan_is_nan_allowed_on_6ghz_freq()
|
/wlan-driver/qca-wifi-host-cmn/umac/wifi_pos/src/ |
H A D | wifi_pos_main.c | 499 struct wifi_pos_channel_list *chan_list = arg; in wifi_pos_pdev_iterator() local 511 if (!chan_list) { in wifi_pos_pdev_iterator() 516 wifi_pos_ch = &chan_list->chan_info[chan_list->num_channels]; in wifi_pos_pdev_iterator() 534 if ((chan_list->num_channels + num_channels) > in wifi_pos_pdev_iterator() 562 chan_list->num_channels += num_channels; in wifi_pos_pdev_iterator() 573 struct wifi_pos_channel_list *chan_list) in wifi_pos_get_ch_info() argument 577 chan_list, true, WLAN_WIFI_POS_CORE_ID); in wifi_pos_get_ch_info() 578 wifi_pos_debug("num channels: %d", chan_list->num_channels); in wifi_pos_get_ch_info() 590 struct wifi_pos_channel_list *chan_list) in wifi_pos_get_ch_info() argument 599 chan_list, true, WLAN_WIFI_POS_CORE_ID); in wifi_pos_get_ch_info() [all …]
|
/wlan-driver/qca-wifi-host-cmn/umac/regulatory/dispatcher/src/ |
H A D | wlan_reg_services_api.c | 101 struct regulatory_channel *chan_list, in wlan_reg_get_pwrmode_chan_list() argument 105 return reg_get_pwrmode_chan_list(pdev, chan_list, in_6g_pwr_mode); in wlan_reg_get_pwrmode_chan_list() 140 struct regulatory_channel *chan_list) in wlan_reg_get_current_chan_list() argument 142 return reg_get_current_chan_list(pdev, chan_list); in wlan_reg_get_current_chan_list() 164 struct regulatory_channel *chan_list) in wlan_reg_get_secondary_current_chan_list() argument 166 return reg_get_secondary_current_chan_list(pdev, chan_list); in wlan_reg_get_secondary_current_chan_list() 172 struct regulatory_channel *chan_list) in wlan_reg_get_6g_afc_chan_list() argument 174 return reg_get_6g_afc_chan_list(pdev, chan_list); in wlan_reg_get_6g_afc_chan_list() 181 struct regulatory_channel *chan_list) in wlan_reg_get_6g_afc_mas_chan_list() argument 183 return reg_get_6g_afc_mas_chan_list(pdev, chan_list); in wlan_reg_get_6g_afc_mas_chan_list() [all …]
|
/wlan-driver/qca-wifi-host-cmn/os_if/linux/afc/src/ |
H A D | wlan_cfg80211_afc.c | 156 struct nlattr *chan_list = NULL; in afc_expiry_event_update_or_get_len() local 289 chan_list = nla_nest_start(vendor_event, in afc_expiry_event_update_or_get_len() 291 if (!chan_list) { in afc_expiry_event_update_or_get_len() 322 nla_nest_end_checked(vendor_event, chan_list); in afc_expiry_event_update_or_get_len() 354 struct nlattr *chan_list; in afc_power_event_update_or_get_len() local 490 chan_list = nla_nest_start(vendor_event, in afc_power_event_update_or_get_len() 492 if (!chan_list) in afc_power_event_update_or_get_len() 525 nla_nest_end_checked(vendor_event, chan_list); in afc_power_event_update_or_get_len()
|
/wlan-driver/qcacld-3.0/core/wma/src/ |
H A D | wma_scan_roam.c | 155 tSirUpdateChanList *chan_list) in wma_update_channel_list() argument 164 len = sizeof(struct channel_param) * chan_list->numChan + in wma_update_channel_list() 171 wma_debug("no of channels = %d", chan_list->numChan); in wma_update_channel_list() 173 scan_ch_param->nallchans = chan_list->numChan; in wma_update_channel_list() 175 wma_handle->saved_chan.num_channels = chan_list->numChan; in wma_update_channel_list() 176 wma_debug("ht %d, vht %d, vht_24 %d", chan_list->ht_en, in wma_update_channel_list() 177 chan_list->vht_en, chan_list->vht_24_en); in wma_update_channel_list() 179 for (i = 0; i < chan_list->numChan; ++i) { in wma_update_channel_list() 180 chan_p->mhz = chan_list->chanParam[i].freq; in wma_update_channel_list() 184 chan_list->chanParam[i].freq; in wma_update_channel_list() [all …]
|
/wlan-driver/qca-wifi-host-cmn/umac/regulatory/dispatcher/inc/ |
H A D | wlan_reg_services_api.h | 235 struct regulatory_channel *chan_list); 392 struct regulatory_channel *chan_list) in wlan_reg_get_6g_ap_master_chan_list() argument 738 struct regulatory_channel *chan_list); 789 struct regulatory_channel *chan_list, 804 struct regulatory_channel *chan_list); 816 struct regulatory_channel *chan_list); 828 struct regulatory_channel *chan_list); 917 struct regulatory_channel *chan_list) in wlan_reg_get_6g_afc_chan_list() argument 1761 struct reg_channel_list *chan_list,
|
/wlan-driver/qcacld-3.0/components/mlme/core/src/ |
H A D | wlan_mlme_main.c | 113 struct chan_list *scan_chan_list; in mlme_fill_freq_in_scan_start_request() 140 req->scan_req.chan_list.num_chan = 1; in mlme_fill_freq_in_scan_start_request() 141 req->scan_req.chan_list.chan[0].freq = operation_chan_freq; in mlme_fill_freq_in_scan_start_request() 156 req->scan_req.chan_list.chan[0].freq = sec_2g_freq; in mlme_fill_freq_in_scan_start_request() 157 req->scan_req.chan_list.chan[1].freq = in mlme_fill_freq_in_scan_start_request() 160 req->scan_req.chan_list.chan[0].freq = in mlme_fill_freq_in_scan_start_request() 162 req->scan_req.chan_list.chan[1].freq = sec_2g_freq; in mlme_fill_freq_in_scan_start_request() 165 req->scan_req.chan_list.num_chan = 2; in mlme_fill_freq_in_scan_start_request() 190 req->scan_req.chan_list.num_chan = scan_chan_list->num_chan; 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() [all …]
|
/wlan-driver/qca-wifi-host-cmn/umac/mlme/connection_mgr/dispatcher/src/ |
H A D | wlan_cm_api.c | 495 struct reg_channel_list chan_list; in wlan_cm_sta_set_chan_param() local 543 qdf_mem_zero(&chan_list, sizeof(chan_list)); in wlan_cm_sta_set_chan_param() 547 center_freq_320, &chan_list, in wlan_cm_sta_set_chan_param() 549 *chan_param = chan_list.chan_param[0]; in wlan_cm_sta_set_chan_param()
|
/wlan-driver/qca-wifi-host-cmn/umac/scan/dispatcher/inc/ |
H A D | wlan_scan_ucfg_api.h | 339 struct wlan_objmgr_pdev *pdev, struct chan_list *chan_list); 541 uint32_t num_chans, uint32_t *chan_list, uint32_t *phymode);
|
/wlan-driver/qca-wifi-host-cmn/wmi/src/ |
H A D | wmi_unified_sta_tlv.c | 1235 wmi_pdev_bssid_disallow_list_config_param *chan_list; in send_reject_ap_list_cmd_tlv() local 1239 list_tlv_len = sizeof(*chan_list) * num_of_reject_bssid; in send_reject_ap_list_cmd_tlv() 1259 chan_list = (wmi_pdev_bssid_disallow_list_config_param *)buf_ptr; in send_reject_ap_list_cmd_tlv() 1262 WMITLV_SET_HDR(&chan_list->tlv_header, in send_reject_ap_list_cmd_tlv() 1267 &chan_list->bssid); in send_reject_ap_list_cmd_tlv() 1268 chan_list->bssid_type = in send_reject_ap_list_cmd_tlv() 1270 chan_list->expected_rssi = reject_list[i].expected_rssi; in send_reject_ap_list_cmd_tlv() 1271 chan_list->remaining_disallow_duration = in send_reject_ap_list_cmd_tlv() 1273 chan_list->reason = in send_reject_ap_list_cmd_tlv() 1275 chan_list->original_timeout = reject_list[i].original_timeout; in send_reject_ap_list_cmd_tlv() [all …]
|