[go: nahoru, domu]

Searched refs:country_code (Results 1 - 25 of 26) sorted by relevance

12

/drivers/staging/rtl8188eu/include/
H A Drtw_ioctl_set.h40 int rtw_set_country(struct adapter *adapter, const char *country_code);
/drivers/net/wireless/ath/
H A Dregd.c122 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 Dath.h84 u16 country_code; member in struct:ath_regulatory
/drivers/net/wireless/rtlwifi/
H A Dregd.c331 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 Dwifi.h1058 u16 country_code; member in struct:rtl_regulatory
/drivers/staging/rtl8188eu/os_dep/
H A Drtw_android.c127 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 Drtw_ioctl_set.c639 * @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 Dcmd.c756 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 Ddev.h52 u8 country_code[IEEE80211_COUNTRY_STRING_LEN]; member in struct:lbs_private
H A Dhost.h390 u8 country_code[IEEE80211_COUNTRY_STRING_LEN]; member in struct:mrvl_ie_domain_param_set
H A Dcfg.c2135 memcpy(priv->country_code, request->alpha2, sizeof(request->alpha2));
/drivers/net/wireless/mwifiex/
H A Dsta_ioctl.c194 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 Dcfg80211.c432 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 Dioctl.h153 u8 country_code[3]; member in struct:mwifiex_bss_info
H A Ddebugfs.c226 p += sprintf(p, "country_code = \"%s\"\n", info.country_code);
H A Dsta_cmd.c1009 memcpy(domain->country_code, adapter->domain_reg.country_code,
1010 sizeof(domain->country_code));
1015 + sizeof(domain->country_code));
H A Dmain.h391 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 Dfw.h1313 u8 country_code[IEEE80211_COUNTRY_STRING_LEN]; member in struct:mwifiex_ietypes_domain_param_set
/drivers/net/wireless/
H A Dadm8211.h504 u8 country_code; /* 0x1B */ member in struct:adm8211_eeprom
H A Dadm8211.c175 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 Dsdio.c543 sprom->country_code = tuple->data[1];
H A Dpcmcia.c662 sprom->country_code = tuple->TupleData[1];
H A Dpci.c389 SPEX(country_code, SSB_SPROM1_BINF, SSB_SPROM1_BINF_CCODE,
/drivers/net/wireless/ath/ath9k/
H A Dhw.c408 regulatory->country_code = CTRY_DEFAULT;
/drivers/net/wireless/b43legacy/
H A Dradio.c1790 if (dev->dev->bus->sprom.country_code == 5) /* JAPAN) */

Completed in 487 milliseconds

12