Home
last modified time | relevance | path

Searched refs:ccode (Results 1 - 14 of 14) sorted by relevance

/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
H A Ddhd_custom_gpio.c247 strlcpy(cspec->ccode, cloc_ptr->custom_locale, WLC_CNTRY_BUF_SZ); in get_customized_country_code()
264 memcpy(cspec->ccode, in get_customized_country_code()
272 memcpy(cspec->ccode, translate_custom_table[0].custom_locale, WLC_CNTRY_BUF_SZ); in get_customized_country_code()
H A Ddhd_ccode.c217 /* ChipID Chiprev ccode */
260 pch = strstr(ccode_list, cspec->ccode); in dhd_ccode_map_country_list()
262 cspec->rev = (int)simple_strtol(pch+strlen(cspec->ccode)+1, NULL, 0); in dhd_ccode_map_country_list()
268 memcpy(cspec->ccode, ccode_ww, 2); in dhd_ccode_map_country_list()
H A Ddhd_linux.h295 void *(*get_country_code)(char *ccode, u32 flags);
297 void *(*get_country_code)(char *ccode);
419 void *wifi_platform_get_country_code(wifi_adapter_info_t *adapter, char *ccode,
422 void *wifi_platform_get_country_code(wifi_adapter_info_t *adapter, char *ccode);
H A Ddhd_gpio.c194 static void *dhd_wlan_get_country_code(char *ccode in dhd_wlan_get_country_code()
204 if (!ccode) in dhd_wlan_get_country_code()
220 if (strcmp(ccode, locales[i].iso_abbrev) == 0) in dhd_wlan_get_country_code()
H A Dwldev_common.c494 (strncmp(country_code, cspec.ccode, WLC_CNTRY_BUF_SZ) != 0)) { in wldev_set_country()
518 strlcpy(cspec.ccode, country_code, WLC_CNTRY_BUF_SZ); in wldev_set_country()
525 __FUNCTION__, country_code, cspec.ccode, cspec.rev)); in wldev_set_country()
532 __FUNCTION__, country_code, cspec.ccode, cspec.rev); in wldev_set_country()
H A Ddhd_linux_platdev.c307 wifi_platform_get_country_code(wifi_adapter_info_t *adapter, char *ccode, u32 flags) in wifi_platform_get_country_code() argument
309 wifi_platform_get_country_code(wifi_adapter_info_t *adapter, char *ccode) in wifi_platform_get_country_code()
316 if (!ccode || !adapter || !adapter->wifi_plat_data) in wifi_platform_get_country_code()
323 return plat_data->get_country_code(ccode, flags); in wifi_platform_get_country_code()
325 return plat_data->get_country_code(ccode); in wifi_platform_get_country_code()
H A Ddhd_config.c1555 // **:**/0 => return user specified ccode if not found, but set regrev 0 in dhd_conf_map_country_list()
1558 if (!strncmp("**", country->cspec.ccode, 2)) { in dhd_conf_map_country_list()
1563 memcpy(cspec->ccode, country->cspec.ccode, WLC_CNTRY_BUF_SZ); in dhd_conf_map_country_list()
1569 memcpy(cspec->ccode, country->cspec.ccode, WLC_CNTRY_BUF_SZ); in dhd_conf_map_country_list()
1578 CONFIG_MSG("%s/%d\n", cspec->ccode, cspec->rev); in dhd_conf_map_country_list()
1590 CONFIG_MSG("set country %s, revision %d\n", cspec->ccode, cspec->rev); in dhd_conf_set_country()
1595 cspec->country_abbrev, cspec->ccode, cspec->rev); in dhd_conf_set_country()
1631 strcpy(cspec.ccode, "U in dhd_conf_fix_country()
[all...]
H A Ddhd_linux.c6976 dhd->pub.dhd_cspec.ccode[0] = 0x00; in dhd_stop()
10555 /* get a ccode and revision for the country code */ in dhd_preinit_ioctls()
10572 if (dhd->dhd_cspec.ccode[0] != 0) { in dhd_preinit_ioctls()
15611 /* Replace the ccode to XZ if ccode is undefined country */ in dhd_get_customized_country_code()
15615 strlcpy(cspec->ccode, country_iso_code, WLC_CNTRY_BUF_SZ); in dhd_get_customized_country_code()
15616 DHD_ERROR(("%s: ccode change to %s\n", __FUNCTION__, country_iso_code)); in dhd_get_customized_country_code()
H A Ddhd_common.c5721 if ((strncmp(cspec->ccode, WL_CCODE_NULL_COUNTRY, WLC_CNTRY_BUF_SZ)) == 0) { in dhd_check_current_clm_data()
/device/soc/rockchip/common/sdk_linux/include/linux/
H A Drfkill-wlan.h58 void *rockchip_wifi_country_code(char *ccode);
/device/soc/rockchip/rk3588/kernel/include/linux/
H A Drfkill-wlan.h58 void *rockchip_wifi_country_code(char *ccode);
/device/soc/rockchip/common/vendor/drivers/net/
H A Drfkill-wlan.c494 void *rockchip_wifi_country_code(char *ccode) in rockchip_wifi_country_code() argument
498 LOG("%s: set country code [%s]\n", __func__, ccode); in rockchip_wifi_country_code()
500 memcpy(mcloc->custom_locale, ccode, 0x04); in rockchip_wifi_country_code()
/device/soc/rockchip/rk3588/kernel/net/rfkill/
H A Drfkill-wlan.c500 void *rockchip_wifi_country_code(char *ccode) in rockchip_wifi_country_code() argument
504 LOG("%s: set country code [%s]\n", __func__, ccode); in rockchip_wifi_country_code()
506 memcpy(mcloc->custom_locale, ccode, 4); in rockchip_wifi_country_code()
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/include/
H A Dwlioctl.h1368 int32 rev; /**< revision specifier for ccode
1372 char ccode[WLC_CNTRY_BUF_SZ]; /**< nul-terminated built-in country code. member
1396 char ccode[WLC_CNTRY_BUF_SZ]; member

Completed in 145 milliseconds