Commit Graph

1075 Commits (ac9eaa90c45d8b1b70c2b008f45c9e8904e16643)

Author SHA1 Message Date
Bryan Biedenkapp ac9eaa90c4 Dev_Ranger was slightly overzealous in his match and replace;
3 months ago
Dev_Ranger f309a782de = Update Influx metrics config field names
3 months ago
Bryan Biedenkapp 4840c2d4c5 log an error when we try to push an event and there is no more room because we have reached max queue depth;
3 months ago
Bryan Biedenkapp 2657edcecf for backcompat reasons support announce frames on the traffic port (this really should be extremely short term);
3 months ago
Bryan Biedenkapp 74f23f7459 bring calls processed numeric metric in lock-step with a call_event log (originally calls processed was keyed off the start of a call, which can have misleading consequences about the true count of calls);
3 months ago
Bryan Biedenkapp fdaaff2c56 sqlite3 writer should check g_killed to keep loop alive;
3 months ago
Bryan Biedenkapp 0dc2c37056 thread must die if g_killed set;
3 months ago
Bryan Biedenkapp b609bcc843 properly label sqlite thread;
3 months ago
Bryan Biedenkapp ead43239ef add some logging around queue depth size;
3 months ago
Bryan Biedenkapp 07116a378d remove remaining mutex locking, this is dangerous but necessary so metrics never causes deadlock;
3 months ago
Bryan Biedenkapp bcb37cc4a9 remove mutex locking infavor of atomics which should prevent deadlock scenarios (hopefully);
3 months ago
Bryan Biedenkapp 805df02ba0 report call switches in stats API;
3 months ago
Bryan Biedenkapp c9bb239771 begin metric counting call switch events;
3 months ago
Bryan Biedenkapp 9ef9ba34f4 implement support to log collision events to the metrics DB;
3 months ago
Bryan Biedenkapp 268e5b6f7f increment total call processed counters when a data call starts;
3 months ago
Bryan Biedenkapp 5e75b6b9e1 replace mutex locking with lock-free atomics instead;
3 months ago
Bryan Biedenkapp dea6d400db implement SQLite metrics DB table pruning; cleanup code;
3 months ago
Bryan Biedenkapp 6bfbb03cec relabel some define constants;
3 months ago
Bryan Biedenkapp 94ad2de4f4 implement support to send logging and metrics to an SQLite DB; refactor how metrics and DB logging are handled;
3 months ago
Bryan Biedenkapp 6c0db3da8a remove networkWatchdog stop from resetNet(); properly start network watchdog for voice or data frames, but not for TDU or TSDUs;
3 months ago
Bryan Biedenkapp c3f337489f always reset states regardless of RS_NET_IDLE when performing a netTGHang resolution; be more verbose about network watchdog timeouts;
3 months ago
Bryan Biedenkapp 3324b67bc8 properly log a TOT state;
3 months ago
Bryan Biedenkapp 4e7a08ea18 refactor base Network class to follow same packet processing refactor that TrafficNetwork and MetadataNetwork did;
3 months ago
Bryan Biedenkapp a5bebe87f8 refactor how TrafficNetwork and MetadataNetwork handle packet NET_FUNC opcodes;
3 months ago
Bryan Biedenkapp 66aa15ef53 continue adding code tests;
3 months ago
Bryan Biedenkapp f0f35b59c9 refactor how MetadataNetwork handles the packet buffer maps, this should hopefully correct instability;
3 months ago
Bryan Biedenkapp 0dc6e2bf41 during active RF collision defer stale stream reset;
3 months ago
Bryan Biedenkapp 5321821490 fix incorrect assumptions by some HostControl tests; correct HostControl class name collisions that would cause strange link time errors; correct intermittent CRC-6 test failure;
3 months ago
Bryan Biedenkapp 39a7730484 extra parity alignment with P25 for frame loss handling;
3 months ago
Bryan Biedenkapp d72b604aa9 implement the same fix for DMR and NXDN;
3 months ago
Bryan Biedenkapp 7cc073b3f0 disabling rfTalkgroupHang (setting to 0) can cause a situation where a abrupt call stop from a subscriber can cause the RF state to hang, this implements a fix where by it forces the rfLossWatchdog to run to terminate a call that abruptly ends;
3 months ago
Bryan Biedenkapp 399992fec9 correct possible edge case causing the Rx P25 stream ID to become stuck; build and implement a test harness against the host controller paths to validate logic where possible;
3 months ago
Bryan Biedenkapp 26f9f3019d after review, because of how higher-level call handling works, and how ultimately LC metadata corruption from a DFSI source will be hidden, perform similar LC recovery attempts in the ModemV24 class;
4 months ago
Bryan Biedenkapp 9508ce9404 expand on and better handle frame sequencing from a V.24 source;
4 months ago
Bryan Biedenkapp d05088da57 corrections from cherrypicked code;
4 months ago
Bryan Biedenkapp 0d45869bc4 cherrypick changes from tsawyer/dvmhost/p25-consolidation into ModemV24;
4 months ago
Bryan Biedenkapp aea826fcbf minor jitter buffer alteration to properly drop the oldest frame vs the last frame;
4 months ago
Bryan Biedenkapp 8b96163d6e cleanup call states better when receiving illegal terminators (this should not happen normally unless you have very unstable internet that corrupts frames, but the hardening is better then not);
4 months ago
Bryan Biedenkapp 8fcd066c02 correct 3-bit error handling for Golay(24,12,8); add tests against network engine code; correct sendmmsg implementation against documentation for sendmmsg to better handle partially sent queues instead of discarding;
4 months ago
Bryan Biedenkapp 03068fe382 code cleanup;
4 months ago
Bryan Biedenkapp 191153d3c1 code cleanup;
4 months ago
Bryan Biedenkapp b4fae1f39a do not allow non-call RF terminators to be silent, be noisy about the fact that a non-call TDU was received;
4 months ago
developer 6691e2aa77
p25: fix extended-address PDU CRC-32 scope and outbound status bits (#125)
4 months ago
Bryan Biedenkapp 82f0c0c375 implement support to encrypt any TEK data with a preshared key;
4 months ago
Bryan Biedenkapp 562fb3cc67 internally generate a GRP_VCH grant demand message for a net event when encountering a grant demand TDU;
4 months ago
Bryan Biedenkapp f3698cbe86 encode the raw CSBK/TSBK/RCCH data in the control net event data; decode and send net_event for NXDN RCCH data;
4 months ago
Bryan Biedenkapp 0db63a6534 fix missing stream ID for call events; add call duration on call end event;
4 months ago
Bryan Biedenkapp c299d812e9 add support for call start/end WebSocket events;
4 months ago
Bryan Biedenkapp 7342f69fb9 whoops we were not clamping the jitter buffer size or max wait for peers to internal minimums/maximums;
4 months ago
Bryan Biedenkapp 7c5df8abed add possible protective controls around RPTL/RPTK/RPTC/RPT_DISC to mitigate multi-threaded race condition from rapid disconnect/connection scenarios;
4 months ago

Powered by TurnKey Linux.