Commit Graph

210 Commits (0c247a2b3789fdb4295673e1771db4f23c4520ee)

Author SHA1 Message Date
Bryan Biedenkapp 0c247a2b37 make isQueueFull() checking -- less aggressive;
1 year ago
Bryan Biedenkapp 6e9c8837fb add more verbose logging if the modem reports it does not have space for frames and if the local controller queue is full;
1 year ago
Bryan Biedenkapp 89a1d4bde9 peekFrameLength() should abide by mutex locks on txQueue's;
2 years ago
Bryan Biedenkapp e81e7752ed allow hasP25Space() to be overriden by derived classes [for possible future use];
2 years ago
Bryan Biedenkapp 849d54976b fix file spacing;
2 years ago
Bryan Biedenkapp 14b880b708 add some mutex locking for thread safety, ensure addFrame and getFrame cannot happen simultaneously;
2 years ago
W3AXL 6ddec3c641 typo mistake whoops
2 years ago
W3AXL d3aede7f1f added sytem information to host status response
2 years ago
Bryan Biedenkapp f5c5748789 increase modem read delay to 1ms;
2 years ago
Bryan Biedenkapp dd31260ded i'm an idiot;
2 years ago
Bryan Biedenkapp 7d582138aa properly respect N(S)/N(R);
2 years ago
Bryan Biedenkapp d106fbb062 add some extra length documentation for RTP packets; make network ringbuffer initialized value a constant; continue logic implementation for P25 data; correct buffer issue on P25 data;
2 years ago
Bryan Biedenkapp 52e3677270 fix problem with ULL for 32-bit, on 64-bit this wasn't a problem as the numbers were all treated as 8 bytes wide (on Linux anyway), but for 32-bit this truncated the numbers and caused weird problems;
2 years ago
Bryan Biedenkapp f6f7a70757 add debug trace for PONG messages;
2 years ago
Bryan Biedenkapp 260f4ed6d4 when a LOC_REG comes in ensure group affiliations are updated as well;
2 years ago
Bryan Biedenkapp 65fa91b7cb
[THIS MAY BREAK THINGS, BE AWARE] Merge Win32 support and C++ dvmbridge into master. (#67)
2 years ago
Bryan Biedenkapp 26457d7d85 implement support to software reboot into the system bootloader for flashing (using stm32flash); update modem and hotspot submodules;
2 years ago
Bryan Biedenkapp 6542443ca7 add support to transmit dynamic regroup IR extended commands;
2 years ago
Bryan Biedenkapp 958c33c65a ignore logging excessive sync frame errors;
2 years ago
Bryan Biedenkapp cda8427c6c don't start the timer till the first LDU1 for cal mode;
2 years ago
Bryan Biedenkapp 5b6d10d517 implement missing cal options;
2 years ago
Bryan Biedenkapp 95ea46d7d5 update hotspot firmware; update modem firmware; allow FIFO sizes sent to modem to be zeroed if a digital mode is not enabled;
2 years ago
Bryan Biedenkapp 7cf37e0e21 fix incorrect log messages (find and replace typo);
2 years ago
Bryan Biedenkapp 27452f935d cleanup some warnings;
2 years ago
Bryan Biedenkapp 3bc8e73560 update modem submodule; fix error with NXDN addFrame calls;
2 years ago
Bryan Biedenkapp 1bada70ca4 better fix then the previous commit, flag a LC decode from an LDU1 as "raw only", use raw RS bytes always for a ModemV24 convertFromAir;
2 years ago
Bryan Biedenkapp c8a60af83c attempt to add pass thru support for some LCs;
2 years ago
Bryan Biedenkapp 59a5482473 silence "Failed writing data to the network" messages; silence out-of-sequence warnings if the pktSeq is 0; when the master reports it is closing, have peers restart their connection states;
2 years ago
Bryan Biedenkapp 34e6e1dc38 ensure the time delay calculation is always an absolute value;
2 years ago
W3AXL 340400fab7 fixed wrong MI on start of enc calls
2 years ago
Bryan Biedenkapp 617c889d1a
Merge DFSI host changes into master (#63)
2 years ago
Bryan Biedenkapp eae8923227 various cleanups; correct incorrect implementation for copy constructors on DFSI FSC messages;
2 years ago
Bryan Biedenkapp cd579eeabf add virtual flag to some routines;
2 years ago
Bryan Biedenkapp e0ea19b350 move dvmdfsi/frames into common; make host Modem class inheritable;
2 years ago
Bryan Biedenkapp fb0bb665eb fix issue where SIGTERM or SIGINT was not properly stopping the process;
2 years ago
Bryan Biedenkapp 9205f514a1 increase time between modem polls to 750us;
2 years ago
Bryan Biedenkapp abe45a1d53 fix up file headers;
2 years ago
Bryan Biedenkapp dbe1f69071 if the control the beginning of a call has valid crypto data, use the MI for the HDU;
2 years ago
Bryan Biedenkapp 47d89febdf fix various valgrind reports;
2 years ago
Bryan Biedenkapp 22d13e4c77 decrease the modem status polling delays to 125ms idle, 75ms active;
2 years ago
Bryan Biedenkapp 355db0c9cc [This commit contains highly-experimental and possibly unstable alterations to core archeitcture on dvmhost] deprecate ThreadFunc (using C++ lambda's was a bad idea to begin with); refactor some startup messages; refactor use of ThreadFunc in FNE; refactor how threads were created in the FNE; [EXPERIMENTAL] refactor the host architecture to use threading for modem clocking and protocol readers;
2 years ago
Bryan Biedenkapp 4ba65c5bab fix issue where when *decoding* a EXT_FNCT the src and dst would be inverted resulting in bad logging;
2 years ago
Bryan Biedenkapp 89f255d8e3 fix issue with P25 packet lengths being potentially truncated;
2 years ago
Bryan Biedenkapp 07d6d3c91f fix issue where next MI wouldn't be calculated from the HDU MI if we received a valid HDU; fix issue with first superframe LDU1 containing a non-standard MFID resulting in incorrect destination IDs (if this happens and we've received a valid HDU, attempt to use the HDUs destination ID);
2 years ago
Bryan Biedenkapp da2f6130a8 [NOTICE: this commit is *EXPERIMENTAL* and implements *very* early data support, it is expected to be buggy, incomplete or broken] implement VTUN interface (fne0) on the dvmfne (this requires dvmfne to be run as root on Linux system [untested on non-Linux] to create the tun interface); implement VIFace random MAC generation; implement P25 TIA-102.BAEB SCEP ARP (SCEP is always used for conventional data) on dvmfne; refactor P25 packet status bits (this may break things else where, beware!); properly implement P25 status bit flipping on inbound channel activity; implement functionality in the P25 and DMR DataHeader classes to calculate the proper raw PDU frame length; implement dvmfne ARP table creation and maintainence (this is buggy and requires more implementation and test); implement dvmfne VTUN -> PDU and PDU -> VTUN IP traffic forwarding (this is incomplete and requires more implementation and test); correct several issues on dvmhost p25::packet::Data with overlapped buffers;
2 years ago
Bryan Biedenkapp dc29208e70 refactor DMR PDU processing to be more in-line with how P25 PDU processing is done; implement support on the FNE to inspect and dispatch DMR PDUs properly;
2 years ago
Bryan Biedenkapp c9e7dcc11f make LC_CALL_TERM use dstId;
2 years ago
Bryan Biedenkapp d467405a01 ensure TDU preamble is sent before voice for late entry;
2 years ago
Bryan Biedenkapp 98ded890f0 more cleanup; fix accidental change for block counting that broke things;
2 years ago
Bryan Biedenkapp 369c3bee25 remove debug trace log messages (whoops); fix edge case situation where the modem may stop reading because the response state machine is stuck;
2 years ago

Powered by TurnKey Linux.