2026-04-03 14:38:38 +03:00
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
|
|
// ─── WiFi ────────────────────────────────────────────────────────────────────
|
|
|
|
|
|
#define WIFI_SSID "sandbox"
|
|
|
|
|
|
#define WIFI_PASSWORD "Jaunsgads11!!"
|
|
|
|
|
|
|
|
|
|
|
|
// ─── Coordinator ─────────────────────────────────────────────────────────────
|
|
|
|
|
|
// This PC (192.168.1.101) runs coordinator.py during the test phase.
|
|
|
|
|
|
// Will change to Orange Pi (192.168.1.133) when we migrate.
|
|
|
|
|
|
#define COORDINATOR_IP "192.168.1.133"
|
|
|
|
|
|
#define COORDINATOR_PORT 5005
|
|
|
|
|
|
|
|
|
|
|
|
// ─── Scan ────────────────────────────────────────────────────────────────────
|
|
|
|
|
|
#define SCAN_INTERVAL_MS 15000 // how often to scan (ms)
|
|
|
|
|
|
#define HEARTBEAT_INTERVAL_MS 10000 // how often to send a heartbeat (ms)
|
|
|
|
|
|
|
|
|
|
|
|
// ─── Probe sniffing ──────────────────────────────────────────────────────────
|
2026-04-05 11:29:59 +03:00
|
|
|
|
#define PROBE_SNIFF 1 // 1 = enabled, 0 = disabled
|
|
|
|
|
|
#define PROBE_DEDUP_SECS 30 // suppress same MAC+SSID within this window (seconds)
|
|
|
|
|
|
#define DEDUP_CACHE_SIZE 64 // unique MAC+SSID pairs tracked for dedup
|
|
|
|
|
|
#define PROBE_QUEUE_SIZE 128 // max probe events buffered between flushes
|
|
|
|
|
|
#define DEAUTH_QUEUE_SIZE 128 // max deauth/disassoc events buffered between flushes
|
|
|
|
|
|
|
2026-04-05 13:06:25 +03:00
|
|
|
|
// ─── Association capture ─────────────────────────────────────────────────────
|
|
|
|
|
|
#define ASSOC_QUEUE_SIZE 32 // max assoc/reassoc events buffered between flushes
|
|
|
|
|
|
|
|
|
|
|
|
// ─── RSSI alert threshold ────────────────────────────────────────────────────
|
|
|
|
|
|
#define RSSI_ALERT_THRESHOLD -60 // flush immediately if attack-strength deauth seen (dBm)
|
|
|
|
|
|
|
2026-04-05 11:29:59 +03:00
|
|
|
|
// ─── Channel hopping ─────────────────────────────────────────────────────────
|
|
|
|
|
|
#define HOP_DWELL_MS 300 // ms to dwell on each channel (13 ch × 300ms ≈ 4s/sweep)
|