Commit Graph

85 Commits (09dd03f94626093dbcb475c8a8182e17c33766dd)

Author SHA1 Message Date
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 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 69bb8ec5ea fill out LDU2 DFSI data;
3 years ago
Bryan Biedenkapp 3e25951d9d neuter the DFSI implementation (we only use parts of the TIA-102.BAHA spec here, the real DFSI work will happen elsewhere);
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 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 4f6fcd421b refactor network data buffer sizes;
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 24ad09c5ee whoops forgot to include defines;
3 years ago
Bryan Biedenkapp 3cce6e0b68 implement support for TIA-102.AABF-D LC_EXPLICIT_SOURCE_ID;
3 years ago
Bryan Biedenkapp 2a3c827cab properly complete grantTG REST API implementation;
3 years ago
Bryan Biedenkapp ca3810fa12 report destination ID being rejected when for non-authoratative mode;
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 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 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 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 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 6a127f7e57 implement appropriate RS encoding of LDU1 DFSI parameters;
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 3d7f04f523 split touch notify from incorrect logic statement;
3 years ago

Powered by TurnKey Linux.