blob: 763af08d50b6e8dc52835032fbca5234efeb1151 [file] [log] [blame]
Pau Espin Pedrol786a6bc2020-03-30 13:51:21 +02001/* lteenb configuration file version 2018-10-18
2 * Copyright (C) 2015-2018 Amarisoft
3 */
4{
5
Pau Espin Pedrolc04528c2020-04-01 13:55:51 +02006%if enb.license_server_addr != '0.0.0.0':
Pau Espin Pedrol786a6bc2020-03-30 13:51:21 +02007 license_server: {
8 server_addr: "${enb.license_server_addr}",
9 name: "amarisoft",
10 },
Pau Espin Pedrolc04528c2020-04-01 13:55:51 +020011%endif
Pau Espin Pedrol786a6bc2020-03-30 13:51:21 +020012
Pau Espin Pedrold45a29e2020-04-02 17:21:47 +020013% if enb.rf_dev_type == 'zmq':
14 /* Force sampling rate (if uncommented) */
15 sample_rate: ${enb.sample_rate},
16%endif
17
Pau Espin Pedrol786a6bc2020-03-30 13:51:21 +020018 /* Log filter: syntax: layer.field=value[,...]
19
20 Possible layers are phy, mac, rlc, pdcp, rrc, nas, s1ap, x2ap, gtpu and
21 all. The 'all' layer is used to address all the layers at the
22 same time.
23
24 field values:
25
26 - 'level': the log level of each layer can be set to 'none',
27 'error', 'info' or 'debug'. Use 'debug' to log all the messages.
28
29 - 'max_size': set the maximum size of the hex dump. 0 means no
30 hex dump. -1 means no limit.
31 */
32 //log_options: "all.level=debug,all.max_size=32",
33 log_options: "all.level=error,all.max_size=0,nas.level=debug,nas.max_size=1,s1ap.level=debug,s1ap.max_size=1,x2ap.level=debug,x2ap.max_size=1,rrc.level=debug,rrc.max_size=1",
34 log_filename: "${enb.log_filename}",
35
36 /* Enable remote API and Web interface */
37 com_addr: "${enb.addr}:9001",
38
39 /* RF driver configuration */
40 include "amarisoft_rf_driver.cfg",
41
42 mme_list: [
43 {
44 /* address of MME for S1AP connection. Must be modified if the MME
45 runs on a different host. */
46 mme_addr: "${enb.mme_addr}",
47 },
48 ],
49 /* GTP bind address (=address of the ethernet interface connected to
50 the MME). Must be modified if the MME runs on a different host. */
51 gtp_addr: "${enb.addr}",
52
53 /* high 20 bits of SIB1.cellIdentifier */
54 enb_id: 0x19B,
55
56 /* list of cells */
57 cell_list: [
58 {
Andre Puschmanna0e69aa2020-04-06 14:51:31 +020059 // First cell
60 dl_earfcn: 2850,
61 rf_port: 0,
62 cell_id: 0x01,
63 n_id_cell: 1,
64 tac: 0x0001,
65 root_sequence_index: 204, /* PRACH root sequence index */
66
67% if enb.get('num_cells') == '2':
68 scell_list: [
69 { cell_id: 0x02, cross_carrier_scheduling: false, scheduling_cell_id: 0x01, ul_allowed: true},
70 ],
71% endif
72 },
73% if enb.get('num_cells') == '2':
74 {
75 // Second Cell
76 dl_earfcn: 3050,
77 rf_port: 1,
78 cell_id: 0x02,
79 n_id_cell: 2,
80 tac: 0x0001,
81 root_sequence_index: 205,
82
83 scell_list: [
84 { cell_id: 0x01, cross_carrier_scheduling: false, scheduling_cell_id: 0x02, ul_allowed: true},
85 ],
86 },
87% endif
88 ], /* cell_list */
89
90 /* default cell parameters */
91 cell_default: {
Pau Espin Pedrol786a6bc2020-03-30 13:51:21 +020092 /* Broadcasted PLMN identities */
93 plmn_list: [
94 "${enb.mcc}${enb.mnc}",
95 ],
96
Pau Espin Pedrol786a6bc2020-03-30 13:51:21 +020097 n_antenna_dl: 1, /* number of DL antennas */
98 n_antenna_ul: 1, /* number of UL antennas */
99 n_rb_dl: ${enb.num_prb}, /* Bandwidth: 25: 5 MHz, 50: 10 MHz, 75: 15 MHz, 100: 20 MHz */
100 cyclic_prefix: "normal",
101
102 phich_duration: "normal",
103 phich_resource: "1", /* ratio of NG */
104
105 /* System Information Block type 1 */
106 sib1: "amarisoft_sib1.asn",
107
108 /* other SIBs, in same order as the scheduling list in SIB 1 */
109 sib_sched_list: [ "amarisoft_sib23.asn" ],
110
111 si_coderate: 0.30, /* maximum code rate for SI/RA/P-RNTI messages */
112 si_pdcch_format: 2, /* 2 or 3. Log2 of the number of CCEs for PDCCH
113 for SI/RA/P-RNTI */
114
115 n_symb_cch: 0, /* number of symbols for CCH (0 = auto) */
116
117 /* PDSCH dedicated config (currently same for all UEs) */
118 pdsch_dedicated: {
119 p_a: 0,
120 },
121
122 /* If defined, force for number of CCEs for UE specific PDCCH to
123 2^pdcch_format. Otherwise it is computed from the reported
124 CQI. Range: 0 to 3. */
125 pdcch_format: 1,
126
127 /* if defined, force the PDSCH MCS for all UEs. Otherwise it is
128 computed from the reported CQI */
129 /* pdsch_mcs: 12, */
130
131 /* PUSCH dedicated config (currently same for all UEs) */
132 pusch_dedicated: {
133 beta_offset_ack_index: 9,
134 beta_offset_ri_index: 6,
135 beta_offset_cqi_index: 6,
136 },
137
138 /* MCS for Msg3 (=CCCH RRC Connection Request) */
139 pusch_msg3_mcs: 0,
140
141 /* this CQI value is assumed when none is received from the UE */
142 initial_cqi: 5,
143
144 /* if defined, force the PUSCH MCS for all UEs. Otherwise it is
145 computed from the last received SRS/PUSCH. */
146 // pusch_mcs: 18,
147
148 transmission_mode: ${enb.transmission_mode},
149
150 /* Scheduling request period (ms). Must be >= 40 for HD-FDD */
151 sr_period: 20,
152
153 /* CQI report config */
154 cqi_period: 40, /* period (ms). Must be >= 32 for HD-FDD */
155
156 /* RI reporting is done with a period of m_ri * cqi_period.
157 m_ri = 0 (default) disables RI reporting. */
158// m_ri: 8,
159
Andre Puschmanna0e69aa2020-04-06 14:51:31 +0200160 pucch_dedicated: {
161 /* ack/nack feedback mode when carrier aggregation is
162 enabled. It can be "cs" (for at most two scells) or "pucch3"
163 (used in all cases if more than two cells). */
164 ack_nack_feedback_mode_ca: "cs",
165
166 /* TDD ack/nack feedback mode when a rel 10 UE is detected. It
167 can be "bundling", "multiplexing", "cs" or "pucch3". By
168 default is it the same as tdd_ack_nack_feedback_mode. */
169 // tdd_ack_nack_feedback_mode_r10: "cs",
170
171 /* number of PUCCH 1b CS resources. It determines
172 the maximum number of UEs that can be scheduled in one TTI
173 using carrier aggregation with PUCCH 1b CS ack/nack feedback. */
174 n1_pucch_an_cs_count: 1,
175
176 /* number of resource blocks for PUCCH 3. It determines
177 the maximum number of UEs that can be scheduled in one TTI
178 using carrier aggregation with PUCCH 3 ack/nack feedback. */
179 n3_pucch_an_n_rb: 0,
180 },
181
Pau Espin Pedrol786a6bc2020-03-30 13:51:21 +0200182 /* SRS dedicated config. All UEs share these
183 parameters. srs_config_index and freq_domain_position are
184 allocated for each UE) */
185 srs_dedicated: {
186 srs_period: 80, /* period (ms). Must be >= 40 for HD-FDD */
187 srs_bandwidth: 1,
188 srs_hopping_bandwidth: 0,
189 },
190
191 /* MAC configuration (same for all UEs) */
192 mac_config: {
193 ul_max_harq_tx: 5, /* max number of HARQ transmissions for uplink */
194 dl_max_harq_tx: 5, /* max number of HARQ transmissions for downlink */
195 },
196
197 /* CPU load limitation */
198 pusch_max_its: 6, /* max number of turbo decoder iterations */
199
200 /* dynamic power control */
201 dpc: true,
202 dpc_pusch_snr_target: 15,
203 dpc_pucch_snr_target: 10,
204
205 /* RRC/UP ciphering algorithm preference. EEA0 is always the last. */
206 cipher_algo_pref: [],
207 /* RRC integrity algorithm preference. EIA0 is always the last. */
208 integ_algo_pref: [2, 1],
209
210 /* (in ms) send RRC connection release after this time of network
211 inactivity */
212 inactivity_timer: 10000,
213
214 /* SRB configuration */
215 srb_config: [
216 {
217 id: 1,
218 maxRetxThreshold: 32,
219 t_Reordering: 45,
220 t_PollRetransmit: 60,
221 },
222 {
223 id: 2 ,
224 maxRetxThreshold: 32,
225 t_Reordering: 45,
226 t_PollRetransmit: 60,
227 }
228 ],
229
230 /* DRB configuration */
231 drb_config: "amarisoft_drb.cfg",
232 },
233}