Home
last modified time | relevance | path

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

/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/wal/
H A Dwal_customize.c53 static hi_void init_int_to_str_for_country_code(hi_char *country_code, hi_s32 size_code) in init_int_to_str_for_country_code() argument
60 if (country_code != HI_NULL) { in init_int_to_str_for_country_code()
65 country_code[0] = cuntry_char[idx]; in init_int_to_str_for_country_code()
67 country_code[0] = '\0'; in init_int_to_str_for_country_code()
72 country_code[1] = cuntry_char[idx]; in init_int_to_str_for_country_code()
74 country_code[1] = '\0'; in init_int_to_str_for_country_code()
76 country_code[2] = '\0'; /* 2 国码第3位 */ in init_int_to_str_for_country_code()
78 country_code[0] = '\0'; in init_int_to_str_for_country_code()
95 static hi_u32 init_str_to_int_for_country_code(const hi_char *country_code, hi_s32 size_code) in init_str_to_int_for_country_code() argument
99 if ((country_code ! in init_str_to_int_for_country_code()
684 hi_char country_code[COUNTRY_CODE_LEN] = {'\\0'}; wal_customize_init_country() local
1187 wal_cfg_country_code(const hi_char *country_code, hi_s32 size) wal_cfg_country_code() argument
1304 hi_char country_code[] = "NC"; /* 初始国家码为CN,CN第1个字符和第2个字符替换位置结果为NC */ wal_customize_init() local
[all...]
H A Dwal_customize.h570 hi_u32 wal_cfg_country_code(const hi_char *country_code, hi_s32 size);
H A Dhi_wifi_driver_api.c298 data[0] = params->country_code[1]; in hi_wifi_set_customize_params()
299 data[1] = params->country_code[0]; in hi_wifi_set_customize_params()
H A Dwal_ioctl.c2962 const hi_s8 *country_code = HI_NULL; in wal_priv_cmd_exec() local
2970 country_code = (hi_char *)puc_command + strlen((hi_char *)CMD_COUNTRY) + 1; in wal_priv_cmd_exec()
2971 if (memcpy_s(auc_country_code, sizeof(auc_country_code), country_code, 2) != EOK) { /* 复制长度为2 */ in wal_priv_cmd_exec()
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
H A Dwldev_common.c471 struct net_device *dev, char *country_code, bool notify, bool user_enforced, int revinfo) in wldev_set_country()
482 if (!country_code) in wldev_set_country()
494 (strncmp(country_code, cspec.ccode, WLC_CNTRY_BUF_SZ) != 0)) { in wldev_set_country()
517 strlcpy(cspec.country_abbrev, country_code, WLC_CNTRY_BUF_SZ); 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()
470 wldev_set_country( struct net_device *dev, char *country_code, bool notify, bool user_enforced, int revinfo) wldev_set_country() argument
H A Dwldev_common.h106 extern int wldev_set_country(struct net_device *dev, char *country_code, bool notify,
H A Dhdf_public_ap6275s.h78 extern int32_t wl_cfg80211_set_country_code(struct net_device *net, char *country_code,
H A Dwl_android.c5756 char *country_code = command + strlen(CMD_COUNTRY) + 1; in wl_handle_private_cmd() local
5757 char *rev_info_delim = country_code + 2; /* 2 bytes of country code */ in wl_handle_private_cmd()
5773 bytes_written = wl_cfg80211_set_country_code(net, country_code, in wl_handle_private_cmd()
5776 bytes_written = wldev_set_country(net, country_code, true, true, revinfo); in wl_handle_private_cmd()
H A Dwl_cfgvendor.c389 char country_code[WLC_CNTRY_BUF_SZ] = {0}; in wl_cfgvendor_set_country() local
398 err = memcpy_s(country_code, WLC_CNTRY_BUF_SZ, in wl_cfgvendor_set_country()
411 err = wl_cfg80211_set_country_code(primary_ndev, country_code, true, true, -1); in wl_cfgvendor_set_country()
H A Dwl_cfg80211.h2177 extern s32 wl_cfg80211_set_country_code(struct net_device *dev, char *country_code,
H A Ddhd.h1001 uint8 country_code[WLC_CNTRY_BUF_SZ]; member
H A Dwl_cfg80211.c12866 wl_cfg80211_set_country_code(struct net_device *net, char *country_code, in wl_cfg80211_set_country_code() argument
12885 ret = wldev_set_country(net, country_code, in wl_cfg80211_set_country_code()
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/include/
H A Dhi_wifi_api.h696 char country_code[HI_WIFI_COUNTRY_CODE_BITS_CNT]; member
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/
H A Doal_net.h1499 } country_code; member

Completed in 103 milliseconds