Home
last modified time | relevance | path

Searched refs:country (Results 1 – 25 of 31) sorted by relevance

12

/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,
66 uint8_t reg_dmn_get_opclass_from_freq_width(uint8_t *country,
82 uint8_t reg_get_band_cap_from_op_class(const uint8_t *country,
93 void reg_dmn_print_channels_in_opclass(uint8_t *country, uint8_t op_class);
173 bool reg_is_5ghz_op_class(const uint8_t *country, uint8_t op_class);
183 bool reg_is_2ghz_op_class(const uint8_t *country, uint8_t op_class);
260 const uint8_t country[3],
295 const uint8_t country[3],
327 uint8_t *country, uint8_t channel, uint8_t opclass) in reg_dmn_get_chanwidth_from_opclass() argument
[all …]
Dreg_offload_11d_scan.c38 uint8_t *country) in reg_set_11d_country() argument
49 if (!country) { in reg_set_11d_country()
63 if (!qdf_mem_cmp(psoc_priv_obj->cur_country, country, REG_ALPHA2_LEN)) { in reg_set_11d_country()
71 country[0], country[1]); in reg_set_11d_country()
73 qdf_mem_copy(country_code.country, country, REG_ALPHA2_LEN + 1); in reg_set_11d_country()
95 qdf_mem_copy(rd.cc.alpha, country, REG_ALPHA2_LEN + 1); in reg_set_11d_country()
357 uint8_t *country) in reg_save_new_11d_country() argument
380 qdf_mem_copy(country_code.country, country, REG_ALPHA2_LEN + 1); in reg_save_new_11d_country()
Dreg_utils.c108 uint8_t *country) in reg_set_default_country() argument
112 if (!country) { in reg_set_default_country()
123 reg_info("set default_country: %s", country); in reg_set_default_country()
125 qdf_mem_copy(psoc_reg->def_country, country, REG_ALPHA2_LEN + 1); in reg_set_default_country()
226 if (reg_is_world_alpha2(cc->country)) { in reg_set_non_offload_country()
240 qdf_mem_copy(rd.cc.alpha, cc->country, REG_ALPHA2_LEN + 1); in reg_set_non_offload_country()
258 uint8_t *country, in reg_restore_def_country_for_po() argument
260 if (!offload_enabled && !reg_is_world_alpha2(country)) { in reg_restore_def_country_for_po()
263 status = reg_is_country_code_valid(country); in reg_restore_def_country_for_po()
265 reg_err("Unable to set country code: %s\n", country); in reg_restore_def_country_for_po()
[all …]
Dreg_opclass.c528 *reg_get_class_from_country(const uint8_t *country) in reg_get_class_from_country() argument
532 if (!country) in reg_get_class_from_country()
535 reg_debug_rl("Country %c%c 0x%x", country[0], country[1], country[2]); in reg_get_class_from_country()
537 switch (country[2]) { in reg_get_class_from_country()
558 if (!qdf_mem_cmp(country, "US", 2)) in reg_get_class_from_country()
560 else if (!qdf_mem_cmp(country, "EU", 2)) in reg_get_class_from_country()
562 else if (!qdf_mem_cmp(country, "JP", 2)) in reg_get_class_from_country()
564 else if (!qdf_mem_cmp(country, "CN", 2)) in reg_get_class_from_country()
946 uint16_t reg_dmn_get_chanwidth_from_opclass(uint8_t *country, uint8_t channel, in reg_dmn_get_chanwidth_from_opclass() argument
952 class = reg_get_class_from_country(country); in reg_dmn_get_chanwidth_from_opclass()
[all …]
Dreg_offload_11d_scan.h38 QDF_STATUS reg_set_11d_country(struct wlan_objmgr_pdev *pdev, uint8_t *country);
56 uint8_t *country);
113 uint8_t *country) in reg_set_11d_country() argument
124 uint8_t *country) in reg_save_new_11d_country() argument
Dreg_utils.h255 uint8_t *country);
296 QDF_STATUS reg_set_country(struct wlan_objmgr_pdev *pdev, uint8_t *country);
444 uint8_t *country) in reg_set_country() argument
/wlan-driver/qca-wifi-host-cmn/umac/regulatory/dispatcher/src/
Dwlan_reg_services_api.c46 uint8_t *country) in wlan_reg_read_default_country() argument
51 return reg_read_default_country(psoc, country); in wlan_reg_read_default_country()
60 uint8_t *country) in wlan_reg_read_current_country() argument
65 return reg_read_current_country(psoc, country); in wlan_reg_read_current_country()
211 uint16_t wlan_reg_dmn_get_opclass_from_channel(uint8_t *country, in wlan_reg_dmn_get_opclass_from_channel() argument
215 return reg_dmn_get_opclass_from_channel(country, channel, in wlan_reg_dmn_get_opclass_from_channel()
219 uint8_t wlan_reg_get_band_cap_from_op_class(const uint8_t *country, in wlan_reg_get_band_cap_from_op_class() argument
223 return reg_get_band_cap_from_op_class(country, in wlan_reg_get_band_cap_from_op_class()
227 uint8_t wlan_reg_get_opclass_from_freq_width(uint8_t *country, in wlan_reg_get_opclass_from_freq_width() argument
232 return reg_dmn_get_opclass_from_freq_width(country, freq, ch_width, in wlan_reg_get_opclass_from_freq_width()
[all …]
Dwlan_reg_ucfg_api.c156 uint8_t *country) in ucfg_reg_set_default_country() argument
158 return reg_set_default_country(psoc, country); in ucfg_reg_set_default_country()
193 uint8_t *country) in ucfg_reg_set_country() argument
195 return reg_set_country(pdev, country); in ucfg_reg_set_country()
/wlan-driver/qcacld-3.0/core/cds/src/
Dcds_regdomain.c425 bool cds_is_etsi_europe_country(uint8_t *country) in cds_is_etsi_europe_country() argument
430 if (country[0] == etsi_europe_country[i][0] && in cds_is_etsi_europe_country()
431 country[1] == etsi_europe_country[i][1]) in cds_is_etsi_europe_country()
523 const struct country_code_to_reg_dmn *country = NULL; in reg_dmn_get_default_country() local
527 country = find_country(cc); in reg_dmn_get_default_country()
528 if (country) in reg_dmn_get_default_country()
623 const struct country_code_to_reg_dmn *country = NULL; in cds_fill_some_regulatory_info() local
638 country = find_country(country_code); in cds_fill_some_regulatory_info()
639 if (!country) { in cds_fill_some_regulatory_info()
644 reg_dmn = country->reg_dmn_pair; in cds_fill_some_regulatory_info()
[all …]
/wlan-driver/qca-wifi-host-cmn/umac/regulatory/dispatcher/inc/
Dwlan_reg_services_api.h539 uint8_t *country);
643 uint8_t *country);
706 bool wlan_reg_is_world(uint8_t *country);
1000 uint16_t wlan_reg_dmn_get_opclass_from_channel(uint8_t *country,
1013 uint8_t wlan_reg_get_opclass_from_freq_width(uint8_t *country,
1029 uint8_t wlan_reg_get_band_cap_from_op_class(const uint8_t *country,
1040 void wlan_reg_dmn_print_channels_in_opclass(uint8_t *country,
1053 uint16_t wlan_reg_dmn_get_chanwidth_from_opclass(uint8_t *country,
1066 uint16_t wlan_reg_dmn_get_chanwidth_from_opclass_auto(uint8_t *country,
1217 bool wlan_reg_is_us(uint8_t *country);
[all …]
Dwlan_reg_ucfg_api.h181 uint8_t *country);
191 uint8_t *country);
Dreg_services_public_struct.h1172 uint8_t country[REG_ALPHA2_LEN + 1]; member
/wlan-driver/qca-wifi-host-cmn/umac/scan/dispatcher/inc/
Dwlan_scan_utils_api.h437 static inline bool util_country_code_match(uint8_t *country, in util_country_code_match() argument
440 if (!country || !country[0]) in util_country_code_match()
446 if (cc->cc[0] == country[0] && in util_country_code_match()
447 cc->cc[1] == country[1]) in util_country_code_match()
715 ie_lst->country = conv_ptr(ie_lst->country, old_ptr, new_ptr); in util_scan_copy_beacon_data()
1238 return (struct wlan_country_ie *)scan_entry->ie_list.country; in util_scan_entry_country()
Dwlan_scan_public_structs.h226 uint8_t *country; member
/wlan-driver/qcacld-3.0/os_if/tdls/src/
Dwlan_cfg80211_tdls.c224 const uint8_t *country, in tdls_fill_chan_freq_from_supported_ch_list() argument
239 freq = wlan_reg_country_chan_opclass_to_freq(pdev, country, in tdls_fill_chan_freq_from_supported_ch_list()
264 pdev, country, next_ch, in tdls_fill_chan_freq_from_supported_ch_list()
301 uint8_t country[REG_ALPHA2_LEN + 1]; in tdls_calc_channels_from_staparams() local
320 country); in tdls_calc_channels_from_staparams()
322 osif_debug("Country info from AP:%c%c 0x%x", country[0], in tdls_calc_channels_from_staparams()
323 country[1], country[2]); in tdls_calc_channels_from_staparams()
327 pdev, country, src_chans, in tdls_calc_channels_from_staparams()
/wlan-driver/qcacld-3.0/core/mac/src/pe/rrm/
Drrm_api.c1154 uint8_t country[WNI_CFG_COUNTRY_CODE_LEN]; in rrm_process_beacon_report_req() local
1321 country); in rrm_process_beacon_report_req()
1331 country, in rrm_process_beacon_report_req()
1348 country[0], country[1], country[2], in rrm_process_beacon_report_req()
1385 mac->pdev, country, in rrm_process_beacon_report_req()
2019 uint8_t country[WNI_CFG_COUNTRY_CODE_LEN]; in rrm_process_channel_load_req() local
2112 country); in rrm_process_channel_load_req()
2114 country, channel, in rrm_process_channel_load_req()
2118 country[0], country[1], country[2]); in rrm_process_channel_load_req()
2122 pe_debug("freq:%d, country code %c%c 0x%x", chan_freq, country[0], in rrm_process_channel_load_req()
[all …]
/wlan-driver/qcacld-3.0/core/cds/inc/
Dcds_regdomain.h143 bool cds_is_etsi_europe_country(uint8_t *country);
/wlan-driver/qcacld-3.0/core/sme/src/rrm/
Dsme_rrm.c1146 uint8_t *country, in sme_rrm_fill_scan_channels() argument
1160 country, in sme_rrm_fill_scan_channels()
1456 uint8_t country[WNI_CFG_COUNTRY_CODE_LEN]; in sme_rrm_process_beacon_report_req_ind() local
1484 rrm_get_country_code_from_connected_profile(mac, session_id, country); in sme_rrm_process_beacon_report_req_ind()
1488 country[2] = OP_CLASS_GLOBAL; in sme_rrm_process_beacon_report_req_ind()
1493 country[0], country[1], country[2], in sme_rrm_process_beacon_report_req_ind()
1527 mac, country, sme_rrm_ctx, in sme_rrm_process_beacon_report_req_ind()
/wlan-driver/qcacld-3.0/components/tdls/core/src/
Dwlan_tdls_peer.c135 char country[REG_ALPHA2_LEN + 1]; in tdls_find_opclass() local
143 status = wlan_reg_read_default_country(psoc, country); in tdls_find_opclass()
147 return wlan_reg_dmn_get_opclass_from_channel(country, channel, in tdls_find_opclass()
/wlan-driver/qcacld-3.0/core/hdd/src/
Dwlan_hdd_regulatory.c1056 char country[REG_ALPHA2_LEN + 1] = {0}; in hdd_reg_notifier() local
1094 qdf_mem_copy(country, request->alpha2, QDF_MIN( in hdd_reg_notifier()
1095 sizeof(request->alpha2), sizeof(country))); in hdd_reg_notifier()
1096 status = ucfg_reg_set_country(hdd_ctx->pdev, country); in hdd_reg_notifier()
/wlan-driver/qcacld-3.0/core/sap/src/
Dsap_ch_select.c2817 uint8_t country[CDS_COUNTRY_CODE_LEN + 1]; in sap_sort_channel_list() local
2840 wlan_reg_read_current_country(mac_ctx->psoc, country); in sap_sort_channel_list()
2841 wlan_reg_get_domain_from_country_code(&reg_domain, country, in sap_sort_channel_list()
Dsap_fsm.c3248 uint8_t country[CDS_COUNTRY_CODE_LEN + 1]; in wlansap_is_power_change_required() local
3280 wlan_reg_read_current_country(mac_ctx->psoc, country); in wlansap_is_power_change_required()
3281 if (!wlan_reg_ctry_support_vlp(country)) { in wlansap_is_power_change_required()
/wlan-driver/qcacld-3.0/core/mac/src/sys/legacy/src/utils/src/
Dutils_parser.c270 qdf_mem_copy(pOld->countryString, pNew->country, COUNTRY_STRING_LENGTH); in convert_country()
/wlan-driver/qca-wifi-host-cmn/umac/scan/dispatcher/src/
Dwlan_scan_utils_api.c1000 scan_params->ie_list.country = (uint8_t *)sub_ie; in util_scan_parse_chan_switch_wrapper_ie()
1540 scan_params->ie_list.country = (uint8_t *)ie; in util_scan_populate_bcn_ie_list()
/wlan-driver/qcacld-3.0/components/mlme/dispatcher/src/
Dwlan_mlme_api.c8306 uint8_t country[REG_ALPHA2_LEN + 1]; in wlan_mlme_get_bw_no_punct() local
8311 wlan_reg_read_current_country(psoc, country); in wlan_mlme_get_bw_no_punct()
8315 qdf_mem_cmp(country, "US", REG_ALPHA2_LEN) || in wlan_mlme_get_bw_no_punct()

12