Add bandwidth configuration to settings.env.default and update run_iperf function for UDP modeS
This commit is contained in:
parent
ddc27d9313
commit
9b8b59e562
2 changed files with 2 additions and 1 deletions
|
@ -61,7 +61,7 @@ run_iperf() {
|
||||||
local args=("-c" "$target" "-J" "-t" "10")
|
local args=("-c" "$target" "-J" "-t" "10")
|
||||||
|
|
||||||
if [ "$mode" = "udp" ]; then
|
if [ "$mode" = "udp" ]; then
|
||||||
args+=("-u")
|
args+=("-u" "-b" "$BANDWIDTH")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$direction" = "down" ]; then
|
if [ "$direction" = "down" ]; then
|
||||||
|
|
|
@ -13,6 +13,7 @@ LEAD_TIME=90s
|
||||||
INTERFACE=wlan0
|
INTERFACE=wlan0
|
||||||
PING_COUNT=25
|
PING_COUNT=25
|
||||||
PING_TARGET=1.1.1.1
|
PING_TARGET=1.1.1.1
|
||||||
|
BANDWIDTH=
|
||||||
|
|
||||||
MAX_RETRIES=5
|
MAX_RETRIES=5
|
||||||
RETRY_DELAY=10 # seconds
|
RETRY_DELAY=10 # seconds
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue