diff --git a/cmake_targets/tools/run_enb_s1_exmimo b/cmake_targets/tools/run_enb_s1_exmimo index 89d1c5a8da4f19950f6ad9860adc03e927b15bf1..a2a50220a6c6577a68a33550bf62dfdfa34a84a2 100755 --- a/cmake_targets/tools/run_enb_s1_exmimo +++ b/cmake_targets/tools/run_enb_s1_exmimo @@ -59,6 +59,10 @@ function help() echo_error " -V, --vcd Dump timings of processing in a GTKWave compliant file format." echo_error " -S, --enable-missed-slot Continue execution in case of missed slot." echo_error " -T, --target-ul-mcs mcs Uplink target MCS." + echo_error " -W, --wireshark-l2 Dump MAC frames for visualization with wireshark." + echo_error " You need to open Wireshark, open the preferences, and check try heuristics for the UDP protocol, MAC-LTE, RLC-LTE," + echo_error " and PDCP-LTE. Then capture for all the interfaces with the following filters: s1ap or lte_rrc or mac-lte or rlc-lte" + echo_error " or pdcp-lte. Note the L2 pdus are transmitted to the local interface." echo_error " -x, --xforms Run XFORMS scope windows." } @@ -132,6 +136,11 @@ function main() exe_arguments="$exe_arguments -t $2" shift 2; ;; + -W | ----wireshark-l2) + echo "setting l2 pcap dump output" + exe_arguments="$exe_arguments -W" + shift ; + ;; -x | --xforms) exe_arguments="$exe_arguments -d" echo "setting xforms to: $XFORMS" diff --git a/cmake_targets/tools/run_enb_s1_usrp b/cmake_targets/tools/run_enb_s1_usrp index 051fc59020579369fbd61e7524ff8f8d624b8c6b..606bd82d79f9e70f367b8f57ecd4198ae3286ac7 100755 --- a/cmake_targets/tools/run_enb_s1_usrp +++ b/cmake_targets/tools/run_enb_s1_usrp @@ -57,9 +57,13 @@ function help() echo_error " -K, --itti-dump-file filename ITTI dump file containing all ITTI events occuring during EPC runtime.(can omit file name if last argument)" echo_error " -M, --target-dl-mcs mcs Downlink target MCS." echo_error " -m, --mscgen directory Generate mscgen output files in a directory" - echo_error " -V, --vcd Dump timings of processing in a GTKWave compliant file format." echo_error " -S, --enable-missed-slot Continue execution in case of missed slot." echo_error " -T, --target-ul-mcs mcs Uplink target MCS." + echo_error " -V, --vcd Dump timings of processing in a GTKWave compliant file format." + echo_error " -W, --wireshark-l2 Dump MAC frames for visualization with wireshark." + echo_error " You need to open Wireshark, open the preferences, and check try heuristics for the UDP protocol, MAC-LTE, RLC-LTE," + echo_error " and PDCP-LTE. Then capture for all the interfaces with the following filters: s1ap or lte_rrc or mac-lte or rlc-lte" + echo_error " or pdcp-lte. Note the L2 pdus are transmitted to the local interface." echo_error " -x, --xforms Run XFORMS scope windows." } @@ -133,7 +137,7 @@ function main() shift 2; ;; -V | --vcd) - "setting gtk-wave output" + echo "setting gtk-wave output" exe_arguments="$exe_arguments -V /tmp/oai_gtk_wave.vcd" shift ; ;; @@ -147,6 +151,11 @@ function main() exe_arguments="$exe_arguments -t $2" shift 2; ;; + -W | ----wireshark-l2) + echo "setting l2 pcap dump output" + exe_arguments="$exe_arguments -W" + shift ; + ;; -x | --xforms) exe_arguments="$exe_arguments -d" echo "setting xforms to: $XFORMS"