@@ -1493,25 +1493,30 @@ check_path_changes() {
1493
1493
1494
1494
if [ " $is_connected " -eq 0 ]; then
1495
1495
debugtype=" warn"
1496
- syslogmessage=" [ $hop_count ] hops to station [ $peermac ], [ $path_change_count ] path_change(s) for station detected"
1496
+ syslogmessage=" Warning! Station [ $peermac ] is [ $hop_count ] hops away and [ $path_change_count ] path_change(s) for station have been detected"
1497
1497
write_to_syslog
1498
- debugtype=" warn"
1499
- syslogmessage=" There are multiple hops to station [ $peermac ], consider its location or adjust txpower and/or rssi_threshold"
1498
+ syslogmessage=" Warning! Station [ $peermac ], consider its location or adjust txpower and/or rssi_threshold"
1500
1499
write_to_syslog
1501
1500
# If we want to make reactive fixups, do them here, for example:
1502
1501
# iw dev $iface station del $peermac
1503
1502
# iw dev $iface mpath del $peermac
1504
1503
fi
1505
1504
1506
1505
elif [ " $hop_count " -eq 1 ] && [ " $path_change_count " -gt 1 ]; then
1507
- # If we want to make reactive fixups, do them here, for example:
1508
- # iw dev $iface mpath del $peermac
1509
1506
debugtype=" warn"
1510
- syslogmessage=" Station [ $peermac ] has [ $path_change_count ] path changes, consider its location or adjust txpower and/or rssi_threshold"
1507
+ syslogmessage=" Warning! Station [ $peermac ] is an immediate neighbour, but has had [ $path_change_count ] path_change(s) detected"
1508
+ write_to_syslog
1509
+ syslogmessage=" Warning! Station [ $peermac ], consider its location or adjust txpower and/or rssi_threshold"
1511
1510
write_to_syslog
1511
+ # If we want to make reactive fixups, do them here, for example:
1512
+ # iw dev $iface mpath del $peermac
1512
1513
fi
1513
1514
1514
1515
echo " previous_path_change_count=$path_change_count " > /tmp/$peermac_id
1516
+ else
1517
+ debugtype=" info"
1518
+ syslogmessage=" Path to station [ $peermac ] is stable"
1519
+ write_to_syslog
1515
1520
fi
1516
1521
done
1517
1522
fi
0 commit comments