/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() 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 …]
|
D | ath.h | 83 u16 country_code; member
|
/drivers/net/wireless/realtek/rtlwifi/ |
D | regd.c | 302 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()
|
/drivers/net/wireless/marvell/libertas/ |
D | cmd.c | 712 if (!priv->country_code[0]) in lbs_set_11d_domain_info() 719 priv->country_code[0], priv->country_code[1]); in lbs_set_11d_domain_info() 724 domain->country_code[0] = priv->country_code[0]; in lbs_set_11d_domain_info() 725 domain->country_code[1] = priv->country_code[1]; in lbs_set_11d_domain_info() 726 domain->country_code[2] = ' '; in lbs_set_11d_domain_info() 792 domain->header.len = cpu_to_le16(sizeof(domain->country_code) + in lbs_set_11d_domain_info() 796 (u8 *) &cmd.domain.country_code, in lbs_set_11d_domain_info() 802 sizeof(cmd.domain.country_code) + in lbs_set_11d_domain_info()
|
D | dev.h | 53 u8 country_code[IEEE80211_COUNTRY_STRING_LEN]; member
|
/drivers/net/wireless/marvell/mwifiex/ |
D | sta_ioctl.c | 188 memcpy(&txpwr[8], priv->adapter->country_code, 2); in mwifiex_dnld_txpwr_table() 214 if (!strncmp(priv->adapter->country_code, &country_ie[2], 2)) { in mwifiex_process_country_ie() 229 memcpy(priv->adapter->country_code, &country_ie[2], 2); in mwifiex_process_country_ie() 231 domain_info->country_code[0] = country_ie[2]; in mwifiex_process_country_ie() 232 domain_info->country_code[1] = country_ie[3]; in mwifiex_process_country_ie() 233 domain_info->country_code[2] = ' '; in mwifiex_process_country_ie() 586 memcpy(info->country_code, adapter->country_code, in mwifiex_get_bss_info()
|
D | cfg80211.c | 544 domain_info->country_code[0] = adapter->country_code[0]; in mwifiex_send_domain_info_cmd_fw() 545 domain_info->country_code[1] = adapter->country_code[1]; in mwifiex_send_domain_info_cmd_fw() 546 domain_info->country_code[2] = ' '; in mwifiex_send_domain_info_cmd_fw() 664 strncmp(request->alpha2, adapter->country_code, in mwifiex_reg_notifier() 666 memcpy(adapter->country_code, request->alpha2, in mwifiex_reg_notifier() 4342 u8 *country_code; in mwifiex_register_cfg80211() local 4480 country_code = in mwifiex_register_cfg80211() 4483 if (country_code && in mwifiex_register_cfg80211() 4484 regulatory_hint(wiphy, country_code)) in mwifiex_register_cfg80211()
|
D | ioctl.h | 149 u8 country_code[3]; member
|
D | sta_cmd.c | 1039 memcpy(domain->country_code, adapter->domain_reg.country_code, in mwifiex_cmd_802_11d_domain_info() 1040 sizeof(domain->country_code)); in mwifiex_cmd_802_11d_domain_info() 1045 + sizeof(domain->country_code)); in mwifiex_cmd_802_11d_domain_info()
|
/drivers/net/wireless/realtek/rtw88/ |
D | regd.c | 346 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()
|
D | rtw8822b.h | 97 u8 country_code[2]; member
|
D | rtw8723d.h | 84 u8 country_code[2]; member
|
D | rtw8821c.h | 97 u8 country_code[2]; member
|
D | rtw8821c.c | 65 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()
|
D | rtw8822c.h | 82 u8 country_code[2]; member
|
D | rtw8822b.c | 57 efuse->country_code[0] = map->country_code[0]; in rtw8822b_read_efuse() 58 efuse->country_code[1] = map->country_code[1]; in rtw8822b_read_efuse()
|
/drivers/hid/surface-hid/ |
D | surface_hid_core.h | 30 __u8 country_code; member
|
D | surface_hid_core.c | 210 shid->hid->country = shid->hid_desc.country_code; in surface_hid_device_add()
|
/drivers/net/wireless/realtek/rtw89/ |
D | rtw8851b.h | 45 u8 country_code[2]; member
|
D | rtw8852c.h | 58 u8 country_code[2]; member
|
D | rtw8852a.h | 64 u8 country_code[2]; member
|
D | rtw8852b.h | 65 u8 country_code[2]; member
|
D | rtw8852a.c | 547 efuse->country_code[0] = map->country_code[0]; in rtw8852a_read_efuse() 548 efuse->country_code[1] = map->country_code[1]; in rtw8852a_read_efuse()
|
/drivers/net/wireless/admtek/ |
D | adm8211.h | 505 u8 country_code; /* 0x1B */ member
|
D | adm8211.c | 170 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()
|