/linux-6.14.4/drivers/net/wireless/ath/ |
D | regd.c | 334 * - 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 …]
|
/linux-6.14.4/drivers/net/wireless/intel/iwlwifi/fw/api/ |
D | nvm-reg.h | 279 * regulatory profile according to the given MCC (Mobile Country Code). 283 * @mcc: given mobile country code 311 * (mobile country code). 338 * (mobile country code). 367 * (mobile country code). 402 * regulatory profile according to the given MCC (Mobile Country Code). 406 * @mcc: given mobile country code 467 * enum iwl_tas_uhb_allowed_flags - per country TAS UHB allowed flags. 584 * For each supported country, a pair of regulatory override bit and 11ax mode exist 599 * per country, one to indicate whether to override and the other to [all …]
|
/linux-6.14.4/net/wireless/ |
D | reg.h | 90 * 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 …]
|
D | reg.c | 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() [all …]
|
D | core.h | 33 * country IEs on, this can help disregard country IEs from APs 37 * the country on the country IE changed. */ 47 /* If a Country IE has been received this tells us the environment
|
/linux-6.14.4/include/net/ |
D | regulatory.h | 28 * 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 117 * ISO3166-alpha2 country code. wiphys that use regulatory_hint() 130 * based on the ISO3166-alpha2 from country IE provided through 133 * all country IE information processed by the regulatory core. This will 134 * override %REGULATORY_COUNTRY_IE_FOLLOW_POWER as all country IEs will 146 * beacon-hints, country-code IEs and hints from other devices on the same
|
/linux-6.14.4/include/linux/platform_data/ |
D | brcmfmac.h | 104 * 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
|
/linux-6.14.4/drivers/net/wireless/realtek/rtlwifi/ |
D | regd.c | 195 *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()
|
/linux-6.14.4/Documentation/ABI/testing/ |
D | sysfs-driver-hid | 12 …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).
|
/linux-6.14.4/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
D | channel.c | 99 /* 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 …]
|
/linux-6.14.4/Documentation/devicetree/bindings/net/wireless/ |
D | brcm,bcm4329-fmac.yaml | 85 description: Multiple strings for translating ISO3166 country code to 86 brcmfmac firmware country code and revision. 92 Use a trivial mapping of ISO3166 country codes to brcmfmac firmware 93 country code and revision: cc -> { cc, 0 }. In other words, assume that 94 the CLM blob firmware uses ISO3166 country codes as well, and that all
|
/linux-6.14.4/Documentation/networking/ |
D | regulatory.rst | 28 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
|
/linux-6.14.4/drivers/net/wireless/ath/ath11k/ |
D | core.h | 182 /* disable country code setting from SMBIOS */ 185 /* set country code by ANSI country name, based on ISO3166-1 alpha2 */ 200 /* To set specific country, you need to set country code 201 * flag=ATH11K_SMBIOS_CC_ISO first, then if country is United 202 * States, then country code value = 0x5553 ("US",'U' = 0x55, 'S'= 203 * 0x53). To set country to INDONESIA, then country code value = 204 * 0x4944 ("IN", 'I'=0x49, 'D'=0x44). If country code flag = 969 /* This regd is set during dynamic country setting
|
D | reg.c | 84 "Country Setting is not allowed\n"); in ath11k_reg_notifier() 89 ath11k_dbg(ar->ab, ATH11K_DBG_REG, "Country is already set\n"); in ath11k_reg_notifier() 93 /* Set the country code to the firmware and will receive in ath11k_reg_notifier() 102 "failed set current country code: %d\n", ret); in ath11k_reg_notifier() 111 "INIT Country code set to fw failed : %d\n", ret); in ath11k_reg_notifier() 462 /* We set the new country and dfs region directly and only trim in ath11k_regd_intersect() 699 "Country %s, CFG Regdomain %s FW Regdomain %d, num_reg_rules %d\n", in ath11k_reg_build_regd() 892 ath11k_warn(ab, "Failed to set the requested Country regulatory setting\n"); in ath11k_reg_handle_chan_list() 932 /* Intersect new rules with default regd if a new country setting was in ath11k_reg_handle_chan_list() 934 * and the regd coming from this event has a valid country info. in ath11k_reg_handle_chan_list() [all …]
|
/linux-6.14.4/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | of.c | 28 /* If no explicit country code map is specified, check whether in brcmf_of_get_country_codes() 58 brcmf_err("failed to read country map %s\n", map); in brcmf_of_get_country_codes() 129 brcmf_err("failed to get OF country code map (err=%d)\n", err); in brcmf_of_probe()
|
D | common.h | 41 * @trivial_ccode_map: Assume firmware uses ISO3166 country codes with rev 0 42 * @country_codes: If available, pointer to struct for translating country codes
|
/linux-6.14.4/drivers/net/wireless/ti/wl1251/ |
D | wl12xx_80211.h | 116 struct wl12xx_ie_country country; member 152 struct wl12xx_ie_country country; member
|
/linux-6.14.4/Documentation/devicetree/bindings/nvmem/layouts/ |
D | onie,tlv-layout.yaml | 16 (name, country of manufacture, etc) as well as device caracteristics (serial 80 country-code:
|
/linux-6.14.4/drivers/net/wireless/mediatek/mt76/ |
D | eeprom.c | 218 struct property *country = of_find_property(cur, "country", NULL); in mt76_find_power_limits_node() local 221 if (!country && !regd) { in mt76_find_power_limits_node() 226 if (mt76_string_prop_find(country, dev->alpha2) || in mt76_find_power_limits_node()
|
/linux-6.14.4/drivers/net/wireless/realtek/rtw89/ |
D | regd.c | 425 const struct rtw89_acpi_country_code *country; in rtw89_regd_setup_policy_6ghz() local 458 country = &ptr->country_list[i]; in rtw89_regd_setup_policy_6ghz() 459 if (memcmp("EU", country->alpha2, 2) != 0) { in rtw89_regd_setup_policy_6ghz() 461 country->alpha2); in rtw89_regd_setup_policy_6ghz() 605 /* Ignore country ie if there is a country domain programmed in chip */ in rtw89_regd_init() 614 rtw89_debug_regd(rtwdev, chip_regd, "efuse country code"); in rtw89_regd_init() 706 * connecting to an AP (i.e. country ie). in rtw89_regd_notifier_apply() 728 "There is a country domain programmed in chip, ignore notifications\n"); in rtw89_regd_notifier()
|
/linux-6.14.4/drivers/hid/ |
D | uhid.c | 416 __u32 country; member 465 event->u.create.country = compat->country; in uhid_event_from_user() 529 hid->country = ev->u.create2.country; in uhid_dev_create2() 571 ev->u.create2.country = orig.country; in uhid_dev_create()
|
/linux-6.14.4/drivers/net/wireless/mediatek/mt7601u/ |
D | eeprom.c | 175 /* EEPROM country regions 0 - 7 */ in mt7601u_set_country_reg() 178 /* EEPROM country regions 32 - 33 */ in mt7601u_set_country_reg() 191 "EEPROM country region %02x (channels %d-%d)\n", in mt7601u_set_country_reg() 199 /* TODO: country region 33 is special - phy should be set to B-mode in mt7601u_set_country_reg()
|
/linux-6.14.4/net/bluetooth/hidp/ |
D | sock.c | 138 __u8 country; member 189 ca.country = ca32.country; in hidp_sock_compat_ioctl()
|
/linux-6.14.4/include/uapi/linux/ |
D | uhid.h | 54 __u32 country; member 140 __u32 country; member
|
/linux-6.14.4/drivers/net/wireless/ath/ath12k/ |
D | reg.c | 71 "Country Setting is not allowed\n"); in ath12k_reg_notifier() 76 ath12k_dbg(ar->ab, ATH12K_DBG_REG, "Country is already set\n"); in ath12k_reg_notifier() 80 /* Set the country code to the firmware and wait for in ath12k_reg_notifier() 96 "INIT Country code set to fw failed : %d\n", ret); in ath12k_reg_notifier() 469 /* We set the new country and dfs region directly and only trim in ath12k_regd_intersect() 764 * the prev or default country code to the firmware. in ath12k_regd_update_work()
|