Home
last modified time | relevance | path

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

1234567

/kernel/linux/linux-6.6/drivers/net/wireless/ath/
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 …]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/
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 …]
/kernel/linux/linux-5.10/include/linux/platform_data/
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 …]
/kernel/linux/linux-6.6/include/linux/platform_data/
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 …]
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/fw/api/
Dnvm-reg.h1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
3 * Copyright (C) 2012-2014, 2018-2022 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
53 * enum iwl_nvm_access_op - NVM access opcode
63 * enum iwl_nvm_access_target - target of the NVM_ACCESS_CMD
75 * enum iwl_nvm_section_type - section types for NVM_ACCESS_CMD
97 * struct iwl_nvm_access_cmd - Request the device to send an NVM section
115 * struct iwl_nvm_access_resp_ver2 - response to NVM_ACCESS_CMD
[all …]
/kernel/linux/linux-6.6/include/net/
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 …]
/kernel/linux/linux-5.10/include/net/
Dregulatory.h6 * Copyright 2008-2009 Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
25 * enum environment_cap - Environment parsed from country IE
26 * @ENVIRON_ANY: indicates country IE applies to both indoor and
28 * @ENVIRON_INDOOR: indicates country IE applies only to indoor operation
29 * @ENVIRON_OUTDOOR: indicates country IE applies only to outdoor operation
38 * struct regulatory_request - used to keep track of regulatory requests
48 * @alpha2: the ISO / IEC 3166 alpha2 country code of the requested
50 * 00 - World regulatory domain
51 * 99 - built by driver but a specific alpha2 cannot be determined
52 * 98 - result of an intersection between two regulatory domains
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/net/wireless/
Dbrcm,bcm4329-fmac.yaml1 # 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 …]
/kernel/linux/linux-5.10/Documentation/ABI/testing/
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).
/kernel/linux/linux-6.6/Documentation/ABI/testing/
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).
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtlwifi/
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 …]
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/
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 …]
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
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 …]
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
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 …]
/kernel/linux/linux-6.6/Documentation/networking/
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 …]
/kernel/linux/linux-5.10/Documentation/networking/
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 …]
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/fw/api/
Dnvm-reg.h8 * Copyright(c) 2012 - 2014 Intel Corporation. All rights reserved.
9 * Copyright(c) 2013 - 2015 Intel Mobile Communications GmbH
10 * Copyright(c) 2016 - 2017 Intel Deutschland GmbH
11 * Copyright(C) 2018 - 2020 Intel Corporation
27 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
31 * Copyright(c) 2012 - 2014 Intel Corporation. All rights reserved.
32 * Copyright(c) 2013 - 2015 Intel Mobile Communications GmbH
33 * Copyright(c) 2016 - 2017 Intel Deutschland GmbH
34 * Copyright(C) 2018 - 2020 Intel Corporation
41 * * Redistributions of source code must retain the above copyright
[all …]
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dof.c1 // SPDX-License-Identifier: ISC
19 struct device_node *np = dev->of_node; in brcmf_of_get_country_codes()
25 count = of_property_count_strings(np, "brcm,ccode-map"); in brcmf_of_get_country_codes()
27 /* If no explicit country code map is specified, check whether in brcmf_of_get_country_codes()
30 settings->trivial_ccode_map = in brcmf_of_get_country_codes()
31 of_property_read_bool(np, "brcm,ccode-map-trivial"); in brcmf_of_get_country_codes()
34 * exist. Otherwise propagate the error code. in brcmf_of_get_country_codes()
36 return (count == -EINVAL) ? 0 : count; in brcmf_of_get_country_codes()
41 return -ENOMEM; in brcmf_of_get_country_codes()
43 cc->table_size = count; in brcmf_of_get_country_codes()
[all …]
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath11k/
Dcore.h1 /* 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.
48 /* SMBIOS type structure length (excluding strings-set) */
177 /* disable country code setting from SMBIOS */
180 /* set country code by ANSI country name, based on ISO3166-1 alpha2 */
195 /* To set specific country, you need to set country code
196 * flag=ATH11K_SMBIOS_CC_ISO first, then if country is United
197 * States, then country code value = 0x5553 ("US",'U' = 0x55, 'S'=
198 * 0x53). To set country to INDONESIA, then country code value =
[all …]
Dreg.c1 // 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.
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()
53 struct ath11k *ar = hw->priv; in ath11k_reg_notifier()
56 ath11k_dbg(ar->ab, ATH11K_DBG_REG, in ath11k_reg_notifier()
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/nvmem/layouts/
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 …]
/kernel/linux/linux-6.6/net/wireless/
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 - 2023 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
63 #include "rdev-ops.h"
73 * enum reg_request_treatment - regulatory request treatment
150 return rcu_dereference_check(wiphy->regd, in get_wiphy_regdom()
[all …]
/kernel/linux/linux-5.10/net/wireless/
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 - 2019 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
63 #include "rdev-ops.h"
73 * enum reg_request_treatment - regulatory request treatment
144 return rcu_dereference_rtnl(wiphy->regd); in get_wiphy_regdom()
[all …]
/kernel/linux/linux-5.10/include/uapi/linux/
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.
/kernel/linux/linux-6.6/include/uapi/linux/
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.

1234567