Home
last modified time | relevance | path

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

123

/linux/drivers/net/wireless/ath/
H A Dregd.c122 switch (reg->country_code) { in dynamic_country_user_possible()
261 if (reg->country_code == CTRY_INDIA) in ath_is_radar_freq()
477 u16 country_code; in __ath_reg_dyn_country()
483 country_code = ath_regd_find_country_by_name(request->alpha2); in __ath_reg_dyn_country()
484 if (country_code == (u16) -1) in __ath_reg_dyn_country()
488 reg->current_rd |= country_code; in __ath_reg_dyn_country()
703 reg->country_code = ath_regd_get_default_country(regdmn); in __ath_regd_init()
705 if (reg->country_code == CTRY_DEFAULT && in __ath_regd_init()
709 reg->country_code = CTRY_UNITED_STATES; in __ath_regd_init()
712 if (reg->country_code in __ath_regd_init()
475 u16 country_code; __ath_reg_dyn_country() local
[all...]
H A Dath.h83 u16 country_code; member
/linux/drivers/net/wireless/marvell/mwifiex/
H A Dsta_ioctl.c200 memcpy(&txpwr[8], priv->adapter->country_code, 2); in mwifiex_dnld_dt_txpwr_table()
210 char country_code[3]; in mwifiex_request_rgpower_table() local
213 strscpy(country_code, domain_info->country_code, sizeof(country_code)); in mwifiex_request_rgpower_table()
216 if (strncmp(country_code, "00", 2) == 0) in mwifiex_request_rgpower_table()
217 strscpy(country_code, "WW", sizeof(country_code)); in mwifiex_request_rgpower_table()
220 "nxp/rgpower_%s.bin", country_code); in mwifiex_request_rgpower_table()
284 if (!strncmp(priv->adapter->country_code, in mwifiex_process_country_ie()
[all...]
H A Dcfg80211.c574 domain_info->country_code[0] = adapter->country_code[0]; in mwifiex_send_domain_info_cmd_fw()
575 domain_info->country_code[1] = adapter->country_code[1]; in mwifiex_send_domain_info_cmd_fw()
576 domain_info->country_code[2] = ' '; in mwifiex_send_domain_info_cmd_fw()
693 if (strncmp(request->alpha2, adapter->country_code, in mwifiex_reg_notifier()
695 memcpy(adapter->country_code, request->alpha2, in mwifiex_reg_notifier()
4724 const u8 *country_code; in mwifiex_register_cfg80211()
4917 country_code = in mwifiex_register_cfg80211()
4925 if (country_code in mwifiex_register_cfg80211()
4712 const u8 *country_code; mwifiex_register_cfg80211() local
[all...]
H A Dioctl.h149 u8 country_code[3]; member
/linux/drivers/net/wireless/marvell/libertas/
H A Dcmd.c647 if (!priv->country_code[0]) in lbs_set_11d_domain_info()
654 priv->country_code[0], priv->country_code[1]); in lbs_set_11d_domain_info()
659 domain->country_code[0] = priv->country_code[0]; in lbs_set_11d_domain_info()
660 domain->country_code[1] = priv->country_code[1]; in lbs_set_11d_domain_info()
661 domain->country_code[2] = ' '; in lbs_set_11d_domain_info()
727 domain->header.len = cpu_to_le16(sizeof(domain->country_code) + in lbs_set_11d_domain_info()
731 (u8 *) &cmd.domain.country_code, in lbs_set_11d_domain_info()
737 sizeof(cmd.domain.country_code) + in lbs_set_11d_domain_info()
H A Ddev.h53 u8 country_code[IEEE80211_COUNTRY_STRING_LEN]; member
/linux/drivers/net/wireless/realtek/rtw88/
H A Dregd.c346 chip_reg = rtw_reg_find_by_name(rtwdev->efuse.country_code); in rtw_regd_init()
380 rtwdev->efuse.country_code[0], in rtw_regd_hint()
381 rtwdev->efuse.country_code[1]); in rtw_regd_hint()
383 ret = regulatory_hint(wiphy, rtwdev->efuse.country_code); in rtw_regd_hint()
416 rtw_reg_match(next_regd->regulatory, rtwdev->efuse.country_code)) { in rtw_regd_mgmt_programmed()
H A Drtw8814a.h49 u8 country_code[2]; /* 0xcb */ member
H A Drtw8723x.c208 DBG_EFUSE_2BYTE(rtwdev, map, country_code); in efuse_debug_dump()
270 efuse->country_code[0] = map->country_code[0]; in __rtw8723x_read_efuse()
271 efuse->country_code[1] = map->country_code[1]; in __rtw8723x_read_efuse()
H A Drtw8821c.h98 u8 country_code[2]; member
H A Drtw8821c.c65 efuse->country_code[0] = map->country_code[0]; in rtw8821c_read_efuse()
66 efuse->country_code[1] = map->country_code[1]; in rtw8821c_read_efuse()
H A Drtw88xxa.c231 efuse->country_code[0] = map->country_code[0]; in rtw88xxa_read_efuse()
232 efuse->country_code[1] = map->country_code[1]; in rtw88xxa_read_efuse()
H A Drtw8814a.c146 efuse->country_code[0] = map->country_code[0]; in rtw8814a_read_efuse()
147 efuse->country_code[1] = map->country_code[1]; in rtw8814a_read_efuse()
H A Drtw8822b.c58 efuse->country_code[0] = map->country_code[0]; in rtw8822b_read_efuse()
59 efuse->country_code[1] = map->country_code[1]; in rtw8822b_read_efuse()
H A Drtw8723x.h92 u8 country_code[2]; member
/linux/drivers/net/wireless/nxp/nxpwifi/
H A Dsta_cfg.c192 if (!strncmp(priv->adapter->country_code, &country_ie[2], 2)) { in nxpwifi_process_country_ie()
207 memcpy(priv->adapter->country_code, &country_ie[2], 2); in nxpwifi_process_country_ie()
209 domain_info->country_code[0] = country_ie[2]; in nxpwifi_process_country_ie()
210 domain_info->country_code[1] = country_ie[3]; in nxpwifi_process_country_ie()
211 domain_info->country_code[2] = ' '; in nxpwifi_process_country_ie()
488 memcpy(info->country_code, adapter->country_code, in nxpwifi_get_bss_info()
H A Dcfg80211.c502 domain_info->country_code[0] = adapter->country_code[0]; in nxpwifi_send_domain_info_cmd_fw()
503 domain_info->country_code[1] = adapter->country_code[1]; in nxpwifi_send_domain_info_cmd_fw()
504 domain_info->country_code[2] = ' '; in nxpwifi_send_domain_info_cmd_fw()
618 strncmp(request->alpha2, adapter->country_code, in nxpwifi_reg_notifier()
620 memcpy(adapter->country_code, request->alpha2, in nxpwifi_reg_notifier()
3772 u8 *country_code; in nxpwifi_register_cfg80211() local
3928 country_code = in nxpwifi_register_cfg80211()
3930 if (country_code in nxpwifi_register_cfg80211()
[all...]
/linux/drivers/hid/surface-hid/
H A Dsurface_hid_core.h30 __u8 country_code; member
H A Dsurface_hid_core.c210 shid->hid->country = shid->hid_desc.country_code; in surface_hid_device_add()
/linux/drivers/net/wireless/realtek/rtw89/
H A Drtw8851b.h45 u8 country_code[2]; member
H A Drtw8852a.h64 u8 country_code[2]; member
H A Drtw8852b_common.h65 u8 country_code[2]; member
H A Drtw8852b_common.c249 efuse->country_code[0] = map->country_code[0]; in __rtw8852bx_read_efuse()
250 efuse->country_code[1] = map->country_code[1]; in __rtw8852bx_read_efuse()
/linux/drivers/net/wireless/admtek/
H A Dadm8211.h505 u8 country_code; /* 0x1B */ member

123