Searched refs:WL_CCODE_LEN (Results 1 – 6 of 6) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/ |
| H A D | wldev_common.c | 519 strlcpy(cspec.country_abbrev, country_code, WL_CCODE_LEN + 1); in wldev_set_country() 520 strlcpy(cspec.ccode, country_code, WL_CCODE_LEN + 1); in wldev_set_country()
|
| H A D | wl_cfg80211.c | 10387 strlcpy(cspec.country_abbrev, country_code, WL_CCODE_LEN + 1); in wl_is_ccode_change_required() 10388 strlcpy(cspec.ccode, country_code, WL_CCODE_LEN + 1); in wl_is_ccode_change_required() 10391 (strncmp(cur_cspec.ccode, cspec.ccode, WL_CCODE_LEN) == 0) && in wl_is_ccode_change_required() 10392 (strncmp(cur_cspec.country_abbrev, cspec.country_abbrev, WL_CCODE_LEN) == 0)) { in wl_is_ccode_change_required() 10489 country_code, WL_CCODE_LEN)) { in wl_notify_regd() 10546 if (strlcpy(cfg->country, country_code, WL_CCODE_LEN) >= WLC_CNTRY_BUF_SZ) { in wl_cfg80211_set_country_code() 14633 if (strlcpy(country_str, data, WL_CCODE_LEN + 1) >= WLC_CNTRY_BUF_SZ) { in wl_cfg80211_ccode_evt_handler() 14637 if (strncmp(cfg->country, country_str, WL_CCODE_LEN) == 0) { in wl_cfg80211_ccode_evt_handler() 14645 strlcpy(cspec.country_abbrev, country_str, WL_CCODE_LEN + 1); in wl_cfg80211_ccode_evt_handler() 14646 strlcpy(cspec.ccode, country_str, WL_CCODE_LEN + 1); in wl_cfg80211_ccode_evt_handler()
|
| H A D | wl_cfg80211.h | 1526 #define WL_CCODE_LEN 2 macro
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/ |
| H A D | dhd_config.c | 1906 strlcpy(cspec.country_abbrev, buf, WL_CCODE_LEN + 1); in dhd_conf_country() 1907 strlcpy(cspec.ccode, buf, WL_CCODE_LEN + 1); in dhd_conf_country() 1909 if (!memcmp(&cspec.ccode, &cur_cspec.ccode, WL_CCODE_LEN + 1) && in dhd_conf_country()
|
| H A D | wl_cfg80211.c | 10466 strlcpy(cspec.country_abbrev, country_code, WL_CCODE_LEN + 1); in wl_is_ccode_change_required() 10467 strlcpy(cspec.ccode, country_code, WL_CCODE_LEN + 1); in wl_is_ccode_change_required() 10470 (strncmp(cur_cspec.ccode, cspec.ccode, WL_CCODE_LEN) == 0) && in wl_is_ccode_change_required() 10471 (strncmp(cur_cspec.country_abbrev, cspec.country_abbrev, WL_CCODE_LEN) == 0)) { in wl_is_ccode_change_required() 10568 country_code, WL_CCODE_LEN)) { in wl_notify_regd() 10625 if (strlcpy(cfg->country, country_code, WL_CCODE_LEN) >= WLC_CNTRY_BUF_SZ) { in wl_cfg80211_set_country_code() 14766 if (strlcpy(country_str, data, WL_CCODE_LEN + 1) >= WLC_CNTRY_BUF_SZ) { in wl_cfg80211_ccode_evt_handler() 14770 if (strncmp(cfg->country, country_str, WL_CCODE_LEN) == 0) { in wl_cfg80211_ccode_evt_handler()
|
| H A D | wl_cfg80211.h | 1526 #define WL_CCODE_LEN 2 macro
|