/wlan-driver/qca-wifi-host-cmn/umac/regulatory/core/src/ |
H A D | reg_offload_11d_scan.c | 41 struct set_country country_code; in reg_set_11d_country() local 73 qdf_mem_copy(country_code.country, country, REG_ALPHA2_LEN + 1); in reg_set_11d_country() 74 country_code.pdev_id = pdev_id; in reg_set_11d_country() 87 tx_ops->set_country_code(psoc, &country_code); in reg_set_11d_country() 361 struct set_country country_code; in reg_save_new_11d_country() local 380 qdf_mem_copy(country_code.country, country, REG_ALPHA2_LEN + 1); in reg_save_new_11d_country() 381 country_code.pdev_id = pdev_id; in reg_save_new_11d_country() 386 tx_ops->set_country_code(psoc, &country_code); in reg_save_new_11d_country()
|
H A D | reg_db.h | 41 #define CE(country_code, reg_dmn_pair_id, reg_6ghz_super_dmn_id, \ argument 43 {CTRY_ ## country_code, reg_dmn_pair_id, reg_6ghz_super_dmn_id, \ 46 #define CE(country_code, reg_dmn_pair_id, reg_6ghz_super_dmn_id, alpha2, \ argument 48 {CTRY_ ## country_code, reg_dmn_pair_id, #alpha2, max_bw_2g, \ 319 enum country_code { enum 617 uint16_t country_code; member
|
H A D | reg_utils.c | 87 uint8_t *country_code) in reg_read_current_country() argument 91 if (!country_code) { in reg_read_current_country() 102 qdf_mem_copy(country_code, psoc_reg->cur_country, REG_ALPHA2_LEN + 1); in reg_read_current_country() 1259 struct set_country country_code; in reg_set_curr_country() local 1287 qdf_mem_zero(&country_code, sizeof(country_code)); in reg_set_curr_country() 1288 qdf_mem_copy(country_code.country, soc_reg->cur_country, in reg_set_curr_country() 1290 country_code.pdev_id = pdev_id; in reg_set_curr_country() 1298 status = tx_ops->set_country_code(psoc, &country_code); in reg_set_curr_country() 1312 status = reg_set_non_offload_country(pdev, &country_code); in reg_set_curr_country()
|
H A D | reg_db_parser.c | 71 reg_info->ctry_code = g_all_countries[i].country_code; in reg_update_alpha2_from_domain() 212 if (g_all_countries[i].country_code == cc) in reg_get_rdpair_from_country_code() 263 g_all_countries[country_index].country_code; in reg_get_reginfo_from_country_code_and_regdmn_pair()
|
H A D | reg_utils.h | 245 uint8_t *country_code); 418 uint8_t *country_code) in reg_read_current_country() argument
|
/wlan-driver/qcacld-3.0/core/cds/src/ |
H A D | cds_regdomain.c | 463 if (g_reg_dmn_tbl.all_countries[i].country_code == cc) in is_reg_dmn_valid() 483 static const struct country_code_to_reg_dmn *find_country(uint16_t country_code) in find_country() argument 488 if (g_reg_dmn_tbl.all_countries[i].country_code == country_code) in find_country() 508 return g_reg_dmn_tbl.all_countries[i].country_code; in cds_get_country_from_alpha2() 621 uint16_t country_code; in cds_fill_some_regulatory_info() local 633 country_code = reg_dmn_get_default_country(reg_dmn); in cds_fill_some_regulatory_info() 634 if (country_code == CTRY_DEFAULT && reg_dmn == CTRY_DEFAULT) in cds_fill_some_regulatory_info() 635 country_code = CTRY_UNITED_STATES; in cds_fill_some_regulatory_info() 637 if (country_code != CTRY_DEFAULT) { in cds_fill_some_regulatory_info() 638 country = find_country(country_code); in cds_fill_some_regulatory_info() [all …]
|
/wlan-driver/qca-wifi-host-cmn/umac/regulatory/dispatcher/src/ |
H A D | wlan_reg_ucfg_api.c | 150 uint8_t *country_code) in ucfg_reg_get_current_country() argument 152 return reg_read_current_country(psoc, country_code); in ucfg_reg_get_current_country() 187 uint8_t *country_code) in ucfg_reg_get_default_country() argument 189 return reg_read_default_country(psoc, country_code); in ucfg_reg_get_default_country()
|
/wlan-driver/qca-wifi-host-cmn/utils/nlink/inc/ |
H A D | wlan_nlink_common.h | 156 uint8_t country_code[WLAN_SVC_COUNTRY_CODE_LEN]; member 176 uint8_t country_code[WLAN_SVC_COUNTRY_CODE_LEN]; member
|
/wlan-driver/qcacld-3.0/os_if/son/inc/ |
H A D | os_if_son.h | 88 char *country_code); 367 char *country_code); 377 char *country_code);
|
/wlan-driver/qcacld-3.0/core/hdd/src/ |
H A D | wlan_hdd_main_module.c | 51 module_param(country_code, charp, S_IRUSR | S_IRGRP | S_IROTH);
|
H A D | wlan_hdd_regulatory.c | 189 uint32_t country_code; in hdd_update_regulatory_info() local 191 country_code = cds_get_country_from_alpha2(hdd_ctx->reg.alpha2); in hdd_update_regulatory_info() 194 hdd_ctx->reg.reg_domain |= country_code; in hdd_update_regulatory_info() 858 int hdd_reg_set_country(struct hdd_context *hdd_ctx, char *country_code) in hdd_reg_set_country() argument 865 if (!country_code) { in hdd_reg_set_country() 875 qdf_mem_copy(cc, country_code, REG_ALPHA2_LEN); in hdd_reg_set_country() 878 if (!qdf_mem_cmp(country_code, hdd_ctx->reg.alpha2, REG_ALPHA2_LEN)) { in hdd_reg_set_country()
|
H A D | wlan_hdd_lpass.c | 159 wlan_reg_get_cc_and_src(hdd_ctx->psoc, data->country_code); in wlan_hdd_gen_wlan_status_pack()
|
H A D | wlan_hdd_ioctl.c | 2754 char *country_code; in __drv_cmd_country() local 2756 country_code = strnchr(command, strlen(command), ' '); in __drv_cmd_country() 2758 if (!country_code) in __drv_cmd_country() 2762 if (*country_code != SPACE_ASCII_VALUE) in __drv_cmd_country() 2765 country_code++; in __drv_cmd_country() 2768 while ((*country_code == SPACE_ASCII_VALUE) && in __drv_cmd_country() 2769 (*country_code != '\0')) in __drv_cmd_country() 2770 country_code++; in __drv_cmd_country() 2773 if (*country_code == '\0' || *(country_code + 1) == '\0') in __drv_cmd_country() 2776 return hdd_reg_set_country(hdd_ctx, country_code); in __drv_cmd_country()
|
/wlan-driver/qcacld-3.0/core/cds/inc/ |
H A D | cds_regdomain.h | 100 uint16_t country_code; member
|
/wlan-driver/qcacld-3.0/core/hdd/inc/ |
H A D | wlan_hdd_regulatory.h | 97 int hdd_reg_set_country(struct hdd_context *hdd_ctx, char *country_code);
|
/wlan-driver/qcacld-3.0/core/mac/src/pe/rrm/ |
H A D | rrm_api.c | 505 uint8_t *country_code) in rrm_get_country_code_from_connected_profile() argument 509 status = wlan_cm_get_country_code(mac->pdev, vdev_id, country_code); in rrm_get_country_code_from_connected_profile() 511 pe_debug("Country info from bcn:%c%c 0x%x", country_code[0], in rrm_get_country_code_from_connected_profile() 512 country_code[1], country_code[2]); in rrm_get_country_code_from_connected_profile() 515 qdf_mem_zero(country_code, REG_ALPHA2_LEN + 1); in rrm_get_country_code_from_connected_profile() 517 if (!country_code[0]) { in rrm_get_country_code_from_connected_profile() 518 wlan_reg_read_current_country(mac->psoc, country_code); in rrm_get_country_code_from_connected_profile() 519 country_code[2] = OP_CLASS_GLOBAL; in rrm_get_country_code_from_connected_profile() 520 pe_debug("Current country info %c%c 0x%x", country_code[0], in rrm_get_country_code_from_connected_profile() 521 country_code[1], country_code[2]); in rrm_get_country_code_from_connected_profile()
|
/wlan-driver/qca-wifi-host-cmn/umac/regulatory/dispatcher/inc/ |
H A D | wlan_reg_ucfg_api.h | 161 uint8_t *country_code); 171 uint8_t *country_code);
|
H A D | reg_services_public_struct.h | 1128 uint16_t country_code; member 1729 uint16_t country_code; member
|
/wlan-driver/qcacld-3.0/core/mac/src/pe/include/ |
H A D | rrm_api.h | 116 uint8_t *country_code);
|
/wlan-driver/qcacld-3.0/os_if/son/src/ |
H A D | os_if_son.c | 561 char *country_code) in os_if_son_set_country_code() argument 569 ret = g_son_os_if_cb.os_if_set_country_code(vdev, country_code); in os_if_son_set_country_code() 571 wlan_vdev_get_id(vdev), country_code, ret); in os_if_son_set_country_code() 578 char *country_code) in os_if_son_get_country_code() argument 592 status = ucfg_reg_get_current_country(psoc, country_code); in os_if_son_get_country_code() 594 wlan_vdev_get_id(vdev), country_code, status); in os_if_son_get_country_code()
|
/wlan-driver/qcacld-3.0/core/sme/src/rrm/ |
H A D | sme_rrm.c | 1212 uint8_t country_code[REG_ALPHA2_LEN + 1]; in sme_rrm_fill_freq_list_for_channel_load() local 1220 country_code); in sme_rrm_fill_freq_list_for_channel_load() 1222 country_code, in sme_rrm_fill_freq_list_for_channel_load() 1242 country_code, in sme_rrm_fill_freq_list_for_channel_load() 1248 country_code[0], country_code[1], country_code[2], in sme_rrm_fill_freq_list_for_channel_load()
|
/wlan-driver/qcacld-3.0/components/tdls/core/src/ |
H A D | wlan_tdls_main.c | 892 uint8_t country_code[REG_ALPHA2_LEN + 1]; in tdls_is_6g_freq_allowed() local 906 wlan_cm_get_country_code(pdev, wlan_vdev_get_id(vdev), country_code); in tdls_is_6g_freq_allowed() 907 if (!wlan_reg_ctry_support_vlp(country_code)) in tdls_is_6g_freq_allowed() 918 tdls_debug("Country IE:%c%c freq %d num_chan %d", country_code[0], in tdls_is_6g_freq_allowed() 919 country_code[1], freq, num_chan); in tdls_is_6g_freq_allowed()
|
/wlan-driver/qcacld-3.0/core/mac/src/pe/lim/ |
H A D | lim_process_action_frame.c | 1239 uint8_t country_code[CDS_COUNTRY_CODE_LEN + 1]; in lim_check_oci_match() local 1272 wlan_reg_read_current_country(mac->psoc, country_code); in lim_check_oci_match() 1275 country_code, in lim_check_oci_match()
|
H A D | lim_send_sme_rsp_messages.c | 2012 uint8_t country_code[CDS_COUNTRY_CODE_LEN + 1]; in lim_handle_sta_csa_param() local 2113 wlan_reg_read_current_country(mac_ctx->psoc, country_code); in lim_handle_sta_csa_param() 2187 country_code, in lim_handle_sta_csa_param() 2263 country_code, in lim_handle_sta_csa_param()
|
/wlan-driver/qca-wifi-host-cmn/umac/mlme/connection_mgr/core/src/ |
H A D | wlan_cm_connect.c | 2669 uint8_t country_code[REG_ALPHA2_LEN + 1] = {0}; in cm_resume_connect_after_peer_create() local 2696 wlan_reg_get_cc_and_src(psoc, country_code); in cm_resume_connect_after_peer_create() 2730 wlan_reg_get_cc_and_src(psoc, country_code); in cm_resume_connect_after_peer_create() 2741 country_code[0], in cm_resume_connect_after_peer_create() 2742 country_code[1]); in cm_resume_connect_after_peer_create()
|