Home
last modified time | relevance | path

Searched +full:country +full:- +full:code (Results 1 – 25 of 62) sorted by relevance

123

/linux/drivers/net/wireless/ath/
H A Dregd.c2 * 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 …]
/linux/drivers/net/wireless/intel/iwlwifi/fw/api/
H A Dnvm-reg.h1 /* 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 - regulatory/NVM commands
61 * enum iwl_nvm_access_op - NVM access opcode
71 * enum iwl_nvm_access_target - target of the NVM_ACCESS_CMD
83 * enum iwl_nvm_section_type - section types for NVM_ACCESS_CMD
105 * struct iwl_nvm_access_cmd - Request the device to send an NVM section
123 * struct iwl_nvm_access_resp - response to NVM_ACCESS_CMD
[all …]
/linux/include/linux/platform_data/
H A Dbrcmfmac.h34 * Note: the brcmfmac can be loaded as module or be statically built-in into
35 * the kernel. If built-in then do note that it uses module_init (and
38 * it built-in to the kernel then use a higher initcall then device_initcall
48 * enum brcmf_bus_type - Bus type identifier. Currently SDIO, USB and PCIE are
59 * struct brcmfmac_sdio_pd - SDIO Device specific platform data.
69 * in-band interrupts are relatively slow and for having
104 * struct brcmfmac_pd_cc_entry - Struct for translating user space country code
105 * (iso3166) to firmware country code and
108 * @iso3166: iso3166 alpha 2 country code string.
109 * @cc: firmware country code string.
[all …]
/linux/include/net/
H A Dregulatory.h7 * Copyright 2008-2009 Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
28 * enum environment_cap - Environment parsed from country IE
29 * @ENVIRON_ANY: indicates country IE applies to both indoor and
31 * @ENVIRON_INDOOR: indicates country IE applies only to indoor operation
32 * @ENVIRON_OUTDOOR: indicates country IE applies only to outdoor operation
41 * struct regulatory_request - used to keep track of regulatory requests
51 * @alpha2: the ISO / IEC 3166 alpha2 country code of the requested
53 * 00 - World regulatory domain
54 * 99 - built by driver but a specific alpha2 cannot be determined
55 * 98 - result of an intersection between two regulatory domains
[all …]
/linux/Documentation/ABI/testing/
H A Dsysfs-driver-hid1 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
2 What: /sys/class/bluetooth/hci<addr>/<hid-bus>:<vendor-id>:<product-id>.<num>/report_descriptor
12 …t: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<pro…
13 What: /sys/class/bluetooth/hci<addr>/<hid-bus>:<vendor-id>:<product-id>.<num>/country
14 What: /sys/class/hidraw/hidraw<num>/device/country
19 of the device's HID country code (e.g. 21 for US).
H A Dsysfs-driver-intc_sar8 derived based on information like mcc (Mobile Country Code) and
9 mnc (Mobile Network Code) that is available for the currently
23 - The regulatory mode value has one of the above values.
24 - The default regulatory mode used in the driver is 0.
36 - device_mode
37 - bandtable_index
38 - antennatable_index
39 - sartable_index
46 device-mode like laptop/tablet/clamshell etc. and the
47 proximity-sensor data available to the embedded controller on
[all …]
/linux/net/wireless/
H A Dreg.h7 * Copyright 2008-2011 Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
40 * regulatory_hint_indoor - hint operation in indoor env. or not
48 * regulatory_netlink_notify - notify on released netlink socket
68 * regulatory_hint_found_beacon - hints a beacon was found on a channel
76 * world roaming -- when we do not know our current location. This is
78 * 1-11 are already enabled by the world regulatory domain; and on
79 * non-radar 5 GHz channels.
83 * set the wiphy->disable_beacon_hints to true.
90 * regulatory_hint_country_ie - hints a country IE as a regulatory domain
93 * @band: the band on which the country IE was received on. This determines
[all …]
H A Dreg.c2 * Copyright 2002-2005, Instant802 Networks, Inc.
3 * Copyright 2005-2006, Devicescape Software, Inc.
5 * Copyright 2008-2011 Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
6 * Copyright 2013-2014 Intel Mobile Communications GmbH
8 * Copyright (C) 2018 - 2024 Intel Corporation
29 * looking up the allowable channels in a driver-local table and finally
42 * Note: When number of rules --> infinity we will not be able to
65 #include "rdev-ops.h"
75 * enum reg_request_treatment - regulatory request treatment
152 return rcu_dereference_check(wiphy->regd, in get_wiphy_regdom()
[all …]
/linux/drivers/net/wireless/realtek/rtlwifi/
H A Dregd.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 2009-2012 Realtek Corporation.*/
29 REG_RULE(2412-10, 2462+10, 40, 0, 20, 0)
36 REG_RULE(2467-10, 2472+10, 40, 0, 20,\
40 REG_RULE(2484-10, 2484+10, 40, 0, 20, \
44 /* 5G chan 36 - chan 64*/
46 REG_RULE(5150-10, 5350+10, 80, 0, 30, 0)
47 /* 5G chan 100 - chan 165*/
49 REG_RULE(5470-10, 5850+10, 80, 0, 30, 0)
50 /* 5G chan 149 - chan 165*/
[all …]
/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A Dchannel.c41 * maxpwr[0] - channels [34-48]
42 * maxpwr[1] - channels [52-60]
43 * maxpwr[2] - channels [62-64]
44 * maxpwr[3] - channels [100-140]
45 * maxpwr[4] - channels [149-165]
60 #define BRCM_2GHZ_2412_2462 REG_RULE(2412-10, 2462+10, 40, 0, 19, 0)
61 #define BRCM_2GHZ_2467_2472 REG_RULE(2467-10, 2472+10, 20, 0, 19, \
64 #define BRCM_5GHZ_5180_5240 REG_RULE(5180-10, 5240+10, 40, 0, 21, \
66 #define BRCM_5GHZ_5260_5320 REG_RULE(5260-10, 5320+10, 40, 0, 21, \
69 #define BRCM_5GHZ_5500_5700 REG_RULE(5500-10, 5700+10, 40, 0, 21, \
[all …]
/linux/Documentation/networking/
H A Dregulatory.rst1 .. SPDX-License-Identifier: GPL-2.0
15 ---------------------------------------
23 -------------------------------------------
28 given country.
31 ---------------------------------------------------------------
38 is CRDA - central regulatory domain agent. Its documented here:
52 The alpha2 is passed as an environment variable under the variable COUNTRY.
55 --------------------------------
73 * Wireless subsystems for Country Information elements
83 They have two options -- they either provide an alpha2 so that
[all …]
/linux/drivers/net/wireless/ath/ath11k/
H A Dcore.h1 /* SPDX-License-Identifier: BSD-3-Clause-Clear */
3 * Copyright (c) 2018-2019 The Linux Foundation. All rights reserved.
4 * Copyright (c) 2021-2024 Qualcomm Innovation Center, Inc. All rights reserved.
51 /* SMBIOS type structure length (excluding strings-set) */
181 /* disable country code setting from SMBIOS */
184 /* set country code by ANSI country name, based on ISO3166-1 alpha2 */
199 /* To set specific country, you need to set country code
200 * flag=ATH11K_SMBIOS_CC_ISO first, then if country is United
201 * States, then country code value = 0x5553 ("US",'U' = 0x55, 'S'=
202 * 0x53). To set country to INDONESIA, then country code value =
[all …]
H A Dreg.c1 // SPDX-License-Identifier: BSD-3-Clause-Clear
3 * Copyright (c) 2018-2019 The Linux Foundation. All rights reserved.
4 * Copyright (c) 2021-2024 Qualcomm Innovation Center, Inc. All rights reserved.
12 #define ATH11K_2GHZ_CH01_11 REG_RULE(2412 - 10, 2462 + 10, 40, 0, 20, 0)
13 #define ATH11K_5GHZ_5150_5350 REG_RULE(5150 - 10, 5350 + 10, 80, 0, 30,\
15 #define ATH11K_5GHZ_5725_5850 REG_RULE(5725 - 10, 5850 + 10, 80, 0, 30,\
36 regd = rcu_dereference_rtnl(ar->hw->wiphy->regd); in ath11k_regdom_changes()
44 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()
[all …]
/linux/Documentation/devicetree/bindings/nvmem/layouts/
H A Donie,tlv-layout.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/nvmem/layouts/onie,tlv-layout.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Miquel Raynal <miquel.raynal@bootlin.com>
14 infrastructure shall provide a non-volatile memory with a table whose the
16 (name, country of manufacture, etc) as well as device caracteristics (serial
26 const: onie,tlv-layout
28 product-name:
32 part-number:
[all …]
/linux/include/uapi/linux/
H A Duhid.h1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
6 * User-space I/O driver support for HID subsystem
18 * Public header for user-space communication. We try to keep every structure
54 __u32 country; member
116 * new code. We support them for backwards-compatibility, but you might not get
140 __u32 country; member
152 __u16 code; member
175 * that type and can be accessed via ev->u.XYZ accordingly.
176 * If user-space writes short events, they're extended with 0s by the kernel. If
177 * the kernel writes short events, user-space shall extend them with 0s.
/linux/drivers/net/wireless/intersil/p54/
H A Deeprom.h1 /* SPDX-License-Identifier: GPL-2.0-only */
6 * Copyright (c) 2007-2009, Christian Lamparter <chunkeey@web.de>
9 * - the islsm (softmac prism54) driver, which is:
10 * Copyright 2004-2006 Jean-Baptiste Note <jbnote@gmail.com>, et al.
12 * - LMAC API interface header file for STLC4560 (lmac_longbow.h)
15 * - islmvc driver
25 __le16 len; /* includes both code and data */
26 __le16 code; member
131 /* common and choice range (0x0000 - 0x0fff) */
165 /* ARM range (0x1000 - 0x1fff) */
[all …]
H A Deeprom.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * EEPROM parser code for mac80211 Prism54 drivers
6 * Copyright (c) 2007-2009, Christian Lamparter <chunkeey@web.de>
10 * - the islsm (softmac prism54) driver, which is:
11 * Copyright 2004-2006 Jean-Baptiste Note <jbnote@gmail.com>, et al.
12 * - stlc45xx driver
13 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies).
22 #include <linux/crc-ccitt.h>
57 * The defaults are taken from usb-logs of the
60 * rssi <-> dBm conversion database.
[all …]
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
8 This is common code for isl38xx/stlc45xx based modules.
9 This module does nothing by itself - the USB/PCI/SPI front-ends
59 for calibration, country and interface settings.
/linux/drivers/net/wireless/ath/ath12k/
H A Dreg.c1 // SPDX-License-Identifier: BSD-3-Clause-Clear
3 * Copyright (c) 2018-2021 The Linux Foundation. All rights reserved.
4 * Copyright (c) 2021-2024 Qualcomm Innovation Center, Inc. All rights reserved.
11 #define ATH12K_2GHZ_CH01_11 REG_RULE(2412 - 10, 2462 + 10, 40, 0, 20, 0)
12 #define ATH12K_5GHZ_5150_5350 REG_RULE(5150 - 10, 5350 + 10, 80, 0, 30,\
14 #define ATH12K_5GHZ_5725_5850 REG_RULE(5725 - 10, 5850 + 10, 80, 0, 30,\
35 regd = rcu_dereference_rtnl(hw->wiphy->regd); in ath12k_regdom_changes()
43 return memcmp(regd->alpha2, alpha2, 2) != 0; in ath12k_regdom_changes()
55 ath12k_dbg(ar->ab, ATH12K_DBG_REG, in ath12k_reg_notifier()
63 if (!(request->initiator == NL80211_REGDOM_SET_BY_USER && in ath12k_reg_notifier()
[all …]
/linux/arch/arm/include/asm/
H A Decard.h1 /* SPDX-License-Identifier: GPL-2.0 */
10 * 11-12-1996 RMK Further minor improvements
11 * 12-09-1997 RMK Added interrupt enable/disable for card level
96 unsigned short product; /* Product code */
97 unsigned short manufacturer; /* Manufacturer code */
102 unsigned char country; /* Country */ member
130 #define ecard_resource_start(ec,nr) ((ec)->resource[nr].start)
131 #define ecard_resource_end(ec,nr) ((ec)->resource[nr].end)
132 #define ecard_resource_len(ec,nr) ((ec)->resource[nr].end - \
133 (ec)->resource[nr].start + 1)
[all …]
/linux/include/linux/ssb/
H A Dssb_regs.h1 /* SPDX-License-Identifier: GPL-2.0 */
33 #define SSB_MAX_NR_CORES ((SSB_ENUM_LIMIT - SSB_ENUM_BASE) / SSB_CORE_SIZE)
108 #define SSB_TMSHIGH_SERR 0x00000001 /* S-error */
150 #define SSB_IDLOW_SSBREV 0xF0000000 /* Sonics Backplane Revision code */
158 #define SSB_IDHIGH_RCLO 0x0000000F /* Revision Code (low part) */
159 #define SSB_IDHIGH_CC 0x00008FF0 /* Core Code */
161 #define SSB_IDHIGH_RCHI 0x00007000 /* Revision Code (high part) */
163 #define SSB_IDHIGH_VC 0xFFFF0000 /* Vendor Code */
168 * in two-byte quantities.
200 #define SSB_SPROM1_BINF_CCODE 0x0F00 /* Country Code */
[all …]
/linux/drivers/net/wireless/realtek/rtw89/
H A Dacpi.h1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
2 /* Copyright(c) 2021-2023 Realtek Corporation
31 * * ISO alpha2 country code
H A Dregd.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
2 /* Copyright(c) 2019-2020 Realtek Corporation
319 return regd - rtw89_regd_map; in rtw89_regd_get_index()
335 ##_argv, __r->alpha2[0], __r->alpha2[1], \
336 __r->txpwr_regd[RTW89_BAND_2G], \
337 __r->txpwr_regd[RTW89_BAND_5G], \
338 __r->txpwr_regd[RTW89_BAND_6G]); \
344 struct rtw89_regulatory_info *regulatory = &rtwdev->regulatory; in rtw89_regd_setup_unii4()
345 const struct rtw89_chip_info *chip = rtwdev->chip; in rtw89_regd_setup_unii4()
354 sband = wiphy->bands[NL80211_BAND_5GHZ]; in rtw89_regd_setup_unii4()
[all …]
/linux/drivers/input/mouse/
H A Dvsxxxaa.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Driver for DEC VSXXX-AA mouse (hockey-puck mouse, ball or two rollers)
4 * DEC VSXXX-GA mouse (rectangular mouse, with ball)
5 * DEC VSXXX-AB tablet (digitizer with hair cross or stylus)
7 * Copyright (C) 2003-2004 by Jan-Benedict Glaw <jbglaw@lug-owl.de>
24 * supply at +5V and -12V.
30 * | 4 --- 3 |
32 * -------
35 * 1 (GND) 5 7 -
36 * 2 (RxD) 2 3 -
[all …]
/linux/arch/x86/kernel/
H A Debda.c1 // SPDX-License-Identifier: GPL-2.0
12 * are code), that must not be used by the kernel as available
24 * But life in firmware country is not that simple:
26 * - This code also contains a quirk for Dell systems that neglect
29 * - The same quirk also avoids a problem with the AMD768MPX
34 * - Plus paravirt systems don't have a reliable value in the
97 memblock_reserve(bios_start, 0x100000 - bios_start); in reserve_bios_regions()

123