Home
last modified time | relevance | path

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

12

/Linux-v5.15/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()
475 u16 country_code; in __ath_reg_dyn_country() local
481 country_code = ath_regd_find_country_by_name(request->alpha2); in __ath_reg_dyn_country()
482 if (country_code == (u16) -1) in __ath_reg_dyn_country()
486 reg->current_rd |= country_code; in __ath_reg_dyn_country()
701 reg->country_code = ath_regd_get_default_country(regdmn); in __ath_regd_init()
703 if (reg->country_code == CTRY_DEFAULT && in __ath_regd_init()
707 reg->country_code = CTRY_UNITED_STATES; in __ath_regd_init()
710 if (reg->country_code == CTRY_DEFAULT) { in __ath_regd_init()
[all …]
Dath.h83 u16 country_code; member
/Linux-v5.15/drivers/net/wireless/realtek/rtlwifi/
Dregd.c302 switch (reg->country_code) { in _rtl_regdomain_select()
393 rtlpriv->regd.country_code = in rtl_regd_init()
398 rtlpriv->efuse.channel_plan, rtlpriv->regd.country_code); in rtl_regd_init()
400 if (rtlpriv->regd.country_code >= COUNTRY_CODE_MAX) { in rtl_regd_init()
404 rtlpriv->regd.country_code = COUNTRY_CODE_WORLD_WIDE_13; in rtl_regd_init()
407 country = _rtl_regd_find_country(rtlpriv->regd.country_code); in rtl_regd_init()
/Linux-v5.15/drivers/net/wireless/marvell/libertas/
Dcmd.c713 if (!priv->country_code[0]) in lbs_set_11d_domain_info()
720 priv->country_code[0], priv->country_code[1]); in lbs_set_11d_domain_info()
725 domain->country_code[0] = priv->country_code[0]; in lbs_set_11d_domain_info()
726 domain->country_code[1] = priv->country_code[1]; in lbs_set_11d_domain_info()
727 domain->country_code[2] = ' '; in lbs_set_11d_domain_info()
793 domain->header.len = cpu_to_le16(sizeof(domain->country_code) + in lbs_set_11d_domain_info()
797 (u8 *) &cmd.domain.country_code, in lbs_set_11d_domain_info()
803 sizeof(cmd.domain.country_code) + in lbs_set_11d_domain_info()
Ddev.h53 u8 country_code[IEEE80211_COUNTRY_STRING_LEN]; member
/Linux-v5.15/drivers/staging/r8188eu/core/
Drtw_ioctl_set.c871 int rtw_set_country(struct adapter *adapter, const char *country_code) in rtw_set_country() argument
875 DBG_88E("%s country_code:%s\n", __func__, country_code); in rtw_set_country()
879 if (0 == strcmp(country_code, "US")) in rtw_set_country()
881 else if (0 == strcmp(country_code, "EU")) in rtw_set_country()
883 else if (0 == strcmp(country_code, "JP")) in rtw_set_country()
885 else if (0 == strcmp(country_code, "CN")) in rtw_set_country()
888 DBG_88E("%s unknown country_code:%s\n", __func__, country_code); in rtw_set_country()
/Linux-v5.15/drivers/net/wireless/marvell/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()
598 memcpy(info->country_code, adapter->country_code, in mwifiex_get_bss_info()
Dcfg80211.c548 domain_info->country_code[0] = adapter->country_code[0]; in mwifiex_send_domain_info_cmd_fw()
549 domain_info->country_code[1] = adapter->country_code[1]; in mwifiex_send_domain_info_cmd_fw()
550 domain_info->country_code[2] = ' '; in mwifiex_send_domain_info_cmd_fw()
668 strncmp(request->alpha2, adapter->country_code, in mwifiex_reg_notifier()
670 memcpy(adapter->country_code, request->alpha2, in mwifiex_reg_notifier()
4316 u8 *country_code; in mwifiex_register_cfg80211() local
4453 country_code = in mwifiex_register_cfg80211()
4456 if (country_code && in mwifiex_register_cfg80211()
4457 regulatory_hint(wiphy, country_code)) in mwifiex_register_cfg80211()
Dioctl.h160 u8 country_code[3]; member
Dsta_cmd.c1047 memcpy(domain->country_code, adapter->domain_reg.country_code, in mwifiex_cmd_802_11d_domain_info()
1048 sizeof(domain->country_code)); in mwifiex_cmd_802_11d_domain_info()
1053 + sizeof(domain->country_code)); in mwifiex_cmd_802_11d_domain_info()
/Linux-v5.15/drivers/staging/r8188eu/include/
Drtw_ioctl_set.h30 int rtw_set_country(struct adapter *adapter, const char *country_code);
/Linux-v5.15/drivers/hid/surface-hid/
Dsurface_hid_core.h30 __u8 country_code; member
Dsurface_hid_core.c174 shid->hid->country = shid->hid_desc.country_code; in surface_hid_device_add()
/Linux-v5.15/drivers/net/wireless/realtek/rtw88/
Drtw8822b.h92 u8 country_code[2]; member
Drtw8723d.h70 u8 country_code[2]; member
Drtw8821c.h72 u8 country_code[2]; member
Drtw8821c.c51 efuse->country_code[0] = map->country_code[0]; in rtw8821c_read_efuse()
52 efuse->country_code[1] = map->country_code[1]; in rtw8821c_read_efuse()
Drtw8822c.h77 u8 country_code[2]; member
Drtw8822b.c44 efuse->country_code[0] = map->country_code[0]; in rtw8822b_read_efuse()
45 efuse->country_code[1] = map->country_code[1]; in rtw8822b_read_efuse()
/Linux-v5.15/Documentation/process/
Dsubmitting-drivers.rst154 ftp.\ *country_code*\ .kernel.org:/pub/linux/kernel/...
156 where *country_code* == your country code, such as
/Linux-v5.15/drivers/net/wireless/admtek/
Dadm8211.h505 u8 country_code; /* 0x1B */ member
Dadm8211.c170 if (priv->eeprom->country_code >= ARRAY_SIZE(cranges)) { in adm8211_read_eeprom()
172 pci_name(priv->pdev), priv->eeprom->country_code); in adm8211_read_eeprom()
176 chan_range = cranges[priv->eeprom->country_code]; in adm8211_read_eeprom()
/Linux-v5.15/arch/mips/bcm63xx/boards/
Dboard_bcm963xx.c687 .country_code = 0x0,
/Linux-v5.15/include/linux/ssb/
Dssb.h44 u8 country_code; /* Country Code */ member
/Linux-v5.15/drivers/staging/rtl8723bs/include/
Dwifi.h769 u16 country_code; member

12