Enhance SSID metrics extraction by adding client tracking and updating function signatures

This commit is contained in:
Yaro Kasear 2025-04-28 11:52:45 -05:00
parent dc9da2e2e3
commit 5ea493b3f8
4 changed files with 63 additions and 49 deletions

View file

@ -2,7 +2,7 @@ from collections import defaultdict
from enrichment.utils import get_channel_from_freq
def get_clients_on_ap(capture, ap_bssid):
clients = defaultdict(list)
clients = defaultdict(int)
ap_bssid = ap_bssid.lower()
for packet in capture: