blob: 532472a8fea7470e4d3d0cd445a51eb1b69b17f6 [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 {
59 /* Broadcasted PLMN identities */
60 plmn_list: [
61 "${enb.mcc}${enb.mnc}",
62 ],
63
64 //dl_earfcn: 300, /* DL center frequency: 2132 MHz (Band 1) */
65 //dl_earfcn: 900, /* DL center frequency: 1960 MHz (Band 2) */
66 //dl_earfcn: 1575, /* DL center frequency: 1842.5 MHz (Band 3) */
67 //dl_earfcn: 2150, /* DL center frequency: 2130 MHz (Band 4) */
68 //dl_earfcn: 2525, /* DL center frequency: 881.5 MHz (Band 5) */
69 dl_earfcn: 2850, /* DL center frequency: 2680 MHz (Band 7) */
70 //dl_earfcn: 6300, /* 806 MHz (Band 20) */
71 //dl_earfcn: 38050, /* 2600 MHz (band 38) */
72 //dl_earfcn: 40620, /* 2593 MHz (band 41) */
73 //dl_earfcn: 42590, /* 3500 MHz (band 42) */
74
75 n_id_cell: 1,
76 cell_id: 0x01,
77 tac: 0x0001,
78 root_sequence_index: 204, /* PRACH root sequence index */
79 },
80 ], /* cell_list */
81
82 /* default cell parameters */
83 cell_default: {
84 n_antenna_dl: 1, /* number of DL antennas */
85 n_antenna_ul: 1, /* number of UL antennas */
86 n_rb_dl: ${enb.num_prb}, /* Bandwidth: 25: 5 MHz, 50: 10 MHz, 75: 15 MHz, 100: 20 MHz */
87 cyclic_prefix: "normal",
88
89 phich_duration: "normal",
90 phich_resource: "1", /* ratio of NG */
91
92 /* System Information Block type 1 */
93 sib1: "amarisoft_sib1.asn",
94
95 /* other SIBs, in same order as the scheduling list in SIB 1 */
96 sib_sched_list: [ "amarisoft_sib23.asn" ],
97
98 si_coderate: 0.30, /* maximum code rate for SI/RA/P-RNTI messages */
99 si_pdcch_format: 2, /* 2 or 3. Log2 of the number of CCEs for PDCCH
100 for SI/RA/P-RNTI */
101
102 n_symb_cch: 0, /* number of symbols for CCH (0 = auto) */
103
104 /* PDSCH dedicated config (currently same for all UEs) */
105 pdsch_dedicated: {
106 p_a: 0,
107 },
108
109 /* If defined, force for number of CCEs for UE specific PDCCH to
110 2^pdcch_format. Otherwise it is computed from the reported
111 CQI. Range: 0 to 3. */
112 pdcch_format: 1,
113
114 /* if defined, force the PDSCH MCS for all UEs. Otherwise it is
115 computed from the reported CQI */
116 /* pdsch_mcs: 12, */
117
118 /* PUSCH dedicated config (currently same for all UEs) */
119 pusch_dedicated: {
120 beta_offset_ack_index: 9,
121 beta_offset_ri_index: 6,
122 beta_offset_cqi_index: 6,
123 },
124
125 /* MCS for Msg3 (=CCCH RRC Connection Request) */
126 pusch_msg3_mcs: 0,
127
128 /* this CQI value is assumed when none is received from the UE */
129 initial_cqi: 5,
130
131 /* if defined, force the PUSCH MCS for all UEs. Otherwise it is
132 computed from the last received SRS/PUSCH. */
133 // pusch_mcs: 18,
134
135 transmission_mode: ${enb.transmission_mode},
136
137 /* Scheduling request period (ms). Must be >= 40 for HD-FDD */
138 sr_period: 20,
139
140 /* CQI report config */
141 cqi_period: 40, /* period (ms). Must be >= 32 for HD-FDD */
142
143 /* RI reporting is done with a period of m_ri * cqi_period.
144 m_ri = 0 (default) disables RI reporting. */
145// m_ri: 8,
146
147 /* SRS dedicated config. All UEs share these
148 parameters. srs_config_index and freq_domain_position are
149 allocated for each UE) */
150 srs_dedicated: {
151 srs_period: 80, /* period (ms). Must be >= 40 for HD-FDD */
152 srs_bandwidth: 1,
153 srs_hopping_bandwidth: 0,
154 },
155
156 /* MAC configuration (same for all UEs) */
157 mac_config: {
158 ul_max_harq_tx: 5, /* max number of HARQ transmissions for uplink */
159 dl_max_harq_tx: 5, /* max number of HARQ transmissions for downlink */
160 },
161
162 /* CPU load limitation */
163 pusch_max_its: 6, /* max number of turbo decoder iterations */
164
165 /* dynamic power control */
166 dpc: true,
167 dpc_pusch_snr_target: 15,
168 dpc_pucch_snr_target: 10,
169
170 /* RRC/UP ciphering algorithm preference. EEA0 is always the last. */
171 cipher_algo_pref: [],
172 /* RRC integrity algorithm preference. EIA0 is always the last. */
173 integ_algo_pref: [2, 1],
174
175 /* (in ms) send RRC connection release after this time of network
176 inactivity */
177 inactivity_timer: 10000,
178
179 /* SRB configuration */
180 srb_config: [
181 {
182 id: 1,
183 maxRetxThreshold: 32,
184 t_Reordering: 45,
185 t_PollRetransmit: 60,
186 },
187 {
188 id: 2 ,
189 maxRetxThreshold: 32,
190 t_Reordering: 45,
191 t_PollRetransmit: 60,
192 }
193 ],
194
195 /* DRB configuration */
196 drb_config: "amarisoft_drb.cfg",
197 },
198}