Lines Matching full:country
568 char country[12]; in call_crda() local
569 char *env[] = { country, NULL }; in call_crda()
572 snprintf(country, sizeof(country), "COUNTRY=%c%c", in call_crda()
581 pr_debug("Calling CRDA for country: %c%c\n", in call_crda()
656 struct fwdb_country country[]; member
710 const struct fwdb_country *country) in valid_country() argument
712 unsigned int ptr = be16_to_cpu(country->coll_ptr) << 2; in valid_country()
818 const struct fwdb_country *country; in valid_regdb() local
832 country = &hdr->country[0]; in valid_regdb()
833 while ((u8 *)(country + 1) <= data + size) { in valid_regdb()
834 if (!country->coll_ptr) in valid_regdb()
836 if (!valid_country(data, size, country)) in valid_regdb()
838 country++; in valid_regdb()
845 const struct fwdb_country *country, in set_wmm_rule() argument
859 country->alpha2[0], country->alpha2[1]); in set_wmm_rule()
880 const struct fwdb_country *country, int freq, in __regdb_query_wmm() argument
883 unsigned int ptr = be16_to_cpu(country->coll_ptr) << 2; in __regdb_query_wmm()
897 set_wmm_rule(db, country, rule, rrule); in __regdb_query_wmm()
908 const struct fwdb_country *country; in reg_query_regdb_wmm() local
916 country = &hdr->country[0]; in reg_query_regdb_wmm()
917 while (country->coll_ptr) { in reg_query_regdb_wmm()
918 if (alpha2_equal(alpha2, country->alpha2)) in reg_query_regdb_wmm()
919 return __regdb_query_wmm(regdb, country, freq, rule); in reg_query_regdb_wmm()
921 country++; in reg_query_regdb_wmm()
929 const struct fwdb_country *country) in regdb_query_country() argument
931 unsigned int ptr = be16_to_cpu(country->coll_ptr) << 2; in regdb_query_country()
942 regdom->alpha2[0] = country->alpha2[0]; in regdb_query_country()
943 regdom->alpha2[1] = country->alpha2[1]; in regdb_query_country()
978 set_wmm_rule(db, country, rule, rrule); in regdb_query_country()
987 const struct fwdb_country *country; in query_regdb() local
994 country = &hdr->country[0]; in query_regdb()
995 while (country->coll_ptr) { in query_regdb()
996 if (alpha2_equal(alpha2, country->alpha2)) in query_regdb()
997 return regdb_query_country(regdb, country); in query_regdb()
998 country++; in query_regdb()
1150 * Follow the driver's regulatory domain, if present, unless a country in reg_get_regdomain()
1684 return "country element"; in reg_initiator_name()
1841 * will always follow the passed country IE power settings. in handle_channel_single_rule()
1956 * will always follow the passed country IE power settings. in handle_channel_adjacent_rules()
2027 * from a Country IE and the Country IE had no information in handle_channel()
2031 * a country IE with information for the 2.4 GHz band in handle_channel()
2718 * to their country before the IE is picked up in __reg_process_hint_user()
2865 /* Trust a Cell base station over the AP's country IE */ in __reg_process_hint_country_ie()
2885 * Country IE alpha2s. We could in __reg_process_hint_country_ie()
2900 * reg_process_hint_country_ie - process regulatory requests from country IEs
2902 * @country_ie_request: a regulatory request from a country IE
2905 * a regulatory request issued by a country Information Element.
2930 WARN_ONCE(1, "Unexpected intersection for country elements"); in reg_process_hint_country_ie()
3137 /* Processes beacon hints -- this has nothing to do with country IEs */
3479 * possibly stale country IE information and user regulatory
3481 * learned as we could have traveled outside to another country
3488 * Device drivers that send a regulatory hint for a specific country
3796 pr_debug("Regulatory domain changed to driver built-in settings (unknown country)\n"); in print_regdomain()
3799 pr_debug("Regulatory domain changed to country: %c%c by Cell Station\n", in print_regdomain()
3802 pr_debug("Regulatory domain changed to country: %c%c\n", in print_regdomain()
3931 * and the pending request came in from a country IE in reg_set_rd_country_ie()
4100 /* self-managed devices ignore beacon hints and country IE */ in wiphy_regulatory_register()