/freebsd/usr.sbin/bsdconfig/timezone/share/ |
H A D | menus.subr | 3 # Copyright (c) 2011-2012 Devin Teske 9 # 1. Redistributions of source code must retain the above copyright 46 # Creates the tag/item ordered-pair list environment variables for the 47 # continent and country menus. 52 # Space-separated list of continents. 59 # Space-separated list of 2-character country codes. 61 # Desired menu text for the country-zone represented by *, the 2- 62 # character country code. 67 # Number of zones for the country represented by *, the 2- 68 # character country code. Should be -1 if the country has only [all …]
|
H A D | iso3166.subr | 3 # Copyright (c) 2011-2012 Devin Teske 9 # 1. Redistributions of source code must retain the above copyright 55 # Read the ISO 3166 country code database in _PATH_ISO3166: 68 # two ISO 3166 2-character country code 69 # three ISO 3166 3-character country code (if provided) 70 # number ISO 3166 numeric country code (if provided) 71 # name Human-readable country name (may contain spaces) 76 # A space-separated list of 2-character country codes. 78 # The country `name' (as described above). 80 # where CODE is the 2-character country code. [all …]
|
H A D | countries.subr | 3 # Copyright (c) 2011-2015 Devin Teske 9 # 1. Redistributions of source code must retain the above copyright 30 # f_country $code $property [$var_to_set] 32 # Returns a single property of a given country. Available properties are: 34 # name Name of the country as read from _PATH_ISO3166. 35 # nzones Number of zones within the country (-1 if country has 39 # cont The principal continent in which the country lies (appears 41 # filename_N Like filename, but for the Nth zone when the country has 43 # cont_N Like cont, but for the Nth zone when the country has 45 # descr_N Like name, but for the Nth zone when the country has [all …]
|
H A D | zones.subr | 3 # Copyright (c) 2011-2012 Devin Teske 9 # 1. Redistributions of source code must retain the above copyright 71 # code coordinates TZ comments 76 # code 77 # The ISO 3166 2-character country code. 80 # 6709 sign-degrees-minutes-seconds format, either +-DDMM+-DDDMM 81 # or +-DDMMSS+-DDDMMSS, first latitude (+ is north), then long- 86 # Comments; present if and only if the country has multiple rows. 91 # Space-separated list of continents. 99 # Country name of the country represented by CODE, the 2- [all …]
|
/freebsd/sys/contrib/dev/athk/ |
H A D | regd.c | 2 * Copyright (c) 2008-2009 Atheros Communications Inc. 36 #define ATH_2GHZ_CH01_11 REG_RULE(2412-10, 2462+10, 40, 0, 20, 0) 39 #define ATH_2GHZ_CH12_13 REG_RULE(2467-10, 2472+10, 40, 0, 20,\ 41 #define ATH_2GHZ_CH14 REG_RULE(2484-10, 2484+10, 40, 0, 20,\ 46 #define ATH_5GHZ_5150_5350 REG_RULE(5150-10, 5350+10, 80, 0, 30,\ 48 #define ATH_5GHZ_5470_5850 REG_RULE(5470-10, 5850+10, 80, 0, 30,\ 50 #define ATH_5GHZ_5725_5850 REG_RULE(5725-10, 5850+10, 80, 0, 30,\ 122 switch (reg->country_code) { in dynamic_country_user_possible() 207 return reg->current_rd & ~WORLDWIDE_ROAMING_FLAG; in ath_regd_get_eepromRD() 225 switch (reg->regpair->reg_domain) { in ath_world_regdomain() [all …]
|
/freebsd/lib/lib80211/ |
H A D | lib80211_regdomain.h | 1 /*- 2 * Copyright (c) 2007-2008 Sam Leffler, Errno Consulting 8 * 1. Redistributions of source code must retain the above copyright 64 struct country; 67 enum RegdomainCode sku; /* regdomain code/SKU */ 69 const struct country *cc; /* country code for 1-1/default map */ 82 struct country { struct 83 enum ISOCountryCode code; member 89 LIST_ENTRY(country) next; argument 95 LIST_HEAD(, country) countries; /* country code table */ [all …]
|
H A D | lib80211_regdomain.c | 1 /*- 8 * 1. Redistributions of source code must retain the above copyright 54 struct country *country; /* current country */ member 64 enum { DOMAIN, COUNTRY, FREQBAND } type; enumerator 76 if (++mt->level == MAXLEVEL) { in start_element() 80 mt->sbuf[mt->level] = sbuf_new_auto(); in start_element() 90 printf("%*.*s[%s = %s]\n", mt->level + 1, in start_element() 91 mt->level + 1, "", attr[i], attr[i+1]); in start_element() 93 if (iseq(name, "rd") && mt->rd == NULL) { in start_element() 94 if (mt->country == NULL) { in start_element() [all …]
|
H A D | regdomain.xml | 1 <!-- 2 Copyright (c) 2007-2008 Sam Leffler, Errno Consulting 8 1. Redistributions of source code must retain the above copyright 24 --> 26 <regulatory-data> 28 <!-- Regdomain/SKU definitions --> 30 <regulatory-domains> 32 <!-- 35 Regdomain code gets this information with the 37 --> [all …]
|
/freebsd/sys/dev/ath/ath_hal/ |
H A D | ah_regdomain.c | 1 /*- 2 * SPDX-License-Identifier: ISC 4 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 5 * Copyright (c) 2005-2006 Atheros Communications, Inc. 34 * XXX this code needs a audit+review 75 * This table maps country ISO codes from net80211 into regulatory 76 * domains which the ath regulatory domain code understands. 82 * with shared properties - max tx power, max antenna gain, channel width, 96 * zones. It uses combinations of frequency ranges - represented in 97 * a bitmask - to determine the requirements and limitations needed. [all …]
|
/freebsd/usr.sbin/bsdinstall/scripts/ |
H A D | wlanconfig | 2 #- 4 # Copyright (c) 2013-2020 Devin Teske 10 # 1. Redistributions of source code must retain the above copyright 46 [ "$2" ] && ifconfig_args="$ifconfig_args country $2" 51 # Regdomain/country cannot be applied while interface is running 52 iface_up=$( ifconfig -lu | grep -w "$WLAN_IFACE" ) 54 f_eval_catch -dk error_str wlanconfig ifconfig "ifconfig %s %s" \ 59 f_eval_catch -d wlanconfig wpa_supplicant \ 60 'wpa_supplicant -B -i "%s" -c "%s/wpa_supplicant.conf"' \ 63 $DIALOG --title "$msg_error" \ [all …]
|
/freebsd/sys/contrib/dev/iwlwifi/fw/api/ |
H A D | nvm-reg.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2012-2014, 2018-2024 Intel Corporation 4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH 5 * Copyright (C) 2016-2017 Intel Deutschland GmbH 11 * enum iwl_regulatory_and_nvm_subcmd_ids - regulator [all...] |
/freebsd/tools/tools/ath/athrd/ |
H A D | athrd.1 | 1 .\"- 2 .\" Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 8 .\" 1. Redistributions of source code must retain the above copyright 34 .Nd list channels and transmit power for a country/regulatory domain 40 .Op Ar country 45 power permitted within a regulatory domain and/or country. 47 If no command line options are given, a default country (\c 50 Country and regulatory names are case insensitive. 53 .Bl -tag -width indent 65 Enabling debugging in the HAL code that calculates the available channels [all …]
|
/freebsd/usr.sbin/bsdconfig/timezone/include/ |
H A D | messages.subr | 7 # 1. Redistributions of source code must retain the above copyright 27 continent_america_title="America -- North and South" 43 msg_country_code_invalid="%s:%d: country code \`%s' invalid" 44 msg_country_code_multiply_defined="%s:%d: country code \`%s' multiply defined: %s" 45 msg_country_code_unknown="%s:%d: country code \`%s' unknown" 55 msg_invalid_code="%s:%d: invalid code \`%s'" 56 msg_invalid_country_code="%s:%d: invalid country code \`%s'" 67 msg_select_country="Select a country"
|
/freebsd/usr.sbin/tzsetup/ |
H A D | tzsetup.c | 36 * When making changes to parser code, run baseline target, check that there are 77 /* flags - returned in upper 16 bits of return status */ 131 result = -1; in xdialog_menu() 193 { "2", "America -- North and South" }, 214 struct continent *contp = continent->data; in continent_country_menu() 215 int isocean = OCEANP(continent - continents); in continent_country_menu() 218 if (strcmp(continent->title, "UTC") == 0) in continent_country_menu() 224 continent->title); in continent_country_menu() 225 snprintf(prompt, sizeof(prompt), "Select a country or region"); in continent_country_menu() 228 continent->title); in continent_country_menu() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/net/wireless/ |
H A D | brcm,bcm4329-fmac.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/net/wireless/brcm,bcm4329-fmac.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Arend van Spriel <arend@broadcom.com> 19 - $ref: ieee80211.yaml# 24 - items: 25 - enum: 26 - brcm,bcm43143-fmac 27 - brcm,bcm4341b0-fmac [all …]
|
/freebsd/contrib/tzdata/ |
H A D | zone1970.tab | 5 # From Paul Eggert (2018-06-27): 9 # UTF-8 encoding. The columns of the table are as follows: 11 # 1. The countries that overlap the timezone, as a comma-separated list 12 # of ISO 3166 2-character country codes. 15 # in ISO 6709 sign-degrees-minutes-seconds format, 20 # If multiple timezones overlap a country, each has a row in the 21 # table, with each column 1 containing the country code. 27 # If a timezone covers multiple countries, the most-populous city is used, 28 # and that country is listed first in column 1; any other countries 29 # are listed alphabetically by country code. The table is sorted [all …]
|
H A D | checktab.awk | 10 if (!want_warnings) want_warnings = -1 22 if (cc !~ /^[A-Z][A-Z]$/) { 23 printf "%s:%d: invalid country code '%s'\n", \ 34 printf "%s:%d: country code '%s' is %s\n", \ 70 # Or at least put just "XX" in its country-code column. 74 printf "%s:%d: country code '%s' is out of order\n", \ 87 printf "%s:%d: %s: unknown country code\n", \ 92 if (coordinates !~ /^[-+][0-9][0-9][0-5][0-9][-+][01][0-9][0-9][0-5][0-9]$/ \ 93 … && coordinates !~ /^[-+][0-9][0-9][0-5][0-9][0-5][0-9][-+][01][0-9][0-9][0-5][0-9][0-5][0-9]$/) { 146 if ($10 != "-") ruleLetters[$2] = 1
|
/freebsd/sys/contrib/dev/athk/ath11k/ |
H A D | core.h | 1 /* SPDX-License-Identifier: BSD-3-Clause-Clear */ 3 * Copyright (c) 2018-2019 The Linux Foundation. All rights reserved. 4 * Copyright (c) 2021-2023 Qualcomm Innovation Center, Inc. All rights reserved. 51 /* SMBIOS type structure length (excluding strings-set) */ 198 /* disable country code setting from SMBIOS */ 201 /* set country code by ANSI country name, based on ISO3166-1 alpha2 */ 216 /* To set specific country, you need to set country code 217 * flag=ATH11K_SMBIOS_CC_ISO first, then if country is United 218 * States, then country code value = 0x5553 ("US",'U' = 0x55, 'S'= 219 * 0x53). To set country to INDONESIA, then country code value = [all …]
|
H A D | reg.c | 1 // SPDX-License-Identifier: BSD-3-Clause-Clear 3 * Copyright (c) 2018-2019 The Linux Foundation. All rights reserved. 11 #define ATH11K_2GHZ_CH01_11 REG_RULE(2412 - 10, 2462 + 10, 40, 0, 20, 0) 12 #define ATH11K_5GHZ_5150_5350 REG_RULE(5150 - 10, 5350 + 10, 80, 0, 30,\ 14 #define ATH11K_5GHZ_5725_5850 REG_RULE(5725 - 10, 5850 + 10, 80, 0, 30,\ 35 regd = rcu_dereference_rtnl(ar->hw->wiphy->regd); in ath11k_regdom_changes() 43 return memcmp(regd->alpha2, alpha2, 2) != 0; in ath11k_regdom_changes() 52 struct ath11k *ar = hw->priv; in ath11k_reg_notifier() 55 ath11k_dbg(ar->ab, ATH11K_DBG_REG, in ath11k_reg_notifier() 63 if (!(request->initiator == NL80211_REGDOM_SET_BY_USER && in ath11k_reg_notifier() [all …]
|
/freebsd/share/man/man9/ |
H A D | ieee80211_regdomain.9 | 8 .\" 1. Redistributions of source code must retain the above copyright 80 ISO country code, location (e.g. indoor, outdoor), and a set of 90 The SKU and country information are used for generating 802.11h protocol 91 elements and related operation such as for 802.11d; mis-setup by a 97 and country code to
|
/freebsd/contrib/dialog/samples/copifuncs/ |
H A D | copi.ifmcfg5 | 3 # or long-distance calls. In the example below, my country code is 7, 4 # and local dialing area is 095. From the numbers starting with "7-095-" 5 # the prefix is stripped and the 7-digit remainder is dialed. For 6 # the numbers starting with "7-" but not with "7-095-", the country prefix 7 # "7-" is stripped and the long-distance dialing prefix "8W" substituted. 10 # to the unmodified 11-digit number. Generally, the syntax is: 11 # "PhoneTrans <what-to-strip> / <what-to-substitute-instead>" 12 #PhoneTrans 7-095- / 13 #PhoneTrans 7- / 8W
|
/freebsd/crypto/openssl/test/ |
H A D | proxy.cnf | 13 countryName = Country Name (2 letter code) 28 proxyCertInfo = critical,language:id-ppl-anyLanguage,pathlen:1,policy:text:AB 38 countryName = Country Name (2 letter code) 58 language = id-ppl-anyLanguage
|
/freebsd/usr.bin/ncal/ |
H A D | ncal.1 | 1 .\"- 2 .\" SPDX-License-Identifier: BSD-2-Clause 10 .\" 1. Redistributions of source code must retain the above copyright 66 .Op Fl H Ar yyyy-mm-dd 67 .Op Fl d Ar yyyy-mm 80 .Bl -tag -width indent 91 Display Julian days (days one-based, numbered from January 1). 111 Print the country codes and switching days from Julian to Gregorian 114 The country code as determined from the local environment is marked 148 .It Fl d Ar yyyy-mm [all …]
|
/freebsd/sys/net80211/ |
H A D | ieee80211_regdomain.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2005-2008 Sam Leffler, Errno Consulting 10 * 1. Redistributions of source code must retain the above copyright 53 if (maxchan > ic->ic_nchans) in null_getradiocaps() 54 maxchan = ic->ic_nchans; in null_getradiocaps() 55 memcpy(c, ic->ic_channels, maxchan*sizeof(struct ieee80211_channel)); in null_getradiocaps() 70 if (ic->ic_regdomain.regdomain == 0 && in ieee80211_regdomain_attach() 71 ic->ic_regdomain.country == CTRY_DEFAULT) { in ieee80211_regdomain_attach() 72 ic->ic_regdomain.location = ' '; /* both */ in ieee80211_regdomain_attach() [all …]
|
/freebsd/usr.bin/whois/ |
H A D | whois.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 10 * 1. Redistributions of source code must retain the above copyright 52 #define DKNICHOST "whois.dk-hostmaster.dk" 62 #define QNICHOST_TAIL ".whois-servers.net" 64 #define VNICHOST "whois.verisign-grs.com" 74 #define ishost(h) (isalnum((unsigned char)h) || h == '.' || h == '-') 85 { "-ARIN", ANICHOST }, 86 { "-NICAT", "at" QNICHOST_TAIL }, 87 { "-NORID", "no" QNICHOST_TAIL }, [all …]
|