# Native LoRaWAN region configuration
#
# Copyright (c) 2026 Carlo Caione <ccaione@baylibre.com>
# SPDX-License-Identifier: Apache-2.0

if LORA_MODULE_BACKEND_NATIVE

config LORAWAN_NATIVE_DUTY_CYCLE
	bool "Enforce regional duty cycle limits"
	help
	  Enable per-sub-band duty cycle enforcement as required by
	  ETSI regulations (e.g. EU868). When enabled, the stack
	  tracks on-air time per sub-band and blocks channels whose
	  off-time has not yet elapsed.

	  Disable this option for testing or when duty cycle
	  enforcement is handled externally.

config LORAWAN_NATIVE_MAX_CHANNELS
	int
	default 16
	help
	  Sizes the per-session channel table.  Not user-tunable: the value
	  is dictated by the selected region(s).  Currently only EU868 is
	  implemented (16-channel plan).  Regions with larger channel plans
	  will extend this config with 'default N if LORAWAN_REGION_X' lines
	  when they land.

endif # LORA_MODULE_BACKEND_NATIVE
