How e3gaming47/wifi-propagation-simullator works
WiFi Propagation Simulator is a Windows desktop app for live WLAN monitoring, scanning and indoor coverage modeling, with optional CPE management. The main workflow runs from the user through the Next.js views and Electron IPC to Windows WLAN/network data, then presents link and scan analysis or a calibrated floor-plan heatmap. Separate branches cover LAN discovery and router controls. The README documents the broader UI capabilities; source excerpts are partial, so some subsystem links rely on those documented workflows rather than inspected call sites.
Main entry points: main.ts Electron main process · router.ts CPE session and monitor · neighbors.ts Neighbor discovery · rf.ts RF analysis
Components 32
Desktop application
- Next.js interface
renderer/app/page.tsx - Electron IPC bridge
electron/preload.ts - Electron main process
electron/main.ts
Wi-Fi monitoring
- Live link view
renderer/components/LiveView.tsx - Interface polling
electron/netsh/parseInterfaces.ts - Netsh scanning
electron/netsh/parseNetworks.ts - WinRT radio scan
electron/netsh/winrtScan.ts - Adapter throughput
electron/net/throughput.ts - Internet speed test
electron/net/speedTest.ts - Scan results view
renderer/components/ScanView.tsx
RF and coverage analysis
- RF analysis
renderer/lib/rf.ts - Spectrum and OFDM
renderer/components/SpectrumChart.tsx - Airtime contention
renderer/components/AirtimeLanes.tsx - Modulation analysis
renderer/lib/modulation.ts - Coverage map
renderer/components/MapView.tsx - Floor plan view
renderer/components/FloorPlanView.tsx - Path-loss model
electron/math/pathLoss.ts
LAN discovery
- LAN devices view
renderer/components/LanDevicesPanel.tsx - Neighbor discovery
electron/net/neighbors.ts - mDNS and LLMNR
electron/net/mdns.ts - Device nicknames
electron/net/nicknames.ts - MAC vendor lookup
electron/net/oui.ts
Router management
- Router monitor view
renderer/components/RouterMonitorView.tsx - CPE session and monitor
electron/net/router.ts - Firewall controls
renderer/components/FirewallView.tsx - Firewall operations
electron/net/firewall.ts - QoS controls
renderer/components/QosView.tsx - QoS operations
electron/net/qos.ts - MAC filter controls
renderer/components/MacFilterView.tsx - MAC filter operations
electron/net/macFilter.ts
Other components
- Desktop user
- CPE router
Connections 39
- Desktop user → Next.js interface: uses
README.md - Next.js interface → Electron IPC bridge: requests data
README.md - Electron IPC bridge → Electron main process: forwards IPC
README.md - Electron main process → Interface polling: polls interface
electron/main.ts - Electron main process → Adapter throughput: samples counters
electron/main.ts - Electron main process → Internet speed test: runs test
electron/main.ts - Electron main process → WinRT radio scan: triggers scans
README.md - Electron main process → Netsh scanning: merges scan data
README.md - Electron main process → Neighbor discovery: fetches neighbors
electron/main.ts - Electron main process → CPE session and monitor: fetches monitor
electron/main.ts - Electron main process → QoS operations: applies settings
electron/main.ts - Interface polling → Live link view: provides link data
README.md - Adapter throughput → Live link view: provides rates
README.md - Internet speed test → Live link view: reports test
README.md - Netsh scanning → Scan results view: supplies scan data
README.md - WinRT radio scan → Scan results view: supplies native RSSI
README.md - Scan results view → RF analysis: analyzes networks
README.md - RF analysis → Spectrum and OFDM: computes spectrum
README.md - RF analysis → Airtime contention: estimates contention
README.md - RF analysis → Modulation analysis: informs rates
renderer/lib/modulation.ts - Desktop user → Coverage map: maps measurements
README.md - Coverage map → Floor plan view: renders plan
README.md - Coverage map → Path-loss model: fits and predicts
README.md - Neighbor discovery → mDNS and LLMNR: queries names
electron/net/neighbors.ts - Neighbor discovery → CPE session and monitor: reads DHCP leases
electron/net/neighbors.ts - Neighbor discovery → Device nicknames: resolves nicknames
electron/net/neighbors.ts - Neighbor discovery → MAC vendor lookup: looks up vendors
electron/net/neighbors.ts - Neighbor discovery → LAN devices view: provides devices
README.md - CPE session and monitor → CPE router: reads monitor data
README.md - Router monitor view → CPE session and monitor: shows monitor
README.md - Firewall operations → CPE session and monitor: uses session
electron/net/firewall.ts - QoS operations → CPE session and monitor: uses session
electron/net/qos.ts - MAC filter operations → CPE session and monitor: uses session
electron/net/macFilter.ts - Firewall controls → Firewall operations: configures firewall
README.md - QoS controls → QoS operations: configures QoS
README.md - MAC filter controls → MAC filter operations: configures access
README.md - Firewall operations → CPE router: writes rules
README.md - QoS operations → CPE router: writes shaping
README.md - MAC filter operations → CPE router: writes ACL
README.md