mirror of
https://gitlab.eurecom.fr/oai/openairinterface5g.git
synced 2026-07-13 04:30:28 +00:00
A new test case 5g_zmq_radio_trs is created by copying the folder 5g_zmq_radio_1x1. A gnuradio python script (rotate_zmq.py) generated by grc is used to read the samples from gNB and apply a freq drift and send them to a ZMQ sink. The UE reads samples from the ZMQ port on gnuradio. The gnuradio script is modified to receive message containing freq offsets from another script (send_freq_offset_zmq.py). Dockerfile.gnuradio builds an ubuntu 24.04 image and copy both python scripts. Modified the docker-compose.yaml to include a new service gnuradio-zmq that starts by running rotate_zmq.py. Created container_5g_zmq_ocudu_trs.xml by copying container_5g_zmq_ocudu_1x1.xml. Included a Custom_Command to run send_freq_offset_zmq.py and another custom_command to grep the UE stdout for TRS freq correction. Added a PUSH socket in zmq_radio.cpp to send carrier frequency to gnuradio and remove the offset applied so that the test can continue without a freq offset. Signed-off-by: Sakthivel Velumani <s.velumani@northeastern.edu>
53 lines
1.1 KiB
YAML
53 lines
1.1 KiB
YAML
# SPDX-FileCopyrightText: Copyright (C) 2021-2026 Software Radio Systems Limited
|
|
# SPDX-License-Identifier: BSD-3-Clause-Open-MPI
|
|
# Refer to https://gitlab.com/ocudu/ocudu/-/raw/dev/LICENSE?ref_type=heads
|
|
|
|
cu_cp:
|
|
amf:
|
|
addrs: 192.168.71.132
|
|
port: 38412
|
|
bind_addrs: 192.168.71.140
|
|
supported_tracking_areas:
|
|
- tac: 1
|
|
plmn_list:
|
|
- plmn: "20899"
|
|
tai_slice_support_list:
|
|
- sst: 1
|
|
|
|
ru_sdr:
|
|
device_driver: zmq
|
|
device_args: tx_port=tcp://0.0.0.0:4558,rx_port=tcp://192.168.71.150:4556
|
|
srate: 23.04
|
|
tx_gain: 25
|
|
rx_gain: 25
|
|
|
|
cell_cfg:
|
|
dl_arfcn: 632628
|
|
band: 78
|
|
channel_bandwidth_MHz: 20
|
|
common_scs: 30
|
|
plmn: "20899"
|
|
tac: 1
|
|
pci: 1
|
|
tdd_ul_dl_cfg:
|
|
dl_ul_tx_period: 5
|
|
nof_dl_slots: 3
|
|
nof_dl_symbols: 10
|
|
nof_ul_slots: 1
|
|
nof_ul_symbols: 2
|
|
csi:
|
|
csi_rs_enabled: false
|
|
pucch:
|
|
formats: f0_and_f2
|
|
nof_cell_csi_res: 0
|
|
|
|
log:
|
|
filename: gnb.log
|
|
all_level: debug
|
|
|
|
pcap:
|
|
mac_enable: false
|
|
mac_filename: /tmp/gnb_mac.pcap
|
|
ngap_enable: false
|
|
ngap_filename: /tmp/gnb_ngap.pcap
|