Commit Graph

10 Commits

Author SHA1 Message Date
LazarusMe
97e5dff9c5 Only create the AP interface for FTM modes
measure/inject operate on the monitor interface only (WiFiCsiController and
PacketInjector use FeitCSImon), and measureCsi()/injectPackets() bring the AP
interface down anyway; only ftm() uses it. Creating the AP unconditionally in
initInterface() makes setApMode()/bring-up fail on no-IR channels (e.g. 5/6 GHz
under the world regdomain 00), and the resulting netlink error propagates as an
uncaught exception that aborts the whole run with
"command failed: No such device (-19)".

Create the AP interface only when an FTM mode is requested, and guard the
now-optional AP teardown in the measure/inject paths.
2026-07-08 22:42:38 +02:00
Miroslav Hutár
a86a7d3b02 add FTM support 2025-05-17 13:40:40 +02:00
Miroslav Hutár
7860485dbe set frequency only when enable inject/measure 2024-04-30 23:54:32 +02:00
Miroslav Hutár
0f94a0f1cb plot with cairo, remove gnuplot 2024-04-30 22:38:28 +02:00
Miroslav Hutár
2086412fbf async update plot
fix loosing csi packet caused by sync updating plot
2024-04-22 13:37:08 +02:00
Miroslav Hutár
9bb4fd74fa lower compiler optimization flag
higher optimization made segmentation fault on some systems
2024-04-22 10:54:11 +02:00
Miroslav Hutár
f628479edb add udp socket support 2024-02-15 15:55:24 +01:00
Miroslav Hutár
23c6aaee25 add support for selecting TX antenna 2024-02-05 17:10:06 +01:00
Miroslav Hutár
1975789026 update readme.md 2023-12-30 12:18:23 +01:00
Miroslav Hutár
ce357515a4 initial commit 2023-12-21 13:01:27 +01:00