blob: b58db53993d06feb32880da5b55be40620d42ddf [file] [log] [blame]
Pau Espin Pedrolc8b0f932020-02-11 17:45:26 +01001#####################################################################
2# srsENB configuration file
3#####################################################################
4
5#####################################################################
6# eNB configuration
7#
8# enb_id: 20-bit eNB identifier.
9# cell_id: 8-bit cell identifier.
10# tac: 16-bit Tracking Area Code.
11# mcc: Mobile Country Code
12# mnc: Mobile Network Code
13# mme_addr: IP address of MME for S1 connnection
14# gtp_bind_addr: Local IP address to bind for GTP connection
15# s1c_bind_addr: Local IP address to bind for S1AP connection
16# n_prb: Number of Physical Resource Blocks (6,15,25,50,75,100)
17# tm: Transmission mode 1-4 (TM1 default)
18# nof_ports: Number of Tx ports (1 port default, set to 2 for TM2/3/4)
19#
20#####################################################################
21[enb]
Pau Espin Pedrol491f77c2020-04-20 14:20:43 +020022# need hex value here for enb_id due to bug: https://github.com/srsLTE/srsLTE/issues/485
23enb_id = ${hex(int(enb.id))}
Pau Espin Pedrolc8b0f932020-02-11 17:45:26 +010024mcc = ${enb.mcc}
25mnc = ${enb.mnc}
26mme_addr = ${enb.mme_addr}
Andre Puschmann4b5a09a2020-04-14 22:24:00 +020027gtp_bind_addr = ${enb.gtp_bind_addr}
Pau Espin Pedrola9a2fe22020-02-13 19:29:55 +010028s1c_bind_addr = ${enb.addr}
Pau Espin Pedrol6c42bb52020-02-27 15:05:11 +010029n_prb = ${enb.num_prb}
Pau Espin Pedrolb6937712020-02-27 18:02:20 +010030tm = ${enb.transmission_mode}
Pau Espin Pedrolf796ad02020-03-09 15:50:57 +010031nof_ports = ${enb.num_ports}
Pau Espin Pedrolc8b0f932020-02-11 17:45:26 +010032
33#####################################################################
34# eNB configuration files
35#
36# sib_config: SIB1, SIB2 and SIB3 configuration file
37# note: when enabling mbms, use the sib.conf.mbsfn configuration file which includes SIB13
38# rr_config: Radio Resources configuration file
39# drb_config: DRB configuration file
40#####################################################################
41[enb_files]
Pau Espin Pedrol135c6092020-04-16 13:35:59 +020042sib_config = ${enb.sib_filename}
43rr_config = ${enb.rr_filename}
44drb_config = ${enb.drb_filename}
Pau Espin Pedrolc8b0f932020-02-11 17:45:26 +010045
46#####################################################################
47# RF configuration
48#
49# dl_earfcn: EARFCN code for DL
50# tx_gain: Transmit gain (dB).
51# rx_gain: Optional receive gain (dB). If disabled, AGC if enabled
52#
53# Optional parameters:
54# dl_freq: Override DL frequency corresponding to dl_earfcn
55# ul_freq: Override UL frequency corresponding to dl_earfcn (must be set if dl_freq is set)
56# device_name: Device driver family. Supported options: "auto" (uses first found), "UHD" or "bladeRF"
57# device_args: Arguments for the device driver. Options are "auto" or any string.
58# Default for UHD: "recv_frame_size=9232,send_frame_size=9232"
59# Default for bladeRF: ""
60# #time_adv_nsamples: Transmission time advance (in number of samples) to compensate for RF delay
61# from antenna to timestamp insertion.
62# Default "auto". B210 USRP: 100 samples, bladeRF: 27.
63# burst_preamble_us: Preamble length to transmit before start of burst.
64# Default "auto". B210 USRP: 400 us, bladeRF: 0 us.
65#####################################################################
66[rf]
Pau Espin Pedrola6d63042020-04-20 15:14:51 +020067tx_gain = ${enb.tx_gain}
68rx_gain = ${enb.rx_gain}
Pau Espin Pedrolc8b0f932020-02-11 17:45:26 +010069
Pau Espin Pedrola9a2fe22020-02-13 19:29:55 +010070device_name = ${enb.rf_dev_type}
Pau Espin Pedrolc8b0f932020-02-11 17:45:26 +010071
72# For best performance in 2x2 MIMO and >= 15 MHz use the following device_args settings:
73# USRP B210: num_recv_frames=64,num_send_frames=64
74
75# For best performance when BW<5 MHz (25 PRB), use the following device_args settings:
76# USRP B210: send_frame_size=512,recv_frame_size=512
77
Pau Espin Pedrola9a2fe22020-02-13 19:29:55 +010078device_args = ${enb.rf_dev_args}
Pau Espin Pedrolc8b0f932020-02-11 17:45:26 +010079#time_adv_nsamples = auto
80#burst_preamble_us = auto
81
82
83#####################################################################
84# MAC-layer packet capture configuration
85#
86# Packets are captured to file in the compact format decoded by
87# the Wireshark mac-lte-framed dissector and with DLT 147.
88# To use the dissector, edit the preferences for DLT_USER to
89# add an entry with DLT=147, Payload Protocol=mac-lte-framed.
90# For more information see: https://wiki.wireshark.org/MAC-LTE
91#
92# Please note that this setting will by default only capture MAC
93# frames on dedicated channels, and not SIB. You have to build with
94# WRITE_SIB_PCAP enabled in enb/src/stack/mac/mac.cc if you want
95# SIB to be part of the MAC pcap file.
96#
97# enable: Enable MAC layer packet captures (true/false)
98# filename: File path to use for packet captures
99#####################################################################
100[pcap]
Pau Espin Pedrol1e81b5a2020-03-16 12:42:17 +0100101enable = ${'true' if enb.enable_pcap else 'false'}
Pau Espin Pedrol135c6092020-04-16 13:35:59 +0200102filename = ${enb.pcap_filename}
Pau Espin Pedrolc8b0f932020-02-11 17:45:26 +0100103
104#####################################################################
105# Log configuration
106#
107# Log levels can be set for individual layers. "all_level" sets log
108# level for all layers unless otherwise configured.
109# Format: e.g. phy_level = info
110#
111# In the same way, packet hex dumps can be limited for each level.
112# "all_hex_limit" sets the hex limit for all layers unless otherwise
113# configured.
114# Format: e.g. phy_hex_limit = 32
115#
116# Logging layers: rf, phy, phy_lib, mac, rlc, pdcp, rrc, gtpu, s1ap, all
117# Logging levels: debug, info, warning, error, none
118#
119# filename: File path to use for log output. Can be set to stdout
120# to print logs to standard output
121# file_max_size: Maximum file size (in kilobytes). When passed, multiple files are created.
122# If set to negative, a single log file will be created.
123#####################################################################
124[log]
Andre Puschmann82ced3f2020-06-18 14:52:39 +0200125all_level = ${enb.log_all_level}
Pau Espin Pedrolc8b0f932020-02-11 17:45:26 +0100126all_hex_limit = 32
Pau Espin Pedrol135c6092020-04-16 13:35:59 +0200127filename = ${enb.log_filename}
Pau Espin Pedrolc8b0f932020-02-11 17:45:26 +0100128file_max_size = -1
129
130[gui]
131enable = false
132
133#####################################################################
134# Scheduler configuration options
135#
136# max_aggr_level: Optional maximum aggregation level index (l=log2(L) can be 0, 1, 2 or 3)
137# pdsch_mcs: Optional fixed PDSCH MCS (ignores reported CQIs if specified)
Andre Puschmannbf960ec2020-03-21 22:11:59 +0100138# pdsch_max_mcs: Optional PDSCH MCS limit
Pau Espin Pedrolc8b0f932020-02-11 17:45:26 +0100139# pusch_mcs: Optional fixed PUSCH MCS (ignores reported CQIs if specified)
Andre Puschmannbf960ec2020-03-21 22:11:59 +0100140# pusch_max_mcs: Optional PUSCH MCS limit
141# min_nof_ctrl_symbols: Minimum number of control symbols
142# max_nof_ctrl_symbols: Maximum number of control symbols
Pau Espin Pedrolc8b0f932020-02-11 17:45:26 +0100143#
144#####################################################################
145[scheduler]
146#max_aggr_level = -1
147#pdsch_mcs = -1
148#pdsch_max_mcs = -1
149#pusch_mcs = -1
Andre Puschmannb7787072020-03-18 12:31:49 +0100150#pusch_max_mcs = 16
151#min_nof_ctrl_symbols = 1
152#max_nof_ctrl_symbols = 3
Pau Espin Pedrolc8b0f932020-02-11 17:45:26 +0100153
154#####################################################################
155# eMBMS configuration options
156#
157# enable: Enable MBMS transmission in the eNB
158# m1u_multiaddr: Multicast addres the M1-U socket will register to
159# m1u_if_addr: Address of the inteferface the M1-U interface will listen for multicast packets.
160#
161#####################################################################
162[embms]
163#enable = false
164#m1u_multiaddr = 239.255.0.1
165#m1u_if_addr = 127.0.1.201
166
167
168
169#####################################################################
170# Channel emulator options:
171# enable: Enable/Disable internal Downlink/Uplink channel emulator
172#
173# -- Fading emulator
174# fading.enable: Enable/disable fading simulator
175# fading.model: Fading model + maximum doppler (E.g. none, epa5, eva70, etu300, etc)
176#
177# -- Delay Emulator delay(t) = delay_min + (delay_max - delay_min) * (1 + sin(2pi*t/period)) / 2
178# Maximum speed [m/s]: (delay_max - delay_min) * pi * 300 / period
179# delay.enable: Enable/disable delay simulator
180# delay.period_s: Delay period in seconds.
181# delay.init_time_s: Delay initial time in seconds.
182# delay.maximum_us: Maximum delay in microseconds
183# delay.minumum_us: Minimum delay in microseconds
184#
185# -- Radio-Link Failure (RLF) Emulator
186# rlf.enable: Enable/disable RLF simulator
187# rlf.t_on_ms: Time for On state of the channel (ms)
188# rlf.t_off_ms: Time for Off state of the channel (ms)
189#
190# -- High Speed Train Doppler model simulator
191# hst.enable: Enable/Disable HST simulator
192# hst.period_s: HST simulation period in seconds
193# hst.fd_hz: Doppler frequency in Hz
194# hst.init_time_s: Initial time in seconds
195#####################################################################
196[channel.dl]
197#enable = false
198
199[channel.dl.fading]
200#enable = false
201#model = none
202
203[channel.dl.delay]
204#enable = false
205#period_s = 3600
206#init_time_s = 0
207#maximum_us = 100
208#minimum_us = 10
209
210[channel.dl.rlf]
211#enable = false
212#t_on_ms = 10000
213#t_off_ms = 2000
214
215[channel.dl.hst]
216#enable = false
217#period_s = 7.2
218#fd_hz = 750.0
219#init_time_s = 0.0
220
221[channel.ul]
222#enable = false
223
224[channel.ul.fading]
225#enable = false
226#model = none
227
228[channel.ul.delay]
229#enable = false
230#period_s = 3600
231#init_time_s = 0
232#maximum_us = 100
233#minimum_us = 10
234
235[channel.ul.rlf]
236#enable = false
237#t_on_ms = 10000
238#t_off_ms = 2000
239
240[channel.ul.hst]
241#enable = false
242#period_s = 7.2
243#fd_hz = -750.0
244#init_time_s = 0.0
245
246
247#####################################################################
248# Expert configuration options
249#
250# pusch_max_its: Maximum number of turbo decoder iterations (Default 4)
251# pusch_8bit_decoder: Use 8-bit for LLR representation and turbo decoder trellis computation (Experimental)
252# nof_phy_threads: Selects the number of PHY threads (maximum 4, minimum 1, default 2)
253# metrics_period_secs: Sets the period at which metrics are requested from the eNB.
254# metrics_csv_enable: Write eNB metrics to CSV file.
255# metrics_csv_filename: File path to use for CSV metrics.
256# pregenerate_signals: Pregenerate uplink signals after attach. Improves CPU performance.
257# tx_amplitude: Transmit amplitude factor (set 0-1 to reduce PAPR)
258# link_failure_nof_err: Number of PUSCH failures after which a radio-link failure is triggered.
259# a link failure is when SNR<0 and CRC=KO
260# max_prach_offset_us: Maximum allowed RACH offset (in us)
261# eea_pref_list: Ordered preference list for the selection of encryption algorithm (EEA) (default: EEA0, EEA2, EEA1).
262# eia_pref_list: Ordered preference list for the selection of integrity algorithm (EIA) (default: EIA2, EIA1, EIA0).
263#
264#####################################################################
265[expert]
266#pusch_max_its = 8 # These are half iterations
267#pusch_8bit_decoder = false
Andre Puschmannbf960ec2020-03-21 22:11:59 +0100268% if enb.get('rf_dev_type') == 'zmq':
269nof_phy_threads = 1
270% endif
Pau Espin Pedrolc8b0f932020-02-11 17:45:26 +0100271#metrics_period_secs = 1
272#metrics_csv_enable = false
273#metrics_csv_filename = /tmp/enb_metrics.csv
274#pregenerate_signals = false
275#tx_amplitude = 0.6
276#link_failure_nof_err = 50
Andre Puschmann8eeea7f2020-05-31 12:21:15 +0200277rrc_inactivity_timer = 5000
Pau Espin Pedrolc8b0f932020-02-11 17:45:26 +0100278#max_prach_offset_us = 30
279#eea_pref_list = EEA0, EEA2, EEA1
280#eia_pref_list = EIA2, EIA1, EIA0