Home
last modified time | relevance | path

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

12

/drivers/net/wireless/ath/
Dregd.c122 switch (reg->country_code) { in dynamic_country_user_possible()
261 if (reg->country_code == CTRY_INDIA) in ath_is_radar_freq()
473 u16 country_code; in __ath_reg_dyn_country() local
479 country_code = ath_regd_find_country_by_name(request->alpha2); in __ath_reg_dyn_country()
480 if (country_code == (u16) -1) in __ath_reg_dyn_country()
484 reg->current_rd |= country_code; in __ath_reg_dyn_country()
699 reg->country_code = ath_regd_get_default_country(regdmn); in __ath_regd_init()
701 if (reg->country_code == CTRY_DEFAULT && in __ath_regd_init()
705 reg->country_code = CTRY_UNITED_STATES; in __ath_regd_init()
708 if (reg->country_code == CTRY_DEFAULT) { in __ath_regd_init()
[all …]
Dath.h85 u16 country_code; member
/drivers/net/wireless/realtek/rtlwifi/
Dregd.c343 switch (reg->country_code) { in _rtl_regdomain_select()
434 rtlpriv->regd.country_code = in rtl_regd_init()
439 rtlpriv->efuse.channel_plan, rtlpriv->regd.country_code); in rtl_regd_init()
441 if (rtlpriv->regd.country_code >= COUNTRY_CODE_MAX) { in rtl_regd_init()
445 rtlpriv->regd.country_code = COUNTRY_CODE_WORLD_WIDE_13; in rtl_regd_init()
448 country = _rtl_regd_find_country(rtlpriv->regd.country_code); in rtl_regd_init()
Dwifi.h1099 u16 country_code; member
/drivers/net/wireless/libertas/
Dcmd.c756 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()
Ddev.h52 u8 country_code[IEEE80211_COUNTRY_STRING_LEN]; member
Dhost.h390 u8 country_code[IEEE80211_COUNTRY_STRING_LEN]; member
Dcfg.c2146 memcpy(priv->country_code, request->alpha2, sizeof(request->alpha2)); in lbs_reg_notifier()
/drivers/net/wireless/mwifiex/
Dsta_ioctl.c200 memcpy(&txpwr[8], priv->adapter->country_code, 2); in mwifiex_dnld_txpwr_table()
226 if (!strncmp(priv->adapter->country_code, &country_ie[2], 2)) { in mwifiex_process_country_ie()
241 memcpy(priv->adapter->country_code, &country_ie[2], 2); in mwifiex_process_country_ie()
243 domain_info->country_code[0] = country_ie[2]; in mwifiex_process_country_ie()
244 domain_info->country_code[1] = country_ie[3]; in mwifiex_process_country_ie()
245 domain_info->country_code[2] = ' '; in mwifiex_process_country_ie()
577 memcpy(info->country_code, adapter->country_code, in mwifiex_get_bss_info()
Dcfg80211.c495 domain_info->country_code[0] = adapter->country_code[0]; in mwifiex_send_domain_info_cmd_fw()
496 domain_info->country_code[1] = adapter->country_code[1]; in mwifiex_send_domain_info_cmd_fw()
497 domain_info->country_code[2] = ' '; in mwifiex_send_domain_info_cmd_fw()
596 strncmp(request->alpha2, adapter->country_code, in mwifiex_reg_notifier()
598 memcpy(adapter->country_code, request->alpha2, in mwifiex_reg_notifier()
3782 u8 *country_code; in mwifiex_register_cfg80211() local
3881 country_code = mwifiex_11d_code_2_region(adapter->region_code); in mwifiex_register_cfg80211()
3882 if (country_code) in mwifiex_register_cfg80211()
3885 country_code); in mwifiex_register_cfg80211()
Dioctl.h156 u8 country_code[3]; member
Dsta_cmd.c1022 memcpy(domain->country_code, adapter->domain_reg.country_code, in mwifiex_cmd_802_11d_domain_info()
1023 sizeof(domain->country_code)); in mwifiex_cmd_802_11d_domain_info()
1028 + sizeof(domain->country_code)); in mwifiex_cmd_802_11d_domain_info()
Dmain.h466 u8 country_code[IEEE80211_COUNTRY_STRING_LEN]; member
960 u8 country_code[IEEE80211_COUNTRY_STRING_LEN]; member
Ddebugfs.c122 p += sprintf(p, "country_code = \"%s\"\n", info.country_code); in mwifiex_info_read()
Dfw.h1478 u8 country_code[IEEE80211_COUNTRY_STRING_LEN]; member
/drivers/staging/rtl8188eu/os_dep/
Drtw_android.c127 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()
/drivers/staging/rtl8188eu/core/
Drtw_ioctl_set.c643 int rtw_set_country(struct adapter *adapter, const char *country_code) in rtw_set_country() argument
648 DBG_88E("%s country_code:%s\n", __func__, country_code); in rtw_set_country()
650 if (0 == strcmp(channel_table[i].name, country_code)) { in rtw_set_country()
657 DBG_88E("%s unknown country_code:%s\n", __func__, country_code); in rtw_set_country()
/drivers/staging/rtl8188eu/include/
Drtw_ioctl_set.h40 int rtw_set_country(struct adapter *adapter, const char *country_code);
/drivers/net/wireless/
Dadm8211.h504 u8 country_code; /* 0x1B */ member
Dadm8211.c175 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()
/drivers/ssb/
Dsdio.c542 sprom->country_code = tuple->data[1]; in ssb_sdio_get_invariants()
Dpcmcia.c661 sprom->country_code = tuple->TupleData[1]; in ssb_pcmcia_do_get_invariants()
Dpci.c389 SPEX(country_code, SSB_SPROM1_BINF, SSB_SPROM1_BINF_CCODE, in sprom_extract_r123()
/drivers/net/wireless/b43legacy/
Dradio.c1771 if (dev->dev->bus->sprom.country_code == 5) /* JAPAN) */ in b43legacy_radio_selectchannel()
/drivers/net/wireless/ath/ath9k/
Dhw.c457 regulatory->country_code = CTRY_DEFAULT; in ath9k_hw_init_defaults()

12