1# LoRaWAN configuration options
2
3# Copyright (c) 2020 Manivannan Sadhasivam <mani@kernel.org>
4# SPDX-License-Identifier: Apache-2.0
5
6menuconfig LORAWAN
7	bool "LoRaWAN support [EXPERIMENTAL]"
8	depends on LORA
9	select HAS_SEMTECH_LORAMAC
10	select HAS_SEMTECH_SOFT_SE
11	help
12	  This option enables LoRaWAN support.
13
14if LORAWAN
15
16module = LORAWAN
17module-str = lorawan
18source "subsys/logging/Kconfig.template.log_config"
19
20config LORAWAN_SYSTEM_MAX_RX_ERROR
21	int "LoRaWAN System Max Rx Error"
22	default 20
23	help
24	  System Max Rx timing error value in ms to be used by LoRaWAN stack
25	  for calculating the RX1/RX2 window timing.
26
27choice LORAMAC_REGION
28	prompt "LoRaWAN Region Selection"
29	default LORAMAC_REGION_UNKNOWN
30	help
31	  Select the LoRaWAN region.
32
33config LORAMAC_REGION_UNKNOWN
34	bool "Unknown region"
35
36config LORAMAC_REGION_AS923
37	bool "Asia 923MHz Frequency band"
38
39config LORAMAC_REGION_AU915
40	bool "Australia 915MHz Frequency band"
41
42config LORAMAC_REGION_CN470
43	bool "China 470MHz Frequency band"
44
45config LORAMAC_REGION_CN779
46	bool "China 779MHz Frequency band"
47
48config LORAMAC_REGION_EU433
49	bool "Europe 433MHz Frequency band"
50
51config LORAMAC_REGION_EU868
52	bool "Europe 868MHz Frequency band"
53
54config LORAMAC_REGION_KR920
55	bool "South Korea 920MHz Frequency band"
56
57config LORAMAC_REGION_IN865
58	bool "India 865MHz Frequency band"
59
60config LORAMAC_REGION_US915
61	bool "North America 915MHz Frequency band"
62
63config LORAMAC_REGION_RU864
64	bool "Russia 864MHz Frequency band"
65
66endchoice
67
68endif # LORAWAN
69