blob: dccade5cc2c6dd351c09f19e775a32e866a57d9b [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]
22enb_id = 0x19B
Pau Espin Pedrolc8b0f932020-02-11 17:45:26 +010023mcc = ${enb.mcc}
24mnc = ${enb.mnc}
25mme_addr = ${enb.mme_addr}
Pau Espin Pedrola9a2fe22020-02-13 19:29:55 +010026gtp_bind_addr = ${enb.addr}
27s1c_bind_addr = ${enb.addr}
Pau Espin Pedrol6c42bb52020-02-27 15:05:11 +010028n_prb = ${enb.num_prb}
Pau Espin Pedrolb6937712020-02-27 18:02:20 +010029tm = ${enb.transmission_mode}
Pau Espin Pedrolf796ad02020-03-09 15:50:57 +010030nof_ports = ${enb.num_ports}
Pau Espin Pedrolc8b0f932020-02-11 17:45:26 +010031
32#####################################################################
33# eNB configuration files
34#
35# sib_config: SIB1, SIB2 and SIB3 configuration file
36# note: when enabling mbms, use the sib.conf.mbsfn configuration file which includes SIB13
37# rr_config: Radio Resources configuration file
38# drb_config: DRB configuration file
39#####################################################################
40[enb_files]
41sib_config = sib.conf
42rr_config = rr.conf
43drb_config = drb.conf
44
45#####################################################################
46# RF configuration
47#
48# dl_earfcn: EARFCN code for DL
49# tx_gain: Transmit gain (dB).
50# rx_gain: Optional receive gain (dB). If disabled, AGC if enabled
51#
52# Optional parameters:
53# dl_freq: Override DL frequency corresponding to dl_earfcn
54# ul_freq: Override UL frequency corresponding to dl_earfcn (must be set if dl_freq is set)
55# device_name: Device driver family. Supported options: "auto" (uses first found), "UHD" or "bladeRF"
56# device_args: Arguments for the device driver. Options are "auto" or any string.
57# Default for UHD: "recv_frame_size=9232,send_frame_size=9232"
58# Default for bladeRF: ""
59# #time_adv_nsamples: Transmission time advance (in number of samples) to compensate for RF delay
60# from antenna to timestamp insertion.
61# Default "auto". B210 USRP: 100 samples, bladeRF: 27.
62# burst_preamble_us: Preamble length to transmit before start of burst.
63# Default "auto". B210 USRP: 400 us, bladeRF: 0 us.
64#####################################################################
65[rf]
66dl_earfcn = 3400
67tx_gain = 80
68rx_gain = 40
69
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]
101enable = false
102filename = /tmp/enb.pcap
103
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]
125all_level = warning
126all_hex_limit = 32
127filename = /tmp/enb.log
128file_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)
138# pdsch_max_mcs: Optional PDSCH MCS limit
139# pusch_mcs: Optional fixed PUSCH MCS (ignores reported CQIs if specified)
140# pusch_max_mcs: Optional PUSCH MCS limit
141# #nof_ctrl_symbols: Number of control symbols
142#
143#####################################################################
144[scheduler]
145#max_aggr_level = -1
146#pdsch_mcs = -1
147#pdsch_max_mcs = -1
148#pusch_mcs = -1
149pusch_max_mcs = 16
150nof_ctrl_symbols = 3
151
152#####################################################################
153# eMBMS configuration options
154#
155# enable: Enable MBMS transmission in the eNB
156# m1u_multiaddr: Multicast addres the M1-U socket will register to
157# m1u_if_addr: Address of the inteferface the M1-U interface will listen for multicast packets.
158#
159#####################################################################
160[embms]
161#enable = false
162#m1u_multiaddr = 239.255.0.1
163#m1u_if_addr = 127.0.1.201
164
165
166
167#####################################################################
168# Channel emulator options:
169# enable: Enable/Disable internal Downlink/Uplink channel emulator
170#
171# -- Fading emulator
172# fading.enable: Enable/disable fading simulator
173# fading.model: Fading model + maximum doppler (E.g. none, epa5, eva70, etu300, etc)
174#
175# -- Delay Emulator delay(t) = delay_min + (delay_max - delay_min) * (1 + sin(2pi*t/period)) / 2
176# Maximum speed [m/s]: (delay_max - delay_min) * pi * 300 / period
177# delay.enable: Enable/disable delay simulator
178# delay.period_s: Delay period in seconds.
179# delay.init_time_s: Delay initial time in seconds.
180# delay.maximum_us: Maximum delay in microseconds
181# delay.minumum_us: Minimum delay in microseconds
182#
183# -- Radio-Link Failure (RLF) Emulator
184# rlf.enable: Enable/disable RLF simulator
185# rlf.t_on_ms: Time for On state of the channel (ms)
186# rlf.t_off_ms: Time for Off state of the channel (ms)
187#
188# -- High Speed Train Doppler model simulator
189# hst.enable: Enable/Disable HST simulator
190# hst.period_s: HST simulation period in seconds
191# hst.fd_hz: Doppler frequency in Hz
192# hst.init_time_s: Initial time in seconds
193#####################################################################
194[channel.dl]
195#enable = false
196
197[channel.dl.fading]
198#enable = false
199#model = none
200
201[channel.dl.delay]
202#enable = false
203#period_s = 3600
204#init_time_s = 0
205#maximum_us = 100
206#minimum_us = 10
207
208[channel.dl.rlf]
209#enable = false
210#t_on_ms = 10000
211#t_off_ms = 2000
212
213[channel.dl.hst]
214#enable = false
215#period_s = 7.2
216#fd_hz = 750.0
217#init_time_s = 0.0
218
219[channel.ul]
220#enable = false
221
222[channel.ul.fading]
223#enable = false
224#model = none
225
226[channel.ul.delay]
227#enable = false
228#period_s = 3600
229#init_time_s = 0
230#maximum_us = 100
231#minimum_us = 10
232
233[channel.ul.rlf]
234#enable = false
235#t_on_ms = 10000
236#t_off_ms = 2000
237
238[channel.ul.hst]
239#enable = false
240#period_s = 7.2
241#fd_hz = -750.0
242#init_time_s = 0.0
243
244
245#####################################################################
246# Expert configuration options
247#
248# pusch_max_its: Maximum number of turbo decoder iterations (Default 4)
249# pusch_8bit_decoder: Use 8-bit for LLR representation and turbo decoder trellis computation (Experimental)
250# nof_phy_threads: Selects the number of PHY threads (maximum 4, minimum 1, default 2)
251# metrics_period_secs: Sets the period at which metrics are requested from the eNB.
252# metrics_csv_enable: Write eNB metrics to CSV file.
253# metrics_csv_filename: File path to use for CSV metrics.
254# pregenerate_signals: Pregenerate uplink signals after attach. Improves CPU performance.
255# tx_amplitude: Transmit amplitude factor (set 0-1 to reduce PAPR)
256# link_failure_nof_err: Number of PUSCH failures after which a radio-link failure is triggered.
257# a link failure is when SNR<0 and CRC=KO
258# max_prach_offset_us: Maximum allowed RACH offset (in us)
259# eea_pref_list: Ordered preference list for the selection of encryption algorithm (EEA) (default: EEA0, EEA2, EEA1).
260# eia_pref_list: Ordered preference list for the selection of integrity algorithm (EIA) (default: EIA2, EIA1, EIA0).
261#
262#####################################################################
263[expert]
264#pusch_max_its = 8 # These are half iterations
265#pusch_8bit_decoder = false
266#nof_phy_threads = 3
267#metrics_period_secs = 1
268#metrics_csv_enable = false
269#metrics_csv_filename = /tmp/enb_metrics.csv
270#pregenerate_signals = false
271#tx_amplitude = 0.6
272#link_failure_nof_err = 50
273#rrc_inactivity_timer = 60000
274#max_prach_offset_us = 30
275#eea_pref_list = EEA0, EEA2, EEA1
276#eia_pref_list = EIA2, EIA1, EIA0