alpha2 281 drivers/bcma/sprom.c SPEX(alpha2[0], SSB_SPROM8_CCODE, 0xff00, 8); alpha2 282 drivers/bcma/sprom.c SPEX(alpha2[1], SSB_SPROM8_CCODE, 0x00ff, 0); alpha2 572 drivers/firmware/broadcom/bcm47xx_sprom.c nvram_read_alpha2(prefix, "ccode", sprom->alpha2, fallback); alpha2 81 drivers/net/wireless/ath/ath.h char alpha2[2]; alpha2 8620 drivers/net/wireless/ath/ath10k/mac.c char alpha2[3]; alpha2 8645 drivers/net/wireless/ath/ath10k/mac.c alpha2[0] = (alpha2_code >> 8) & 0xff; alpha2 8646 drivers/net/wireless/ath/ath10k/mac.c alpha2[1] = (alpha2_code >> 0) & 0xff; alpha2 8647 drivers/net/wireless/ath/ath10k/mac.c alpha2[2] = '\0'; alpha2 8650 drivers/net/wireless/ath/ath10k/mac.c "regulatory hint from WRDD (alpha2-code): %s\n", alpha2); alpha2 8652 drivers/net/wireless/ath/ath10k/mac.c *rd = ath_regd_find_country_by_name(alpha2); alpha2 9015 drivers/net/wireless/ath/ath10k/mac.c ar->ath_common.regulatory.alpha2); alpha2 3105 drivers/net/wireless/ath/ath5k/base.c regulatory_hint(hw->wiphy, regulatory->alpha2); alpha2 3547 drivers/net/wireless/ath/ath6kl/cfg80211.c request->alpha2[0], request->alpha2[1], alpha2 3555 drivers/net/wireless/ath/ath6kl/cfg80211.c ret = ath6kl_wmi_set_regdomain_cmd(ar->wmi, request->alpha2); alpha2 990 drivers/net/wireless/ath/ath6kl/wmi.c char alpha2[2]; alpha2 1010 drivers/net/wireless/ath/ath6kl/wmi.c alpha2[0] = country->isoName[0]; alpha2 1011 drivers/net/wireless/ath/ath6kl/wmi.c alpha2[1] = country->isoName[1]; alpha2 1013 drivers/net/wireless/ath/ath6kl/wmi.c regulatory_hint(wmi->parent_dev->wiphy, alpha2); alpha2 1016 drivers/net/wireless/ath/ath6kl/wmi.c alpha2[0], alpha2[1]); alpha2 3298 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_set_regdomain_cmd(struct wmi *wmi, const char *alpha2) alpha2 3308 drivers/net/wireless/ath/ath6kl/wmi.c memcpy(cmd->iso_name, alpha2, 2); alpha2 2665 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_set_regdomain_cmd(struct wmi *wmi, const char *alpha2); alpha2 884 drivers/net/wireless/ath/ath9k/htc_drv_init.c error = regulatory_hint(hw->wiphy, reg->alpha2); alpha2 1075 drivers/net/wireless/ath/ath9k/init.c error = regulatory_hint(hw->wiphy, reg->alpha2); alpha2 2025 drivers/net/wireless/ath/carl9170/main.c regulatory_hint(ar->hw->wiphy, regulatory->alpha2); alpha2 68 drivers/net/wireless/ath/regd.c .alpha2 = "99", alpha2 78 drivers/net/wireless/ath/regd.c .alpha2 = "99", alpha2 89 drivers/net/wireless/ath/regd.c .alpha2 = "99", alpha2 99 drivers/net/wireless/ath/regd.c .alpha2 = "99", alpha2 109 drivers/net/wireless/ath/regd.c .alpha2 = "99", alpha2 457 drivers/net/wireless/ath/regd.c u16 ath_regd_find_country_by_name(char *alpha2) alpha2 462 drivers/net/wireless/ath/regd.c if (!memcmp(allCountries[i].isoName, alpha2, 2)) alpha2 480 drivers/net/wireless/ath/regd.c country_code = ath_regd_find_country_by_name(request->alpha2); alpha2 741 drivers/net/wireless/ath/regd.c reg->alpha2[0] = country->isoName[0]; alpha2 742 drivers/net/wireless/ath/regd.c reg->alpha2[1] = country->isoName[1]; alpha2 744 drivers/net/wireless/ath/regd.c reg->alpha2[0] = '0'; alpha2 745 drivers/net/wireless/ath/regd.c reg->alpha2[1] = '0'; alpha2 749 drivers/net/wireless/ath/regd.c reg->alpha2[0], reg->alpha2[1]); alpha2 262 drivers/net/wireless/ath/regd.h u16 ath_regd_find_country_by_name(char *alpha2); alpha2 182 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c .alpha2 = "99", alpha2 6905 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c static s32 brcmf_translate_country_code(struct brcmf_pub *drvr, char alpha2[2], alpha2 6919 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if ((alpha2[0] == ccreq->country_abbrev[0]) && alpha2 6920 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c (alpha2[1] == ccreq->country_abbrev[1])) { alpha2 6930 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if ((cc->iso3166[0] == alpha2[0]) && alpha2 6931 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c (cc->iso3166[1] == alpha2[1])) { alpha2 6944 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c ccreq->country_abbrev[0] = alpha2[0]; alpha2 6945 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c ccreq->country_abbrev[1] = alpha2[1]; alpha2 6962 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (req->alpha2[0] == '0' && req->alpha2[1] == '0') alpha2 6967 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (req->alpha2[i] < 'A' || req->alpha2[i] > 'Z') { alpha2 6969 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c req->alpha2[0], req->alpha2[1]); alpha2 6974 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c req->alpha2[0], req->alpha2[1]); alpha2 6982 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c err = brcmf_translate_country_code(ifp->drvr, req->alpha2, &ccreq); alpha2 77 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c .alpha2 = "X2", alpha2 207 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c if (!strncmp(regdom, cntry_locales[i].regdomain->alpha2, len)) { alpha2 331 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c const char *ccode = sprom->alpha2; alpha2 332 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c int ccode_len = sizeof(sprom->alpha2); alpha2 352 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c ccode = wlc_cm->world_regd->regdomain->alpha2; alpha2 731 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c wlc->pub->unit, __func__, request->alpha2); alpha2 736 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c brcms_c_japan_ccode(request->alpha2)); alpha2 16592 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c s16 alpha0, alpha1, alpha2; alpha2 16621 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c alpha2 = 261; alpha2 16627 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c write_phy_reg(pi, 0x147, alpha2); alpha2 16918 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c s16 alpha0, alpha1, alpha2; alpha2 16994 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c alpha2 = 261; alpha2 17000 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c write_phy_reg(pi, 0x147, alpha2); alpha2 1159 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c regd->alpha2[0] = fw_mcc >> 8; alpha2 1160 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c regd->alpha2[1] = fw_mcc & 0xff; alpha2 1216 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c reg_query_regdb_wmm(regd->alpha2, center_freq, rule); alpha2 226 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c const char *alpha2, alpha2 235 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c IWL_DEBUG_LAR(mvm, "Getting regdomain data for %s from FW\n", alpha2); alpha2 239 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c resp = iwl_mvm_update_mcc(mvm, alpha2, src_id); alpha2 269 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c regd->alpha2, regd->alpha2[0], regd->alpha2[1], src_id); alpha2 326 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c regd = iwl_mvm_get_regdomain(mvm->hw->wiphy, r->alpha2, used_src, alpha2 1978 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h iwl_mvm_update_mcc(struct iwl_mvm *mvm, const char *alpha2, alpha2 1984 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h const char *alpha2, alpha2 471 drivers/net/wireless/intel/iwlwifi/mvm/nvm.c iwl_mvm_update_mcc(struct iwl_mvm *mvm, const char *alpha2, alpha2 475 drivers/net/wireless/intel/iwlwifi/mvm/nvm.c .mcc = cpu_to_le16(alpha2[0] << 8 | alpha2[1]), alpha2 497 drivers/net/wireless/intel/iwlwifi/mvm/nvm.c alpha2[0], alpha2[1], src_id); alpha2 654 drivers/net/wireless/intersil/p54/eeprom.c regulatory_hint(dev->wiphy, country->alpha2); alpha2 106 drivers/net/wireless/intersil/p54/eeprom.h u8 alpha2[2]; alpha2 152 drivers/net/wireless/mac80211_hwsim.c .alpha2 = "99", alpha2 163 drivers/net/wireless/mac80211_hwsim.c .alpha2 = "99", alpha2 499 drivers/net/wireless/mac80211_hwsim.c char alpha2[2]; alpha2 3041 drivers/net/wireless/mac80211_hwsim.c data->alpha2[0] = param->reg_alpha2[0]; alpha2 3042 drivers/net/wireless/mac80211_hwsim.c data->alpha2[1] = param->reg_alpha2[1]; alpha2 3153 drivers/net/wireless/mac80211_hwsim.c if (data->alpha2[0] && data->alpha2[1]) alpha2 3154 drivers/net/wireless/mac80211_hwsim.c param.reg_alpha2 = data->alpha2; alpha2 2094 drivers/net/wireless/marvell/libertas/cfg.c memcpy(priv->country_code, request->alpha2, sizeof(request->alpha2)); alpha2 654 drivers/net/wireless/marvell/mwifiex/cfg80211.c request->alpha2[0], request->alpha2[1]); alpha2 671 drivers/net/wireless/marvell/mwifiex/cfg80211.c if (strncmp(request->alpha2, "00", 2) && alpha2 672 drivers/net/wireless/marvell/mwifiex/cfg80211.c strncmp(request->alpha2, adapter->country_code, alpha2 673 drivers/net/wireless/marvell/mwifiex/cfg80211.c sizeof(request->alpha2))) { alpha2 674 drivers/net/wireless/marvell/mwifiex/cfg80211.c memcpy(adapter->country_code, request->alpha2, alpha2 675 drivers/net/wireless/marvell/mwifiex/cfg80211.c sizeof(request->alpha2)); alpha2 4251 drivers/net/wireless/marvell/mwifiex/cfg80211.c static bool mwifiex_is_valid_alpha2(const char *alpha2) alpha2 4253 drivers/net/wireless/marvell/mwifiex/cfg80211.c if (!alpha2 || strlen(alpha2) != 2) alpha2 4256 drivers/net/wireless/marvell/mwifiex/cfg80211.c if (isalpha(alpha2[0]) && isalpha(alpha2[1])) alpha2 1099 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c regd->alpha2[0] = '9'; alpha2 1100 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c regd->alpha2[1] = '9'; alpha2 1009 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c req->alpha2[0], req->alpha2[1]); alpha2 1014 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c mac->macid, req->alpha2[0], req->alpha2[1], ret); alpha2 1154 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c regdomain_is_known = isalpha(mac->rd->alpha2[0]) && alpha2 1155 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c isalpha(mac->rd->alpha2[1]); alpha2 1160 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c if (mac->rd->alpha2[0] == '9' && mac->rd->alpha2[1] == '9') { alpha2 1191 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c ret = regulatory_hint(wiphy, mac->rd->alpha2); alpha2 1022 drivers/net/wireless/quantenna/qtnfmac/commands.c mac->rd->alpha2[0] = resp->alpha2[0]; alpha2 1023 drivers/net/wireless/quantenna/qtnfmac/commands.c mac->rd->alpha2[1] = resp->alpha2[1]; alpha2 2389 drivers/net/wireless/quantenna/qtnfmac/commands.c cmd->alpha2[0] = req->alpha2[0]; alpha2 2390 drivers/net/wireless/quantenna/qtnfmac/commands.c cmd->alpha2[1] = req->alpha2[1]; alpha2 25 drivers/net/wireless/quantenna/qtnfmac/commands.h int qtnf_cmd_send_regulatory_config(struct qtnf_wmac *mac, const char *alpha2); alpha2 597 drivers/net/wireless/quantenna/qtnfmac/qlink.h u8 alpha2[2]; alpha2 827 drivers/net/wireless/quantenna/qtnfmac/qlink.h u8 alpha2[2]; alpha2 59 drivers/net/wireless/realtek/rtlwifi/regd.c .alpha2 = "99", alpha2 67 drivers/net/wireless/realtek/rtlwifi/regd.c .alpha2 = "99", alpha2 76 drivers/net/wireless/realtek/rtlwifi/regd.c .alpha2 = "99", alpha2 86 drivers/net/wireless/realtek/rtlwifi/regd.c .alpha2 = "99", alpha2 96 drivers/net/wireless/realtek/rtlwifi/regd.c .alpha2 = "99", alpha2 107 drivers/net/wireless/realtek/rtlwifi/regd.c .alpha2 = "99", alpha2 118 drivers/net/wireless/realtek/rtlwifi/regd.c .alpha2 = "99", alpha2 410 drivers/net/wireless/realtek/rtlwifi/regd.c rtlpriv->regd.alpha2[0] = country->iso_name[0]; alpha2 411 drivers/net/wireless/realtek/rtlwifi/regd.c rtlpriv->regd.alpha2[1] = country->iso_name[1]; alpha2 413 drivers/net/wireless/realtek/rtlwifi/regd.c rtlpriv->regd.alpha2[0] = '0'; alpha2 414 drivers/net/wireless/realtek/rtlwifi/regd.c rtlpriv->regd.alpha2[1] = '0'; alpha2 419 drivers/net/wireless/realtek/rtlwifi/regd.c rtlpriv->regd.alpha2[0], rtlpriv->regd.alpha2[1]); alpha2 1216 drivers/net/wireless/realtek/rtlwifi/wifi.h s8 alpha2[2]; alpha2 1266 drivers/net/wireless/realtek/rtw88/main.c if (regulatory_hint(hw->wiphy, rtwdev->regd.alpha2)) alpha2 618 drivers/net/wireless/realtek/rtw88/main.h char alpha2[2]; alpha2 11 drivers/net/wireless/realtek/rtw88/regd.c {.alpha2 = (_alpha2), \ alpha2 330 drivers/net/wireless/realtek/rtw88/regd.c static struct rtw_regulatory rtw_regd_find_reg_by_name(char *alpha2) alpha2 335 drivers/net/wireless/realtek/rtw88/regd.c if (!memcmp(all_chplan_map[i].alpha2, alpha2, 2)) alpha2 348 drivers/net/wireless/realtek/rtw88/regd.c rtwdev->regd = rtw_regd_find_reg_by_name(request->alpha2); alpha2 394 drivers/net/wireless/realtek/rtw88/regd.c request->alpha2[0], request->alpha2[1], request->initiator, alpha2 1698 drivers/net/wireless/rsi/rsi_91x_mac80211.c request->alpha2, request->dfs_region); alpha2 1715 drivers/net/wireless/rsi/rsi_91x_mac80211.c adapter->country[0] = request->alpha2[0]; alpha2 1716 drivers/net/wireless/rsi/rsi_91x_mac80211.c adapter->country[1] = request->alpha2[1]; alpha2 24 drivers/net/wireless/zydas/zd1211rw/zd_mac.c char alpha2[2]; alpha2 135 drivers/net/wireless/zydas/zd1211rw/zd_mac.c static int zd_reg2alpha2(u8 regdomain, char *alpha2) alpha2 142 drivers/net/wireless/zydas/zd1211rw/zd_mac.c alpha2[0] = reg_map->alpha2[0]; alpha2 143 drivers/net/wireless/zydas/zd1211rw/zd_mac.c alpha2[1] = reg_map->alpha2[1]; alpha2 186 drivers/net/wireless/zydas/zd1211rw/zd_mac.c char alpha2[2]; alpha2 211 drivers/net/wireless/zydas/zd1211rw/zd_mac.c r = zd_reg2alpha2(mac->regdomain, alpha2); alpha2 215 drivers/net/wireless/zydas/zd1211rw/zd_mac.c r = regulatory_hint(hw->wiphy, alpha2); alpha2 413 drivers/ssb/pci.c SPEX(alpha2[0], SSB_SPROM1_CCODE, 0xff00, 8); alpha2 414 drivers/ssb/pci.c SPEX(alpha2[1], SSB_SPROM1_CCODE, 0x00ff, 0); alpha2 494 drivers/ssb/pci.c SPEX(alpha2[0], SSB_SPROM4_CCODE, 0xff00, 8); alpha2 495 drivers/ssb/pci.c SPEX(alpha2[1], SSB_SPROM4_CCODE, 0x00ff, 0); alpha2 501 drivers/ssb/pci.c SPEX(alpha2[0], SSB_SPROM5_CCODE, 0xff00, 8); alpha2 502 drivers/ssb/pci.c SPEX(alpha2[1], SSB_SPROM5_CCODE, 0x00ff, 0); alpha2 610 drivers/ssb/pci.c SPEX(alpha2[0], SSB_SPROM8_CCODE, 0xff00, 8); alpha2 611 drivers/ssb/pci.c SPEX(alpha2[1], SSB_SPROM8_CCODE, 0x00ff, 0); alpha2 1139 drivers/staging/rtl8723bs/include/wifi.h char alpha2[2]; alpha2 38 drivers/staging/rtl8723bs/os_dep/wifi_regd.c .alpha2 = "99", alpha2 45 include/linux/ssb/ssb.h char alpha2[2]; /* Country Code as two chars like EU or US */ alpha2 5479 include/net/cfg80211.h int regulatory_hint(struct wiphy *wiphy, const char *alpha2); alpha2 5587 include/net/cfg80211.h int reg_query_regdb_wmm(char *alpha2, int freq, alpha2 82 include/net/regulatory.h char alpha2[3]; alpha2 229 include/net/regulatory.h char alpha2[3]; alpha2 85 net/ncsi/internal.h u32 alpha2; /* Supported BCD encoded NCSI version */ alpha2 75 net/ncsi/ncsi-netlink.c nla_put_u32(skb, NCSI_CHANNEL_ATTR_VERSION_MINOR, nc->version.alpha2); alpha2 196 net/ncsi/ncsi-pkt.h unsigned char alpha2; /* NCSI version */ alpha2 755 net/ncsi/ncsi-rsp.c ncv->alpha2 = rsp->alpha2; alpha2 912 net/wireless/core.c request.alpha2[0] = '9'; alpha2 913 net/wireless/core.c request.alpha2[1] = '9'; alpha2 6941 net/wireless/nl80211.c if (nla_put_string(msg, NL80211_ATTR_REG_ALPHA2, regdom->alpha2) || alpha2 7197 net/wireless/nl80211.c char *alpha2; alpha2 7209 net/wireless/nl80211.c alpha2 = nla_data(info->attrs[NL80211_ATTR_REG_ALPHA2]); alpha2 7221 net/wireless/nl80211.c if (!reg_is_valid_request(alpha2)) alpha2 7229 net/wireless/nl80211.c rd->alpha2[0] = alpha2[0]; alpha2 7230 net/wireless/nl80211.c rd->alpha2[1] = alpha2[1]; alpha2 14992 net/wireless/nl80211.c if (request->alpha2[0] == '0' && request->alpha2[1] == '0') { alpha2 14996 net/wireless/nl80211.c } else if (request->alpha2[0] == '9' && request->alpha2[1] == '9') { alpha2 15000 net/wireless/nl80211.c } else if ((request->alpha2[0] == '9' && request->alpha2[1] == '8') || alpha2 15009 net/wireless/nl80211.c request->alpha2)) alpha2 91 net/wireless/reg.c .alpha2[0] = '0', alpha2 92 net/wireless/reg.c .alpha2[1] = '0', alpha2 224 net/wireless/reg.c .alpha2 = "00", alpha2 347 net/wireless/reg.c bool is_world_regdom(const char *alpha2) alpha2 349 net/wireless/reg.c if (!alpha2) alpha2 351 net/wireless/reg.c return alpha2[0] == '0' && alpha2[1] == '0'; alpha2 354 net/wireless/reg.c static bool is_alpha2_set(const char *alpha2) alpha2 356 net/wireless/reg.c if (!alpha2) alpha2 358 net/wireless/reg.c return alpha2[0] && alpha2[1]; alpha2 361 net/wireless/reg.c static bool is_unknown_alpha2(const char *alpha2) alpha2 363 net/wireless/reg.c if (!alpha2) alpha2 369 net/wireless/reg.c return alpha2[0] == '9' && alpha2[1] == '9'; alpha2 372 net/wireless/reg.c static bool is_intersected_alpha2(const char *alpha2) alpha2 374 net/wireless/reg.c if (!alpha2) alpha2 381 net/wireless/reg.c return alpha2[0] == '9' && alpha2[1] == '8'; alpha2 384 net/wireless/reg.c static bool is_an_alpha2(const char *alpha2) alpha2 386 net/wireless/reg.c if (!alpha2) alpha2 388 net/wireless/reg.c return isalpha(alpha2[0]) && isalpha(alpha2[1]); alpha2 398 net/wireless/reg.c static bool regdom_changes(const char *alpha2) alpha2 404 net/wireless/reg.c return !alpha2_equal(r->alpha2, alpha2); alpha2 543 net/wireless/reg.c static int call_crda(const char *alpha2) alpha2 550 net/wireless/reg.c alpha2[0], alpha2[1]); alpha2 557 net/wireless/reg.c if (!is_world_regdom((char *) alpha2)) alpha2 559 net/wireless/reg.c alpha2[0], alpha2[1]); alpha2 575 net/wireless/reg.c static inline int call_crda(const char *alpha2) alpha2 585 net/wireless/reg.c u8 alpha2[2]; alpha2 872 net/wireless/reg.c country->alpha2[0], country->alpha2[1]); alpha2 918 net/wireless/reg.c int reg_query_regdb_wmm(char *alpha2, int freq, struct ieee80211_reg_rule *rule) alpha2 931 net/wireless/reg.c if (alpha2_equal(alpha2, country->alpha2)) alpha2 955 net/wireless/reg.c regdom->alpha2[0] = country->alpha2[0]; alpha2 956 net/wireless/reg.c regdom->alpha2[1] = country->alpha2[1]; alpha2 997 net/wireless/reg.c static int query_regdb(const char *alpha2) alpha2 1009 net/wireless/reg.c if (alpha2_equal(alpha2, country->alpha2)) alpha2 1061 net/wireless/reg.c static int query_regdb_file(const char *alpha2) alpha2 1066 net/wireless/reg.c return query_regdb(alpha2); alpha2 1068 net/wireless/reg.c alpha2 = kmemdup(alpha2, 2, GFP_KERNEL); alpha2 1069 net/wireless/reg.c if (!alpha2) alpha2 1074 net/wireless/reg.c (void *)alpha2, regdb_fw_cb); alpha2 1111 net/wireless/reg.c if (query_regdb_file(request->alpha2) == 0) alpha2 1114 net/wireless/reg.c if (call_crda(request->alpha2) == 0) alpha2 1120 net/wireless/reg.c bool reg_is_valid_request(const char *alpha2) alpha2 1127 net/wireless/reg.c return alpha2_equal(lr->alpha2, alpha2); alpha2 1539 net/wireless/reg.c rd->alpha2[0] = '9'; alpha2 1540 net/wireless/reg.c rd->alpha2[1] = '8'; alpha2 1839 net/wireless/reg.c !regdom_changes(pending_request->alpha2)) alpha2 1898 net/wireless/reg.c !is_world_regdom(lr->alpha2)) { alpha2 1916 net/wireless/reg.c if (is_world_regdom(cr->alpha2) || (wr && is_world_regdom(wr->alpha2))) alpha2 2429 net/wireless/reg.c regdom_changes(lr->alpha2)) alpha2 2432 net/wireless/reg.c if (!regdom_changes(user_request->alpha2)) alpha2 2460 net/wireless/reg.c user_alpha2[0] = user_request->alpha2[0]; alpha2 2461 net/wireless/reg.c user_alpha2[1] = user_request->alpha2[1]; alpha2 2474 net/wireless/reg.c if (regdom_changes(driver_request->alpha2)) alpha2 2485 net/wireless/reg.c !regdom_changes(driver_request->alpha2)) alpha2 2558 net/wireless/reg.c if (regdom_changes(country_ie_request->alpha2)) alpha2 2566 net/wireless/reg.c if (unlikely(!is_an_alpha2(country_ie_request->alpha2))) alpha2 2581 net/wireless/reg.c if (regdom_changes(country_ie_request->alpha2)) alpha2 2586 net/wireless/reg.c if (regdom_changes(country_ie_request->alpha2)) alpha2 2882 net/wireless/reg.c request.alpha2[0] = regd->alpha2[0]; alpha2 2883 net/wireless/reg.c request.alpha2[1] = regd->alpha2[1]; alpha2 2903 net/wireless/reg.c request->alpha2[0] = toupper(request->alpha2[0]); alpha2 2904 net/wireless/reg.c request->alpha2[1] = toupper(request->alpha2[1]); alpha2 2917 net/wireless/reg.c static int regulatory_hint_core(const char *alpha2) alpha2 2925 net/wireless/reg.c request->alpha2[0] = alpha2[0]; alpha2 2926 net/wireless/reg.c request->alpha2[1] = alpha2[1]; alpha2 2936 net/wireless/reg.c int regulatory_hint_user(const char *alpha2, alpha2 2941 net/wireless/reg.c if (WARN_ON(!alpha2)) alpha2 2949 net/wireless/reg.c request->alpha2[0] = alpha2[0]; alpha2 2950 net/wireless/reg.c request->alpha2[1] = alpha2[1]; alpha2 3007 net/wireless/reg.c int regulatory_hint(struct wiphy *wiphy, const char *alpha2) alpha2 3011 net/wireless/reg.c if (WARN_ON(!alpha2 || !wiphy)) alpha2 3022 net/wireless/reg.c request->alpha2[0] = alpha2[0]; alpha2 3023 net/wireless/reg.c request->alpha2[1] = alpha2[1]; alpha2 3038 net/wireless/reg.c char alpha2[2]; alpha2 3053 net/wireless/reg.c alpha2[0] = country_ie[0]; alpha2 3054 net/wireless/reg.c alpha2[1] = country_ie[1]; alpha2 3077 net/wireless/reg.c request->alpha2[0] = alpha2[0]; alpha2 3078 net/wireless/reg.c request->alpha2[1] = alpha2[1]; alpha2 3092 net/wireless/reg.c static void restore_alpha2(char *alpha2, bool reset_user) alpha2 3095 net/wireless/reg.c alpha2[0] = '9'; alpha2 3096 net/wireless/reg.c alpha2[1] = '7'; alpha2 3114 net/wireless/reg.c alpha2[0] = ieee80211_regdom[0]; alpha2 3115 net/wireless/reg.c alpha2[1] = ieee80211_regdom[1]; alpha2 3120 net/wireless/reg.c alpha2[0] = user_alpha2[0]; alpha2 3121 net/wireless/reg.c alpha2[1] = user_alpha2[1]; alpha2 3126 net/wireless/reg.c alpha2[0] = ieee80211_regdom[0]; alpha2 3127 net/wireless/reg.c alpha2[1] = ieee80211_regdom[1]; alpha2 3170 net/wireless/reg.c char alpha2[2]; alpha2 3191 net/wireless/reg.c restore_alpha2(alpha2, reset_user); alpha2 3217 net/wireless/reg.c world_alpha2[0] = cfg80211_world_regdom->alpha2[0]; alpha2 3218 net/wireless/reg.c world_alpha2[1] = cfg80211_world_regdom->alpha2[1]; alpha2 3227 net/wireless/reg.c if (cached && (!is_an_alpha2(alpha2) || alpha2 3235 net/wireless/reg.c if (is_an_alpha2(alpha2) && alpha2 3236 net/wireless/reg.c !regulatory_hint_user(alpha2, NL80211_USER_REG_HINT_USER)) { alpha2 3259 net/wireless/reg.c if (is_an_alpha2(alpha2)) alpha2 3260 net/wireless/reg.c regulatory_hint_user(alpha2, NL80211_USER_REG_HINT_USER); alpha2 3459 net/wireless/reg.c if (is_intersected_alpha2(rd->alpha2)) { alpha2 3471 net/wireless/reg.c } else if (is_world_regdom(rd->alpha2)) { alpha2 3474 net/wireless/reg.c if (is_unknown_alpha2(rd->alpha2)) alpha2 3479 net/wireless/reg.c rd->alpha2[0], rd->alpha2[1]); alpha2 3482 net/wireless/reg.c rd->alpha2[0], rd->alpha2[1]); alpha2 3492 net/wireless/reg.c pr_debug("Regulatory domain: %c%c\n", rd->alpha2[0], rd->alpha2[1]); alpha2 3498 net/wireless/reg.c if (!is_world_regdom(rd->alpha2)) alpha2 3509 net/wireless/reg.c if (!regdom_changes(rd->alpha2)) alpha2 3514 net/wireless/reg.c rd->alpha2[0], rd->alpha2[1]); alpha2 3543 net/wireless/reg.c if (is_world_regdom(rd->alpha2)) alpha2 3546 net/wireless/reg.c if (!regdom_changes(rd->alpha2)) alpha2 3551 net/wireless/reg.c rd->alpha2[0], rd->alpha2[1]); alpha2 3598 net/wireless/reg.c if (!is_alpha2_set(rd->alpha2) && !is_an_alpha2(rd->alpha2) && alpha2 3599 net/wireless/reg.c !is_unknown_alpha2(rd->alpha2)) alpha2 3610 net/wireless/reg.c rd->alpha2[0], rd->alpha2[1]); alpha2 3641 net/wireless/reg.c if (!reg_is_valid_request(rd->alpha2)) { alpha2 3967 net/wireless/reg.c err = regulatory_hint_core(cfg80211_world_regdom->alpha2); alpha2 31 net/wireless/reg.h bool reg_is_valid_request(const char *alpha2); alpha2 32 net/wireless/reg.h bool is_world_regdom(const char *alpha2); alpha2 36 net/wireless/reg.h int regulatory_hint_user(const char *alpha2,