Compare commits
No commits in common. "8038a46176292b1cfb5b98be302d18f10733ce97" and "01817662692a980179750a5454bad20a9cb51e7a" have entirely different histories.
8038a46176
...
0181766269
2 changed files with 2 additions and 1 deletions
|
@ -259,6 +259,7 @@ def is_deadpoint(ap_bssid):
|
||||||
|
|
||||||
# === Main ===
|
# === Main ===
|
||||||
def main():
|
def main():
|
||||||
|
print("[DEBUG] sys.argv:", sys.argv, flush=True)
|
||||||
parser = ArgumentParser()
|
parser = ArgumentParser()
|
||||||
parser.add_argument("--main-iface", required=True, help="Active interface (used to determine channel)")
|
parser.add_argument("--main-iface", required=True, help="Active interface (used to determine channel)")
|
||||||
parser.add_argument("--monitor-iface", required=True, help="Monitor interface to sniff on")
|
parser.add_argument("--monitor-iface", required=True, help="Monitor interface to sniff on")
|
||||||
|
|
|
@ -111,7 +111,7 @@ run_iperf() {
|
||||||
log "Running iperf3 $mode $direction to $target..."
|
log "Running iperf3 $mode $direction to $target..."
|
||||||
SECONDS=0
|
SECONDS=0
|
||||||
if ! timeout "${timeout_duration}s" iperf3 "${args[@]}" >"$tmp_json" 2>"$tmp_err"; then
|
if ! timeout "${timeout_duration}s" iperf3 "${args[@]}" >"$tmp_json" 2>"$tmp_err"; then
|
||||||
warn "iperf3 $mode $direction to $target failed or timed out after $SECONDS"
|
warn "iperf3 $mode $direction to $target failed or timed out"
|
||||||
echo "0"
|
echo "0"
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue