# This example configuration outlines how to configure the srsRAN Project gNB to create a single TDD cell # transmitting in band 78, with 20 MHz bandwidth and 30 kHz sub-carrier-spacing. A USRP B200 is configured # as the RF frontend using split 8. Note in this example an external clock source is not used, so the sync # is not defined and the default is used. cu_cp: amf: addr: 127.0.0.5 #192.168.0.239 #127.0.0.5 #10.0.0.91 #127.0.0.5 port: 38412 bind_addr: 127.0.0.1 #192.168.0.169 # 127.0.0.1 #10.0.0.89 #127.0.0.1 supported_tracking_areas: - tac: 7 plmn_list: - plmn: "00101" tai_slice_support_list: - sst: 1 rrc: force_reestablishment_fallback: true # Optional BOOLEAN (false). Force RRC re-establishment fallback to RRC setup. Supported: [false, true]. rrc_procedure_timeout_ms: 10000 #720 # Optional UINT (720). Sets the timeout in ms used for RRC message exchange with UE. It needs to suit the expected communication delay and account for potential retransmissions UE processing dela> cell_cfg: dl_arfcn: 628334 # 629668 # 651668 #628334 #628334 # 500400 # 629668 # 629668 # 628334 #651668 #628334 # ARFCN of the downlink carrier (center frequency). band: 78 # 41 # 78 # The NR band. channel_bandwidth_MHz: 20 # Bandwith in MHz. Number of PRBs will be automatically derived. common_scs: 30 # Subcarrier spacing in kHz used for data. plmn: "00101" # PLMN broadcasted by the gNB. tac: 7 # Tracking area code (needs to match the core configuration). pci: 2 # Physical cell ID. nof_antennas_dl: 1 # Optional UINT (1). Sets the number of antennas for downlink transmission. Supported: [1, 2, 4]. nof_antennas_ul: 1 pdcch: dedicated: #ss2_type: common #dci_format_0_1_and_1_1: false pdsch: min_ue_mcs: 0 # Optional UINT (0). Sets a minimum PDSCH MCS value to be used for all UEs. Supported: [0 - 28]. max_ue_mcs: 28 # Optional UINT (28). Sets a maximum PDSCH MCS value to be used for all UEs. Supported: [0 - 28]. fixed_rar_mcs: 0 # Optional UINT (0). Sets a fixed RAR MCS value for all UEs. Supported: [0 - 28]. fixed_sib1_mcs: 5 # Optional UINT (5). Sets a fixed SIB1 MCS for all UEs. Supported: [0 - 28]. nof_harqs: 16 # Optional UNIT (16). Sets the number of Downlink HARQ processes. Supported [2, 4, 6, 8, 10, 12, 16]. #max_nof_harq_retxs: 4 # Optional UINT (4). Sets the maximum number times a DL HARQ can be retransmitted before it is discarded. Supported: [0 - 4]. max_consecutive_kos: 100 # Optional UINT (100). Sets the maximum number of consecutive HARQ-ACK KOs before an RLF is reported. Supported: [0 - inf]. rv_sequence: [0,2,3,1] # Optional UINT (0,2,3,1). Sets the redundancy version sequence to use for PDSCH. Supported: any combination of [0, 1, 2, 3]. mcs_table: qam256 # Optional TEXT (qam64). Sets the MCS table to use for PDSCH. Supported: [qam64, qam256]. min_rb_size: 1 # Optional UINT (1). Sets the minimum RB size for the UE PDSCH resource allocation. Supported: [1 - 275]. max_rb_size: 275 # Optional UINT (275). Sets the maximum RB size for the UE PDSCH resource allocation. Supported: [1 - 275]. start_rb: 0 # Optional UINT (0). Sets the start RB for resource allocation of UE PDSCHs. Supported [0 - 275]. end_rb: 275 # Optional UINT (275). Sets the end RB for resource allocation of UE PDSCHs. Supported [0 - 275]. olla_cqi_inc_step: 0.001 # Optional FLOAT (0.001). Sets the outer-loop link adaptation (OLLA) increment value. The value 0 means that OLLA is disabled. Supported: [0 - 1]. olla_target_bler: 0.01 # Optional FLOAT (0.01). Sets the target DL BLER set in Outer-loop link adaptation (OLLA) algorithm. Supported: [0 - 0.5]. olla_max_cqi_offset: 4 # Optional FLOAT (4). Sets the maximum offset that the Outer-loop link adaptation (OLLA) can apply to CQI. Supported: positive float. pusch: min_ue_mcs: 0 # Optional UINT (0). Sets a minimum PUSCH MCS value to be used for all UEs. Supported: [0 - 28]. max_ue_mcs: 28 # Optional UINT (28). Sets a maximum PUSCH MCS value to be used for all UEs. Supported: [0 - 28]. max_consecutive_kos: 100 # Optional UINT (100). Sets the maximum number of consecutive CRC KOs before an RLF is reported. Supported: [0 - inf]. rv_sequence: [0] # Optional UINT (0). Sets the redundancy version sequence to use for PUSCH. Supported: any combination of [0, 1, 2, 3]. mcs_table: qam256 # Optional TEXT (qam64). Sets the MCS table to use for PUSCH. Supported: [qam64, qam256]. msg3_delta_preamble: 6 # Optional INT (6). Sets the MSG3 DeltaPreamble power offset between MS3 and RACH preamble transmission. Supported: [-1 - 6]. p0_nominal_with_grant: 24 # Optional INT (-76). Sets the P0 value for PUSCH grant (except MSG3), in dBm. Supported: multiples of 2 within the range [-202, 24]. msg3_delta_power: 8 # Optional INT (8). Sets the target power level at the network receiver side, in dBm. Supported: multiples of 2 within the range [-6, 8]. # beta_offset_ack_idx_1: 9 # Optional UINT (9). Sets the betaOffsetACK-Index1 part of UCI-OnPUSCH. Supported: [0 - 31]. # beta_offset_ack_idx_2: 9 # Optional UINT (9). Sets the betaOffsetACK-Index2 part of UCI-OnPUSCH. Supported: [0 - 31]. # beta_offset_ack_idx_3: 9 # Optional UINT (9). Sets the betaOffsetACK-Index3 part of UCI-OnPUSCH. Supported: [0 - 31]. beta_offset_csi_p1_idx_1: 9 # Optional UINT (9). Sets the b_offset_csi_p1_idx_1 part of UCI-OnPUSCH. Supported: [0 - 31]. prach: prach_config_index: 0 # Optional UINT. Sets the PRACH configuration index. If not set, the value is derived, so that the PRACH fits in an UL slot. Supported: [0 - 255]. prach_root_sequence_index: 1 # Optional UINT (1). Sets the PRACH Roost Sequence Index (RSI), which determines the Zadoff-Chu (ZC) sequence used. Supported: [0 - 837]. If the PRACH configuration index is larger than 86, you cannot set a PRACH RSI of more than 137. zero_correlation_zone: 0 # Optional UINT (0). Sets the Zero Correlation Zone, which determines the size of the cyclic shift and the number of preamble sequences which can be generated from each Root Sequence Index. Supported: [0 - 15]. fixed_msg3_mcs: 0 # Optional UINT (0). Sets a fixed Msg3 MCS. Supported: [0 - 28]. max_msg3_harq_retx: 4 # Optional UINT (4). Sets the maximum number of Msg3 HARQ retransmissions. Supported: [0 - 4]. # cfra_enabled: false # Optional BOOLEAN (false). Enables Contention Free Random Access (CFRA). If enabled, total_nof_ra_preambles must be lower than 64. Supported: [false, true]. preamble_rx_target_pw: -100 # Optional INT (-100). Sets the Target power level at the network receiver side, in dBm. Supported: multiples of 2 within range [-202, -60]. preamble_trans_max: 7 # Optional UINT (7). Sets the max number of RA preamble transmissions performed before declaring a failure. Supported: [3, 4, 5, 6, 7, 8, 10, 20, 50, 100, 200]. power_ramping_step_db: 4 # Optional UINT (4). Sets the power ramping steps for PRACH. Supported: [0, 2, 4 , 6]. ports: 0 # Optional UINT (0). Sets the list of atenna ports. Expected value is a UINT string of antenna port IDs. nof_ssb_per_ro: 1 # Optional FLOAT (1). Sets the number of SSBs per RACH occasion. Supported: [1/8, 1/4, 1/2, 1, 2, 4, 8, 16]. nof_cb_preambles_per_ssb: 4 # Optional UINT (4). Sets the number of contention based preambles per SSB. Supported: [1 - 64]. tdd_ul_dl_cfg: dl_ul_tx_period: 10 # Optional INT (10). Sets the TDD pattern periodicity in slots. The combination of this value and the chosen numerology must lead to a TDD periodicity of 0.5, 0.625, 1, 1.25, 2, 2.5, 3, 4, 5 or 10 milliseconds. Supported: [2 - 80]. nof_dl_slots: 6 # Optional INT (6). Number of consecutive full Downlink slots. Supported: [0-80]. nof_dl_symbols: 0 # Optional INT (8). Number of Downlink symbols at the beginning of the slot following full Downlink slots. Supported: [0-13]. nof_ul_slots: 3 # Optional INT (3). Number of consecutive full Uplink slots. Supported: [0 - 80]. nof_ul_symbols: 0 # Optional INT (0). Number of Uplink symbols at the end of the slot preceding the first full Uplink slot. Supported: [0-13]. pattern2: dl_ul_tx_period: 10 # Optional INT (10). Sets the TDD pattern periodicity in slots. The combination of this value and the chosen numerology must lead to a TDD periodicity of 0.5, 0.625, 1, 1.25, 2, 2.5, 3, 4, 5 or 10 milliseconds. Supported: [2 - 80]. nof_dl_slots: 6 # Optional INT (6). Number of consecutive full Downlink slots. Supported: [0-80]. nof_dl_symbols: 0 # Optional INT (8). Number of Downlink symbols at the beginning of the slot following full Downlink slots. Supported: [0-13] nof_ul_slots: 3 # Optional INT (3). Number of consecutive full Uplink slots. Supported: [0 - 80]. nof_ul_symbols: 0 # Optional INT (0). Number of Uplink symbols at the end of the slot preceding the first full Uplink slot. Supported: [0-13]. csi: csi_rs_enabled: true pucch: p0_nominal: -90 # Optional UINT (-90). Sets the power control parameter P0 for PUCCH transmissions in dBm. Supported: multiples of 2 and within the [-202, 24] interval. pucch_resource_common: 11 # Optional UINT (11). Index of PUCCH resource set for the common configuration. Supported: [0 - 15]. sr_period_ms: 20 # Optional UINT (20). Sets the SR period in milliseconds. Supported: [1,2,4,8,10,16,20,40,80,160,320]. use_format_0: false # Optional BOOLEAN (false). Enables the use of Format 0 for PUCCH resources from resource set 0. Supported: [false, true]. # pucch_set1_format: 2 # Optional UINT (2). Sets the PUCCH format for PUCCH resource set 1. Supported: [2, 3, 4]. nof_ue_res_harq_per_set: 2 # Optional UINT (8). Sets the number of PUCCH resources available per UE for HARQ for each PUCCH resource set. Supported: [1 - 8]. f0_or_f1_nof_cell_res_sr: 2 # Optional UINT (8). Sets the number of PUCCH F0 or F1 resources available per cell for SR. Supported: [1 - 50]. f0_intraslot_freq_hop: false # Optional BOOLEAN (false). Enables intra-slot frequency hopping for PUCCH F0. Supported: [false, true]. f1_enable_occ: false # Optional BOOLEAN (false). Enables OCC for PUCCH F1. Supported: [false, true]. f1_nof_cyclic_shifts: 2 # Optional UINT (2). Sets the number of possible cyclic shifts available for PUCCH F1 resources. Supported: [1,2,3,4,6,12]. f1_intraslot_freq_hop: false # Optional BOOLEAN (false). Enables intra-slot frequency hopping for PUCCH F1. Supported: [false, true]. nof_cell_harq_pucch_res_sets: 2 # Optional UINT (2). Sets the number of separate PUCCH resource sets for HARQ-ACK that are available in the cell. The higher the number of sets, the lower the chances UEs have to share the same PUCCH resources. Supported: [1 - 10]. # f2_or_f3_or_f4_nof_cell_res_csi: 8 # Optional UINT (8). Sets the number of PUCCH F2, F3 or F4 resources available per cell for CSI. Supported: [0 - 100]. # f2_max_nof_rbs: 1 # Optional UINT (1). Sets the max number of RBs for PUCCH F2 resources. Supported: [1 - 16]. # f2_max_code_rate: dot35 # Optional TEXT (dot35). Sets the PUCCH F2 max code rate. Supported: [dot08, dot15, dot25, dot35, dot45, dot60, dot80]. # f2_intraslot_freq_hop: false # Optional BOOLEAN (false). Enables intra-slot frequency hopping for PUCCH F2. Supported: [false, true]. # f3_max_nof_rbs: 1 # Optional UINT (1). Sets the max number of RBs for PUCCH F3 resources. Supported: [1 - 16]. # f3_max_code_rate: dot35 # Optional TEXT (dot35). Sets the PUCCH F3 max code rate. Supported: [dot08, dot15, dot25, dot35, dot45, dot60, dot80]. # f3_intraslot_freq_hop: false # Optional BOOLEAN (false). Enables intra-slot frequency hopping for PUCCH F3. Supported: [false, true] # f3_additional_dmrs: false # Optional BOOLEAN (false). Enables additional DMRS for PUCCH F3. Supported: [false, true]. # f3_pi2_bpsk: false # Optional BOOLEAN (false). Enables pi/2 BPSK for PUCCH F3. Supported: [false, true]. # f4_max_code_rate: dot35 # Optional TEXT (dot35). Sets the PUCCH F4 max code rate. Supported: [dot08, dot15, dot25, dot35, dot45, dot60, dot80]. # f4_intraslot_freq_hop: false # Optional BOOLEAN (false). Enables intra-slot frequency hopping for PUCCH F4. Supported: [false, true]. # f4_additional_dmrs: false # Optional BOOLEAN (false). Enables additional DMRS for PUCCH F4. Supported: [false, true]. # f4_pi2_bpsk: false # Optional BOOLEAN (false). Enables pi/2 BPSK for PUCCH F4. Supported: [false, true]. # f4_occ_length: 2 # Optional UINT (2). Sets the OCC length for PUCCH F4. Supported: [1 - 4]. min_k1: 4 # Optional UINT (4). Sets the minimum value of K1 (difference in slots between PDSCH and HARQ-ACK). Lower k1 values will reduce latency, but place a stricter requirement on the UE decode latency. Supported: [1 - 4]. max_consecutive_kos: 100 # Optional UINT (100). Sets the maximum number of consecutive undecoded PUCCH F2 for CSI before an Radio Link Failure is reported. # enable_cl_loop_pw_control: false # Optional BOOLEAN (false). Enables the closed-loop power control for PUCCH. Supported: [false, true]. # target_sinr_f0: 10 # Optional FLOAT (10). Sets the target SINR for PUCCH F0 in dB. Supported: [-10 - 20]. # target_sinr_f2: 6 # Optional FLOAT (6). Sets the target SINR for PUCCH F2 in dB. Supported: [-10 - 20]. # target_sinr_f3: 1 ru_sdr: device_driver: uhd device_args: type=b200 # type=x300, serial=329BCC2 #3297248 #329BCC2 srate: 23.04 tx_gain: 70 rx_gain: 50 lo_offset: 0 expert_cfg: low_phy_dl_throttling: 0 # Optional FLOAT (0). Throttles the lower PHY DL baseband generation. Setting to 0 disables throttling. Supported: any value in the range [0 - 1]. tx_mode: discontinuous # Optional TEXT (continuous). Selects a radio transmission mode. Discontinuous modes are not supported by all radios. Supported: [continuous, discontinuous, same-port] power_ramping_time_us: 0 # Optional FLOAT (0). Specifies the power ramping time in microseconds, it proactively initiates the transmission and mitigates transient effects. It is recommended to configure this parameter carefully, taking into account the characteristics of the transmit chain in order to achieve optimal performance dl_buffer_size_policy: auto # Optional TEXT (auto). Sets the size of the policy of the baseband buffers that pass the DL samples from the lower PHY to the radio. log: filename: /tmp/gnb.log all_level: info pcap: mac_enable: false mac_filename: /tmp/gnb_mac.pcap ngap_enable: false ngap_filename: /tmp/gnb_ngap.pcap metrics: addr: 172.19.1.4 # Optional TEXT:IPV4 (127.0.0.1). Sets the metrics address. Supported: IPV4 address. port: 55555 # Optional UINT. Sets the metrics UPD port. Supported: [0 - 65535]. cu_cp_statistics_report_period: 1 # Optional UINT (1). Sets the CU-CP statistics report period in seconds. Set this value to 0 to disable this feature. Supported: [0 - inf]. cu_up_statistics_report_period: 1 # Optional UINT (1). Sets the CU-UP statistics report period in seconds. Set this value to 0 to disable this feature. Supported: [0 - inf]. pdcp_report_period: 0 # Optional UINT (0). Sets the PDCP metrics report period. rlc_report_period: 0 # Optional UINT (0). Sets the RLC metrics report period in milliseconds. Supported [0 - inf] autostart_stdout_metrics: false # Optional BOOLEAN (false). Sets whether or note to autostart stdout metrics reporting. Supported [false, true]. sched_report_period: 1000 # Optional UINT (1000). Sets the DU statistics report period in milliseconds. This metric sets the console output period. Supported: [0 - inf]. enable_json_metrics: true # Optional BOOLEAN (false). Enables JSON metrics reporting. Supported: [false, true].