Improve capture performance: shorter RX lock, PMKID-first save, channel sweep

- Reduce time spent in capture spinlock by snapshotting slot BSSIDs and
  only locking for shared-state updates
- Add PMKID KDE detection to save on EAPOL M1 when present
- Sweep channels with remaining WPA targets instead of camping one channel

Made-with: Cursor
This commit is contained in:
drjones
2026-03-17 23:19:58 -07:00
parent ec3e0449a1
commit 4bef28bd83
3 changed files with 353 additions and 33 deletions

View File

@@ -18,7 +18,7 @@ enum CaptureState {
CaptureState captureState = STATE_SCANNING;
unsigned long capture_start_time = 0;
const unsigned long CHANNEL_TIMEOUT_MS = 30000;
const unsigned long CHANNEL_TIMEOUT_MS = 50000; // ~3 cycles (observe+deauth+capture)
// ─── Live capture visual update ───