# This configuration file example shows how to configure the srsRAN Project gNB to connect to a COTS UE. As with the # associated tutorial, this config has been tested with a OnePlus 8T. A B210 USRP is used as the RF-frontend. # This config creates a TDD cell with 20 MHz bandwidth in band 78. # To run the srsRAN Project gNB with this config, use the following command: # sudo ./gnb -c gnb_b210_20MHz_oneplus_8t.yaml amf: addr: 127.0.1.100 # The address or hostname of the AMF. bind_addr: 127.0.0.1 # A local IP that the gNB binds to for traffic from the AMF. ru_sdr: device_driver: uhd # The RF driver name. device_args: type=b200,num_recv_frames=64,num_send_frames=64 # Optionally pass arguments to the selected RF driver. clock: internal # Specify the clock source used by the RF. sync: # Specify the sync source used by the RF. srate: 23.04 #23.04 #61.44 # RF sample rate might need to be adjusted according to selected bandwidth. otw_format: sc12 tx_gain: 60 # Transmit gain of the RF might need to adjusted to the given situation. rx_gain: 60 # Receive gain of the RF might need to adjusted to the given situation. cell_cfg: dl_arfcn: 126900 #627340 #126900 # # ARFCN of the downlink carrier (center frequency). band: 71 # 78 # The NR band. channel_bandwidth_MHz: 10 # Bandwith in MHz. Number of PRBs will be automatically derived. common_scs: 15 # Subcarrier spacing in kHz used for data. plmn: "99970" # PLMN broadcasted by the gNB. tac: 7 # Tracking area code (needs to match the core configuration). pci: 1 # Physical cell ID. nof_antennas_dl: 1 # MIMO: 2 - SISO: 1 nof_antennas_ul: 1 # MIMO: 2 - SISO: 1 # All gNB layers and components can be configured independently to output at various levels of detail. Logs can be configured to the following levels (from lowest to highest levels of detail): # none, error, warning, info, debug #filename: # Optional TEXT (/tmp/gnb.log). File path for logs log: all_level: warning pcap: mac_enable: true # Set to true to enable MAC-layer PCAPs. mac_filename: /tmp/gnb_mac.pcap # Path where the MAC PCAP is stored. ngap_enable: true # Set to true to enable NGAP PCAPs. ngap_filename: /tmp/gnb_ngap.pcap # Path where the NGAP PCAP is stored. gtpu_enable: true # Optional BOOL (false). Enable/disable GTPU packet capture. gtpu_filename: /tmp/gnb_gtpu.pcap # Optional TEXT (/tmp/gnb_gtpu.pcap). Path for GTPU PCAPs. rlc_enable: true # Optional BOOL (false). Enable/disable RLC packet capture. rlc_filename: /tmp/gnb_rlc.pcap # Optional TEXT (tmp/gnb_rlc.pcap). Path for RLC PCAPs. rlc_rb_type: all # Optional TEXT. Sets the RLC PCAP RB type. Supported: [all, srb, drb]. # e2: # enable_du_e2: true # Enable DU E2 agent (one for each DU instance) # e2sm_kpm_enabled: true # Enable KPM service module # metrics: # autostart_stdout_metrics: 1 # enable_json_metrics: 1 # Optional BOOLEAN. Enables JSON metrics reporting. Supported: [0, 1]. # json_metrics_filename: /tmp/json_metric.json # Optional TEXT. Sets the JSON metrics output path.