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

12345

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/httpd/
H A Dgeoiplookup.c76 const char *country_code; local
118 country_code = GeoIP_country_code[country_id];
123 memcpy(ccode, country_code, 2);
125 printf("%s: %s, %s\n", GeoIPDBDescription[i], country_code,
131 if (NULL == region || region->country_code[0] == '\0') {
134 memcpy(ccode, region->country_code, 2);
137 region->country_code,
148 memcpy(ccode, gir->country_code, 2);
151 GeoIPDBDescription[i], gir->country_code, _mk_NA(
153 _mk_NA(GeoIP_region_name_by_code(gir->country_code,
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/httpd/
H A Dgeoiplookup.c76 const char *country_code; local
118 country_code = GeoIP_country_code[country_id];
123 memcpy(ccode, country_code, 2);
125 printf("%s: %s, %s\n", GeoIPDBDescription[i], country_code,
131 if (NULL == region || region->country_code[0] == '\0') {
134 memcpy(ccode, region->country_code, 2);
137 region->country_code,
148 memcpy(ccode, gir->country_code, 2);
151 GeoIPDBDescription[i], gir->country_code, _mk_NA(
153 _mk_NA(GeoIP_region_name_by_code(gir->country_code,
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/httpd/
H A Dgeoiplookup.c76 const char *country_code; local
118 country_code = GeoIP_country_code[country_id];
123 memcpy(ccode, country_code, 2);
125 printf("%s: %s, %s\n", GeoIPDBDescription[i], country_code,
131 if (NULL == region || region->country_code[0] == '\0') {
134 memcpy(ccode, region->country_code, 2);
137 region->country_code,
148 memcpy(ccode, gir->country_code, 2);
151 GeoIPDBDescription[i], gir->country_code, _mk_NA(
153 _mk_NA(GeoIP_region_name_by_code(gir->country_code,
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/rom/webs_scripts/
H A Dsig_update.sh25 country_code=`nvram get wl0_country_code`
27 country_code=`nvram get wl1_country_code`
43 sig_ver=`grep $country_code /tmp/sig_update.txt | sed s/.*#//;`
49 nvram set SKU=$country_code;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/rom/webs_scripts/
H A Dsig_update.sh25 country_code=`nvram get wl0_country_code`
27 country_code=`nvram get wl1_country_code`
43 sig_ver=`grep $country_code /tmp/sig_update.txt | sed s/.*#//;`
49 nvram set SKU=$country_code;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/rom/webs_scripts/
H A Dsig_update.sh25 country_code=`nvram get wl0_country_code`
27 country_code=`nvram get wl1_country_code`
43 sig_ver=`grep $country_code /tmp/sig_update.txt | sed s/.*#//;`
49 nvram set SKU=$country_code;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/rc/sysdeps/
H A Dinit-ralink.c692 static void chk_valid_country_code(char *country_code) argument
694 if ((unsigned char)country_code[0]!=0xff)
697 if (memcmp(country_code, "Z1", 2) == 0)
698 strcpy(country_code, "US");
699 else if(memcmp(country_code, "Z2", 2) == 0)
700 strcpy(country_code, "GB");
701 else if(memcmp(country_code, "Z3", 2) == 0)
702 strcpy(country_code, "TW");
703 else if(memcmp(country_code, "Z4", 2) == 0)
704 strcpy(country_code, "C
763 char country_code[3]; local
[all...]
H A Dinit-qca.c899 static void chk_valid_country_code(char *country_code) argument
901 if ((unsigned char)country_code[0]!=0xff)
907 strcpy(country_code, "DB");
918 char country_code[FACTORY_COUNTRY_CODE_LEN+1]; local
936 memset(country_code, 0, sizeof(country_code));
973 dst = (unsigned char*) country_code;
983 chk_valid_country_code(country_code);
984 nvram_set("wl_country_code", country_code);
985 nvram_set("wl0_country_code", country_code);
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/rc/sysdeps/
H A Dinit-ralink.c692 static void chk_valid_country_code(char *country_code) argument
694 if ((unsigned char)country_code[0]!=0xff)
697 if (memcmp(country_code, "Z1", 2) == 0)
698 strcpy(country_code, "US");
699 else if(memcmp(country_code, "Z2", 2) == 0)
700 strcpy(country_code, "GB");
701 else if(memcmp(country_code, "Z3", 2) == 0)
702 strcpy(country_code, "TW");
703 else if(memcmp(country_code, "Z4", 2) == 0)
704 strcpy(country_code, "C
763 char country_code[3]; local
[all...]
H A Dinit-qca.c899 static void chk_valid_country_code(char *country_code) argument
901 if ((unsigned char)country_code[0]!=0xff)
907 strcpy(country_code, "DB");
918 char country_code[FACTORY_COUNTRY_CODE_LEN+1]; local
936 memset(country_code, 0, sizeof(country_code));
973 dst = (unsigned char*) country_code;
983 chk_valid_country_code(country_code);
984 nvram_set("wl_country_code", country_code);
985 nvram_set("wl0_country_code", country_code);
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/rc/sysdeps/
H A Dinit-ralink.c692 static void chk_valid_country_code(char *country_code) argument
694 if ((unsigned char)country_code[0]!=0xff)
697 if (memcmp(country_code, "Z1", 2) == 0)
698 strcpy(country_code, "US");
699 else if(memcmp(country_code, "Z2", 2) == 0)
700 strcpy(country_code, "GB");
701 else if(memcmp(country_code, "Z3", 2) == 0)
702 strcpy(country_code, "TW");
703 else if(memcmp(country_code, "Z4", 2) == 0)
704 strcpy(country_code, "C
763 char country_code[3]; local
[all...]
H A Dinit-qca.c899 static void chk_valid_country_code(char *country_code) argument
901 if ((unsigned char)country_code[0]!=0xff)
907 strcpy(country_code, "DB");
918 char country_code[FACTORY_COUNTRY_CODE_LEN+1]; local
936 memset(country_code, 0, sizeof(country_code));
973 dst = (unsigned char*) country_code;
983 chk_valid_country_code(country_code);
984 nvram_set("wl_country_code", country_code);
985 nvram_set("wl0_country_code", country_code);
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/net/wireless/ath/
H A Dregd.c513 reg->country_code = ath_regd_get_default_country(regdmn);
515 if (reg->country_code == CTRY_DEFAULT &&
519 reg->country_code = CTRY_UNITED_STATES;
522 if (reg->country_code == CTRY_DEFAULT) {
527 country = ath_regd_find_country(reg->country_code);
532 reg->country_code);
575 (reg->country_code == CTRY_DEFAULT &&
H A Dath.h65 u16 country_code; member in struct:ath_regulatory
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/net/wireless/ath/
H A Dregd.c513 reg->country_code = ath_regd_get_default_country(regdmn);
515 if (reg->country_code == CTRY_DEFAULT &&
519 reg->country_code = CTRY_UNITED_STATES;
522 if (reg->country_code == CTRY_DEFAULT) {
527 country = ath_regd_find_country(reg->country_code);
532 reg->country_code);
575 (reg->country_code == CTRY_DEFAULT &&
H A Dath.h65 u16 country_code; member in struct:ath_regulatory
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/rc/
H A Dsysdeps.h49 extern int get_channel_list_via_country(int unit, const char *country_code, char *buffer, int len);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/rc/
H A Dsysdeps.h49 extern int get_channel_list_via_country(int unit, const char *country_code, char *buffer, int len);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/rc/
H A Dsysdeps.h49 extern int get_channel_list_via_country(int unit, const char *country_code, char *buffer, int len);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/httpd/sysdeps/
H A Dweb-qca.c106 extern int get_channel_list_via_country(int unit, const char *country_code, char *buffer, int len);
1352 char *country_code; local
1357 country_code = nvram_get(strcat_r(prefix, "country_code", tmp));
1360 if (country_code == NULL || strlen(country_code) != 2) return retval;
1369 else if(get_channel_list_via_country(unit, country_code, chList, sizeof(chList)) > 0)
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/net/wireless/libertas/
H A Dcmd.c745 domain->country_code[0] = request->alpha2[0];
746 domain->country_code[1] = request->alpha2[1];
747 domain->country_code[2] = ' ';
813 domain->header.len = cpu_to_le16(sizeof(domain->country_code) +
817 (u8 *) &cmd.domain.country_code,
823 sizeof(cmd.domain.country_code) +
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/net/wireless/libertas/
H A Dcmd.c745 domain->country_code[0] = request->alpha2[0];
746 domain->country_code[1] = request->alpha2[1];
747 domain->country_code[2] = ' ';
813 domain->header.len = cpu_to_le16(sizeof(domain->country_code) +
817 (u8 *) &cmd.domain.country_code,
823 sizeof(cmd.domain.country_code) +
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/httpd/sysdeps/
H A Dweb-qca.c106 extern int get_channel_list_via_country(int unit, const char *country_code, char *buffer, int len);
1352 char *country_code; local
1357 country_code = nvram_get(strcat_r(prefix, "country_code", tmp));
1360 if (country_code == NULL || strlen(country_code) != 2) return retval;
1369 else if(get_channel_list_via_country(unit, country_code, chList, sizeof(chList)) > 0)
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/httpd/sysdeps/
H A Dweb-qca.c106 extern int get_channel_list_via_country(int unit, const char *country_code, char *buffer, int len);
1352 char *country_code; local
1357 country_code = nvram_get(strcat_r(prefix, "country_code", tmp));
1360 if (country_code == NULL || strlen(country_code) != 2) return retval;
1369 else if(get_channel_list_via_country(unit, country_code, chList, sizeof(chList)) > 0)
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/ssb/
H A Dpci.c364 SPEX(country_code, SSB_SPROM1_BINF, SSB_SPROM1_BINF_CCODE,
428 SPEX(country_code, SSB_SPROM4_CCODE, 0xFFFF, 0);
432 SPEX(country_code, SSB_SPROM5_CCODE, 0xFFFF, 0);
487 SPEX(country_code, SSB_SPROM8_CCODE, 0xFFFF, 0);

Completed in 302 milliseconds

12345