Add debug output to get_aps_on_channel for type/subtype value

This commit is contained in:
Yaro Kasear 2025-04-15 08:53:17 -05:00
parent 0a14ecebf4
commit 93431ae6ec

View file

@ -177,6 +177,9 @@ def get_aps_on_channel(capture, ap_channel):
if ts_hex is None:
continue
# For debugging purposes, display the type_subtype value with some sarcasm
print(f"Type/Subtype Hex: {ts_hex}")
ts = int(ts_hex, 16)
if ts not in (5, 8): # Probe Response or Beacon
continue