Home
last modified time | relevance | path

Searched refs:region_code (Results 1 – 18 of 18) sorted by relevance

/hal_nxp-latest/mcux/middleware/wifi_nxp/wlcmgr/
Dwlan_txpwrlimit_cfg.c36 t_u16 region_code; member
61 int wlan_set_rg_power_cfg(t_u16 region_code) in wlan_set_rg_power_cfg() argument
93 if (region_code == rg_power_cfg_rw610[i].region_code) in wlan_set_rg_power_cfg()
103 … wlcm_d("power_info of region_code %d not available, use US power table by default.", region_code); in wlan_set_rg_power_cfg()
113 t_u16 region_code; member
126 int wlan_set_rg_power_cfg(t_u16 region_code) in wlan_set_rg_power_cfg() argument
133 if (region_code == rg_power_cfg_FC[i].region_code) in wlan_set_rg_power_cfg()
160 unsigned int region_code = 0; in wlan_set_wwsm_txpwrlimit() local
195 wlan_get_region_code(&region_code); in wlan_set_wwsm_txpwrlimit()
196 rv = wlan_set_rg_power_cfg(region_code); in wlan_set_wwsm_txpwrlimit()
Dwlan.c6596 t_u8 region_code; in wlcm_process_region_power_cfg() local
6598 region_code = region_string_2_region_code(country_code); in wlcm_process_region_power_cfg()
6599 wlan_set_rg_power_cfg(region_code); in wlcm_process_region_power_cfg()
15402 char region_code[COUNTRY_CODE_LEN] = {0}; in wlan_set_country_code() local
15407 region_code[0] = alpha2[0]; in wlan_set_country_code()
15408 region_code[1] = alpha2[1]; in wlan_set_country_code()
15410 if (strstr(wlan_region_code, region_code) == NULL) in wlan_set_country_code()
15462 int wlan_set_region_code(unsigned int region_code) in wlan_set_region_code() argument
15466 if ((region_code == 0x40) || (region_code == 0x41) || (region_code == 0xFE)) in wlan_set_region_code()
15472 country = (char *)wlan_11d_code_2_region(mlan_adap, (unsigned char)region_code); in wlan_set_region_code()
[all …]
/hal_nxp-latest/mcux/middleware/wifi_nxp/wifidriver/
Dmlan_11d.c350 … wlan_11d_code_2_region(pmadapter, (t_u8)pmadapter->region_code), COUNTRY_CODE_LEN); in wlan_11d_generate_domain_info()
1541 t_u8 region_code = 0; local
1558 …if (wlan_11d_region_2_code(pmadapter, domain_info->country_code, &region_code) == MLAN_STATUS_SUCC…
1560 pmadapter->region_code = region_code;
1561 ret = wlan_set_regiontable(pmpriv, region_code, pmadapter->fw_bands);
1601 t_u8 region_code = 0; local
1608 …if (wlan_11d_region_2_code(pmadapter, pdomain_tlv->country_code, &region_code) == MLAN_STATUS_SUCC…
1610 pmadapter->region_code = region_code;
1611 ret = wlan_set_regiontable(pmpriv, region_code, pmadapter->fw_bands);
Dmlan_sta_ioctl.c1185 misc->param.region_code = pmadapter->region_code; in wlan_misc_ioctl_region()
1202 if (misc->param.region_code == region_code_index[i]) in wlan_misc_ioctl_region()
1204 pmadapter->region_code = (t_u16)misc->param.region_code; in wlan_misc_ioctl_region()
1216 pmadapter->cfp_code_bg = (t_u8)misc->param.region_code; in wlan_misc_ioctl_region()
1217 pmadapter->cfp_code_a = (t_u8)misc->param.region_code; in wlan_misc_ioctl_region()
1218 if (wlan_set_regiontable(pmpriv, (t_u8)pmadapter->region_code, in wlan_misc_ioctl_region()
Dmlan_cfp.c708 (cfp_bg == (t_u8)pmadapter->otp_region->region_code)) in wlan_get_region_cfp_table()
738 (cfp_a == (t_u8)pmadapter->otp_region->region_code)) in wlan_get_region_cfp_table()
2004 …cfp = wlan_get_region_cfp_table(pmadapter, pmadapter->region_code, (BAND_G | BAND_B | BAND_GN), &c…
2036 cfp = wlan_get_region_cfp_table(pmadapter, pmadapter->region_code, BAND_A, &cfp_no);
2332 if (cfp_table_BG[i].code == pmadapter->otp_region->region_code)
2341 if (cfp_table_A[i].code == pmadapter->otp_region->region_code)
2349 pmadapter->region_code = pmadapter->otp_region->region_code;
2356 pmadapter->cfp_code_bg = pmadapter->otp_region->region_code;
2358 pmadapter->cfp_code_a = pmadapter->otp_region->region_code;
Dmlan_11h.c196 if (!priv->adapter->region_code) in wlan_11h_radar_detect_required()
208 priv->adapter->region_code, (required ? "" : "not "), channel); in wlan_11h_radar_detect_required()
Dmlan_cmdevt.c1207 pmadapter->region_code = hw_spec->region_code; in wlan_ret_get_hw_spec()
1211 if (pmadapter->region_code == region_code_index[i]) in wlan_ret_get_hw_spec()
1219 pmadapter->region_code = MRVDRV_DEFAULT_REGION_CODE; in wlan_ret_get_hw_spec()
1224 pmadapter->hw_region_code = pmadapter->region_code; in wlan_ret_get_hw_spec()
1227 pmadapter->cfp_code_bg = (t_u8)pmadapter->region_code; in wlan_ret_get_hw_spec()
1228 pmadapter->cfp_code_a = (t_u8)pmadapter->region_code; in wlan_ret_get_hw_spec()
1231 … wlan_11d_code_2_region(pmadapter, (t_u8)pmadapter->region_code), COUNTRY_CODE_LEN - 1); in wlan_ret_get_hw_spec()
1235 …if (wlan_set_regiontable(pmpriv, (t_u8)pmadapter->region_code, pmadapter->fw_bands) != MLAN_STATUS… in wlan_ret_get_hw_spec()
Dmlan_api.c3208 int wifi_get_region_code(t_u32 *region_code) in wifi_get_region_code() argument
3210 *region_code = mlan_adap->region_code; in wifi_get_region_code()
3214 int wifi_set_region_code(t_u32 region_code) in wifi_set_region_code() argument
3217 .param.region_code = region_code, in wifi_set_region_code()
3220 if ((misc.param.region_code == 0x41) || (misc.param.region_code == 0xFE)) in wifi_set_region_code()
3293 wifi_sub_band_set_t *get_sub_band_from_region_code(int region_code, t_u8 *nr_sb) in get_sub_band_from_region_code() argument
3298 switch (region_code) in get_sub_band_from_region_code()
3324 wifi_sub_band_set_t *get_sub_band_from_region_code_5ghz(int region_code, t_u8 *nr_sb) in get_sub_band_from_region_code_5ghz() argument
3329 switch (region_code) in get_sub_band_from_region_code_5ghz()
3391 sub_band = get_sub_band_from_region_code_5ghz(pmpriv->adapter->region_code, &nr_sb); in wifi_11d_is_channel_allowed()
[all …]
Dwifi-uap.c334 int region_code = mlan_adap->region_code; in wifi_uap_downld_domain_params() local
343 sub_band_list = get_sub_band_from_region_code_5ghz(region_code, &nr_sb); in wifi_uap_downld_domain_params()
347 sub_band_list = get_sub_band_from_region_code(region_code, &nr_sb); in wifi_uap_downld_domain_params()
350 sub_band_list = get_sub_band_from_region_code(region_code, &nr_sb); in wifi_uap_downld_domain_params()
354 country_code = wlan_11d_code_2_region(mlan_adap, (t_u8)region_code); in wifi_uap_downld_domain_params()
872 if (priv->adapter->region_code != COUNTRY_CODE_US && chan == 165) in wlan_get_second_channel_offset()
2986 if (pmadapter->region_code != COUNTRY_CODE_US && chan == 165) in wifi_get_second_channel_offset()
Dmlan_join.c273 …if ((pmpriv->adapter->region_code == COUNTRY_CODE_JP_40 || pmpriv->adapter->region_code == COUNTRY… in wlan_setup_rates_from_bssdesc()
Dmlan_init.c391 pmadapter->region_code = MRVDRV_DEFAULT_REGION_CODE; in wlan_init_adapter()
Dwifi.c4710 pmadapter->region_code = region_string_2_region_code(country_code); in wifi_set_country_code()
4712 pmadapter->cfp_code_bg = pmadapter->region_code; in wifi_set_country_code()
4714 pmadapter->cfp_code_a = pmadapter->region_code; in wifi_set_country_code()
4717 if (wlan_set_regiontable(pmadapter->priv[1], pmadapter->region_code, pmadapter->config_bands)) in wifi_set_country_code()
Dmlan_glue.c6872 uint16_t region_code = pmpriv->adapter->region_code; in wlan_get_regulatory_domain() local
6876 …cfp = wlan_get_region_cfp_table(pmpriv->adapter, region_code, (BAND_G | BAND_B | BAND_GN), cfp_no); in wlan_get_regulatory_domain()
6881 cfp = wlan_get_region_cfp_table(pmpriv->adapter, region_code, BAND_A, cfp_no); in wlan_get_regulatory_domain()
/hal_nxp-latest/mcux/middleware/wifi_nxp/incl/wifidriver/
Dwifi.h846 int wifi_get_region_code(t_u32 *region_code);
866 int wifi_set_region_code(t_u32 region_code);
927 wifi_sub_band_set_t *get_sub_band_from_region_code(int region_code, t_u8 *nr_sb);
929 wifi_sub_band_set_t *get_sub_band_from_region_code_5ghz(int region_code, t_u8 *nr_sb);
/hal_nxp-latest/mcux/middleware/wifi_nxp/incl/wlcmgr/
Dwlan.h6854 int wlan_set_rg_power_cfg(t_u16 region_code);
7015 int wlan_set_region_code(unsigned int region_code);
7022 int wlan_get_region_code(unsigned int *region_code);
/hal_nxp-latest/mcux/middleware/wifi_nxp/wifidriver/incl/
Dmlan_ioctl.h1277 t_u8 region_code;
1670 t_u32 region_code; member
4237 t_u32 region_code; member
Dmlan_main.h2245 t_u16 region_code;
Dmlan_fw.h3458 t_u16 region_code;