Lines Matching defs:country

77  * This table maps country ISO codes from net80211 into regulatory
157 * Return whether or not the regulatory domain/country in EEPROM
182 "%s: invalid regulatory domain/country code 0x%x\n", __func__, rd);
187 * Find the pointer to the country element in the country table
188 * corresponding to the country code
229 * Calculate a default country based on the EEPROM setting.
239 COUNTRY_CODE_TO_ENUM_RD *country;
241 country = findCountry(cc);
242 if (country != AH_NULL)
246 * Check reg domains that have only one country
269 COUNTRY_CODE_TO_ENUM_RD *country;
279 * invalid regulatory domain/country code setting.
287 country = findCountry(cc);
288 if (country == AH_NULL) {
293 regDmn = country->regDmnEnum;
297 if (country->countryCode == CTRY_DEFAULT) {
299 * Check EEPROM; SKU may be for a country, single
312 country = findCountry(cc);
313 if (country == AH_NULL) {
315 "unknown country, cc %d\n", cc);
319 regDmn = country->regDmnEnum;
331 "%s: no reg domain pair %u for country %u\n",
332 __func__, regDmn, country->countryCode);
338 "%s: no 5GHz reg domain %u for country %u\n",
339 __func__, regpair->regDmn5GHz, country->countryCode);
345 "%s: no 2GHz reg domain %u for country %u\n",
346 __func__, regpair->regDmn2GHz, country->countryCode);
353 "%s: no unitary reg domain %u for country %u\n",
354 __func__, regDmn, country->countryCode);
359 *pcountry = country;
821 COUNTRY_CODE_TO_ENUM_RD *country;
826 cc, regDmn, enableExtendedChannels, &country, &rd2GHz, &rd5GHz);
832 ah->ah_countryCode = country->countryCode;
852 COUNTRY_CODE_TO_ENUM_RD *country;
869 &country, &rd2GHz, &rd5GHz);
873 &country, &rd2GHz, &rd5GHz);
881 ah->ah_countryCode = country->countryCode;
958 * country code.