Commit Graph

49 Commits (e4cc23a3a3d94aceaa1e59d1d8c4c8b6f1b9e574)

Author SHA1 Message Date
Bryan Biedenkapp e4cc23a3a3 better handle same TGID RF preemption during grants when network call grants are disabled;
3 years ago
Bryan Biedenkapp ebd973b226 invert flag check;
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 9a03d084c9 fix issue where TGID ACL may never be enabled; check ACLs before issuing a grant from a grant demand;
3 years ago
Bryan Biedenkapp ed9ee36507 i thought i removed this check, damn it Git; ensure we immediately return after a grant demand;
3 years ago
Bryan Biedenkapp 8447bee31a oh goody fix assinine logic check I invente that breaks the universe for everyone;
3 years ago
Bryan Biedenkapp dfdaa98434 only allow grant demands if we're also control enabled;
3 years ago
Bryan Biedenkapp ab1c84243e add support for the control byte on P25 TDUs, this implements a required remote grant demand request allowing remote network applications to get a channel grant before sending traffic;
3 years ago
Bryan Biedenkapp edb2529f68 allow the frame loss threshold to be configurable (this could help in fringe signal fading situations to prevent premature call termination in some situations);
3 years ago
Bryan Biedenkapp 84b13d668a move netId and sysId 0 check;
3 years ago
Bryan Biedenkapp a3234a8583 reorganize code slightly;
3 years ago
Bryan Biedenkapp c62d79e2be implement support for explicit source ID;
3 years ago
Bryan Biedenkapp 2a3c827cab properly complete grantTG REST API implementation;
3 years ago
Bryan Biedenkapp 952606b304 revert commit fbf8ec3 (I mistakenly added this with a group of other commits);
3 years ago
Bryan Biedenkapp fbf8ec32c1 add support to send raw CSBK or TSBKs from the network;
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 1128d28d97 actually AMBT PDUs don't transit the network, so we'll ignore network PDUs for control only mode;
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 a2865f7052 be verbose on VC's about when we send the grant release REST call;
3 years ago
Bryan Biedenkapp 6330a4c2a9 fix some log messages; ensure VOC is forcibly disabled if control support is disabled;
3 years ago
Bryan Biedenkapp 4daac87c1a refactor P25 PDU network handling code; better handle PDU confirmed extended addressing;
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 180bce2d62 add support to log the last received source ID;
3 years ago
Bryan Biedenkapp 8f7763cac4 initial implementation for a passive monitor tool; correct bad code style; implement feedback of last destination ID; enhance status REST API;
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 702293b416 more work on frame loss counting;
3 years ago
Bryan Biedenkapp c9f74e7abf assume better defaults when the controlCh block is missing; split logic checks for ignoring a notifyCC_* call for clarity; add extra logging messages for whether or not CC notify is enabled, and whether or not CC REST API parameters were passed;
3 years ago
Bryan Biedenkapp b99ecefd6a experimental alteration to handling modem TAG_LOST during an active call for DMR, P25 and NXDN, instead of immediately dropping the call stream holding the call in progress, this will likely require additional thought and implementation, but the intention is to correct odd behavior for fringe or silghtly weak signals which would cause strange call behavior;
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 39e0e4a254 add option to selectively enable/disable CC notification from a VC for traffic channel updates (this option defaults to enabled/on for all configurations but VOC);
3 years ago
Bryan Biedenkapp c4b4dd367f enhance releaseGrantTG logging slightly, this will now not only log the request, but log if the specified destination ID needs to be released;
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 56e4e7cf37 for non-authoritative VCs generate a log message in verbose mode for the protocols to indicate a TG permit operation has occcurred;
3 years ago
Bryan Biedenkapp 9b1c48aa7d correct bad handling of certain conditions;
3 years ago
Bryan Biedenkapp 81c16f6758 add option to disable the source ID validation before issuing a grant;
3 years ago
Bryan Biedenkapp ca161aa402 cleanup trailing whitespace;
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 590aeb0bea refactor common affiliations class to have a release grant callback; implement proper release grant callbacks for P25 and NXDN to call the permit TG API with a TGID 0 to ensure permits are released at the end of a call; update DMR release grant callback in the same way; allow permit TG API call to accept 0 as a valid TGID;
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
K4YT3X a1b7bd79df
fixed REST API accept permit-tg failure (#24)
3 years ago
Bryan Biedenkapp 5b8b6f70af fix condition where permitted TG would not be reset after a TG hangtime timeout;
3 years ago
Bryan Biedenkapp 08d282844d fix issue when loading voice channel lists into local affiliation tables; fix issue where appropriate voice channel data for remote callbacks was not correct; better hide messages from console and use logging appropriately in RESTClient;
3 years ago
K4YT3X c487873db2
Reorganizing directory structure and minor housekeeping (#21)
3 years ago

Powered by TurnKey Linux.