/freebsd/lib/lib80211/ |
H A D | lib80211_regdomain.h | 66 struct regdomain { struct 67 enum RegdomainCode sku; /* regdomain code/SKU */ argument 79 LIST_ENTRY(regdomain) next; argument 85 const struct regdomain *rd; 96 LIST_HEAD(, regdomain) domains; /* regulatory domains */ 101 #define _PATH_REGDOMAIN "/etc/regdomain.xml" 109 const struct regdomain *lib80211_regdomain_findbysku(const struct regdata *, 111 const struct regdomain *lib80211_regdomain_findbyname(const struct regdata *,
|
H A D | lib80211_regdomain.c | 51 struct regdomain *rd; /* current domain */ 95 mt->rd = calloc(1, sizeof(struct regdomain)); in start_element() 370 warnx("no regdomain reference for country at line %ld", in end_element() 412 * Parse an regdomain XML configuration and build the internal representation. 418 struct regdomain *dp; in lib80211_regdomain_readconfig() 575 * Cleanup state/resources for a previously parsed regdomain database. 584 struct regdomain *dp = LIST_FIRST(&rdp->domains); in lib80211_regdomain_cleanup() 674 * Lookup a regdomain by SKU. 676 const struct regdomain * 679 const struct regdomain *dp; in lib80211_regdomain_findbysku() [all …]
|
H A D | Makefile | 2 CONFS= regdomain.xml
|
/freebsd/usr.sbin/bsdinstall/scripts/ |
H A D | wlanconfig | 44 # NB: Do not change order of arguments (or regdomain will be ignored) 47 [ "$1" ] && ifconfig_args="$ifconfig_args regdomain $1" 51 # Regdomain/country cannot be applied while interface is running 82 local input regdomains countries regdomain country prompt 113 f_dialog_title "Regdomain selection" 114 prompt="Select your regdomain." 118 regdomain=$( eval $DIALOG \ 128 f_dialog_data_sanitize regdomain 147 country_set "$regdomain" "$country" 182 # There is no way to check country/regdomain without (possible) [all …]
|
/freebsd/sys/dev/ath/ath_hal/ |
H A D | ah_regdomain.h | 34 * capability/requirements per regdomain. 71 /* Bit masks for DFS per regdomain */ 86 * THE following table is the mapping of regdomain pairs specified by 87 * an 8 bit regdomain value to the individual unitary reg domains 134 uint64_t useDfs; /* Use DFS in the RegDomain 136 uint64_t usePassScan; /* Use Passive Scan in the RegDomain 140 typedef struct regDomain { struct
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86DomainReassignment.cpp | 42 enum RegDomain { NoDomain = -1, GPRDomain, MaskDomain, OtherDomain, NumDomains }; enum 56 static RegDomain getDomain(const TargetRegisterClass *RC, in getDomain() 67 RegDomain Domain) { in getDstRC() 210 RegDomain DstDomain; 212 InstrCOPYReplacer(unsigned SrcOpcode, RegDomain DstDomain, unsigned DstOpcode) in InstrCOPYReplacer() 245 RegDomain OpDomain = getDomain(MRI->getRegClass(MO.getReg()), in getExtraCost() 314 Closure(unsigned ID, std::initializer_list<RegDomain> LegalDstDomainList) : ID(ID) { in Closure() 315 for (RegDomain D : LegalDstDomainList) in Closure() 326 bool isLegal(RegDomain RD) const { return LegalDstDomains[RD]; } in isLegal() 329 void setIllegal(RegDomain RD) { LegalDstDomains[RD] = false; } in setIllegal() [all …]
|
/freebsd/share/man/man5/ |
H A D | regdomain.5 | 28 .Nm regdomain.xml 40 .Bl -tag -width /etc/regdomain.xml -compact 41 .It Pa /etc/regdomain.xml
|
H A D | Makefile | 46 regdomain.5 \
|
/freebsd/sbin/ifconfig/ |
H A D | ifieee80211.c | 192 static struct ieee80211_regdomain regdomain; variable 257 errx(-1, "missing or corrupted regdomain database"); in getregdata() 483 ®domain, sizeof(regdomain)) < 0) in getregdomain() 508 * compatible with the new regdomain. If not, then in setregdomain_cb() 515 if (cc->rd->sku != rd->regdomain) { in setregdomain_cb() 516 const struct regdomain *rp; in setregdomain_cb() 518 * Check if country is incompatible with regdomain. in setregdomain_cb() 520 * we permit a mismatch between the regdomain and in setregdomain_cb() 521 * the country's associated regdomain when the in setregdomain_cb() 522 * regdomain is setup w/o a default country. For in setregdomain_cb() [all …]
|
H A D | ifconfig.8 | 1395 .Pa /etc/regdomain.xml 1403 .Cm regdomain , 1417 .Pa /etc/regdomain.xml 1418 and the current country code, regdomain, 1659 .Cm regdomain . 1714 .It Cm list regdomain 1893 .Cm regdomain . 1935 .It Cm regdomain Ar sku 1941 Regdomain codes (SKU's) are taken from 1942 .Pa /etc/regdomain.xml [all …]
|
/freebsd/usr.sbin/bsnmpd/modules/snmp_wlan/ |
H A D | wlan_sys.c | 1017 syslog(LOG_ERR, "unknown regdomain (0x%x) ", which); in wlan_regdomain_to_snmp() 1026 wlan_snmp_to_regdomain(enum WlanRegDomainCode regdomain) in wlan_snmp_to_regdomain() argument 1030 switch (regdomain) { in wlan_snmp_to_regdomain() 1083 syslog(LOG_ERR, "unknown snmp regdomain (0x%x) ", regdomain); in wlan_snmp_to_regdomain() 1096 struct ieee80211_regdomain regdomain; in wlan_config_get_country() local 1098 memset(®domain, 0, sizeof(regdomain)); in wlan_config_get_country() 1099 argsize = sizeof(regdomain); in wlan_config_get_country() 1101 if (wlan_ioctl(wif->wname, IEEE80211_IOC_REGDOMAIN, &val, ®domain, in wlan_config_get_country() 1105 wif->reg_domain = wlan_regdomain_to_snmp(regdomain.regdomain); in wlan_config_get_country() 1106 wif->country_code[0] = regdomain.isocc[0]; in wlan_config_get_country() [all …]
|
/freebsd/sys/dev/ath/ath_hal/ah_regdomain/ |
H A D | ah_rd_regmap.h | 25 * THE following table is the mapping of regdomain pairs specified by 26 * an 8 bit regdomain value to the individual unitary reg domains 29 /* regdomain 5ghz 2ghz 5ghz 2ghz pscan mask single */ 30 /* enum regdomain regdomain flags flags country? */
|
/freebsd/tools/tools/ath/athprom/ |
H A D | eeprom-3 | 9 | RegDomain $regdomain | Turbo2 Disable $turbo2Disable | Turbo5 Disable $turbo5Disable | 75 | RegDomain $regdomain | Turbo2 Disable $turbo2Disable | Turbo5 Disable $turbo5Disable | 123 | RegDomain $regdomain | Turbo2 Disable $turbo2Disable | Turbo5 Disable $turbo5Disable |
|
H A D | eeprom-4 | 11 | RegDomain $regdomain | Turbo2 Disable $turbo2Disable | Turbo5 Disable $turbo5Disable | 84 | RegDomain $regdomain | Turbo2 Disable $turbo2Disable | Turbo5 Disable $turbo5Disable | 149 | RegDomain $regdomain | Turbo2 Disable $turbo2Disable | Turbo5 Disable $turbo5Disable |
|
H A D | eeprom-5 | 12 | RegDomain $regdomain | Turbo2 Disable $turbo2Disable | Turbo5 Disable $turbo5Disable | 98 | RegDomain $regdomain | Turbo2 Disable $turbo2Disable | Turbo5 Disable $turbo5Disable | 176 | RegDomain $regdomain | Turbo2 Disable $turbo2Disable | Turbo5 Disable $turbo5Disable |
|
H A D | eeprom-14 | 8 | RegDomain 1 $regDmn0 | RegDomain 2 $regDmn1 |
|
/freebsd/sys/dev/ath/ath_hal/ar5211/ |
H A D | ar5211_misc.c | 100 uint16_t regDomain, HAL_STATUS *status) in ar5211SetRegulatoryDomain() argument 104 if (AH_PRIVATE(ah)->ah_currentRD == regDomain) { in ar5211SetRegulatoryDomain() 118 if (ar5211EepromWrite(ah, AR_EEPROM_REG_DOMAIN, regDomain)) { in ar5211SetRegulatoryDomain() 121 __func__, regDomain, regDomain); in ar5211SetRegulatoryDomain() 122 AH_PRIVATE(ah)->ah_currentRD = regDomain; in ar5211SetRegulatoryDomain()
|
/freebsd/sys/contrib/device-tree/Bindings/net/wireless/ |
H A D | mediatek,mt76.yaml | 142 regdomain: 145 Regdomain refers to a legal regulatory region. Different 260 regdomain = "FCC";
|
/freebsd/sys/contrib/dev/athk/ |
H A D | regd.c | 249 bool ath_is_49ghz_allowed(u16 regdomain) in ath_is_49ghz_allowed() argument 252 return regdomain == MKK9_MKKC; in ath_is_49ghz_allowed() 502 printk(KERN_DEBUG "ath: regdomain 0x%0x " in ath_reg_dyn_country() 679 printk(KERN_DEBUG "ath: EEPROM regdomain sanitized\n"); in ath_regd_sanitize() 693 printk(KERN_DEBUG "ath: EEPROM regdomain: 0x%0x\n", reg->current_rd); in __ath_regd_init()
|
/freebsd/sys/contrib/dev/athk/ath12k/ |
H A D | reg.c | 433 * default regdomain. Also MAX of the dfs cac timeout is selected. 616 "\r\nCountry %s, CFG Regdomain %s FW Regdomain %d, num_reg_rules %d\n", 703 ath12k_warn(ab, "Unable to create intersected regdomain\n");
|
/freebsd/sys/contrib/dev/athk/ath11k/ |
H A D | reg.c | 471 * default regdomain. Also MAX of the dfs cac timeout is selected. in ath11k_regd_intersect() 662 "Country %s, CFG Regdomain %s FW Regdomain %d, num_reg_rules %d\n", in ath11k_reg_build_regd() 751 ath11k_warn(ab, "Unable to create intersected regdomain\n"); in ath11k_reg_build_regd()
|
/freebsd/sys/net80211/ |
H A D | ieee80211_regdomain.c | 30 * IEEE 802.11 regdomain support. 70 if (ic->ic_regdomain.regdomain == 0 && in ieee80211_regdomain_attach() 442 /* regdomain parameters */ in ieee80211_setregdomain()
|
/freebsd/sys/dev/ath/ath_hal/ar5212/ |
H A D | ar5212_misc.c | 78 uint16_t regDomain, HAL_STATUS *status) in ar5212SetRegulatoryDomain() argument 82 if (AH_PRIVATE(ah)->ah_currentRD == regDomain) { in ar5212SetRegulatoryDomain() 91 if (ath_hal_eepromWrite(ah, AR_EEPROM_REG_DOMAIN, regDomain)) { in ar5212SetRegulatoryDomain() 94 __func__, regDomain, regDomain); in ar5212SetRegulatoryDomain() 95 AH_PRIVATE(ah)->ah_currentRD = regDomain; in ar5212SetRegulatoryDomain()
|
/freebsd/sys/contrib/dev/iwlwifi/ |
H A D | iwl-nvm-parse.h | 48 * the regdomain returned here with kfree.
|
/freebsd/share/man/man9/ |
H A D | ieee80211_regdomain.9 | 139 .Xr regdomain 5 ,
|