/linux-4.1.27/drivers/net/wireless/ath/ |
D | regd.c | 122 switch (reg->country_code) { in dynamic_country_user_possible() 468 u16 country_code; in __ath_reg_dyn_country() local 474 country_code = ath_regd_find_country_by_name(request->alpha2); in __ath_reg_dyn_country() 475 if (country_code == (u16) -1) in __ath_reg_dyn_country() 479 reg->current_rd |= country_code; in __ath_reg_dyn_country() 694 reg->country_code = ath_regd_get_default_country(regdmn); in __ath_regd_init() 696 if (reg->country_code == CTRY_DEFAULT && in __ath_regd_init() 700 reg->country_code = CTRY_UNITED_STATES; in __ath_regd_init() 703 if (reg->country_code == CTRY_DEFAULT) { in __ath_regd_init() 708 country = ath_regd_find_country(reg->country_code); in __ath_regd_init() [all …]
|
D | ath.h | 85 u16 country_code; member
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/ |
D | regd.c | 331 switch (reg->country_code) { in _rtl_regdomain_select() 399 rtlpriv->regd.country_code = rtlpriv->efuse.channel_plan; in rtl_regd_init() 403 rtlpriv->regd.country_code); in rtl_regd_init() 405 if (rtlpriv->regd.country_code >= COUNTRY_CODE_MAX) { in rtl_regd_init() 409 rtlpriv->regd.country_code = COUNTRY_CODE_WORLD_WIDE_13; in rtl_regd_init() 412 country = _rtl_regd_find_country(rtlpriv->regd.country_code); in rtl_regd_init()
|
D | wifi.h | 1079 u16 country_code; member
|
/linux-4.1.27/drivers/staging/rtl8188eu/core/ |
D | rtw_ioctl_set.c | 643 int rtw_set_country(struct adapter *adapter, const char *country_code) in rtw_set_country() argument 647 DBG_88E("%s country_code:%s\n", __func__, country_code); in rtw_set_country() 651 if (0 == strcmp(country_code, "US")) in rtw_set_country() 653 else if (0 == strcmp(country_code, "EU")) in rtw_set_country() 655 else if (0 == strcmp(country_code, "JP")) in rtw_set_country() 657 else if (0 == strcmp(country_code, "CN")) in rtw_set_country() 660 DBG_88E("%s unknown country_code:%s\n", __func__, country_code); in rtw_set_country()
|
/linux-4.1.27/drivers/net/wireless/libertas/ |
D | cmd.c | 756 if (!priv->country_code[0]) in lbs_set_11d_domain_info() 763 priv->country_code[0], priv->country_code[1]); in lbs_set_11d_domain_info() 768 domain->country_code[0] = priv->country_code[0]; in lbs_set_11d_domain_info() 769 domain->country_code[1] = priv->country_code[1]; in lbs_set_11d_domain_info() 770 domain->country_code[2] = ' '; in lbs_set_11d_domain_info() 836 domain->header.len = cpu_to_le16(sizeof(domain->country_code) + in lbs_set_11d_domain_info() 840 (u8 *) &cmd.domain.country_code, in lbs_set_11d_domain_info() 846 sizeof(cmd.domain.country_code) + in lbs_set_11d_domain_info()
|
D | dev.h | 52 u8 country_code[IEEE80211_COUNTRY_STRING_LEN]; member
|
D | host.h | 390 u8 country_code[IEEE80211_COUNTRY_STRING_LEN]; member
|
D | cfg.c | 2135 memcpy(priv->country_code, request->alpha2, sizeof(request->alpha2)); in lbs_reg_notifier()
|
/linux-4.1.27/drivers/staging/rtl8188eu/os_dep/ |
D | rtw_android.c | 127 char *country_code = command + strlen(android_wifi_cmd_str[ANDROID_WIFI_CMD_COUNTRY]) + 1; in android_set_cntry() local 130 ret = rtw_set_country(adapter, country_code); in android_set_cntry()
|
/linux-4.1.27/drivers/staging/rtl8188eu/include/ |
D | rtw_ioctl_set.h | 40 int rtw_set_country(struct adapter *adapter, const char *country_code);
|
/linux-4.1.27/drivers/net/wireless/mwifiex/ |
D | sta_ioctl.c | 194 memcpy(&txpwr[8], priv->adapter->country_code, 2); in mwifiex_dnld_txpwr_table() 220 if (!strncmp(priv->adapter->country_code, &country_ie[2], 2)) { in mwifiex_process_country_ie() 226 memcpy(priv->adapter->country_code, &country_ie[2], 2); in mwifiex_process_country_ie() 228 domain_info->country_code[0] = country_ie[2]; in mwifiex_process_country_ie() 229 domain_info->country_code[1] = country_ie[3]; in mwifiex_process_country_ie() 230 domain_info->country_code[2] = ' '; in mwifiex_process_country_ie() 553 memcpy(info->country_code, adapter->country_code, in mwifiex_get_bss_info()
|
D | cfg80211.c | 439 domain_info->country_code[0] = adapter->country_code[0]; in mwifiex_send_domain_info_cmd_fw() 440 domain_info->country_code[1] = adapter->country_code[1]; in mwifiex_send_domain_info_cmd_fw() 441 domain_info->country_code[2] = ' '; in mwifiex_send_domain_info_cmd_fw() 537 strncmp(request->alpha2, adapter->country_code, in mwifiex_reg_notifier() 539 memcpy(adapter->country_code, request->alpha2, in mwifiex_reg_notifier() 3488 u8 *country_code; in mwifiex_register_cfg80211() local 3576 country_code = mwifiex_11d_code_2_region(adapter->region_code); in mwifiex_register_cfg80211() 3577 if (country_code) in mwifiex_register_cfg80211() 3579 country_code); in mwifiex_register_cfg80211()
|
D | ioctl.h | 155 u8 country_code[3]; member
|
D | sta_cmd.c | 1013 memcpy(domain->country_code, adapter->domain_reg.country_code, in mwifiex_cmd_802_11d_domain_info() 1014 sizeof(domain->country_code)); in mwifiex_cmd_802_11d_domain_info() 1019 + sizeof(domain->country_code)); in mwifiex_cmd_802_11d_domain_info()
|
D | debugfs.c | 121 p += sprintf(p, "country_code = \"%s\"\n", info.country_code); in mwifiex_info_read()
|
D | main.h | 412 u8 country_code[IEEE80211_COUNTRY_STRING_LEN]; member 883 u8 country_code[IEEE80211_COUNTRY_STRING_LEN]; member
|
D | fw.h | 1378 u8 country_code[IEEE80211_COUNTRY_STRING_LEN]; member
|
/linux-4.1.27/arch/mips/bcm63xx/boards/ |
D | board_bcm963xx.c | 719 .country_code = 0x0,
|
/linux-4.1.27/drivers/net/wireless/ |
D | adm8211.h | 504 u8 country_code; /* 0x1B */ member
|
D | adm8211.c | 175 if (priv->eeprom->country_code >= ARRAY_SIZE(cranges)) { in adm8211_read_eeprom() 177 pci_name(priv->pdev), priv->eeprom->country_code); in adm8211_read_eeprom() 181 chan_range = cranges[priv->eeprom->country_code]; in adm8211_read_eeprom()
|
/linux-4.1.27/include/linux/ssb/ |
D | ssb.h | 40 u8 country_code; /* Country Code */ member
|
/linux-4.1.27/drivers/ssb/ |
D | sdio.c | 543 sprom->country_code = tuple->data[1]; in ssb_sdio_get_invariants()
|
D | pcmcia.c | 662 sprom->country_code = tuple->TupleData[1]; in ssb_pcmcia_do_get_invariants()
|
D | pci.c | 389 SPEX(country_code, SSB_SPROM1_BINF, SSB_SPROM1_BINF_CCODE, in sprom_extract_r123()
|
/linux-4.1.27/arch/mips/bcm47xx/ |
D | sprom.c | 207 ENTRY(0x00000002, u8, pre, "cc", country_code, 0, fb); in bcm47xx_sprom_fill_auto()
|
/linux-4.1.27/drivers/net/wireless/b43legacy/ |
D | radio.c | 1771 if (dev->dev->bus->sprom.country_code == 5) /* JAPAN) */ in b43legacy_radio_selectchannel()
|
/linux-4.1.27/drivers/net/wireless/ath/ath9k/ |
D | hw.c | 445 regulatory->country_code = CTRY_DEFAULT; in ath9k_hw_init_defaults()
|
/linux-4.1.27/drivers/net/wireless/b43/ |
D | phy_g.c | 2106 if (dev->dev->bus_sprom->country_code == in b43_gphy_channel_switch()
|