Home
last modified time | relevance | path

Searched refs:country (Results 1 - 25 of 77) sorted by relevance

1234

/kernel/linux/linux-5.10/drivers/net/wireless/ath/
H A Dregd.c334 * - We enable initiating radiation if the country IE says its fine:
335 * - If no country IE has been processed and a we determine we have
365 * If no country IE has been received always enable passive scan
369 * If a country IE has been received check its rule for this
556 /* EEPROM value is a country code */ in ath_regd_is_eeprom_valid()
560 "a country code\n"); in ath_regd_is_eeprom_valid()
574 "ath: invalid regulatory domain/country code 0x%x\n", rd); in ath_regd_is_eeprom_valid()
578 /* EEPROM country code to regpair mapping */
604 /* Returns the map of the EEPROM set RD to a country code */
608 struct country_code_to_enum_rd *country in ath_regd_get_default_country() local
684 struct country_code_to_enum_rd *country = NULL; __ath_regd_init() local
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/ath/
H A Dregd.c334 * - We enable initiating radiation if the country IE says its fine:
335 * - If no country IE has been processed and a we determine we have
363 * @reg: regulatory structure - used for country selection
366 * If no country IE has been received always enable passive scan
370 * If a country IE has been received check its rule for this
557 /* EEPROM value is a country code */ in ath_regd_is_eeprom_valid()
561 "a country code\n"); in ath_regd_is_eeprom_valid()
575 "ath: invalid regulatory domain/country code 0x%x\n", rd); in ath_regd_is_eeprom_valid()
579 /* EEPROM country code to regpair mapping */
605 /* Returns the map of the EEPROM set RD to a country cod
609 struct country_code_to_enum_rd *country = NULL; ath_regd_get_default_country() local
685 struct country_code_to_enum_rd *country = NULL; __ath_regd_init() local
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/
H A Dregd.c195 *If no country IE has been received always enable active scan in _rtl_reg_apply_active_scan_flags()
209 *If a country IE has been recieved check its rule for this in _rtl_reg_apply_active_scan_flags()
387 struct country_code_to_enum_rd *country = NULL; in rtl_regd_init() local
397 "rtl: EEPROM regdomain: 0x%0x country code: %d\n", in rtl_regd_init()
402 "rtl: EEPROM indicates invalid country code, world wide 13 should be used\n"); in rtl_regd_init()
407 country = _rtl_regd_find_country(rtlpriv->regd.country_code); in rtl_regd_init()
409 if (country) { in rtl_regd_init()
410 rtlpriv->regd.alpha2[0] = country->iso_name[0]; in rtl_regd_init()
411 rtlpriv->regd.alpha2[1] = country->iso_name[1]; in rtl_regd_init()
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtlwifi/
H A Dregd.c195 *If no country IE has been received always enable active scan in _rtl_reg_apply_active_scan_flags()
209 *If a country IE has been recieved check its rule for this in _rtl_reg_apply_active_scan_flags()
387 struct country_code_to_enum_rd *country = NULL; in rtl_regd_init() local
397 "rtl: EEPROM regdomain: 0x%0x country code: %d\n", in rtl_regd_init()
402 "rtl: EEPROM indicates invalid country code, world wide 13 should be used\n"); in rtl_regd_init()
407 country = _rtl_regd_find_country(rtlpriv->regd.country_code); in rtl_regd_init()
409 if (country) { in rtl_regd_init()
410 rtlpriv->regd.alpha2[0] = country->iso_name[0]; in rtl_regd_init()
411 rtlpriv->regd.alpha2[1] = country->iso_name[1]; in rtl_regd_init()
/kernel/linux/linux-5.10/net/wireless/
H A Dreg.c545 char country[12]; in call_crda() local
546 char *env[] = { country, NULL }; in call_crda()
549 snprintf(country, sizeof(country), "COUNTRY=%c%c", in call_crda()
558 pr_debug("Calling CRDA for country: %c%c\n", in call_crda()
633 struct fwdb_country country[]; member
687 const struct fwdb_country *country) in valid_country()
689 unsigned int ptr = be16_to_cpu(country->coll_ptr) << 2; in valid_country()
833 const struct fwdb_country *country; in valid_regdb() local
847 country in valid_regdb()
686 valid_country(const u8 *data, unsigned int size, const struct fwdb_country *country) valid_country() argument
859 set_wmm_rule(const struct fwdb_header *db, const struct fwdb_country *country, const struct fwdb_rule *rule, struct ieee80211_reg_rule *rrule) set_wmm_rule() argument
894 __regdb_query_wmm(const struct fwdb_header *db, const struct fwdb_country *country, int freq, struct ieee80211_reg_rule *rrule) __regdb_query_wmm() argument
923 const struct fwdb_country *country; reg_query_regdb_wmm() local
943 regdb_query_country(const struct fwdb_header *db, const struct fwdb_country *country) regdb_query_country() argument
1002 const struct fwdb_country *country; query_regdb() local
[all...]
/kernel/linux/linux-6.6/net/wireless/
H A Dreg.c565 char country[12]; in call_crda() local
566 char *env[] = { country, NULL }; in call_crda()
569 snprintf(country, sizeof(country), "COUNTRY=%c%c", in call_crda()
578 pr_debug("Calling CRDA for country: %c%c\n", in call_crda()
653 struct fwdb_country country[]; member
707 const struct fwdb_country *country) in valid_country()
709 unsigned int ptr = be16_to_cpu(country->coll_ptr) << 2; in valid_country()
815 const struct fwdb_country *country; in valid_regdb() local
829 country in valid_regdb()
706 valid_country(const u8 *data, unsigned int size, const struct fwdb_country *country) valid_country() argument
841 set_wmm_rule(const struct fwdb_header *db, const struct fwdb_country *country, const struct fwdb_rule *rule, struct ieee80211_reg_rule *rrule) set_wmm_rule() argument
876 __regdb_query_wmm(const struct fwdb_header *db, const struct fwdb_country *country, int freq, struct ieee80211_reg_rule *rrule) __regdb_query_wmm() argument
905 const struct fwdb_country *country; reg_query_regdb_wmm() local
925 regdb_query_country(const struct fwdb_header *db, const struct fwdb_country *country) regdb_query_country() argument
984 const struct fwdb_country *country; query_regdb() local
[all...]
/kernel/linux/linux-5.10/drivers/staging/rtl8192e/
H A Ddot11d.c111 u16 country_len, u8 *country) in dot11d_update_country()
121 triple = (struct chnl_txpow_triple *)(country + 3); in dot11d_update_country()
125 "%s: Invalid country IE, skip it......1\n", in dot11d_update_country()
132 "%s: Invalid country IE, skip it......2\n", in dot11d_update_country()
150 memcpy(dot11d_info->country_buffer, country, country_len); in dot11d_update_country()
110 dot11d_update_country(struct rtllib_device *dev, u8 *address, u16 country_len, u8 *country) dot11d_update_country() argument
H A Ddot11d.h27 * @country_buffer contains valid country information element.
32 * @country_src_addr - Source AP of the country IE
81 u16 country_len, u8 *country);
/kernel/linux/linux-6.6/drivers/staging/rtl8192e/
H A Ddot11d.c111 u16 country_len, u8 *country) in dot11d_update_country()
121 triple = (struct chnl_txpow_triple *)(country + 3); in dot11d_update_country()
125 "%s: Invalid country IE, skip it......1\n", in dot11d_update_country()
132 "%s: Invalid country IE, skip it......2\n", in dot11d_update_country()
150 memcpy(dot11d_info->country_buffer, country, country_len); in dot11d_update_country()
110 dot11d_update_country(struct rtllib_device *dev, u8 *address, u16 country_len, u8 *country) dot11d_update_country() argument
H A Ddot11d.h27 * @country_buffer contains valid country information element.
32 * @country_src_addr - Source AP of the country IE
81 u16 country_len, u8 *country);
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A Dchannel.c106 struct country_info country; member
147 .country = LOCALES(bn, 11n),
169 * Indicates whether the country provided is valid to pass
185 * do not match ISO 3166-1 user assigned country codes in brcms_c_country_valid()
304 * set the driver's current country and regulatory information
305 * using a country code as the source. Look up built in country
306 * information found with the country code.
341 /* store the country code for passing up as a regulatory hint */ in brcms_c_channel_mgr_attach()
356 /* save default country fo in brcms_c_channel_mgr_attach()
407 const struct country_info *country; brcms_c_channel_reg_limits() local
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A Dchannel.c106 struct country_info country; member
147 .country = LOCALES(bn, 11n),
169 * Indicates whether the country provided is valid to pass
185 * do not match ISO 3166-1 user assigned country codes in brcms_c_country_valid()
304 * set the driver's current country and regulatory information
305 * using a country code as the source. Look up built in country
306 * information found with the country code.
341 /* store the country code for passing up as a regulatory hint */ in brcms_c_channel_mgr_attach()
356 /* save default country fo in brcms_c_channel_mgr_attach()
407 const struct country_info *country; brcms_c_channel_reg_limits() local
[all...]
/kernel/linux/linux-5.10/include/uapi/linux/
H A Duhid.h54 __u32 country; member
140 __u32 country; member
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wl1251/
H A Dwl12xx_80211.h117 struct wl12xx_ie_country country; member
153 struct wl12xx_ie_country country; member
/kernel/linux/linux-6.6/include/uapi/linux/
H A Duhid.h54 __u32 country; member
140 __u32 country; member
/kernel/linux/linux-6.6/drivers/net/wireless/ti/wl1251/
H A Dwl12xx_80211.h117 struct wl12xx_ie_country country; member
153 struct wl12xx_ie_country country; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
H A Duhid.h37 __u32 country; member
102 __u32 country; member
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/
H A Duhid.h50 __u32 country; member
115 __u32 country; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
H A Duhid.h50 __u32 country; member
115 __u32 country; member
/kernel/linux/linux-5.10/drivers/hid/
H A Duhid.c417 __u32 country; member
466 event->u.create.country = compat->country; in uhid_event_from_user()
531 hid->country = ev->u.create2.country; in uhid_dev_create2()
573 ev->u.create2.country = orig.country; in uhid_dev_create()
/kernel/linux/linux-6.6/drivers/hid/
H A Duhid.c416 __u32 country; member
465 event->u.create.country = compat->country; in uhid_event_from_user()
530 hid->country = ev->u.create2.country; in uhid_dev_create2()
572 ev->u.create2.country = orig.country; in uhid_dev_create()
/kernel/linux/linux-5.10/net/bluetooth/hidp/
H A Dsock.c137 __u8 country; member
188 ca.country = ca32.country; in hidp_sock_compat_ioctl()
/kernel/linux/linux-6.6/net/bluetooth/hidp/
H A Dsock.c138 __u8 country; member
189 ca.country = ca32.country; in hidp_sock_compat_ioctl()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/fw/
H A Dacpi.c285 u32 country; in iwl_acpi_get_tas() local
295 country = wifi_pkg->package.elements[3 + i].integer.value; in iwl_acpi_get_tas()
296 block_list_array[i] = cpu_to_le32(country); in iwl_acpi_get_tas()
297 IWL_DEBUG_RADIO(fwrt, "TAS block list country %d\n", country); in iwl_acpi_get_tas()
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/p54/
H A Deeprom.c638 struct pda_country *country; in p54_parse_default_country() local
640 if (len != sizeof(*country)) { in p54_parse_default_country()
642 "found possible invalid default country eeprom entry. (entry size: %d)\n", in p54_parse_default_country()
645 print_hex_dump_bytes("country:", DUMP_PREFIX_NONE, in p54_parse_default_country()
652 country = (struct pda_country *) data; in p54_parse_default_country()
653 if (country->flags == PDR_COUNTRY_CERT_CODE_PSEUDO) in p54_parse_default_country()
654 regulatory_hint(dev->wiphy, country->alpha2); in p54_parse_default_country()

Completed in 23 milliseconds

1234