Lines Matching defs:country
568 char country[12];
569 char *env[] = { country, NULL };
572 snprintf(country, sizeof(country), "COUNTRY=%c%c",
581 pr_debug("Calling CRDA for country: %c%c\n",
656 struct fwdb_country country[];
710 const struct fwdb_country *country)
712 unsigned int ptr = be16_to_cpu(country->coll_ptr) << 2;
818 const struct fwdb_country *country;
832 country = &hdr->country[0];
833 while ((u8 *)(country + 1) <= data + size) {
834 if (!country->coll_ptr)
836 if (!valid_country(data, size, country))
838 country++;
845 const struct fwdb_country *country,
859 country->alpha2[0], country->alpha2[1]);
880 const struct fwdb_country *country, int freq,
883 unsigned int ptr = be16_to_cpu(country->coll_ptr) << 2;
897 set_wmm_rule(db, country, rule, rrule);
908 const struct fwdb_country *country;
916 country = &hdr->country[0];
917 while (country->coll_ptr) {
918 if (alpha2_equal(alpha2, country->alpha2))
919 return __regdb_query_wmm(regdb, country, freq, rule);
921 country++;
929 const struct fwdb_country *country)
931 unsigned int ptr = be16_to_cpu(country->coll_ptr) << 2;
942 regdom->alpha2[0] = country->alpha2[0];
943 regdom->alpha2[1] = country->alpha2[1];
978 set_wmm_rule(db, country, rule, rrule);
987 const struct fwdb_country *country;
994 country = &hdr->country[0];
995 while (country->coll_ptr) {
996 if (alpha2_equal(alpha2, country->alpha2))
997 return regdb_query_country(regdb, country);
998 country++;
1150 * Follow the driver's regulatory domain, if present, unless a country
1686 return "country element";
1813 * will always follow the passed country IE power settings.
1928 * will always follow the passed country IE power settings.
2003 * a country IE with information for the 2.4 GHz band
2690 * to their country before the IE is picked up
2837 /* Trust a Cell base station over the AP's country IE */
2872 * reg_process_hint_country_ie - process regulatory requests from country IEs
2874 * @country_ie_request: a regulatory request from a country IE
2877 * a regulatory request issued by a country Information Element.
2902 WARN_ONCE(1, "Unexpected intersection for country elements");
3109 /* Processes beacon hints -- this has nothing to do with country IEs */
3451 * possibly stale country IE information and user regulatory
3453 * learned as we could have traveled outside to another country
3460 * Device drivers that send a regulatory hint for a specific country
3768 pr_debug("Regulatory domain changed to driver built-in settings (unknown country)\n");
3771 pr_debug("Regulatory domain changed to country: %c%c by Cell Station\n",
3774 pr_debug("Regulatory domain changed to country: %c%c\n",
3903 * and the pending request came in from a country IE
4072 /* self-managed devices ignore beacon hints and country IE */