Commit Graph

55 Commits (27acf348d2b10289f15830fca3bc0fea3dc3f76d)

Author SHA1 Message Date
Bryan Biedenkapp 27acf348d2 better deliniate sections of ControlSignaling classes;
3 years ago
Bryan Biedenkapp 09dd03f946 rename and reorganize some code to better be consistent across the project;
3 years ago
Bryan Biedenkapp e4cc23a3a3 better handle same TGID RF preemption during grants when network call grants are disabled;
3 years ago
Bryan Biedenkapp 5f7b62ece2 some minor code reorganization for clarity; implement new disableNetworkGrant feature for non-trunk mode P25 operations, this disables network calls from making channel grants that would exclusively lock the channel for the duration of that call (when SUs are utilizing a mode that makes them obey grants), this is useful for systems where RF-only TG steering is required;
3 years ago
Bryan Biedenkapp 7cb639027d add support to transmit LC_FAILSOFT during conventional fallback (an option, no one uses yet...);
3 years ago
Bryan Biedenkapp 0c40b2b254 fix override of packet sequence when it shouldn't; fix handling TDU from a specific source;
3 years ago
Bryan Biedenkapp 84b13d668a move netId and sysId 0 check;
3 years ago
Bryan Biedenkapp c62d79e2be implement support for explicit source ID;
3 years ago
Bryan Biedenkapp ca3810fa12 report destination ID being rejected when for non-authoratative mode;
3 years ago
Bryan Biedenkapp d0be614c27 split announcement group config into its own config var;
3 years ago
Bryan Biedenkapp e94964ea2f refactor TG hang to only apply to authoritative voice channels; correct handling of non-authoritative permitted destination IDs for NXDN and DMR; move non-authoratative handling into main processNetwork() for P25;
3 years ago
Bryan Biedenkapp bed079f68e implement a fixed internal TG hangtimer for network traffic, this will put a hold on the last received TG for 2 seconds; refactor how P25 handles simultaneous calls from the network and how RF preemption of in-progress network calls when RF wants to transmit on a different TG works;
3 years ago
Bryan Biedenkapp c1639729a6 correct typo;
3 years ago
Bryan Biedenkapp 7a86b4f5b8 allow PDUs to be processed for dedicated CCs; enhance W3AXLs code Data.cpp code to check the dedicatedControl flag too;
3 years ago
Patrick W3AXL 74838f990a
initial re-commit based on latest master (#35)
3 years ago
Bryan Biedenkapp ff66d6bbe2 ensure DataHeader's are always passed by reference;
3 years ago
Bryan Biedenkapp 9a71eb344f refactor how confirmed data blocks are handled; better handle determining src and dst LLIds during PDU processing; better handle data offset and PDU data length calculations; handle properly acknowledging confirmed packets with A/N flag set;
3 years ago
Bryan Biedenkapp 9b43411376 when decoding a PDU data block ensure class variables are set to reasonable defaults (since the actual DataBlock class tends to be reused); ensure DataHeader is passed to DataBlock decode() and setFormat() by reference; implement supporton DataHeader to retreive the raw byte contents of a decoded PDU header; ensure the PDU Rx process resets the second header data, irregardless of use; if we are using a PDU second header, ensure its data contents are added to pduUserData as the second header contents are CRC-32'ed along side all the data blocks (infact only the initial header is excluded from CRC-32 all other blocks following initial header *must* be CRC-32'ed with the data blocks); refactor PDU last block detection; ensure writeRF_PDU_Buffered and writeNet_PDU_Buffered regenerate the full packet CRC-32;
3 years ago
Bryan Biedenkapp 20882d5100 whoops actually fix the PDU confirmed last block problem;
3 years ago
Bryan Biedenkapp 798ca22315 fix incorrect use of secondary header;
3 years ago
Bryan Biedenkapp 8c26de644f reset pdu data length at the end of handling a PDU sequence;
3 years ago
Bryan Biedenkapp 4daac87c1a refactor P25 PDU network handling code; better handle PDU confirmed extended addressing;
3 years ago
Bryan Biedenkapp 31e6769ddc don't network repeat AMBT PDUs; ensure AMBTs aren't processed if control processing is disabled;
3 years ago
Bryan Biedenkapp b4bbca3ca5 introduce RF loss watchdog to prevent a situation where a frame loss could cause a deadlock; fix message output for TDULC;
3 years ago
Bryan Biedenkapp b1718f3e0a fix payload calculation for activity log; correct order of operations for testing if the RF hangtimer is running;
3 years ago
Bryan Biedenkapp 180bce2d62 add support to log the last received source ID;
3 years ago
Bryan Biedenkapp 412d6cfc7c [KEEP CALM AND RELAX] remove some deprecated DFSI support code (this is going to be done in a different way and this code is essentially abandonded);
3 years ago
Bryan Biedenkapp cdce663a55 remove affiliated flag from local talkgroup_rules (this is not used locally); refactor how P25 network message frames are made (mostly just a code cleanup); refactor out some magic numbers used in some places for code clarity;
3 years ago
Bryan Biedenkapp 3d7f04f523 split touch notify from incorrect logic statement;
3 years ago
Bryan Biedenkapp d5aa4c2cd9 add extra logging messages; fix issue with network P25 voice grant;
3 years ago
Bryan Biedenkapp 34a6c14111 rename inhibitIllegal to inhibitUnauthorized; remove code that was clearing modem buffer before transmitting an immediate (this was extremely problematic); add new option for VOC users "redundantGrantTransmit" this option will cause a modem in P25 VOC mode to transmit redundant grant responses, helping ensure grants are received;
3 years ago
Bryan Biedenkapp 4aca5792db adjust OSP_QUE_RSP slightly to ensure the service doesn't overflow; fix some minor U2U logic (this kinda sorta makes U2U work); adjust some timing parameters when clearing the modem queues (~5ms delay after writing the command to ensure the modem has time to clear); alter how grants are transmitted on VOC configurations (this will not only transmit a immediate grant but also buffer 3 more as an MBF);
3 years ago
Bryan Biedenkapp e86a8aae03 whoops remove this code -- debug stuff by accident;
3 years ago
Bryan Biedenkapp 053a74843c add blatent error message for my sanity during debugging;
3 years ago
Bryan Biedenkapp 20fd5d5e40 [EXPERIMENTAL] commit an experimental fix for VOC strangeness, VOC abuses P25 timing and should be transmitting the grant response at least twice;
3 years ago
Bryan Biedenkapp 2b6b0c574d
merge 3.5-dev into master, this marks 3.5 alpha/beta release; (#31)
3 years ago
Bryan Biedenkapp 81c16f6758 add option to disable the source ID validation before issuing a grant;
3 years ago
Bryan Biedenkapp db2212f7c1 minor file cleanup;
3 years ago
Bryan Biedenkapp 320523a668 fix a problem where the source for a grant isn't being checked for a "grant retry" condition;
3 years ago
Bryan Biedenkapp ca161aa402 cleanup trailing whitespace;
3 years ago
K4YT3X da863f6785
Fixed P25 garbled encrypted voice, plus minor several other improvements (#27)
3 years ago
K4YT3X 43d6420b2c
made incoming traffic update P25 channel grant timer to fix embedded STC; fixed VC LDU2 grant check (#25)
3 years ago
Bryan Biedenkapp ab622ee08c return status from API call from RESTClient::send(); appropriately deny a grant if supervisor is enabled and a permit call fails; fix issue with CMake not caching compiler information;
3 years ago
Bryan Biedenkapp cec2816389 fix some potential memory leak scenarios;
3 years ago
Bryan Biedenkapp 8faa764cb4 refactor how grant calls are made for DMR, P25 and NXDN (this may break somethings!);
3 years ago
Bryan Biedenkapp f9afd01277 revert an oops, I committed some code commented out that should not have been;
3 years ago
Bryan Biedenkapp 0282689e98 fix issue where network grants would trigger local grant transmissions, even if the TG was already granted;
3 years ago
Bryan Biedenkapp f69443c2eb relabel RCON configuration parameters to REST (see configs/config.example.yml); change "controlPermitTG" to "supervisor", this is more descriptive for what this function does as it is literally a supervisory flag enabling/disabling the CC from commanding subordinate DVMs; implement a REST API that can alter the supervisory state at runtime;
3 years ago
Bryan Biedenkapp 8b4002246a refactor how grants are handled across the network;
3 years ago
Bryan Biedenkapp e531a830dd cleanup file;
3 years ago

Powered by TurnKey Linux.