Commit Graph

74 Commits (27ed5fc15f007aad175458504094013d76ba5f9a)

Author SHA1 Message Date
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);
4 weeks 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;
2 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;
2 months ago
Bryan Biedenkapp 12d8d5f313 add support for DMR reverse-channel data in the EMB field;
2 months ago
Bryan Biedenkapp 07b0ebaf85 correct missing handling of MBC_DATA for DMR;
2 months ago
Bryan Biedenkapp 274b805517
Merge R05A04 (r05a04_dev) into master (#114)
5 months ago
Bryan Biedenkapp 274a8f23fc
Merge R05A02 (r04k32_dev branch) into Master (#110)
8 months ago
Bryan Biedenkapp 7c2bfb3914
R04J32 Merge to Master (#95)
11 months ago
Bryan Biedenkapp 738ee918d1
R04H31 Merge to Master (#89)
1 year ago
Bryan Biedenkapp af2e7c9c8d
R04H30 Merge to Master (#88)
1 year ago
Bryan Biedenkapp fb0e51f36a make Win32 compiles work again; correct incorrect behavior handling try_lock_for;
1 year 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;
1 year ago
Bryan Biedenkapp 63c85f3781 implement proper blocking operations for RPC; don't allow a RPC instance to call itself (i.e. you can't listen on port 127.0.0.1:9890 and then use req() to send an RPC to the listening instance); fix issue with RPC_PERMIT_XXX_TG not being a blocking operation; fix issue with RPC_DMR_TSCC_PAYLOAD_ACT not being a blocking operation;
1 year ago
Bryan Biedenkapp 3da4eb2d40
REST -> RPC Migration (#84)
1 year ago
Bryan Biedenkapp a2fa303217 reorganize code, move Network class from host into common as its being used more as a generic peer network class; add some warning messaging to the FNE when a peer link or external peer (i.e. intra-FNE connection) drops;
1 year ago
Bryan Biedenkapp 6812029491 Merge branch 'master' into incall_ctrl
1 year ago
Bryan Biedenkapp 64bcb56228 enhance debug logging to incorporate both file and line numbers (when provided by the compiler) and optionally implement LogDebugEx macro to also incorporate the caller identifying the function name; correct LogDebug uses in some cases that should have been LogMessage;
1 year ago
Bryan Biedenkapp cbce2fbdf0 update copyright dates;
1 year ago
Bryan Biedenkapp 633ff29f55 fix typo;
1 year ago
Bryan Biedenkapp ad8713fbe8 issue a P_CLEAR proper at the end of a network call;
1 year ago
Bryan Biedenkapp 71d55b1645 correct some late night strangeness when handling whether or not a slot is a TSCC for remote grant demand processing (this is what I get for trying to quickly push out decently old branch code);
1 year ago
Bryan Biedenkapp e4d2d677fe last minute fix -- the original implementation was naive and always aborted incorrectly;
1 year ago
Bryan Biedenkapp 172f0f2eb0 missed commit when this was manually merged;
1 year ago
Bryan Biedenkapp 151275ce6f implement initial DMR remote grant demand logic (this is mostly untested);
1 year ago
Bryan Biedenkapp 3177d38897 Merge branch 'master' into incall_ctrl
1 year ago
Bryan Biedenkapp 02581f2c3f file cleanups;
1 year ago
Bryan Biedenkapp da5cb6eb7d Merge branch 'master' into incall_ctrl
1 year ago
Bryan Biedenkapp b419c56405 reject U2U voice channel grant for P25, DMR and NXDN if the unit being called isn't registered;
1 year ago
Bryan Biedenkapp 2979110421 add some mutex locking for affiliation lookups;
2 years ago
Bryan Biedenkapp 7faa2743e8 handle grant release and end of call TDU for P25;
2 years ago
Bryan Biedenkapp 0b0dc32c94 refactor call rejection to be timer based to reject a call until incoming data drops; correct bug with non-standard MFId's being used for the first LDU1; implement enforced unknown/undefined RID ACL support;
2 years ago
Bryan Biedenkapp 10f3f35131 add destination ID to ICC messages;
2 years ago
Bryan Biedenkapp 59f85c5976 implement in-call control mechanism (this allows the FNE to command a host to stop transmitting if a ACL check fails);
2 years ago
Bryan Biedenkapp cc274ba78e add support to selectively revert to previous logic ignoring affiliation checks;
2 years ago
Bryan Biedenkapp 7736e03aef add ability to disable NON-AUTHORITATIVE log warnings (functionality is made optional as it makes diagnostics easier); remove redundant error message from grant demands;
2 years ago
Bryan Biedenkapp 84a3d859b9 remove debug trace;
2 years ago
Bryan Biedenkapp 7b27eadbd7 correct issue where DMR would round-robin assign slots for TGs, instead ensure available channel resources for the request slot exist and grant or queue accordingly; add some experimental support to generate a CSBK grant from network traffic if the destination ID hasn't already been granted;
2 years ago
Bryan Biedenkapp 0fda70654c fix incorrect log messaging;
2 years ago
Bryan Biedenkapp d837d0950d fix issue where CSBK static site data wasn't being updated for netActive change;
2 years ago
Bryan Biedenkapp c435256726 ignore plea's for SU registration on DMR when trying to register with power saving options;
2 years ago
Bryan Biedenkapp f49b6ce257 document why the response data is set to 0;
2 years ago
Bryan Biedenkapp 5a972a671c add some more verbose logging for overflow conditions; correct issue with DMR Tx timer expiring before the call actually ended;
2 years ago
Bryan Biedenkapp 0c247a2b37 make isQueueFull() checking -- less aggressive;
2 years 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;
2 years ago
Bryan Biedenkapp 89a1d4bde9 peekFrameLength() should abide by mutex locks on txQueue's;
2 years ago
Bryan Biedenkapp 14b880b708 add some mutex locking for thread safety, ensure addFrame and getFrame cannot happen simultaneously;
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 197ce833ac correct Trellis symbol skipping logic for DMR for 3/4 Trellis; enhance DMR short LC bits; correctly identify short LC for data and CSBK; correct buffered PDU repeat logic (when header has no blocks following);
2 years ago
Bryan Biedenkapp 6a040b6bec correct issue with P25 deregistrations always generating a U_REG_CMD instead of only generating a U_REG_CMD for registration timeouts;
2 years ago
Bryan Biedenkapp 882c2564ca correct double spaced formatting of CPP files in common; convert dvmhost to Doxygen documentation format; convert dvmfne to Doxygen documentation format; convert dvmcmd to Doxygen documentation format;
2 years ago

Powered by TurnKey Linux.