Home
last modified time | relevance | path

Searched refs:cur_cspec (Results 1 – 4 of 4) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/
H A Dwldev_common.c481 wl_country_t cur_cspec = {{0}, 0, {0}}; /* current ccode */ in wldev_set_country() local
493 error = wldev_iovar_getbuf(dev, "country", NULL, 0, &cur_cspec, sizeof(wl_country_t), NULL); in wldev_set_country()
507 __FUNCTION__, cur_cspec.ccode, cur_cspec.rev)); in wldev_set_country()
511 (strncmp(cspec.ccode, cur_cspec.ccode, WLC_CNTRY_BUF_SZ) != 0)) { in wldev_set_country()
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Ddhd_config.c1901 wl_country_t cur_cspec = {{0}, 0, {0}}; in dhd_conf_country() local
1905 dhd_conf_get_country(dhd, &cur_cspec); in dhd_conf_country()
1909 if (!memcmp(&cspec.ccode, &cur_cspec.ccode, WL_CCODE_LEN + 1) && in dhd_conf_country()
1910 (cspec.rev == cur_cspec.rev)) { in dhd_conf_country()
H A Dwl_cfg80211.c10456 wl_country_t cur_cspec = {{0}, 0, {0}}; in wl_is_ccode_change_required() local
10458 ret = wldev_iovar_getbuf(net, "country", NULL, 0, &cur_cspec, in wl_is_ccode_change_required()
10459 sizeof(cur_cspec), NULL); in wl_is_ccode_change_required()
10469 if ((cur_cspec.rev == cspec.rev) && 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()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Dwl_cfg80211.c10377 wl_country_t cur_cspec = {{0}, 0, {0}}; in wl_is_ccode_change_required() local
10379 ret = wldev_iovar_getbuf(net, "country", NULL, 0, &cur_cspec, in wl_is_ccode_change_required()
10380 sizeof(cur_cspec), NULL); in wl_is_ccode_change_required()
10390 if ((cur_cspec.rev == cspec.rev) && 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()