Commit 4bb13ade authored by Lionel Gauthier's avatar Lionel Gauthier

Wireshark option


git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7472 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 6e3dec67
...@@ -59,6 +59,10 @@ function help() ...@@ -59,6 +59,10 @@ function help()
echo_error " -V, --vcd Dump timings of processing in a GTKWave compliant file format." 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 " -S, --enable-missed-slot Continue execution in case of missed slot."
echo_error " -T, --target-ul-mcs mcs Uplink target MCS." 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." echo_error " -x, --xforms Run XFORMS scope windows."
} }
...@@ -132,6 +136,11 @@ function main() ...@@ -132,6 +136,11 @@ function main()
exe_arguments="$exe_arguments -t $2" exe_arguments="$exe_arguments -t $2"
shift 2; shift 2;
;; ;;
-W | ----wireshark-l2)
echo "setting l2 pcap dump output"
exe_arguments="$exe_arguments -W"
shift ;
;;
-x | --xforms) -x | --xforms)
exe_arguments="$exe_arguments -d" exe_arguments="$exe_arguments -d"
echo "setting xforms to: $XFORMS" echo "setting xforms to: $XFORMS"
......
...@@ -57,9 +57,13 @@ function help() ...@@ -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 " -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, --target-dl-mcs mcs Downlink target MCS."
echo_error " -m, --mscgen directory Generate mscgen output files in a directory" 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 " -S, --enable-missed-slot Continue execution in case of missed slot."
echo_error " -T, --target-ul-mcs mcs Uplink target MCS." 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." echo_error " -x, --xforms Run XFORMS scope windows."
} }
...@@ -133,7 +137,7 @@ function main() ...@@ -133,7 +137,7 @@ function main()
shift 2; shift 2;
;; ;;
-V | --vcd) -V | --vcd)
"setting gtk-wave output" echo "setting gtk-wave output"
exe_arguments="$exe_arguments -V /tmp/oai_gtk_wave.vcd" exe_arguments="$exe_arguments -V /tmp/oai_gtk_wave.vcd"
shift ; shift ;
;; ;;
...@@ -147,6 +151,11 @@ function main() ...@@ -147,6 +151,11 @@ function main()
exe_arguments="$exe_arguments -t $2" exe_arguments="$exe_arguments -t $2"
shift 2; shift 2;
;; ;;
-W | ----wireshark-l2)
echo "setting l2 pcap dump output"
exe_arguments="$exe_arguments -W"
shift ;
;;
-x | --xforms) -x | --xforms)
exe_arguments="$exe_arguments -d" exe_arguments="$exe_arguments -d"
echo "setting xforms to: $XFORMS" echo "setting xforms to: $XFORMS"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment