Fix TSCM WiFi detection, SDR capabilities, layout, and correlation/cluster emission

- Use networksetup instead of deprecated airport utility for macOS WiFi detection
- Fix SDRDevice attribute access (use getattr instead of dict .get())
- Move Detected Threats panel next to RF Signals in 2-column grid
- Always run correlation/identity analysis at sweep end, even if stopped by user

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Smittix
2026-02-05 16:41:10 +00:00
parent 5d4b19aef2
commit eabb6b2951
4 changed files with 22 additions and 29 deletions

View File

@@ -372,8 +372,10 @@ def _detect_rf_capabilities(caps: SweepCapabilities, sdr_device: Any) -> None:
if devices:
device = devices[0] # Use first device
rf_cap.available = True
rf_cap.device_type = device.get('type', 'unknown')
rf_cap.driver = device.get('driver', '')
rf_cap.device_type = getattr(device, 'sdr_type', 'unknown')
if hasattr(rf_cap.device_type, 'value'):
rf_cap.device_type = rf_cap.device_type.value
rf_cap.driver = getattr(device, 'driver', '')
# Set frequency ranges based on device type
if 'rtl' in rf_cap.device_type.lower():