diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2011-12-21 02:53:45 -0500 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2011-12-21 02:53:45 -0500 |
commit | c12434d8798b88fc8eb5099186ef9cf6c724b2f9 (patch) | |
tree | 3505b550e153908cdc83b9e9a27c14ec359e467e | |
parent | Clean out cruft. (diff) | |
download | wifi-monitoring-scripts-c12434d8798b88fc8eb5099186ef9cf6c724b2f9.tar.xz wifi-monitoring-scripts-c12434d8798b88fc8eb5099186ef9cf6c724b2f9.zip |
Strength testing.
-rwxr-xr-x | parse-kismet.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/parse-kismet.py b/parse-kismet.py index 26d016f..9874dd6 100755 --- a/parse-kismet.py +++ b/parse-kismet.py @@ -39,6 +39,8 @@ class AccessPoint: out += "\nBeacon Rate: %d" % (sum(self.beaconrate) / len(self.beaconrate)) if len(self.strength) > 0: out += "\nStrength: %d" % (sum(self.strength) / len(self.strength)) + if len(self.strength) > 1: + out += " max: %d" % max(self.strength) return out |