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