Home
last modified time | relevance | path

Searched refs:alpha2 (Results 1 – 25 of 29) sorted by relevance

12

/linux-3.4.99/net/wireless/
Dreg.c71 .alpha2[0] = '0',
72 .alpha2[1] = '0',
133 .alpha2 = "00",
208 bool is_world_regdom(const char *alpha2) in is_world_regdom() argument
210 if (!alpha2) in is_world_regdom()
212 if (alpha2[0] == '0' && alpha2[1] == '0') in is_world_regdom()
217 static bool is_alpha2_set(const char *alpha2) in is_alpha2_set() argument
219 if (!alpha2) in is_alpha2_set()
221 if (alpha2[0] != 0 && alpha2[1] != 0) in is_alpha2_set()
226 static bool is_unknown_alpha2(const char *alpha2) in is_unknown_alpha2() argument
[all …]
Dreg.h21 bool is_world_regdom(const char *alpha2);
22 bool reg_is_valid_request(const char *alpha2);
25 int regulatory_hint_user(const char *alpha2);
Dcore.c605 request.alpha2[0] = '9'; in wiphy_register()
606 request.alpha2[1] = '9'; in wiphy_register()
Dnl80211.c3548 cfg80211_regdomain->alpha2); in nl80211_get_reg()
3607 char *alpha2 = NULL; in nl80211_set_reg() local
3619 alpha2 = nla_data(info->attrs[NL80211_ATTR_REG_ALPHA2]); in nl80211_set_reg()
3633 if (!reg_is_valid_request(alpha2)) { in nl80211_set_reg()
3648 rd->alpha2[0] = alpha2[0]; in nl80211_set_reg()
3649 rd->alpha2[1] = alpha2[1]; in nl80211_set_reg()
7103 if (request->alpha2[0] == '0' && request->alpha2[1] == '0') in nl80211_send_reg_change_event()
7106 else if (request->alpha2[0] == '9' && request->alpha2[1] == '9') in nl80211_send_reg_change_event()
7109 else if ((request->alpha2[0] == '9' && request->alpha2[1] == '8') || in nl80211_send_reg_change_event()
7116 NLA_PUT_STRING(msg, NL80211_ATTR_REG_ALPHA2, request->alpha2); in nl80211_send_reg_change_event()
/linux-3.4.99/drivers/net/wireless/rtlwifi/
Dregd.c92 .alpha2 = "99",
100 .alpha2 = "99",
109 .alpha2 = "99",
119 .alpha2 = "99",
129 .alpha2 = "99",
140 .alpha2 = "99",
413 rtlpriv->regd.alpha2[0] = country->iso_name[0]; in rtl_regd_init()
414 rtlpriv->regd.alpha2[1] = country->iso_name[1]; in rtl_regd_init()
416 rtlpriv->regd.alpha2[0] = '0'; in rtl_regd_init()
417 rtlpriv->regd.alpha2[1] = '0'; in rtl_regd_init()
[all …]
Dbase.c442 if (regulatory_hint(hw->wiphy, rtlpriv->regd.alpha2)) { in rtl_init_core()
Dwifi.h799 char alpha2[2]; member
/linux-3.4.99/drivers/net/wireless/ath/
Dregd.c65 .alpha2 = "99",
75 .alpha2 = "99",
86 .alpha2 = "99",
96 .alpha2 = "99",
106 .alpha2 = "99",
352 static u16 ath_regd_find_country_by_name(char *alpha2) in ath_regd_find_country_by_name() argument
357 if (!memcmp(allCountries[i].isoName, alpha2, 2)) in ath_regd_find_country_by_name()
402 country_code = ath_regd_find_country_by_name(request->alpha2); in ath_reg_notifier_apply()
611 reg->alpha2[0] = country->isoName[0]; in __ath_regd_init()
612 reg->alpha2[1] = country->isoName[1]; in __ath_regd_init()
[all …]
Dath.h71 char alpha2[2]; member
/linux-3.4.99/Documentation/networking/
Dregulatory.txt34 specific ISO/IEC 3166 alpha2.
41 The alpha2 is passed as an environment variable under the variable COUNTRY.
58 the specificied alpha2. The kernel in turn will then ask userspace
59 to provide a regulatory domain for the alpha2 specified by the user
72 They have two options -- they either provide an alpha2 so that
78 regulatory hint with an alpha2. For these drivers there is an additional
94 Example code - drivers hinting an alpha2:
99 domain value to a specific alpha2 as follows:
110 Then you can define a routine to map your read EEPROM value to an alpha2,
113 static int zd_reg2alpha2(u8 regdomain, char *alpha2)
[all …]
/linux-3.4.99/include/net/
Dregulatory.h73 char alpha2[2]; member
100 char alpha2[2]; member
Dcfg80211.h2608 extern int regulatory_hint(struct wiphy *wiphy, const char *alpha2);
/linux-3.4.99/drivers/net/wireless/zd1211rw/
Dzd_mac.c37 char alpha2[2]; member
148 static int zd_reg2alpha2(u8 regdomain, char *alpha2) in zd_reg2alpha2() argument
155 alpha2[0] = reg_map->alpha2[0]; in zd_reg2alpha2()
156 alpha2[1] = reg_map->alpha2[1]; in zd_reg2alpha2()
199 char alpha2[2]; in zd_mac_init_hw() local
224 r = zd_reg2alpha2(mac->regdomain, alpha2); in zd_mac_init_hw()
228 r = regulatory_hint(hw->wiphy, alpha2); in zd_mac_init_hw()
/linux-3.4.99/drivers/net/wireless/p54/
Deeprom.h97 u8 alpha2[2]; member
Deeprom.c596 regulatory_hint(dev->wiphy, country->alpha2); in p54_parse_default_country()
/linux-3.4.99/drivers/net/wireless/mwifiex/
Dcfg80211.c278 " %c%c\n", request->alpha2[0], request->alpha2[1]); in mwifiex_reg_notifier()
280 memcpy(priv->country_code, request->alpha2, sizeof(request->alpha2)); in mwifiex_reg_notifier()
/linux-3.4.99/drivers/net/wireless/libertas/
Dcmd.c763 request->alpha2[0], request->alpha2[1]); in lbs_set_11d_domain_info()
768 domain->country_code[0] = request->alpha2[0]; in lbs_set_11d_domain_info()
769 domain->country_code[1] = request->alpha2[1]; in lbs_set_11d_domain_info()
Dcfg.c2170 "callback for domain %c%c\n", request->alpha2[0], in lbs_reg_notifier()
2171 request->alpha2[1]); in lbs_reg_notifier()
/linux-3.4.99/include/linux/ssb/
Dssb.h38 char alpha2[2]; /* Country Code as two chars like EU or US */ member
/linux-3.4.99/drivers/net/wireless/ath/ath6kl/
Dwmi.c903 char alpha2[2]; in ath6kl_wmi_regdomain_event() local
920 alpha2[0] = country->isoName[0]; in ath6kl_wmi_regdomain_event()
921 alpha2[1] = country->isoName[1]; in ath6kl_wmi_regdomain_event()
923 regulatory_hint(wmi->parent_dev->wiphy, alpha2); in ath6kl_wmi_regdomain_event()
926 alpha2[0], alpha2[1]); in ath6kl_wmi_regdomain_event()
/linux-3.4.99/drivers/net/wireless/
Dmac80211_hwsim.c138 .alpha2 = "99",
149 .alpha2 = "99",
/linux-3.4.99/arch/mips/bcm47xx/
Dsprom.c177 nvram_read_alpha2(prefix, "ccode", &sprom->alpha2); in bcm47xx_fill_sprom_r1234589()
/linux-3.4.99/drivers/net/wireless/ath/ath9k/
Dhtc_drv_init.c839 error = regulatory_hint(hw->wiphy, reg->alpha2); in ath9k_init_device()
Dinit.c772 error = regulatory_hint(hw->wiphy, reg->alpha2); in ath9k_init_device()
/linux-3.4.99/sound/oss/
DCHANGELOG195 Since 3.5-alpha2

12