mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-01 19:28:00 +00:00
handle error condition when beacon rssi cannot be read and beacon used for calc
This commit is contained in:
@@ -942,6 +942,10 @@ def main():
|
||||
e_tot += "ERROR: Could not detect signal level. "
|
||||
sig = -100
|
||||
|
||||
if (beacon_sig == None):
|
||||
e_tot += "ERROR: Could not detect beacon signal level. "
|
||||
beacon_sig = -100
|
||||
|
||||
pi = int(pathloss)
|
||||
if(rssi_to_use == "beacon"):
|
||||
print("rssi_to_use == beacon: beacon_sig: %s "%(beacon_sig))
|
||||
|
||||
Reference in New Issue
Block a user