/linux-3.4.99/net/wireless/ |
D | reg.c | 71 .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 …]
|
D | reg.h | 21 bool is_world_regdom(const char *alpha2); 22 bool reg_is_valid_request(const char *alpha2); 25 int regulatory_hint_user(const char *alpha2);
|
D | core.c | 605 request.alpha2[0] = '9'; in wiphy_register() 606 request.alpha2[1] = '9'; in wiphy_register()
|
D | nl80211.c | 3548 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/ |
D | regd.c | 92 .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 …]
|
D | base.c | 442 if (regulatory_hint(hw->wiphy, rtlpriv->regd.alpha2)) { in rtl_init_core()
|
D | wifi.h | 799 char alpha2[2]; member
|
/linux-3.4.99/drivers/net/wireless/ath/ |
D | regd.c | 65 .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 …]
|
D | ath.h | 71 char alpha2[2]; member
|
/linux-3.4.99/Documentation/networking/ |
D | regulatory.txt | 34 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/ |
D | regulatory.h | 73 char alpha2[2]; member 100 char alpha2[2]; member
|
D | cfg80211.h | 2608 extern int regulatory_hint(struct wiphy *wiphy, const char *alpha2);
|
/linux-3.4.99/drivers/net/wireless/zd1211rw/ |
D | zd_mac.c | 37 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/ |
D | eeprom.h | 97 u8 alpha2[2]; member
|
D | eeprom.c | 596 regulatory_hint(dev->wiphy, country->alpha2); in p54_parse_default_country()
|
/linux-3.4.99/drivers/net/wireless/mwifiex/ |
D | cfg80211.c | 278 " %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/ |
D | cmd.c | 763 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()
|
D | cfg.c | 2170 "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/ |
D | ssb.h | 38 char alpha2[2]; /* Country Code as two chars like EU or US */ member
|
/linux-3.4.99/drivers/net/wireless/ath/ath6kl/ |
D | wmi.c | 903 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/ |
D | mac80211_hwsim.c | 138 .alpha2 = "99", 149 .alpha2 = "99",
|
/linux-3.4.99/arch/mips/bcm47xx/ |
D | sprom.c | 177 nvram_read_alpha2(prefix, "ccode", &sprom->alpha2); in bcm47xx_fill_sprom_r1234589()
|
/linux-3.4.99/drivers/net/wireless/ath/ath9k/ |
D | htc_drv_init.c | 839 error = regulatory_hint(hw->wiphy, reg->alpha2); in ath9k_init_device()
|
D | init.c | 772 error = regulatory_hint(hw->wiphy, reg->alpha2); in ath9k_init_device()
|
/linux-3.4.99/sound/oss/ |
D | CHANGELOG | 195 Since 3.5-alpha2
|