/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/wal/ |
H A D | wal_customize.c | 53 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 D | wal_customize.h | 570 hi_u32 wal_cfg_country_code(const hi_char *country_code, hi_s32 size);
|
H A D | hi_wifi_driver_api.c | 298 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 D | wal_ioctl.c | 2962 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 D | wldev_common.c | 471 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 D | wldev_common.h | 106 extern int wldev_set_country(struct net_device *dev, char *country_code, bool notify,
|
H A D | hdf_public_ap6275s.h | 78 extern int32_t wl_cfg80211_set_country_code(struct net_device *net, char *country_code,
|
H A D | wl_android.c | 5756 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 D | wl_cfgvendor.c | 389 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 D | wl_cfg80211.h | 2177 extern s32 wl_cfg80211_set_country_code(struct net_device *dev, char *country_code,
|
H A D | dhd.h | 1001 uint8 country_code[WLC_CNTRY_BUF_SZ]; member
|
H A D | wl_cfg80211.c | 12866 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 D | hi_wifi_api.h | 696 char country_code[HI_WIFI_COUNTRY_CODE_BITS_CNT]; member
|
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/ |
H A D | oal_net.h | 1499 } country_code; member
|