1# Copyright (c) 2026 Deveritec GmbH.
2# SPDX-License-Identifier: Apache-2.0
3
4menu "DECTNRP Radio interface"
5# Following configs belong to the radio interface.
6
7menu "DECTNRP Radio capabilities interface"
8# Following configs specify hard coded radio capabilities.
9# They are meant to be propagated up to L2 layer to control its behaviour.
10# The radio driver must override these values.
11
12config DECTNRP_RADIO_RDCAP_DECTNRP_RELEASE
13 int
14 default 1
15 range 1 4
16 help
17 DECT NR+ release capability supported by the driver.
18 The radio driver must override this value.
19
20config DECTNRP_RADIO_RDCAP_POWERCLASS_MAX
21 int
22 default 1
23 range 1 4
24 help
25 Maximum radio power class supported by the driver.
26 The radio driver must override this value.
27
28config DECTNRP_RADIO_RDCAP_NSS_RX_MAX
29 int
30 default 1
31 range 1 8
32 help
33 Maximum number of supported spatial streams supported by the driver.
34 The radio driver must override this value.
35 Supported values: 1, 2, 4, 8
36
37config DECTNRP_RADIO_RDCAP_RXTX_DIVERSITY_MAX
38 int
39 default 1
40 range 1 8
41 help
42 The maximum supported RX/TX diversity capability supported by the driver.
43 The radio driver must override this value.
44 Supported values: 1, 2, 4, 8
45
46config DECTNRP_RADIO_RDCAP_RXGAIN_DB
47 int
48 default 0
49 range -10 6
50 help
51 Receiver gain capability expressed in dB supported by the driver.
52 The radio driver must override this value.
53 Supported values: -10, -8, -6, -4, -2, 0, 2, 4, 6
54
55config DECTNRP_RADIO_RDCAP_MCS_MAX
56 int
57 default 11
58 range 0 11
59 help
60 Maximum supported modulation and coding scheme supported by the driver.
61 The radio driver must override this value.
62
63config DECTNRP_RADIO_RDCAP_SOFTBUFFERSIZE_BYTES_MAX
64 int
65 default 64000
66 range 16000 2048000
67 help
68 The maximum supported HARQ soft buffer size in bytes supported by the driver.
69 The radio driver must override this value.
70 Supported values: 16000, 25344, 32000, 64000, 128000, 256000, 512000,
71 1024000, 2048000
72
73config DECTNRP_RADIO_RDCAP_HARQ_PROC_MAX
74 int
75 default 1
76 range 1 8
77 help
78 Maximum number of HARQ processes supported by the driver.
79 The radio driver must override this value.
80 Supported values: 1, 2, 4, 8
81
82config DECTNRP_RADIO_RDCAP_HARQ_FEEDBACKDELAY
83 int
84 default 3
85 range 0 6
86 help
87 HARQ feedback delay in frames supported by the driver.
88 The radio driver must override this value.
89
90config DECTNRP_RADIO_RDCAP_MU_MAX
91 int
92 default 1
93 range 1 8
94 help
95 Maximum subcarrier scaling factor mu(µ) supported by the driver.
96 The radio driver must override this value.
97 Supported values: 1, 2, 4, 8
98
99config DECTNRP_RADIO_RDCAP_BETA_MAX
100 int
101 default 1
102 range 1 16
103 help
104 Maximum fourier transform scaling factor beta(β) supported by the driver.
105 The radio driver must override this value.
106 Supported values: 1, 2, 4, 8, 12, 16
107
108config DECTNRP_RADIO_RDCAP_SYNC_IN
109 bool
110 help
111 Flag marking support for synchronization input GPIO.
112
113config DECTNRP_RADIO_RDCAP_SYNC_OUT
114 bool
115 help
116 Flag marking support for synchronization output GPIO.
117
118config DECTNRP_RADIO_MODEMTICKS_PER_SYMBOL
119 int
120 default 1
121 help
122 Number of modem ticks that represent a single OFDM symbol.
123 The radio driver must override this value.
124
125endmenu # "DECTNRP Radio capabilities interface"
126
127menu "DECTNRP Radio control interface"
128# Following configs specify hard coded control switches for the radio.
129# They are meant to be propagated down to radio to control its behaviour.
130# The radio driver must use these values.
131
132config DECTNRP_RADIO_BAND
133 int "Selects DECT NR+ operation band"
134 default NET_L2_DECTNRP_BAND
135 range 1 22
136 help
137 Selects the DECT NR+ operation band used by the radio.
138 Keep in mind the radio may not support each band.
139
140endmenu # "DECTNRP Radio control interface"
141
142endmenu # "DECTNRP Radio interface"