/drivers/net/wireless/ath/ |
D | regd.c | 122 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 …]
|
D | ath.h | 85 u16 country_code; member
|
/drivers/net/wireless/realtek/rtlwifi/ |
D | regd.c | 343 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()
|
D | wifi.h | 1099 u16 country_code; member
|
/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 | 2146 memcpy(priv->country_code, request->alpha2, sizeof(request->alpha2)); in lbs_reg_notifier()
|
/drivers/net/wireless/mwifiex/ |
D | sta_ioctl.c | 200 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()
|
D | cfg80211.c | 495 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()
|
D | ioctl.h | 156 u8 country_code[3]; member
|
D | sta_cmd.c | 1022 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()
|
D | main.h | 466 u8 country_code[IEEE80211_COUNTRY_STRING_LEN]; member 960 u8 country_code[IEEE80211_COUNTRY_STRING_LEN]; member
|
D | debugfs.c | 122 p += sprintf(p, "country_code = \"%s\"\n", info.country_code); in mwifiex_info_read()
|
D | fw.h | 1478 u8 country_code[IEEE80211_COUNTRY_STRING_LEN]; member
|
/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()
|
/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 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/ |
D | rtw_ioctl_set.h | 40 int rtw_set_country(struct adapter *adapter, const char *country_code);
|
/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()
|
/drivers/ssb/ |
D | sdio.c | 542 sprom->country_code = tuple->data[1]; in ssb_sdio_get_invariants()
|
D | pcmcia.c | 661 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()
|
/drivers/net/wireless/b43legacy/ |
D | radio.c | 1771 if (dev->dev->bus->sprom.country_code == 5) /* JAPAN) */ in b43legacy_radio_selectchannel()
|
/drivers/net/wireless/ath/ath9k/ |
D | hw.c | 457 regulatory->country_code = CTRY_DEFAULT; in ath9k_hw_init_defaults()
|