/linux-4.1.27/net/wireless/ |
H A D | genregdb.awk | 37 country=$2 38 sub(/:/, "", country) 39 printf "static const struct ieee80211_regdomain regdom_%s = {\n", country 40 printf "\t.alpha2 = \"%s\",\n", country 49 regdb = regdb "\t®dom_" country ",\n" 140 !active && /country/ {
|
H A D | reg.h | 86 * regulatory_hint_country_ie - hints a country IE as a regulatory domain 89 * @band: the band on which the country IE was received on. This determines 90 * the band we'll process the country IE channel triplets for. 91 * @country_ie: pointer to the country IE 92 * @country_ie_len: length of the country IE 95 * for the alpha2 this country IE belongs to, this prevents APs from 96 * sending us incorrect or outdated information against a country. 100 * country IE triplets even for channels outside of the band they are 116 * and go to another country, whether or not we suspend and resume. 117 * If we suspend, go to another country and resume we'll automatically 120 * prior to our first connect attempt. This includes ignoring country IE and
|
H A D | core.h | 32 * country IEs on, this can help disregard country IEs from APs 36 * the country on the country IE changed. */
|
H A D | reg.c | 537 char country[12]; call_crda() local 538 char *env[] = { country, NULL }; call_crda() 540 snprintf(country, sizeof(country), "COUNTRY=%c%c", call_crda() 552 pr_info("Calling CRDA for country: %c%c\n", call_crda() 586 * Follow the driver's regulatory domain, if present, unless a country reg_get_regdomain() 1064 return "country IE"; reg_initiator_name() 1146 * a country IE with information for the 2.4 GHz band handle_channel() 1230 * will always follow the passed country IE power settings. handle_channel() 1849 * to their country before the IE is picked up __reg_process_hint_user() 1991 /* Trust a Cell base station over the AP's country IE */ __reg_process_hint_country_ie() 2026 * reg_process_hint_country_ie - process regulatory requests from country IEs 2027 * @country_ie_request: a regulatory request from a country IE 2030 * a regulatory request issued by a country Information Element. 2056 WARN_ONCE(1, "Unexpected intersection for country IEs"); reg_process_hint_country_ie() 2181 /* Processes beacon hints -- this has nothing to do with country IEs */ reg_process_pending_beacon_hints() 2507 * possibly stale country IE information and user regulatory 2509 * learned as we could have traveled outside to another country 2516 * Device drivers that send a regulatory hint for a specific country 2756 pr_info("Regulatory domain changed to driver built-in settings (unknown country)\n"); print_regdomain() 2759 pr_info("Regulatory domain changed to country: %c%c by Cell Station\n", print_regdomain() 2762 pr_info("Regulatory domain changed to country: %c%c\n", print_regdomain() 2887 * and the pending request came in from a country IE reg_set_rd_country_ie()
|
H A D | sme.c | 736 * - country_ie + 2, the start of the country ie data, and __cfg80211_connect_result()
|
/linux-4.1.27/drivers/staging/rtl8192u/ieee80211/ |
H A D | dot11d.c | 43 * Update country IE from Beacon or Probe Resopnse and configure PHY for 61 NumTriples = (CoutryIeLen - 3) / 3; /* skip 3-byte country string. */ Dot11d_UpdateCountryIe() 68 netdev_err(dev->dev, "Dot11d_UpdateCountryIe(): Invalid country IE, skip it........1\n"); Dot11d_UpdateCountryIe() 75 netdev_err(dev->dev, "Dot11d_UpdateCountryIe(): Invalid country IE, skip it........2\n"); Dot11d_UpdateCountryIe() 128 /* Reset country IE if previous one is gone. */ DOT11D_ScanComplete()
|
H A D | dot11d.h | 24 u16 CountryIeLen; /* > 0 if CountryIeBuf[] contains valid country information element. */ 26 u8 CountryIeSrcAddr[6]; /* Source AP of the country IE. */
|
H A D | ieee80211_rx.c | 1606 // 070305, rcnjko: I update country IE watch dog here because ieee80211_extract_country_ie() 1607 // some AP (e.g. Cisco 1242) don't include country IE in their ieee80211_extract_country_ie() 2450 // (1) if wireless adapter receive get any 802.11d country code in AP beacon, ieee80211_process_probe_response() 2451 // wireless adapter should follow the country code. ieee80211_process_probe_response() 2452 // (2) If there is no any country code in beacon, ieee80211_process_probe_response() 2470 // Case 2: No any country code. ieee80211_process_probe_response() 2491 // Case 2: No any country code. ieee80211_process_probe_response()
|
/linux-4.1.27/drivers/net/wireless/ath/ |
H A D | regd.c | 330 * - We enable initiating radiation if the country IE says its fine: 331 * - If no country IE has been processed and a we determine we have 361 * If no country IE has been received always enable passive scan 365 * If a country IE has been received check its rule for this 550 /* EEPROM value is a country code */ ath_regd_is_eeprom_valid() 554 "a country code\n"); ath_regd_is_eeprom_valid() 568 "ath: invalid regulatory domain/country code 0x%x\n", rd); ath_regd_is_eeprom_valid() 572 /* EEPROM country code to regpair mapping */ 598 /* Returns the map of the EEPROM set RD to a country code */ ath_regd_get_default_country() 602 struct country_code_to_enum_rd *country = NULL; ath_regd_get_default_country() local 605 country = ath_regd_find_country(cc); ath_regd_get_default_country() 606 if (country != NULL) ath_regd_get_default_country() 678 struct country_code_to_enum_rd *country = NULL; __ath_regd_init() local 699 "country code should be used\n"); __ath_regd_init() 704 country = NULL; __ath_regd_init() 706 printk(KERN_DEBUG "ath: doing EEPROM country->regdmn " __ath_regd_init() 708 country = ath_regd_find_country(reg->country_code); __ath_regd_init() 709 if (country == NULL) { __ath_regd_init() 711 "ath: no valid country maps found for " __ath_regd_init() 712 "country code: 0x%0x\n", __ath_regd_init() 716 regdmn = country->regDmnEnum; __ath_regd_init() 717 printk(KERN_DEBUG "ath: country maps to " __ath_regd_init() 731 if (!country) __ath_regd_init() 732 country = ath_regd_find_country_by_rd(regdmn); __ath_regd_init() 734 if (country) { __ath_regd_init() 735 reg->alpha2[0] = country->isoName[0]; __ath_regd_init() 736 reg->alpha2[1] = country->isoName[1]; __ath_regd_init()
|
/linux-4.1.27/include/net/ |
H A D | regulatory.h | 24 * enum environment_cap - Environment parsed from country IE 25 * @ENVIRON_ANY: indicates country IE applies to both indoor and 27 * @ENVIRON_INDOOR: indicates country IE applies only to indoor operation 28 * @ENVIRON_OUTDOOR: indicates country IE applies only to outdoor operation 47 * @alpha2: the ISO / IEC 3166 alpha2 country code of the requested 71 * country IE 115 * ISO3166-alpha2 country code. wiphys that use regulatory_hint() 128 * based on the ISO3166-alpha2 from country IE provided through 131 * all country IE information processed by the regulatory core. This will 132 * override %REGULATORY_COUNTRY_IE_FOLLOW_POWER as all country IEs will 155 * beacon-hints, country-code IEs and hints from other devices on the same
|
H A D | cfg80211.h | 3813 * giving it an ISO/IEC 3166 alpha2 country code it knows its regulatory 3816 * for a regulatory domain structure for the respective country. 3863 * to a specific country. Drivers can use this to apply such custom regulatory 3882 * it wants to follow we respect that unless a country IE has been received
|
/linux-4.1.27/drivers/staging/rtl8192e/ |
H A D | dot11d.h | 40 * valid country information element. 45 * @CountryIeSrcAddr - Source AP of the country IE
|
H A D | dot11d.c | 137 netdev_info(dev->dev, "Dot11d_UpdateCountryIe(): Invalid country IE, skip it........1\n"); Dot11d_UpdateCountryIe() 142 netdev_info(dev->dev, "Dot11d_UpdateCountryIe(): Invalid country IE, skip it........2\n"); Dot11d_UpdateCountryIe()
|
/linux-4.1.27/drivers/net/wireless/ti/wl1251/ |
H A D | wl12xx_80211.h | 116 struct wl12xx_ie_country country; member in struct:wl12xx_beacon_template 152 struct wl12xx_ie_country country; member in struct:wl12xx_probe_resp_template
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmsmac/ |
H A D | channel.c | 106 struct country_info country; member in struct:brcms_regd 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 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 */ brcms_c_channel_mgr_attach() 356 /* save default country for exiting 11d regulatory mode */ brcms_c_channel_mgr_attach() 407 const struct country_info *country; brcms_c_channel_reg_limits() local 420 country = &wlc_cm->world_regd->country; brcms_c_channel_reg_limits() 425 brcms_c_get_mimo_5g(country->locale_mimo_5G) : brcms_c_channel_reg_limits() 426 brcms_c_get_mimo_2g(country->locale_mimo_2G); brcms_c_channel_reg_limits()
|
H A D | main.h | 430 * country_default: saved country for leaving 802.11d auto-country mode. 431 * autocountry_default: initial country for 802.11d auto-country mode.
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/ |
H A D | regd.c | 206 *If no country IE has been received always enable active scan _rtl_reg_apply_active_scan_flags() 220 *If a country IE has been recieved check its rule for this _rtl_reg_apply_active_scan_flags() 393 struct country_code_to_enum_rd *country = NULL; rtl_regd_init() local 412 country = _rtl_regd_find_country(rtlpriv->regd.country_code); rtl_regd_init() 414 if (country) { rtl_regd_init() 415 rtlpriv->regd.alpha2[0] = country->iso_name[0]; rtl_regd_init() 416 rtlpriv->regd.alpha2[1] = country->iso_name[1]; rtl_regd_init()
|
/linux-4.1.27/drivers/net/wireless/p54/ |
H A D | eeprom.h | 208 /* PDR definitions for default country & country list */
|
H A D | eeprom.c | 639 struct pda_country *country; p54_parse_default_country() local 641 if (len != sizeof(*country)) { p54_parse_default_country() 643 "found possible invalid default country eeprom entry. (entry size: %d)\n", p54_parse_default_country() 646 print_hex_dump_bytes("country:", DUMP_PREFIX_NONE, p54_parse_default_country() 653 country = (struct pda_country *) data; p54_parse_default_country() 654 if (country->flags == PDR_COUNTRY_CERT_CODE_PSEUDO) p54_parse_default_country() 655 regulatory_hint(dev->wiphy, country->alpha2); p54_parse_default_country()
|
/linux-4.1.27/include/uapi/linux/ |
H A D | uhid.h | 53 __u32 country; member in struct:uhid_create2_req 139 __u32 country; member in struct:uhid_create_req
|
H A D | nl80211.h | 298 * to the specified ISO/IEC 3166-1 alpha2 country code. The core will 1129 * @NL80211_ATTR_REG_ALPHA2: an ISO-3166-alpha2 country code for which the 1135 * IEEE-802.11 country information element to identify a country. 1530 * @NL80211_ATTR_DFS_REGION: region for regulatory rules which this country 1531 * abides to when initiating radiation on DFS channels. A country maps 2705 * 802.11 country information element with regulatory information it 2706 * thinks we should consider. cfg80211 only processes the country 2709 * If a channel is enabled but the country code indicates it should 2722 * to a specific country. When this is set you can count on the 2723 * ISO / IEC 3166 alpha2 country code being valid.
|
H A D | ixjuser.h | 537 * US coefficients by default, so if you live in a different country you
|
/linux-4.1.27/include/linux/ |
H A D | yam.h | 25 * authority of your country.
|
H A D | hid.h | 506 unsigned country; /* HID country */ member in struct:hid_device
|
/linux-4.1.27/net/bluetooth/hidp/ |
H A D | sock.c | 132 __u8 country; member in struct:compat_hidp_connadd_req 178 put_user(ca.country, &uca->country) || hidp_sock_compat_ioctl()
|
H A D | hidp.h | 95 __u8 country; member in struct:hidp_connadd_req
|
H A D | core.c | 774 hid->country = req->country; hidp_setup_hid()
|
/linux-4.1.27/drivers/hid/ |
H A D | uhid.c | 381 __u32 country; member in struct:uhid_create_req_compat 430 event->u.create.country = compat->country; uhid_event_from_user() 494 hid->country = ev->u.create2.country; uhid_dev_create2() 540 ev->u.create2.country = orig.country; uhid_dev_create()
|
H A D | hid-core.c | 1571 return sprintf(buf, "%02x\n", hdev->country & 0xff); show_country() 1581 .attr = { .name = "country", .mode = 0444 }, 1666 "can't create sysfs country code attribute err: %d\n", ret); hid_connect()
|
H A D | hid-logitech-dj.c | 761 djdev->hdev->country = 0x00; logi_dj_ll_parse()
|
/linux-4.1.27/drivers/input/mouse/ |
H A D | vsxxxaa.c | 120 unsigned char country; member in struct:vsxxxaa 170 "Found %s version 0x%02x from country 0x%02x on port %s\n", vsxxxaa_detection_done() 171 mouse->name, mouse->version, mouse->country, mouse->phys); vsxxxaa_detection_done() 342 mouse->country = (buf[1] >> 4) & 0x07; vsxxxaa_handle_POR_packet()
|
/linux-4.1.27/drivers/usb/class/ |
H A D | cdc-acm.h | 90 u8 *country_codes; /* country codes from device */
|
H A D | cdc-acm.c | 1432 if (cfd) { /* export the country data */ acm_probe()
|
/linux-4.1.27/drivers/staging/rtl8188eu/core/ |
H A D | rtw_ioctl_set.c | 639 * @country_code: string of country code 649 /* TODO: should have a table to match country code and RT_CHANNEL_DOMAIN */ rtw_set_country() 650 /* TODO: should consider 2-character and 3-character country code */ rtw_set_country()
|
H A D | rtw_mlme_ext.c | 4086 u8 country[4]; process_80211d() local 4100 memset(country, 0, 4); process_80211d() 4101 memcpy(country, p, 3); process_80211d() 4104 ("%s: 802.11d country =%s\n", __func__, country)); process_80211d()
|
/linux-4.1.27/drivers/net/wireless/iwlwifi/ |
H A D | iwl-nvm-parse.h | 85 * iwl_parse_mcc_info - parse MCC (mobile country code) info coming from FW
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/ |
H A D | fwil_types.h | 530 * struct brcmf_fil_country_le - country configuration structure. 532 * @country_abbrev: null-terminated country code used in the country IE. 534 * @ccode: null-terminated built-in country code.
|
H A D | p2p.c | 861 /* 3(country) + 1(op. class) + 1(chan num) */ brcmf_p2p_find_listen_channel()
|
H A D | cfg80211.c | 6001 /* ignore non-ISO3166 country codes */ brcmf_cfg80211_reg_notifier() 6010 brcmf_fil_iovar_data_set(ifp, "country", &ccreq, sizeof(ccreq)); brcmf_cfg80211_reg_notifier()
|
/linux-4.1.27/drivers/net/wireless/ |
H A D | ray_cs.c | 148 static int country = USA; variable 181 module_param(country, int, 0); 584 if (country > JAPAN_TEST) init_startup_params() 585 country = USA; init_startup_params() 586 else if (country < USA) init_startup_params() 587 country = USA; init_startup_params() 611 local->sparm.b4.a_curr_country_code = country; init_startup_params() 613 hop_pattern_length[(int)country] - 1; init_startup_params() 629 local->sparm.b5.a_curr_country_code = country; init_startup_params() 631 hop_pattern_length[(int)country]; init_startup_params() 1337 range->num_channels = hop_pattern_length[(int)country]; ray_get_range() 1374 * Wireless Private Handler : get country 1379 *(extra) = country; ray_get_country() 1457 #define SIOCGIPCOUNTRY SIOCIWFIRSTPRIV + 3 /* Get country code */
|
H A D | rndis_wlan.c | 49 module_param_string(country, modparam_country, 4, 0444); 50 MODULE_PARM_DESC(country, "Country code (ISO 3166-1 alpha-2), default: EU"); 3302 /* doesn't support EU as country code, use FI instead */ rndis_copy_module_params()
|
H A D | adm8211.c | 176 printk(KERN_WARNING "%s (adm8211): Invalid country code (%d)\n", adm8211_read_eeprom()
|
H A D | airo.c | 740 __le16 country; member in struct:CapabilityRid 4690 le16_to_cpu(cap_rid.country), proc_status_open() 6898 /* Should be based on cap_rid.country to give only airo_get_range()
|
/linux-4.1.27/drivers/media/pci/saa7164/ |
H A D | saa7164-types.h | 387 u32 country; member in struct:tmComResTunerStandard
|
H A D | saa7164-api.c | 569 tvaudio.country = 1; saa7164_api_set_audio_std() 572 tvaudio.country = 44; saa7164_api_set_audio_std()
|
/linux-4.1.27/drivers/net/wireless/brcm80211/include/ |
H A D | brcmu_wifi.h | 74 #define WL_CHAN_VALID_SW (1 << 1) /* valid with country sett. */
|
/linux-4.1.27/arch/arm/include/asm/ |
H A D | ecard.h | 101 unsigned char country; /* Country */ member in struct:in_ecid
|
/linux-4.1.27/include/uapi/linux/usb/ |
H A D | cdc.h | 118 /* ... and there can be a lot of country codes */
|
/linux-4.1.27/samples/uhid/ |
H A D | uhid-example.c | 188 ev.u.create.country = 0; create()
|
/linux-4.1.27/drivers/mfd/ |
H A D | ipaq-micro.c | 277 dev_info(micro->dev, "country ID: %u\n", ipaq_micro_to_u16(dump+86)); ipaq_micro_eeprom_dump()
|
/linux-4.1.27/drivers/net/hamradio/ |
H A D | baycom_par.c | 24 * authority of your country.
|
H A D | baycom_ser_fdx.c | 24 * authority of your country.
|
H A D | baycom_ser_hdx.c | 24 * authority of your country.
|
H A D | hdlcdrv.c | 24 * authority of your country.
|
H A D | baycom_epp.c | 25 * authority of your country.
|
H A D | yam.c | 25 * authority of your country.
|
H A D | scc.c | 36 ! You m u s t recognize the appropriate legislations of your country !
|
/linux-4.1.27/drivers/video/fbdev/ |
H A D | valkyriefb.c | 337 /* Hardcoded addresses... welcome to 68k Macintosh country :-) */ valkyriefb_init()
|
/linux-4.1.27/drivers/media/v4l2-core/ |
H A D | tuner-core.c | 883 * On other operational systems, the drivers generally have a per-country 884 * code, and some logic to apply per-country hacks. V4L2 API doesn't provide
|
/linux-4.1.27/drivers/net/wireless/ipw2x00/ |
H A D | ipw2100.h | 1046 IPW_ORD_COUNTRY_CODE, // IEEE country code as recv'd from beacon 1047 IPW_ORD_COUNTRY_CHANNELS, // channels supported by country
|
H A D | ipw2200.h | 1289 u8 country[4]; member in struct:ipw_priv
|
H A D | ipw2100.c | 3758 "IEEE country code as recv'd from beacon"), 3760 "channels supported by country"),
|
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/ |
H A D | fw-api.h | 1490 * @mcc: given mobile country code 1503 * (mobile country code). 1534 * @mcc: given mobile country code
|
/linux-4.1.27/drivers/net/wireless/libertas/ |
H A D | cmd.c | 762 lbs_deb_11d("Setting country code '%c%c'\n", lbs_set_11d_domain_info() 767 /* Set country code */ lbs_set_11d_domain_info()
|
/linux-4.1.27/drivers/net/wireless/ath/ath6kl/ |
H A D | wmi.c | 990 struct country_code_to_enum_rd *country = NULL; ath6kl_wmi_regdomain_event() local 999 country = ath6kl_regd_find_country((u16) reg_code); ath6kl_wmi_regdomain_event() 1002 country = ath6kl_regd_find_country_by_rd((u16) reg_code); ath6kl_wmi_regdomain_event() 1011 if (country && wmi->parent_dev->wiphy_registered) { ath6kl_wmi_regdomain_event() 1012 alpha2[0] = country->isoName[0]; ath6kl_wmi_regdomain_event() 1013 alpha2[1] = country->isoName[1]; ath6kl_wmi_regdomain_event()
|
/linux-4.1.27/drivers/staging/rtl8723au/core/ |
H A D | rtw_mlme_ext.c | 4507 u8 country[4]; process_80211d() local 4521 memcpy(country, p, 3); process_80211d() 4522 country[3] = '\0'; process_80211d() 4526 "%s: 802.11d country =%s\n", __func__, country); process_80211d()
|
/linux-4.1.27/drivers/media/pci/ivtv/ |
H A D | ivtv-cards.c | 422 on the country/region setting of the user to decide which tuner
|
/linux-4.1.27/drivers/staging/rtl8723au/include/ |
H A D | rtl8723a_bt-coexist.h | 1065 #define COUNTRY_STR_LEN 3 /* country string len = 3 */
|
/linux-4.1.27/include/linux/ssb/ |
H A D | ssb_regs.h | 424 #define SSB_SPROM8_CCODE 0x0092 /* 2 byte country code */
|
/linux-4.1.27/arch/arm/mach-rpc/ |
H A D | ecard.c | 915 ec->cid.country = cid.r_country; ecard_probe()
|
/linux-4.1.27/drivers/net/wireless/mwifiex/ |
H A D | cfg80211.c | 438 /* Set country code */ mwifiex_send_domain_info_cmd_fw() 3578 wiphy_info(wiphy, "ignoring F/W country code %2.2s\n", mwifiex_register_cfg80211()
|
/linux-4.1.27/drivers/hid/usbhid/ |
H A D | hid-core.c | 996 hid->country = hdesc->bCountryCode; usbhid_parse()
|
/linux-4.1.27/net/mac80211/ |
H A D | tx.c | 1857 * your country is not known and as such it should be treated as ieee80211_monitor_start_xmit()
|
H A D | mlme.c | 318 * regulatory information based on the AP's country IE and the ieee80211_determine_chantype()
|
/linux-4.1.27/drivers/staging/rtl8192u/ |
H A D | r8192U_core.c | 196 GET_DOT11D_INFO(ieee)->bEnabled = 0;//this flag enabled to follow 11d country IE setting, otherwise, it shall follow global domain settings. rtl819x_set_channel_map()
|
/linux-4.1.27/drivers/scsi/ |
H A D | ips.c | 49 /* Directions to find IBM Customer Support for each country can be found at: */
|
/linux-4.1.27/drivers/staging/rtl8723au/hal/ |
H A D | rtl8723a_bt-coexist.c | 236 /* contains country string, len is 3 */ bthci_DecideBTChannel()
|