run_lte: fix 75PRB config and enable PCAP in UE

master
Andre Puschmann 5 years ago
parent a612d99c23
commit 53032f8d98

@ -96,6 +96,13 @@ then
fi
nof_prb="$2"
base_srate="23.04e6"
if ([ "$nof_prb" == "75" ])
then
base_srate="15.36e6"
fi
# Check for LTE binaries in build path
if [ ! -x "$build_path/srsenb/src/srsenb" ]; then
echo "Error! srsENB binary not found or not executable!"
@ -127,8 +134,8 @@ then
fi
epc_args="$build_path/../srsepc/epc.conf.example --log.filename=./${nof_prb}prb_epc.log"
enb_args="$build_path/../srsenb/enb.conf.example --rf.device_name=zmq --rf.device_args=\"fail_on_disconnect=true,tx_port=tcp://*:2000,rx_port=tcp://localhost:2001,id=enb,base_srate=23.04e6\" --expert.nof_phy_threads=1 --expert.rrc_inactivity_timer=1500 --enb.n_prb=$nof_prb --log.filename=./${nof_prb}prb_enb.log"
ue_args="$build_path/../srsue/ue.conf.example --rf.device_name=zmq --rf.device_args=\"tx_port=tcp://*:2001,rx_port=tcp://localhost:2000,id=ue,base_srate=23.04e6\" --phy.nof_phy_threads=1 --gw.netns=$ue_netns --log.filename=./${nof_prb}prb_ue.log"
enb_args="$build_path/../srsenb/enb.conf.example --rf.device_name=zmq --rf.device_args=\"fail_on_disconnect=true,tx_port=tcp://*:2000,rx_port=tcp://localhost:2001,id=enb,base_srate=${base_srate}\" --expert.nof_phy_threads=1 --expert.rrc_inactivity_timer=1500 --enb.n_prb=$nof_prb --log.filename=./${nof_prb}prb_enb.log"
ue_args="$build_path/../srsue/ue.conf.example --rf.device_name=zmq --rf.device_args=\"tx_port=tcp://*:2001,rx_port=tcp://localhost:2000,id=ue,base_srate=${base_srate}\" --phy.nof_phy_threads=1 --gw.netns=$ue_netns --log.filename=./${nof_prb}prb_ue.log --pcap.enable=true --pcap.filename=./${nof_prb}prb_ue.pcap"
# Remove existing log files
log_files=$(ls -l | grep ${nof_prb}prb_)

Loading…
Cancel
Save