Home
last modified time | relevance | path

Searched full:country (Results 1 – 25 of 252) sorted by relevance

1234567891011

/kernel/linux/linux-6.6/drivers/net/wireless/ath/
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 code */
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/
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 = NULL; in ath_regd_get_default_country() local
[all …]
/kernel/linux/linux-6.6/net/wireless/
Dreg.h90 * regulatory_hint_country_ie - hints a country IE as a regulatory domain
93 * @band: the band on which the country IE was received on. This determines
94 * the band we'll process the country IE channel triplets for.
95 * @country_ie: pointer to the country IE
96 * @country_ie_len: length of the country IE
99 * for the alpha2 this country IE belongs to, this prevents APs from
100 * sending us incorrect or outdated information against a country.
102 * The AP is expected to provide Country IE channel triplets for the
104 * country IE triplets even for channels outside of the band they are
120 * and go to another country, whether or not we suspend and resume.
[all …]
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() argument
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 = &hdr->country[0]; in valid_regdb()
830 while ((u8 *)(country + 1) <= data + size) { in valid_regdb()
[all …]
/kernel/linux/linux-5.10/net/wireless/
Dreg.h91 * regulatory_hint_country_ie - hints a country IE as a regulatory domain
94 * @band: the band on which the country IE was received on. This determines
95 * the band we'll process the country IE channel triplets for.
96 * @country_ie: pointer to the country IE
97 * @country_ie_len: length of the country IE
100 * for the alpha2 this country IE belongs to, this prevents APs from
101 * sending us incorrect or outdated information against a country.
103 * The AP is expected to provide Country IE channel triplets for the
105 * country IE triplets even for channels outside of the band they are
121 * and go to another country, whether or not we suspend and resume.
[all …]
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() argument
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 = &hdr->country[0]; in valid_regdb()
848 while ((u8 *)(country + 1) <= data + size) { in valid_regdb()
[all …]
/kernel/linux/linux-6.6/include/net/
Dregulatory.h28 * enum environment_cap - Environment parsed from country IE
29 * @ENVIRON_ANY: indicates country IE applies to both indoor and
31 * @ENVIRON_INDOOR: indicates country IE applies only to indoor operation
32 * @ENVIRON_OUTDOOR: indicates country IE applies only to outdoor operation
51 * @alpha2: the ISO / IEC 3166 alpha2 country code of the requested
75 * country IE
119 * ISO3166-alpha2 country code. wiphys that use regulatory_hint()
132 * based on the ISO3166-alpha2 from country IE provided through
135 * all country IE information processed by the regulatory core. This will
136 * override %REGULATORY_COUNTRY_IE_FOLLOW_POWER as all country IEs will
[all …]
/kernel/linux/linux-5.10/include/net/
Dregulatory.h25 * enum environment_cap - Environment parsed from country IE
26 * @ENVIRON_ANY: indicates country IE applies to both indoor and
28 * @ENVIRON_INDOOR: indicates country IE applies only to indoor operation
29 * @ENVIRON_OUTDOOR: indicates country IE applies only to outdoor operation
48 * @alpha2: the ISO / IEC 3166 alpha2 country code of the requested
72 * country IE
116 * ISO3166-alpha2 country code. wiphys that use regulatory_hint()
129 * based on the ISO3166-alpha2 from country IE provided through
132 * all country IE information processed by the regulatory core. This will
133 * override %REGULATORY_COUNTRY_IE_FOLLOW_POWER as all country IEs will
[all …]
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/fw/api/
Dnvm-reg.h268 * regulatory profile according to the given MCC (Mobile Country Code).
272 * @mcc: given mobile country code
300 * (mobile country code).
327 * (mobile country code).
356 * (mobile country code).
391 * regulatory profile according to the given MCC (Mobile Country Code).
395 * @mcc: given mobile country code
526 * For each supported country, a pair of regulatory override bit and 11ax mode exist
541 * per country, one to indicate whether to override and the other to
544 * per country, one to indicate whether to override and the other to
[all …]
/kernel/linux/linux-6.6/include/linux/platform_data/
Dbrcmfmac.h104 * struct brcmfmac_pd_cc_entry - Struct for translating user space country code
105 * (iso3166) to firmware country code and
108 * @iso3166: iso3166 alpha 2 country code string.
109 * @cc: firmware country code string.
110 * @rev: firmware country code revision.
119 * struct brcmfmac_pd_cc - Struct for translating country codes as set by user
120 * space to a country code and rev which can be used by
144 * @country_codes: If available, pointer to struct for translating country
/kernel/linux/linux-5.10/include/linux/platform_data/
Dbrcmfmac.h104 * struct brcmfmac_pd_cc_entry - Struct for translating user space country code
105 * (iso3166) to firmware country code and
108 * @iso3166: iso3166 alpha 2 country code string.
109 * @cc: firmware country code string.
110 * @rev: firmware country code revision.
119 * struct brcmfmac_pd_cc - Struct for translating country codes as set by user
120 * space to a country code and rev which can be used by
144 * @country_codes: If available, pointer to struct for translating country
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtlwifi/
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()
418 "rtl: Country alpha2 being used: %c%c\n", in rtl_regd_init()
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/
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()
418 "rtl: Country alpha2 being used: %c%c\n", in rtl_regd_init()
/kernel/linux/linux-6.6/Documentation/ABI/testing/
Dsysfs-driver-hid12 …ces/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/country
13 What: /sys/class/bluetooth/hci<addr>/<hid-bus>:<vendor-id>:<product-id>.<num>/country
14 What: /sys/class/hidraw/hidraw<num>/device/country
19 of the device's HID country code (e.g. 21 for US).
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-driver-hid12 …ces/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/country
13 What: /sys/class/bluetooth/hci<addr>/<hid-bus>:<vendor-id>:<product-id>.<num>/country
14 What: /sys/class/hidraw/hidraw<num>/device/country
19 of the device's HID country code (e.g. 21 for US).
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Dchannel.c99 /* Country names and abbreviations with locale defined from ISO 3166 */
106 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 for exiting 11d regulatory mode */ in brcms_c_channel_mgr_attach()
[all …]
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Dchannel.c99 /* Country names and abbreviations with locale defined from ISO 3166 */
106 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 for exiting 11d regulatory mode */ in brcms_c_channel_mgr_attach()
[all …]
/kernel/linux/linux-6.6/drivers/staging/rtl8192u/ieee80211/
Ddot11d.c42 * Update country IE from Beacon or Probe Resopnse and configure PHY for
60 NumTriples = (CoutryIeLen - 3) / 3; /* skip 3-byte country string. */ in dot11d_update_country_ie()
67 netdev_err(dev->dev, "%s: Invalid country IE, skip it 1\n", __func__); in dot11d_update_country_ie()
74 netdev_err(dev->dev, "%s: Invalid country IE, skip it 2\n", __func__); in dot11d_update_country_ie()
127 /* Reset country IE if previous one is gone. */ in dot11d_scan_complete()
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/net/wireless/
Dbrcm,bcm4329-fmac.yaml83 description: Multiple strings for translating ISO3166 country code to
84 brcmfmac firmware country code and revision.
90 Use a trivial mapping of ISO3166 country codes to brcmfmac firmware
91 country code and revision: cc -> { cc, 0 }. In other words, assume that
92 the CLM blob firmware uses ISO3166 country codes as well, and that all
/kernel/linux/linux-5.10/drivers/staging/rtl8192u/ieee80211/
Ddot11d.c44 * Update country IE from Beacon or Probe Resopnse and configure PHY for
62 NumTriples = (CoutryIeLen - 3) / 3; /* skip 3-byte country string. */ in dot11d_update_country_ie()
69 netdev_err(dev->dev, "dot11d_update_country_ie(): Invalid country IE, skip it........1\n"); in dot11d_update_country_ie()
76 netdev_err(dev->dev, "dot11d_update_country_ie(): Invalid country IE, skip it........2\n"); in dot11d_update_country_ie()
129 /* Reset country IE if previous one is gone. */ in dot11d_scan_complete()
/kernel/linux/linux-5.10/Documentation/networking/
Dregulatory.rst28 given country.
52 The alpha2 is passed as an environment variable under the variable COUNTRY.
73 * Wireless subsystems for Country Information elements
84 crda can provide back a regulatory domain for that country or
95 (driver, user, country IE) and determine what to allow based on its
109 by having a mapping of your device's EEPROM country/regulatory
/kernel/linux/linux-6.6/Documentation/networking/
Dregulatory.rst28 given country.
52 The alpha2 is passed as an environment variable under the variable COUNTRY.
73 * Wireless subsystems for Country Information elements
84 crda can provide back a regulatory domain for that country or
95 (driver, user, country IE) and determine what to allow based on its
109 by having a mapping of your device's EEPROM country/regulatory
/kernel/linux/linux-5.10/drivers/staging/rtl8192e/
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/
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);
Ddot11d.c111 u16 country_len, u8 *country) in dot11d_update_country() argument
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()

1234567891011