/drivers/staging/rtl8188eu/include/ |
H A D | rtw_ioctl_set.h | 40 int rtw_set_country(struct adapter *adapter, const char *country_code);
|
/drivers/net/wireless/ath/ |
H A D | regd.c | 122 switch (reg->country_code) { 468 u16 country_code; local 474 country_code = ath_regd_find_country_by_name(request->alpha2); 475 if (country_code == (u16) -1) 479 reg->current_rd |= country_code; 694 reg->country_code = ath_regd_get_default_country(regdmn); 696 if (reg->country_code == CTRY_DEFAULT && 700 reg->country_code = CTRY_UNITED_STATES; 703 if (reg->country_code == CTRY_DEFAULT) { 708 country = ath_regd_find_country(reg->country_code); [all...] |
H A D | ath.h | 84 u16 country_code; member in struct:ath_regulatory
|
/drivers/net/wireless/rtlwifi/ |
H A D | regd.c | 331 switch (reg->country_code) { 398 /* init country_code from efuse channel plan */ 399 rtlpriv->regd.country_code = rtlpriv->efuse.channel_plan; 403 rtlpriv->regd.country_code); 405 if (rtlpriv->regd.country_code >= COUNTRY_CODE_MAX) { 409 rtlpriv->regd.country_code = COUNTRY_CODE_WORLD_WIDE_13; 412 country = _rtl_regd_find_country(rtlpriv->regd.country_code);
|
H A D | wifi.h | 1058 u16 country_code; member in struct:rtl_regulatory
|
/drivers/staging/rtl8188eu/os_dep/ |
H A D | rtw_android.c | 127 char *country_code = command + strlen(android_wifi_cmd_str[ANDROID_WIFI_CMD_COUNTRY]) + 1; local 130 ret = rtw_set_country(adapter, country_code);
|
/drivers/staging/rtl8188eu/core/ |
H A D | rtw_ioctl_set.c | 639 * @country_code: string of country code 643 int rtw_set_country(struct adapter *adapter, const char *country_code) argument 647 DBG_88E("%s country_code:%s\n", __func__, country_code); 651 if (0 == strcmp(country_code, "US")) 653 else if (0 == strcmp(country_code, "EU")) 655 else if (0 == strcmp(country_code, "JP")) 657 else if (0 == strcmp(country_code, "CN")) 660 DBG_88E("%s unknown country_code:%s\n", __func__, country_code); [all...] |
/drivers/net/wireless/libertas/ |
H A D | cmd.c | 756 if (!priv->country_code[0]) 763 priv->country_code[0], priv->country_code[1]); 768 domain->country_code[0] = priv->country_code[0]; 769 domain->country_code[1] = priv->country_code[1]; 770 domain->country_code[2] = ' '; 836 domain->header.len = cpu_to_le16(sizeof(domain->country_code) + 840 (u8 *) &cmd.domain.country_code, [all...] |
H A D | dev.h | 52 u8 country_code[IEEE80211_COUNTRY_STRING_LEN]; member in struct:lbs_private
|
H A D | host.h | 390 u8 country_code[IEEE80211_COUNTRY_STRING_LEN]; member in struct:mrvl_ie_domain_param_set
|
H A D | cfg.c | 2135 memcpy(priv->country_code, request->alpha2, sizeof(request->alpha2));
|
/drivers/net/wireless/mwifiex/ |
H A D | sta_ioctl.c | 194 memcpy(&txpwr[8], priv->adapter->country_code, 2); 220 if (!strncmp(priv->adapter->country_code, &country_ie[2], 2)) { 226 memcpy(priv->adapter->country_code, &country_ie[2], 2); 228 domain_info->country_code[0] = country_ie[2]; 229 domain_info->country_code[1] = country_ie[3]; 230 domain_info->country_code[2] = ' '; 553 memcpy(info->country_code, adapter->country_code,
|
H A D | cfg80211.c | 432 domain_info->country_code[0] = adapter->country_code[0]; 433 domain_info->country_code[1] = adapter->country_code[1]; 434 domain_info->country_code[2] = ' '; 530 strncmp(request->alpha2, adapter->country_code, 532 memcpy(adapter->country_code, request->alpha2, 2857 u8 *country_code; local 2941 country_code = mwifiex_11d_code_2_region(adapter->region_code); 2942 if (country_code) [all...] |
H A D | ioctl.h | 153 u8 country_code[3]; member in struct:mwifiex_bss_info
|
H A D | debugfs.c | 226 p += sprintf(p, "country_code = \"%s\"\n", info.country_code);
|
H A D | sta_cmd.c | 1009 memcpy(domain->country_code, adapter->domain_reg.country_code, 1010 sizeof(domain->country_code)); 1015 + sizeof(domain->country_code));
|
H A D | main.h | 391 u8 country_code[IEEE80211_COUNTRY_STRING_LEN]; member in struct:mwifiex_802_11d_domain_reg 823 u8 country_code[IEEE80211_COUNTRY_STRING_LEN]; member in struct:mwifiex_adapter
|
H A D | fw.h | 1313 u8 country_code[IEEE80211_COUNTRY_STRING_LEN]; member in struct:mwifiex_ietypes_domain_param_set
|
/drivers/net/wireless/ |
H A D | adm8211.h | 504 u8 country_code; /* 0x1B */ member in struct:adm8211_eeprom
|
H A D | adm8211.c | 175 if (priv->eeprom->country_code >= ARRAY_SIZE(cranges)) { 177 pci_name(priv->pdev), priv->eeprom->country_code); 181 chan_range = cranges[priv->eeprom->country_code];
|
/drivers/ssb/ |
H A D | sdio.c | 543 sprom->country_code = tuple->data[1];
|
H A D | pcmcia.c | 662 sprom->country_code = tuple->TupleData[1];
|
H A D | pci.c | 389 SPEX(country_code, SSB_SPROM1_BINF, SSB_SPROM1_BINF_CCODE,
|
/drivers/net/wireless/ath/ath9k/ |
H A D | hw.c | 408 regulatory->country_code = CTRY_DEFAULT;
|
/drivers/net/wireless/b43legacy/ |
H A D | radio.c | 1790 if (dev->dev->bus->sprom.country_code == 5) /* JAPAN) */
|