/linux/drivers/net/wireless/ath/ |
H A 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/drivers/net/wireless/intel/iwlwifi/fw/api/ |
H A 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/net/wireless/ |
H A 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 …]
|
H A 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 845 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 880 __regdb_query_wmm(const struct fwdb_header * db,const struct fwdb_country * country,int freq,struct ieee80211_reg_rule * rrule) __regdb_query_wmm() argument 908 const struct fwdb_country *country; reg_query_regdb_wmm() local 929 regdb_query_country(const struct fwdb_header * db,const struct fwdb_country * country) regdb_query_country() argument 987 const struct fwdb_country *country; query_regdb() local [all...] |
H A D | core.h | 40 * country IEs on, this can help disregard country IEs from APs 44 * the country on the country IE changed. */ 54 /* If a Country IE has been received this tells us the environment
|
/linux/include/net/ |
H A 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/include/linux/platform_data/ |
H A 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/drivers/net/wireless/realtek/rtlwifi/ |
H A 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/Documentation/ABI/testing/ |
H A 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/Documentation/networking/ |
H A 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/drivers/net/wireless/ath/ath11k/ |
H A 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 …]
|
H A D | core.h | 185 /* disable country code setting from SMBIOS */ 188 /* set country code by ANSI country name, based on ISO3166-1 alpha2 */ 203 /* To set specific country, you need to set country code 204 * flag=ATH11K_SMBIOS_CC_ISO first, then if country is United 205 * States, then country code value = 0x5553 ("US",'U' = 0x55, 'S'= 206 * 0x53). To set country to INDONESIA, then country code value = 207 * 0x4944 ("IN", 'I'=0x49, 'D'=0x44). If country code flag = 986 /* This regd is set during dynamic country setting
|
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A 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/drivers/net/wireless/ti/wl1251/ |
H A D | wl12xx_80211.h | 116 struct wl12xx_ie_country country; member 152 struct wl12xx_ie_country country; member
|
/linux/Documentation/devicetree/bindings/nvmem/layouts/ |
H A D | onie,tlv-layout.yaml | 16 (name, country of manufacture, etc) as well as device caracteristics (serial 80 country-code:
|
/linux/drivers/hid/ |
H A 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/drivers/net/wireless/ath/ath12k/ |
H A D | reg.c | 91 "Country Setting is not allowed\n"); in ath12k_reg_notifier() 96 ath12k_dbg(ar->ab, ATH12K_DBG_REG, "Country is already set\n"); in ath12k_reg_notifier() 113 "failed set current country code: %d\n", ret); in ath12k_reg_notifier() 122 "failed set INIT Country code: %d\n", ret); in ath12k_reg_notifier() 169 "pdev is not supported for this country\n"); in ath12k_reg_update_chan_list() 864 * the prev or default country code to the firmware. in ath12k_regd_update_work() 896 /* In case of failure to set the requested country, in ath12k_reg_validate_reg_info() 900 ath12k_warn(ab, "Failed to set the requested Country regulatory setting\n"); in ath12k_reg_validate_reg_info()
|
/linux/drivers/net/wireless/mediatek/mt7601u/ |
H A 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/net/bluetooth/hidp/ |
H A D | sock.c | 138 __u8 country; member 189 ca.country = ca32.country; in hidp_sock_compat_ioctl()
|
/linux/include/uapi/linux/ |
H A D | uhid.h | 54 __u32 country; member 140 __u32 country; member
|
/linux/drivers/net/wireless/realtek/rtw89/ |
H A D | regd.c | 429 const struct rtw89_acpi_country_code *country; in rtw89_regd_setup_policy_6ghz() local 462 country = &ptr->country_list[i]; in rtw89_regd_setup_policy_6ghz() 463 if (memcmp("EU", country->alpha2, 2) != 0) { in rtw89_regd_setup_policy_6ghz() 465 country->alpha2); in rtw89_regd_setup_policy_6ghz() 726 /* Ignore country ie if there is a country domain programmed in chip */ in rtw89_regd_init_hint() 735 rtw89_debug_regd(rtwdev, chip_regd, "efuse country code"); in rtw89_regd_init_hint() 863 * connecting to an AP (i.e. country ie). in rtw89_regd_notifier_apply() 888 "There is a country domain programmed in chip, ignore notifications\n"); in rtw89_regd_notifier()
|
/linux/drivers/net/wireless/intersil/p54/ |
H A D | eeprom.c | 638 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()
|
H A D | eeprom.h | 205 /* PDR definitions for default country & country list */
|
/linux/drivers/input/mouse/ |
H A D | vsxxxaa.c | 105 unsigned char country; member 155 "Found %s version 0x%02x from country 0x%02x on port %s\n", in vsxxxaa_detection_done() 156 mouse->name, mouse->version, mouse->country, mouse->phys); in vsxxxaa_detection_done() 327 mouse->country = (buf[1] >> 4) & 0x07; in vsxxxaa_handle_POR_packet()
|
/linux/include/linux/ssb/ |
H A D | ssb_regs.h | 200 #define SSB_SPROM1_BINF_CCODE 0x0F00 /* Country Code */ 251 #define SSB_SPROM2_CCODE 0x007C /* Two char Country Code */ 280 #define SSB_SPROM4_CCODE 0x0052 /* Country Code (2 bytes) */ 403 #define SSB_SPROM5_CCODE 0x0044 /* Country Code (2 bytes) */ 425 #define SSB_SPROM8_CCODE 0x0092 /* 2 byte country code */
|