Add bandwidth configuration to settings.env.default and update run_iperf function for UDP modeS

This commit is contained in:
Yaro Kasear 2025-04-21 15:54:24 -05:00
parent ddc27d9313
commit 9b8b59e562
2 changed files with 2 additions and 1 deletions

View file

@ -61,7 +61,7 @@ run_iperf() {
local args=("-c" "$target" "-J" "-t" "10")
if [ "$mode" = "udp" ]; then
args+=("-u")
args+=("-u" "-b" "$BANDWIDTH")
fi
if [ "$direction" = "down" ]; then

View file

@ -13,6 +13,7 @@ LEAD_TIME=90s
INTERFACE=wlan0
PING_COUNT=25
PING_TARGET=1.1.1.1
BANDWIDTH=
MAX_RETRIES=5
RETRY_DELAY=10 # seconds