2017-06-01 03:25:57 -07:00
#####################################################################
# srsENB configuration file
#####################################################################
#####################################################################
# eNB configuration
#
2021-04-22 12:04:24 -07:00
# enb_id: 20-bit eNB identifier.
# mcc: Mobile Country Code
# mnc: Mobile Network Code
# mme_addr: IP address of MME for S1 connnection
# gtp_bind_addr: Local IP address to bind for GTP connection
# gtp_advertise_addr: IP address of eNB to advertise for DL GTP-U Traffic
# s1c_bind_addr: Local IP address to bind for S1AP connection
2021-06-11 06:41:19 -07:00
# s1c_bind_port: Source port for S1AP connection (0 means any)
2021-04-22 12:04:24 -07:00
# n_prb: Number of Physical Resource Blocks (6,15,25,50,75,100)
# tm: Transmission mode 1-4 (TM1 default)
# nof_ports: Number of Tx ports (1 port default, set to 2 for TM2/3/4)
2017-06-01 03:25:57 -07:00
#
#####################################################################
[enb]
enb_id = 0x19B
mcc = 001
mnc = 01
2018-01-21 03:13:08 -08:00
mme_addr = 127.0.1.100
2018-07-09 02:52:17 -07:00
gtp_bind_addr = 127.0.1.1
s1c_bind_addr = 127.0.1.1
2021-06-11 06:41:19 -07:00
s1c_bind_port = 0
2018-01-21 03:13:08 -08:00
n_prb = 50
2018-02-26 07:42:52 -08:00
#tm = 4
#nof_ports = 2
2017-06-01 03:25:57 -07:00
#####################################################################
2021-10-19 05:33:49 -07:00
# eNB configuration files
2017-06-01 03:25:57 -07:00
#
2021-10-26 02:04:53 -07:00
# sib_config: SIB1, SIB2 and SIB3 configuration file
# note: When enabling MBMS, use the sib.conf.mbsfn configuration file which includes SIB13
# rr_config: Radio Resources configuration file
# rb_config: SRB/DRB configuration file
2017-06-01 03:25:57 -07:00
#####################################################################
[enb_files]
sib_config = sib.conf
rr_config = rr.conf
2021-05-31 10:10:25 -07:00
rb_config = rb.conf
2017-06-01 03:25:57 -07:00
#####################################################################
# RF configuration
#
2020-03-06 01:58:02 -08:00
# dl_earfcn: EARFCN code for DL (only valid if a single cell is configured in rr.conf)
2021-10-19 05:33:49 -07:00
# tx_gain: Transmit gain (dB).
2017-06-01 03:25:57 -07:00
# rx_gain: Optional receive gain (dB). If disabled, AGC if enabled
#
2017-10-10 03:33:10 -07:00
# Optional parameters:
# dl_freq: Override DL frequency corresponding to dl_earfcn
# ul_freq: Override UL frequency corresponding to dl_earfcn (must be set if dl_freq is set)
2021-10-26 02:04:53 -07:00
# device_name: Device driver family
# Supported options: "auto" (uses first driver found), "UHD", "bladeRF", "soapy", "zmq" or "Sidekiq"
2020-08-13 23:05:46 -07:00
# device_args: Arguments for the device driver. Options are "auto" or any string.
2017-06-01 03:25:57 -07:00
# Default for UHD: "recv_frame_size=9232,send_frame_size=9232"
# Default for bladeRF: ""
2020-03-06 06:26:48 -08:00
# time_adv_nsamples: Transmission time advance (in number of samples) to compensate for RF delay
2020-08-13 23:05:46 -07:00
# from antenna to timestamp insertion.
2021-10-26 02:04:53 -07:00
# Default "auto". B210 USRP: 100 samples, bladeRF: 27
2017-06-01 03:25:57 -07:00
#####################################################################
[rf]
2020-07-13 08:41:20 -07:00
#dl_earfcn = 3350
2018-01-21 03:13:08 -08:00
tx_gain = 80
2017-10-01 12:04:41 -07:00
rx_gain = 40
2017-06-01 03:25:57 -07:00
#device_name = auto
2019-07-12 08:27:50 -07:00
# For best performance in 2x2 MIMO and >= 15 MHz use the following device_args settings:
2019-09-27 09:59:55 -07:00
# USRP B210: num_recv_frames=64,num_send_frames=64
2020-10-16 02:57:00 -07:00
# And for 75 PRBs, also append ",master_clock_rate=15.36e6" to the device args
2019-09-27 09:59:55 -07:00
# For best performance when BW<5 MHz (25 PRB), use the following device_args settings:
# USRP B210: send_frame_size=512,recv_frame_size=512
2019-07-12 08:27:50 -07:00
2017-06-01 03:25:57 -07:00
#device_args = auto
#time_adv_nsamples = auto
2020-04-25 12:40:23 -07:00
# Example for ZMQ-based operation with TCP transport for I/Q samples
#device_name = zmq
#device_args = fail_on_disconnect=true,tx_port=tcp://*:2000,rx_port=tcp://localhost:2001,id=enb,base_srate=23.04e6
2017-06-01 03:25:57 -07:00
#####################################################################
2020-03-06 09:48:12 -08:00
# Packet capture configuration
2017-06-01 03:25:57 -07:00
#
2021-10-26 02:04:53 -07:00
# MAC-layer packets are captured to a file in the compact format which can
# be decoded by Wireshark. For decoding, use the UDP dissector and the UDP
# heuristic dissection. Edit the preferences (Edit > Preferences >
# Protocols > DLT_USER) for DLT_USER to add an entry for DLT=149 with
2021-03-01 02:42:17 -08:00
# Protocol=udp. Further, enable the heuristic dissection in UDP under:
# Analyze > Enabled Protocols > MAC-LTE > mac_lte_udp and MAC-NR > mac_nr_udp
2017-06-01 03:25:57 -07:00
# For more information see: https://wiki.wireshark.org/MAC-LTE
2021-10-19 05:33:49 -07:00
# Configuring this Wireshark preferences is needed for decoding the MAC PCAP
# files as well as for the live network capture option.
2017-06-01 03:25:57 -07:00
#
2019-08-04 03:14:13 -07:00
# Please note that this setting will by default only capture MAC
# frames on dedicated channels, and not SIB. You have to build with
# WRITE_SIB_PCAP enabled in srsenb/src/stack/mac/mac.cc if you want
# SIB to be part of the MAC pcap file.
#
2021-10-26 02:04:53 -07:00
# S1AP Packets are captured to a file in the compact format which can
# be decoded by the Wireshark s1ap dissector with DLT 150.
# To use the dissector, edit the preferences for DLT_USER to
2020-03-06 09:48:12 -08:00
# add an entry with DLT=150, Payload Protocol=s1ap.
#
2021-10-30 05:17:48 -07:00
# mac_enable: Enable MAC layer packet captures (true/false)
# filename: File path to use for LTE MAC packet captures
# nr_filename: File path to use for NR MAC packet captures
2020-03-06 09:48:12 -08:00
# s1ap_enable: Enable or disable the PCAP.
# s1ap_filename: File name where to save the PCAP.
#
2021-03-01 02:42:17 -08:00
# mac_net_enable: Enable MAC layer packet captures sent over the network (true/false default: false)
# bind_ip: Bind IP address for MAC network trace (default: "0.0.0.0")
# bind_port: Bind port for MAC network trace (default: 5687)
2021-10-26 02:04:53 -07:00
# client_ip: Client IP address for MAC network trace (default: "127.0.0.1")
2021-03-01 02:42:17 -08:00
# client_port Client IP address for MAC network trace (default: 5847)
2017-06-01 03:25:57 -07:00
#####################################################################
[pcap]
2021-10-30 05:17:48 -07:00
#enable = false
#filename = /tmp/enb_mac.pcap
#nr_filename = /tmp/enb_mac_nr.pcap
#s1ap_enable = false
#s1ap_filename = /tmp/enb_s1ap.pcap
2017-06-01 03:25:57 -07:00
2021-10-30 05:17:48 -07:00
#mac_net_enable = false
#bind_ip = 0.0.0.0
#bind_port = 5687
#client_ip = 127.0.0.1
#client_port = 5847
2021-03-01 02:42:17 -08:00
2017-06-01 03:25:57 -07:00
#####################################################################
# Log configuration
#
# Log levels can be set for individual layers. "all_level" sets log
# level for all layers unless otherwise configured.
# Format: e.g. phy_level = info
#
# In the same way, packet hex dumps can be limited for each level.
# "all_hex_limit" sets the hex limit for all layers unless otherwise
# configured.
# Format: e.g. phy_hex_limit = 32
#
2020-05-05 06:36:33 -07:00
# Logging layers: rf, phy, phy_lib, mac, rlc, pdcp, rrc, gtpu, s1ap, stack, all
2017-06-01 03:25:57 -07:00
# Logging levels: debug, info, warning, error, none
#
2017-09-21 12:21:35 -07:00
# filename: File path to use for log output. Can be set to stdout
# to print logs to standard output
2018-01-16 03:44:22 -08:00
# file_max_size: Maximum file size (in kilobytes). When passed, multiple files are created.
# If set to negative, a single log file will be created.
2017-10-05 12:17:17 -07:00
#####################################################################
2017-06-01 03:25:57 -07:00
[log]
2018-07-17 00:43:30 -07:00
all_level = warning
2017-06-01 03:25:57 -07:00
all_hex_limit = 32
filename = /tmp/enb.log
2018-01-16 03:44:22 -08:00
file_max_size = -1
2017-06-01 03:25:57 -07:00
[gui]
enable = false
#####################################################################
# Scheduler configuration options
#
2020-11-27 09:33:38 -08:00
# sched_policy: User MAC scheduling policy (E.g. time_rr, time_pf)
2021-05-24 08:36:34 -07:00
# min_aggr_level: Optional minimum aggregation level index (l=log2(L) can be 0, 1, 2 or 3)
2019-10-23 09:09:39 -07:00
# max_aggr_level: Optional maximum aggregation level index (l=log2(L) can be 0, 1, 2 or 3)
2021-05-24 08:36:34 -07:00
# adaptive_aggr_level: Boolean flag to enable/disable adaptive aggregation level based on target BLER
2017-06-01 03:25:57 -07:00
# pdsch_mcs: Optional fixed PDSCH MCS (ignores reported CQIs if specified)
2021-10-19 05:33:49 -07:00
# pdsch_max_mcs: Optional PDSCH MCS limit
2017-06-01 03:25:57 -07:00
# pusch_mcs: Optional fixed PUSCH MCS (ignores reported CQIs if specified)
2021-10-19 05:33:49 -07:00
# pusch_max_mcs: Optional PUSCH MCS limit
# min_nof_ctrl_symbols: Minimum number of control symbols
2021-09-20 02:08:19 -07:00
# max_nof_ctrl_symbols: Maximum number of control symbols
# pucch_multiplex_enable: Allow PUCCH HARQ to collide with PUSCH and other PUCCH
# pucch_harq_max_rb: Maximum number of RB to be used for PUCCH on the edges of the grid.
# If defined and greater than 0, the scheduler will avoid DL PDCCH allocations if
# PUCCH HARQ falls outside this region
2021-05-21 04:40:04 -07:00
# target_bler: Target BLER (in decimal) to achieve via adaptive link
# max_delta_dl_cqi: Maximum shift in CQI for adaptive DL link
# max_delta_ul_snr: Maximum shift in UL SNR for adaptive UL link
2021-08-24 05:37:53 -07:00
# adaptive_dl_mcs_step_size: Step size or learning rate used in adaptive DL MCS link
# adaptive_ul_mcs_step_size: Step size or learning rate used in adaptive UL MCS link
2021-05-24 12:48:25 -07:00
# min_tpc_tti_interval: Minimum TTI interval between TPCs different than 1
2021-05-28 07:24:34 -07:00
# ul_snr_avg_alpha: Exponential Average alpha coefficient used in estimation of UL SNR
# init_ul_snr_value: Initial UL SNR value used for computing MCS in the first UL grant
2021-06-10 08:02:18 -07:00
# init_dl_cqi: DL CQI value used before any CQI report is available to the eNB
2021-06-10 05:02:10 -07:00
# max_sib_coderate: Upper bound on SIB and RAR grants coderate
2021-06-24 03:23:36 -07:00
# pdcch_cqi_offset: CQI offset in derivation of PDCCH aggregation level
2021-10-13 02:17:51 -07:00
# nr_pdsch_mcs: Optional fixed NR PDSCH MCS (ignores reported CQIs if specified)
# nr_pusch_mcs: Optional fixed NR PUSCH MCS (ignores reported CQIs if specified)
2017-06-01 03:25:57 -07:00
#
#####################################################################
[scheduler]
2021-03-10 07:22:54 -08:00
#policy = time_pf
#policy_args = 2
2021-05-24 08:36:34 -07:00
#min_aggr_level = 0
#max_aggr_level = 3
2021-05-27 10:39:22 -07:00
#adaptive_aggr_level = false
2017-06-01 03:25:57 -07:00
#pdsch_mcs = -1
#pdsch_max_mcs = -1
#pusch_mcs = -1
2020-09-23 05:54:35 -07:00
#pusch_max_mcs = 16
2020-03-18 06:27:56 -07:00
#min_nof_ctrl_symbols = 1
#max_nof_ctrl_symbols = 3
2021-03-10 07:22:54 -08:00
#pucch_multiplex_enable = false
2021-09-21 02:39:05 -07:00
#pucch_harq_max_rb = 0
2021-05-21 01:52:52 -07:00
#target_bler = 0.05
#max_delta_dl_cqi = 5
#max_delta_ul_snr = 5
2021-08-24 05:37:53 -07:00
#adaptive_dl_mcs_step_size = 0.001
#adaptive_ul_mcs_step_size = 0.001
2021-05-24 12:48:25 -07:00
#min_tpc_tti_interval = 1
2021-05-28 07:24:34 -07:00
#ul_snr_avg_alpha=0.05
#init_ul_snr_value=5
2021-06-10 08:02:18 -07:00
#init_dl_cqi=5
2021-06-14 08:15:20 -07:00
#max_sib_coderate=0.3
2021-06-24 03:23:36 -07:00
#pdcch_cqi_offset=0
2021-10-13 02:11:05 -07:00
#nr_pdsch_mcs=28
#nr_pusch_mcs=28
2017-06-01 03:25:57 -07:00
2019-07-19 07:09:28 -07:00
#####################################################################
# eMBMS configuration options
#
# enable: Enable MBMS transmission in the eNB
2021-10-26 02:04:53 -07:00
# m1u_multiaddr: Multicast address the M1-U socket will register to
# m1u_if_addr: Address of the interface the M1-U interface will listen to for multicast packets
# mcs: Modulation and Coding scheme for MBMS traffic
2019-07-19 07:09:28 -07:00
#
#####################################################################
2019-11-18 08:35:35 -08:00
[embms]
2019-07-19 07:09:28 -07:00
#enable = false
#m1u_multiaddr = 239.255.0.1
#m1u_if_addr = 127.0.1.201
2020-05-01 07:23:27 -07:00
#mcs = 20
2019-07-19 07:09:28 -07:00
2019-10-23 09:09:39 -07:00
#####################################################################
# Channel emulator options:
2021-10-26 02:04:53 -07:00
# enable: Enable/disable internal Downlink/Uplink channel emulator
2019-10-23 09:09:39 -07:00
#
2020-03-22 16:03:12 -07:00
# -- AWGN Generator
# awgn.enable: Enable/disable AWGN generator
2020-10-13 08:37:12 -07:00
# awgn.snr: Target SNR in dB
2020-03-22 16:03:12 -07:00
#
2019-10-23 09:09:39 -07:00
# -- Fading emulator
# fading.enable: Enable/disable fading simulator
# fading.model: Fading model + maximum doppler (E.g. none, epa5, eva70, etu300, etc)
#
# -- Delay Emulator delay(t) = delay_min + (delay_max - delay_min) * (1 + sin(2pi*t/period)) / 2
# Maximum speed [m/s]: (delay_max - delay_min) * pi * 300 / period
# delay.enable: Enable/disable delay simulator
2021-10-26 02:04:53 -07:00
# delay.period_s: Delay period in seconds
# delay.init_time_s: Delay initial time in seconds
2019-10-23 09:09:39 -07:00
# delay.maximum_us: Maximum delay in microseconds
# delay.minumum_us: Minimum delay in microseconds
#
# -- Radio-Link Failure (RLF) Emulator
# rlf.enable: Enable/disable RLF simulator
# rlf.t_on_ms: Time for On state of the channel (ms)
# rlf.t_off_ms: Time for Off state of the channel (ms)
#
# -- High Speed Train Doppler model simulator
2021-10-26 02:04:53 -07:00
# hst.enable: Enable/disable HST simulator
2019-10-23 09:09:39 -07:00
# hst.period_s: HST simulation period in seconds
# hst.fd_hz: Doppler frequency in Hz
# hst.init_time_s: Initial time in seconds
#####################################################################
[channel.dl]
#enable = false
2020-03-22 16:03:12 -07:00
[channel.dl.awgn]
#enable = false
2020-10-13 08:37:12 -07:00
#snr = 30
2020-03-22 16:03:12 -07:00
2019-10-23 09:09:39 -07:00
[channel.dl.fading]
#enable = false
#model = none
[channel.dl.delay]
#enable = false
#period_s = 3600
#init_time_s = 0
#maximum_us = 100
#minimum_us = 10
[channel.dl.rlf]
#enable = false
#t_on_ms = 10000
#t_off_ms = 2000
[channel.dl.hst]
#enable = false
#period_s = 7.2
#fd_hz = 750.0
#init_time_s = 0.0
[channel.ul]
#enable = false
2020-03-22 16:03:12 -07:00
[channel.ul.awgn]
#enable = false
#n0 = -30
2019-10-23 09:09:39 -07:00
[channel.ul.fading]
#enable = false
#model = none
[channel.ul.delay]
#enable = false
#period_s = 3600
#init_time_s = 0
#maximum_us = 100
#minimum_us = 10
[channel.ul.rlf]
#enable = false
#t_on_ms = 10000
#t_off_ms = 2000
[channel.ul.hst]
#enable = false
#period_s = 7.2
#fd_hz = -750.0
#init_time_s = 0.0
2017-06-01 03:25:57 -07:00
#####################################################################
# Expert configuration options
#
2021-10-26 02:04:53 -07:00
# pusch_max_its: Maximum number of turbo decoder iterations (default: 4)
2021-10-19 05:33:49 -07:00
# nr_pusch_max_its: Maximum number of LDPC iterations for NR (Default 10)
2021-10-26 02:04:53 -07:00
# pusch_8bit_decoder: Use 8-bit for LLR representation and turbo decoder trellis computation (experimental)
# nof_phy_threads: Selects the number of PHY threads (maximum: 4, minimum: 1, default: 3)
# metrics_period_secs: Sets the period at which metrics are requested from the eNB
2018-11-20 02:59:04 -08:00
# metrics_csv_enable: Write eNB metrics to CSV file.
2021-10-26 02:04:53 -07:00
# metrics_csv_filename: File path to use for CSV metrics
# report_json_enable: Write eNB report to JSON file (default: disabled)
# report_json_filename: Report JSON filename (default: /tmp/enb_report.json)
2021-09-03 04:20:11 -07:00
# report_json_asn1_oct: Prints ASN1 messages encoded as an octet string instead of plain text in the JSON report file
2021-10-26 02:04:53 -07:00
# alarms_log_enable: Enable Alarms logging (default: disabled)
# alarms_filename: Alarms logging filename (default: /tmp/alarms.log)
# tracing_enable: Write source code tracing information to a file
# tracing_filename: File path to use for tracing information
# tracing_buffcapacity: Maximum capacity in bytes the tracing framework can store
# stdout_ts_enable: Prints once per second the timestamp into stdout
2017-06-01 03:25:57 -07:00
# tx_amplitude: Transmit amplitude factor (set 0-1 to reduce PAPR)
2021-10-26 02:04:53 -07:00
# rrc_inactivity_timer Inactivity timeout used to remove UE context from RRC (in milliseconds)
# max_mac_dl_kos: Maximum number of consecutive KOs in DL before triggering the UE's release (default: 100)
# max_mac_ul_kos: Maximum number of consecutive KOs in UL before triggering the UE's release (default: 100)
2018-09-04 08:51:35 -07:00
# max_prach_offset_us: Maximum allowed RACH offset (in us)
2021-10-26 02:04:53 -07:00
# nof_prealloc_ues: Number of UE memory resources to preallocate during eNB initialization for faster UE creation (default: 8)
2021-05-06 08:25:03 -07:00
# rlf_release_timer_ms: Time taken by eNB to release UE context after it detects an RLF
2021-10-26 02:04:53 -07:00
# eea_pref_list: Ordered preference list for the selection of encryption algorithm (EEA) (default: EEA0, EEA2, EEA1)
# eia_pref_list: Ordered preference list for the selection of integrity algorithm (EIA) (default: EIA2, EIA1, EIA0)
# gtpu_tunnel_timeout: Time that GTPU takes to release indirect forwarding tunnel since the last received GTPU PDU (0 for no timer)
2021-07-21 09:35:43 -07:00
# ts1_reloc_prep_timeout: S1AP TS 36.413 TS1RelocPrep Expiry Timeout value in milliseconds
# ts1_reloc_overall_timeout: S1AP TS 36.413 TS1RelocOverall Expiry Timeout value in milliseconds
2021-11-12 05:10:10 -08:00
# rlf_release_timer_ms: Time taken by eNB to release UE context after it detects a RLF
# rlf_min_ul_snr_estim: SNR threshold in dB below which the enb is notified with RLF ko
# s1_setup_max_retries: Maximum amount of retries to setup the S1AP connection. If this value is exceeded, an alarm is written to the log. -1 means infinity.
2017-06-02 04:32:26 -07:00
#
2017-06-01 03:25:57 -07:00
#####################################################################
[expert]
2018-09-04 08:51:35 -07:00
#pusch_max_its = 8 # These are half iterations
2021-10-19 05:33:49 -07:00
#nr_pusch_max_its = 10
2018-09-04 08:51:35 -07:00
#pusch_8bit_decoder = false
2019-04-23 01:53:11 -07:00
#nof_phy_threads = 3
2018-11-20 02:59:04 -08:00
#metrics_period_secs = 1
#metrics_csv_enable = false
#metrics_csv_filename = /tmp/enb_metrics.csv
2020-12-16 04:48:48 -08:00
#report_json_enable = true
#report_json_filename = /tmp/enb_report.json
2021-09-03 04:20:11 -07:00
#report_json_asn1_oct = false
2020-12-16 04:48:48 -08:00
#alarms_log_enable = true
#alarms_filename = /tmp/enb_alarms.log
2021-02-24 07:42:03 -08:00
#tracing_enable = true
2021-02-24 09:41:17 -08:00
#tracing_filename = /tmp/enb_tracing.log
2021-03-09 09:19:25 -08:00
#tracing_buffcapacity = 1000000
2021-06-21 02:45:41 -07:00
#stdout_ts_enable = false
2017-08-22 06:06:32 -07:00
#tx_amplitude = 0.6
2020-08-24 09:35:55 -07:00
#rrc_inactivity_timer = 30000
2021-07-21 09:35:43 -07:00
#max_mac_dl_kos = 100
#max_mac_ul_kos = 100
2017-06-02 04:32:26 -07:00
#max_prach_offset_us = 30
2021-05-04 03:37:02 -07:00
#nof_prealloc_ues = 8
2021-05-06 08:25:03 -07:00
#rlf_release_timer_ms = 4000
2021-05-19 06:38:48 -07:00
#lcid_padding = 3
2019-02-15 04:45:00 -08:00
#eea_pref_list = EEA0, EEA2, EEA1
2020-03-06 09:48:12 -08:00
#eia_pref_list = EIA2, EIA1, EIA0
2021-05-05 05:31:42 -07:00
#gtpu_tunnel_timeout = 0
2021-05-16 09:18:45 -07:00
#extended_cp = false
2021-06-29 02:14:53 -07:00
#ts1_reloc_prep_timeout = 10000
#ts1_reloc_overall_timeout = 10000
2021-05-19 07:12:01 -07:00
#rlf_release_timer_ms = 4000
#rlf_min_ul_snr_estim = -2
2021-11-12 05:10:10 -08:00
#s1_setup_max_retries = -1