Commit Graph

37 Commits

Author SHA1 Message Date
Vasily Evseenko
674c2d6526 Merged VHT patch. Removed mutable global variables. #340 2024-05-09 18:39:34 +03:00
Vasily Evseenko
ecfdfae823 Add initial support for using wfb_rx as shared library for android 2024-04-25 03:09:02 +03:00
Vasily Evseenko
df43c1a270 Add SNR and frequency reporting to RX. Code refactoring. 2024-04-02 19:47:38 +03:00
Vasily Evseenko
e4b497a5c0 Fix: transmit all packets from the queue before tx card switch 2024-03-23 00:45:26 +03:00
Vasily Evseenko
c11c5323c5 Add tx measurements 2024-03-22 02:37:55 +03:00
Vasily Evseenko
057e8c06ba Fix comment 2024-03-19 15:15:17 +03:00
Vasily Evseenko
e4ad659cda Use raw sockets for injection instead of pcap 2024-03-19 14:45:51 +03:00
Alexander Yastrebov
e8901a8f4f
tx: reduce memset (#328)
* zero only the unused rest of the block
* use header pointer to eliminate memcpy
2024-03-15 18:13:15 +00:00
Vasily Evseenko
72d917c50b Improve MTU calculation (allow to increase radio mtu from 1445 to 1448) 2023-09-26 13:05:20 +03:00
Vasily Evseenko
f0ef5817a6 Add mirror mode if you want to send data via all cards (not only via active one) for redundancy. Not recommended if cards are on the same frequency channel. 2023-08-11 00:02:50 +03:00
Vasily Evseenko
b1a1205ac1 Add support of ephemeral udp ports to wfb_tx 2023-07-04 20:29:34 +03:00
Vasily Evseenko
fdb173723e Add support for RTS frames 2023-06-21 16:23:48 +03:00
Vasily Evseenko
d83bf94e65 Warn if incoming packet > MAX_PAYLOAD_SIZE and will be truncated 2023-04-24 14:52:05 +03:00
Vasily Evseenko
10706c5b2b Improve udp socket buffer overflow handling
1. Add option for socket buffer size for incoming messages on the tx side.
2. Check for socket buffer overflow and show warnings.

You can set socket buffer size system-wide via net.core.rmem_default or
via -R option in wfb_tx.
2023-03-21 13:00:59 +03:00
Vasily Evseenko
e9fab3bd5a 1. Ignore self-injected frames in case when TX and RX use the same radio port
2. Don't report missed packets at the session start as lost
2023-02-07 17:01:21 +03:00
Vasily Evseenko
cef2b325e2 Add initial support for dynamic FEC 2023-01-09 19:30:30 +03:00
Vasily Evseenko
beaa791d66 Add FEC parameters to session packets 2022-09-13 14:17:18 +03:00
Vasily Evseenko
c00f4ca081 Fix printf warnings 2022-09-08 22:32:30 +03:00
Vasily Evseenko
73af6d7cfa 1. Add WFB-NG std draft.
2. Fix frame format.
3. Add multiple links support
4. Add missing libsodium init. Warn if not enough entropy is available
5. Add project logo
2022-09-08 21:38:42 +03:00
Vasily Evseenko
43d04e21d1 Fix homepage 2022-07-12 18:15:55 +03:00
Vasily Evseenko
83d1eeb025 Fix README and help output 2022-05-27 16:46:14 +03:00
Vasily Evseenko
849bd51793 Aggregate messages for lost packets 2022-02-09 23:10:54 +03:00
Vasily Evseenko
cce93ed9e6 1. Fix bug with FEC if first packet of block is not lost
2. Add TX FEC timeout option: emit empty packets if block is open but no input.
   This can reduce video latency.
2021-08-15 22:48:53 +03:00
Vasily Evseenko
e5006b40d8 Fix memory leak in fec code #119 2021-03-10 22:58:19 +03:00
Vasily Evseenko
fa24784ec8 Fix radiotap parsing on high-endian machines 2021-01-29 18:52:18 +03:00
Vasily Evseenko
ba5ede141c Add timestamp namespace to radiotap parser 2021-01-29 18:20:47 +03:00
Vasily Evseenko
7c9df47901 Flush block fragments on rx_ring overflow 2020-12-19 16:01:49 +03:00
Vasily Evseenko
99bb1cd8c4 Don't apply FEC if all data fragments are available. Fix counting of FEC-recovered packets 2020-12-18 22:38:32 +03:00
Vasily Evseenko
1d077e6fb4 Send all fragments from unfinished (partial) blocks before fragments from full block 2020-12-18 15:42:17 +03:00
Vasily Evseenko
87216f9847 Annotate rx_ring code 2020-12-18 11:58:39 +03:00
Vasily Evseenko
e8c54a4b30 Ref svpcom/wifibroadcast/issues/74 2020-12-15 21:08:38 +03:00
Florian Jung
3bc9476949 Fix linking error due to __packed vs __attribute__((packed)) 2020-08-24 18:05:04 +02:00
Florian Jung
896704b4e4 Fix compilation with GCC 10
Do not assume transitive header includes, but explicitely
include what we need instead.

Remove "using namespace std;" from header files, std::-
qualify names instead.

Add #pragma once include guard to fec.h
2020-08-24 13:57:59 +02:00
Vasily Evseenko
32dc2b7b4f Fix memory leaks 2019-11-29 12:25:31 +03:00
Vasily Evseenko
212f5c1d01 Add LDPC support for 8812au 2019-02-15 14:26:48 +03:00
Vasily Evseenko
706af675cc Set BW, GI, STBC and MCS index in runtime for each stream separately. 2018-12-23 15:20:37 +03:00
Vasily Evseenko
97986d1963 Bidirectional telemetry support (python/twisted required)
Allow tx to use multiple interfaces (tx diversity)
Remove mavlink mode from wfb_tx binary (moved to the python side).
Add tgz, rpm and deb binary package generation
2018-12-13 21:42:35 +03:00