1
0
mirror of https://github.com/loviuz/wifi-probe-aggregator.git synced 2025-06-05 21:59:30 +02:00

Fix lettura potenza segnale

This commit is contained in:
loviuz
2020-08-08 13:05:21 +02:00
parent 8ee8cc64f2
commit 6dc868ea37

View File

@@ -95,7 +95,7 @@ def PrintInfo(pkt) :
mac = " MAC: " + pkt.addr2
SSID = " SSID: " + pkt.info.ljust(maxlenght)[0:maxlenght]
OUI = " OUI: "+ oui
db = -(256-ord(pkt.notdecoded[-4:-3]))
db = pkt.dBm_AntSignal
if db <= -100:
quality = 0
elif db >= -50: