Commit Graph

377 Commits (03068fe3821dd8be15686fafacd35fd9dedcbc7f)

Author SHA1 Message Date
Bryan Biedenkapp 03068fe382 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 e16685fc4a add rudimentary experimental support for NXDN to dvmbridge; correct a few issues with trunked voice handling for NXDN, when a VC is a trunked participant the outgoing voice frames are RTCH vs RDCH;
4 months ago
Bryan Biedenkapp c76b417082 correct some minor NXDN issues;
4 months ago
Bryan Biedenkapp d29ce3c74f source code commenting cleanup;
4 months ago
Bryan Biedenkapp f4154c462e store the grant elapsed time; update peer status with grant elapsed time;
5 months ago
Bryan Biedenkapp 04ecac8e79 cleanup a couple of warnings;
5 months ago
Bryan Biedenkapp 075f0dbda2 use the last HDU for the encryption flag;
5 months ago
Bryan Biedenkapp 6284f05386 make strapping check ICCs system requests so they are always actively sent; remove debug text; refactor how P25 call handler handles verifying TG strapping;
5 months ago
Bryan Biedenkapp 27ed5fc15f remove m_peers lock around peer update in erasePeer(); add hacky fuzzy matching logic to allow up to 3 bit errors for a CRC-CCITT162 (this better helps some P25 conditions where a TSBK may fault with a CRC-CCITT error, usually while enc enabled); implement support for selectively setting talkgroup encryption modes, selectable, strapped or clear (note due to how both DVMs implementation and how the protocols work there are some limitations, for example in DMR the FNE cannot reliably prevent calls from flowing to the network based on the selective talkgroup encryption modes, NXDN cannot reliably prevent a call grant because the encryption state isn't known at grant time, dvmhost provides no network-sourced traffic protection for clear or strapped as the assumption is the FNE will not allow a call to flow to begin with);
5 months ago
Bryan Biedenkapp 45c0661723 for control channel dvmhost peers, report the known peerId of voice channels via the TRANSFER_SUBFUNC_STATUS; update sysview to properly expire peers from the peer status list after 10 seconds of no updates from the FNE about that peer;
5 months ago
Bryan Biedenkapp 3c85caa482 surprising news to me the V.24 modem FW does not actually set byte 5 of the GET_STATUS opcode, so will never properly flag transmit status, as such I have implemented some faux handling in the host itself to emulate the behavior, this is done by flagging Tx once we start successfully writing data over V.24 (this can be misleading if the data is sent to our V.24 modem but the V.24 modem never sends it to a Quantar);
5 months ago
Bryan Biedenkapp da4669659a now that we have proper UKEK and LLA FNE-side in the crypto container, implement proper per RID LLA support;
5 months ago
Bryan Biedenkapp 7885ecc151 implement some grant demand hardening; implement network watchdog hardening for NXDN;
5 months ago
Bryan Biedenkapp d8a65dc766 perform network watchdog handling in a more centralized manner in Voice::processNetwork(); fix condition where remote grant demands may happen even though TG hangtimers are running;
5 months ago
Bryan Biedenkapp 9449de77d4 more hardening, when a net talkgroup hand releases if the state is non idle reset the state;
5 months ago
Bryan Biedenkapp 6cd4b36446 add more netState handling hardening to ensure the state is returned to a default idle state;
5 months ago
Bryan Biedenkapp cf96c35758 apply network watchdog logic to data packets as well as voice;
5 months ago
Bryan Biedenkapp 05d939027b during network P25 voice calls, instead of dvmhost resetting the network watchdog every network frame only reset it when valid LDUs are processed, this should have the appropriate affect of applying the network watchdog and preventing a netState hang in a non-RS_NET_IDLE state if we never receive a network TDU to properly end a call;
5 months ago
Bryan Biedenkapp 61638ad740 simplify how LDU voice vectors are recovered from network packed DFSI frames (this reduces code duplication across the project; correct bad length being used for P25 causing PDU data to be unintentionally truncated;
5 months ago
Bryan Biedenkapp 054f157096 fix some issues with double-length DVM frames ($FD) where sometimes the serial port would still be buffering data and would return 0 bytes when the packet length was attempted to be read;
5 months ago
Bryan Biedenkapp 739c8bbf85 allow configuration of the logging for RID ACL list, TGID ACL list, and FNE peer list;
6 months ago
Bryan Biedenkapp 06df86e713 add support for group affiliation timeout similar to unit registration timeout (should handle #122); add support for bulk announcement of peer unit registration data to the FNE; move announcement handling from main traffic port to metadata port (for now there is a code redirect on the traffic port that will be maintained for a few versions before being deprecated;
6 months ago
Bryan Biedenkapp 3d6a196ea8 correct serious issue with affiliation REST API lockup, in some cases the way locking was being done on the REST API could cause it to become deadlocked when querying affils; correct issue with auth token length in REST API;
6 months ago
Bryan Biedenkapp 03a5e6a1db unless specifically set, if a TG is granted, we should *always* be doing the source ID check and denying the grant to a source RID that is different from the originator, the purpose behind this logic is to allow the source RID that is currently holding the grant to grant retry;
6 months ago
Bryan Biedenkapp 8bf2bf16d3 EXPERIMENTAL: this is a fundamental change to the function of ChannelLookup, instead of maintaining a list in which we add or remove elements as they are available or in use, we will maintain a mapped channel ID to index bit array, where each bit index within the array of bits represents the availability state of the channel, this should make it far more stable to mark a channel as free or allocated instead of manipulating an array everytime;
6 months ago
Bryan Biedenkapp 436bbf634e slight adjustments to cal and setup for dvmbbsdr support;
6 months ago
Bryan Biedenkapp 12d8d5f313 add support for DMR reverse-channel data in the EMB field;
6 months ago
Bryan Biedenkapp 07b0ebaf85 correct missing handling of MBC_DATA for DMR;
6 months ago
Bryan Biedenkapp 64529052ff refactor how the P25 voice handler gets the currently active TGs, this is in effort to hopefully remove the crash condition by the use of the old at() code in the m_activeTG vector;
6 months ago
Bryan Biedenkapp 93482dd2c2 support cal mode on PTY devices;
6 months ago
Bryan Biedenkapp b7f55d9323 couple more code fixes, fix REST API initialization on FNE to prevent early REST calls from crashing the FNE; add locking support for network internals when REST APIs are called; fix memory leak for failed network logins;
6 months ago
Bryan Biedenkapp 7c8effeaea do not transmit radio monitor packets from the network handler, the TSBK will be sent as is normally;
8 months ago
Bryan Biedenkapp 8f0ba24059 you know how some parents need to best effort child proof electrical sockets to prevent shocks? yea lets at least *try* to child proof 700mhz;
8 months ago
Bryan Biedenkapp d40b833286
V.24 Corrects for Call Stability (#117)
8 months ago
Bryan Biedenkapp 274b805517
Merge R05A04 (r05a04_dev) into master (#114)
9 months ago
W3AXL 49ff1a461b
ensure DTR/RTS logic matches between normal host startup and cal/boot modes (#112)
10 months ago
Bryan Biedenkapp 274a8f23fc
Merge R05A02 (r04k32_dev branch) into Master (#110)
11 months ago
Bryan Biedenkapp 7c2bfb3914
R04J32 Merge to Master (#95)
1 year ago
Bryan Biedenkapp fcdec00f32 BUGFIX: correct issue where a completely incorrectly formatted identity table missing the appropriate number of entities would cause a startup crash; minor formatting cleanups for readability;
1 year ago
Bryan Biedenkapp 51bf65775a BUGFIX: site data was not being set on the RCCH for NXDN;
1 year ago
Bryan Biedenkapp 738ee918d1
R04H31 Merge to Master (#89)
1 year ago
Bryan Biedenkapp af2e7c9c8d
R04H30 Merge to Master (#88)
2 years ago
Bryan Biedenkapp 030a09ebe9 change ENABLE_TCP_SSL to just ENABLE_SSL;
2 years ago
Bryan Biedenkapp 6690098a1c do not announce data services when set for trunking and SNDCP is disabled;
2 years ago
Bryan Biedenkapp fb0e51f36a make Win32 compiles work again; correct incorrect behavior handling try_lock_for;
2 years ago
Bryan Biedenkapp 8dd504adea add support to enable/disable CC message stream debug when a protocol debug is enabled; correct some bad handling of the MESSAGE_TYPE_REG NXDN command;
2 years ago
Bryan Biedenkapp 27c852e4c2 remove the broken last IMBE logic; add logic to ensure a consistent LDU superframe stream (this will result in in-call garble for the length of a missed LDU, where LDUs are dropped due to extreme call load on the FNE);
2 years ago

Powered by TurnKey Linux.