Bryan Biedenkapp
1e68f7a7ec
preserve DMR, P25 and NXDN RF talkgroup steering across matching network traffic and network watchdog expiry until the RF talkgroup hang timer expires, and add regression coverage for steering lifetime and cleanup;
1 day ago
Bryan Biedenkapp
d83e85b06b
implement opt-in per-protocol receive packet preprocessing before stream selection, add DMR, P25, P25 Phase 2 and NXDN ACL admission with non-authoritative permit enforcement, active-stream and control-channel bypasses, add debug packet-admission overrides and regression coverage, correct Harris alias cadence expectations, and ensure dvmpatch terminates forward and reverse P25 calls on TDU or TDULC;
1 day ago
Bryan Biedenkapp
6ce3c616eb
refactor and rewrite BCH handling to be more intelligent and do actual decode error correction;
2 days ago
David Andrzejewski
83795d27ae
discard an incomplete inbound P25 PDU transaction when the same peer sends a new header block, instead of rejecting the new header as a conflicting duplicate; ( #139 )
...
A transaction whose remaining blocks never arrive (a lost datagram, or a
host that forwards a response header without its announced data block)
otherwise rejects every later PDU from that peer until the peer has been
silent long enough for the stale-call sweep to drop it.
2 days ago
David Andrzejewski
ded8f55114
P25 SNDCP data channel: key up the voice channel for data grants, forward response data blocks ( #138 )
...
* key up an idle P25 voice channel holding an SNDCP data permit so subscribers waiting for outbound frame sync can transmit their packet;
A subscriber granted an SNDCP data channel listens for outbound frame sync
before it sends its packet. A non-authoritative voice channel that only
holds the data permit stays unkeyed, so some subscribers (EFJ) never
transmit and the grant expires.
While a data permit is held and the channel is otherwise idle (no RF or
network traffic and no frame already queued), the voice channel now fills
the air with TDUs, checked every 15 ms. A TDU carries frame sync and
all-idle status symbols, advertising the inbound channel as free. The
normal control channel unpermit ends it; a 30 second permit hold (twice
the CC grant timer) stops it if that unpermit is lost.
* end the SNDCP data channel keep-alive once the SU transmits on the grant and never fill the native-modem PDU pacing guard;
The keep-alive only checked the frame queue, so while an outbound PDU was
held by the native-modem pacing guard it kept writing TDUs ahead of it, and
it kept the channel keyed after the SU had already started its exchange.
With the keep-alive running this way an 8-block outbound PDU drew repeated
ACK RETRY responses until it was declared undeliverable.
The keep-alive now stops for the rest of the grant as soon as the RF state
leaves listening (the SU no longer needs outbound frame sync), and it skips
any tick while a PDU is held or the pacing guard is still running. A new
data grant starts it again.
* forward the data block of an SU response packet to the network along with its header, so an ACK RETRY (selective retry) reaches the FNE as the complete transaction its blocks-to-follow announces;
The network PDU frame carries the response header's blocks to follow, but
only the header block was written. The FNE then waited for a block that
never arrived and rejected every later PDU from the voice channel as a
conflicting duplicate header, dropping SU uplinks (including KMM Hello)
and SU link ACKs. The block extraction lives in
Data::getResponseDataBlock().
* Renamed functions to not use the term 'clock'
* Removed m_permittedData and restored the original SNDCP permit check, but keep state
3 days ago
Bryan Biedenkapp
e2f127382f
fix DMR RF voice and data watchdog handling to recover slots from incomplete late-entry, voice and packet data sequences; add regression tests for stalled RF state cleanup;
3 days ago
Bryan Biedenkapp
7a49192d4e
[EXPERIMENTAL] improve IMBE and AMBE vocoder quality; isolate per-stream synthesis state, use the fixed-point 88-bit IMBE decoder, extend pitch tracking to the 20-sample boundary, refine submultiple and voiced/unvoiced decisions, correct encoder gain timing and silent-frame gain, remove excessive raw AMBE decoder scaling, and add focused vocoder regression tests;
3 days ago
Bryan Biedenkapp
30ec67e089
add missing tests source file;
3 days ago
Bryan Biedenkapp
4399e46b9d
prevent P25 response, unconfirmed, and AMBT packets from consuming the LLC send sequence; preserve N(S) and SYN advancement for new confirmed data packets only;
3 days ago
Bryan Biedenkapp
ff2481f6db
add modem frame pacing tests for DMR, P25, and NXDN; preserve full P25 frame lengths when checking available modem space; account for tagged NXDN frame length when gating writes;
3 days ago
Bryan Biedenkapp
0a32425c7f
replace the greedy Trellis point fixers with Viterbi decoders; resolve tied confirmed data candidates by CRC-9;
3 days ago
Bryan Biedenkapp
41be1eaa2b
implement TIA-102 Harris User Alias support for trunked VCs;
1 week ago
Bryan Biedenkapp
656fc1397b
cleanup code;
1 week ago
Bryan Biedenkapp
996b5a42cb
add internal support for handling the motorola talker alias $15 and $17 LCOs with code borrowed from sdrtrunk;
1 week ago
Bryan Biedenkapp
a603808d66
add support to store subscriber emerg alarm and calls in the operation store;
2 weeks ago
Bryan Biedenkapp
e7e5732f1c
add CONFIGURE_DEPENDS to do glob verification at build time;
2 weeks ago
Bryan Biedenkapp
3577544578
extend subscriber operation tracking for inbound DMR/P25 and P25 KMM requests, and expose recent operation history over REST and metadata;
2 weeks ago
Bryan Biedenkapp
dd4d050cdb
time to piss everyone off, this commit changes logging to move things to a async queue when using file logging for performance; it also removes the .activity.log files, activity logging is still created however instead of being stored locally to conserve disk space on lower-end machines they are transmitted from peer to FNE and the FNE will either log them or store them to the metrics db;
2 weeks ago
Bryan Biedenkapp
a0536d2c34
harden TDULC call-end behavior;
2 weeks ago
Bryan Biedenkapp
3d50ae8907
bypass initial retry sequence and reset retry backoff for network connection startup;
2 weeks ago
Bryan Biedenkapp
2de89d8088
add metadata network support for starting P25 and DMR subscriber operations, route protocol messages to the requested or registered peer and add operation start regression tests;
2 weeks ago
Bryan Biedenkapp
080d4d5714
implement time-limited FNE subscriber operations for P25 and DMR radio checks, P25 status queries, status updates and message updates, expose operation and status retrieval over REST and metadata networks, add dvmcmd queries, consume acknowledgements without peer fanout and add protocol, routing and store regression tests;
2 weeks ago
Bryan Biedenkapp
f83ba4862f
implement transaction scoped P25 MFId handling, retain manufacturer identity by source RID, destination RID and LCO, preserve last MFId as the DVRS compatible fallback, clear expired and completed transactions and add MFId isolation, cleanup, expiration and fallback regression tests;
2 weeks ago
Bryan Biedenkapp
b8db35ef30
implement FNE authoritative channel grant transactions for P25, DMR and NXDN, add U2U grant handling, local channel assignment, traffic channel permit and grant release cleanup, correct dedicated control channel traffic handling and P25 deny response decoding, remove supervisor configuration in favor of topology-driven traffic permits, document authoritative operating modes and add grant lifecycle regression tests;
2 weeks ago
Bryan Biedenkapp
93e38ee2c7
expand HTTP request framing tests, correct ServerConnectionManager lock scope during connection lifecycle callbacks;
2 weeks ago
Bryan Biedenkapp
59ecf16612
whoops add missing test file;
2 weeks ago
Bryan Biedenkapp
5177685e48
implement FNE synchronized talkgroup RID admission rules, enforce group access during affiliation, RF ingress and channel grants for P25, DMR and NXDN while excluding U2U and telephone interconnect traffic, and add round-robin and protocol controller admission tests;
2 weeks ago
Bryan Biedenkapp
88cb85cc8f
update copyright;
2 weeks ago
Bryan Biedenkapp
6911c69170
correct P25 secondary control channel and adjacent site status broadcasts, preserve per-channel service classes, properly encode and decode advertised site data and retain multiple secondary control channels;
2 weeks ago
Bryan Biedenkapp
d2ac635b9d
correct P25 group affiliation query handling, correlate and retry affiliation queries, refresh WUID validity only for acknowledged valid transactions and complete group affiliation query support;
2 weeks ago
Bryan Biedenkapp
a14bb62b0b
correct P25 system service broadcast field packing, implement configurable WUID validity timing and properly encode blank Motorola BSI callsign characters;
2 weeks ago
Bryan Biedenkapp
a8d0242cf1
correct P25 message and status update field widths and properly encode and decode TDULC group voice channel updates;
2 weeks ago
Bryan Biedenkapp
830a356757
WHACKERS REJOICE! implement and route emergency alarm and call signaling for P25, DMR and NXDN, including P25 ISP emergency alarm, cancellation and acknowledgement procedures;
2 weeks ago
Bryan Biedenkapp
bef33b1ca4
prevent telephone interconnect from flooding everywhere and properly peer routing like U2U calls;
2 weeks ago
Bryan Biedenkapp
479a0e90f3
add configurable private-call routing to the FNE; replace disallowAllUnitToUnit, dropUnitToUnit, and restrictPVCallToRegOnly with privateCallRouting and per-peer allowUnitToUnit policy; add a timestamped unit-route registry for explicit registrations and traffic-learned subscriber locations; route known DMR, P25, P25 Phase 2, and NXDN private calls only to the registered next-hop peer; reject or flood unknown destinations according to policy; enforce unit-to-unit authorization on ingress, egress, grants, and voice traffic; clean routes during registration replacement and peer teardown; correct private grant and unknown-destination flood handling; add comprehensive FNE routing and regression tests;
2 weeks ago
Bryan Biedenkapp
66751dd713
correct unit tests;
2 weeks ago
Bryan Biedenkapp
5162e54845
add unit test for disallowUnitToUnit on dvmhost;
2 weeks ago
Bryan Biedenkapp
b72823cfd7
preserve ACK_RSP addressing across network;
2 weeks ago
Bryan Biedenkapp
1b1d508d6f
correct DMR and NXDN private-call setup and network routing; implement DMR Tier III OACSU availability checks with response correlation, collision handling, retries, cancellation, and timeout cleanup; validate conventional private-call destinations without disturbing group routing; correct NXDN individual-call request, response, assignment, duplicate assignment, disconnect, and transmission-release signaling; fix NXDN response-cause decoding and ten-bit traffic-channel encoding; route private calls to registered trunked or eligible conventional peers; add DMR, NXDN, host, codec, and FNE regression tests;
2 weeks ago
Bryan Biedenkapp
2ba4dbf97c
correct P25 unit-to-unit routing across FNE sites; use the explicit network U2U flag for private-call validation, routing, and late-entry voice when a private LCO is unavailable; restrict network answer requests to the control site serving the target subscriber; document conventional interoperability requirements; add FNE and host regression tests;
2 weeks ago
Bryan Biedenkapp
bcb8894154
correct P25 unit-to-unit call setup and message-trunked continuation; correlate UU answer responses with pending availability checks; track private grants and voice channel permits by subscriber pair; preserve grants across talkspurts, advertise the current requester as first-to-talk, and clean up U2U state on cancellation; add comprehensive U2U regression tests;
2 weeks ago
Bryan Biedenkapp
b555b2a4f0
add synthetic U2U call tests;
2 weeks ago
Bryan Biedenkapp
048de3ab55
add per-stream ordered FNE traffic dispatching; route DMR, P25P1, P25P2, and NXDN traffic through a common receive validation and protocol dispatch path before enqueuing frames for processing; add a shared ordred frame queue model that preserves arrival order within each peer/SSRC/stream/direction keyh while allowing parallel calls to run concurrently on a single existing FNE worker pool, frames are scheduled immediately without waiting for headers or missing seq numbers; apply ordering model to direct and upstream traffic; add regression coverate for same-stream FIFO behavior, concurrent calls, burst traffic, stream reuse, key isolation, late-entry and duplicate seq;
2 weeks ago
Dev_Ranger
3ba67a1506
= Fix Bridge vocoder integration, framing, and buffer bounds
...
- Fix half-rate encoder input overread
- Bound NXDN FACCH1 and UDCH puncture-table access
- Fix P25 receive buffer bounds
- Correct NXDN transmit buffer strides and SACCH fragment assembly
- Fix DMR sync, burst sequencing, call termination, and buffer cleanup
- Add focused regression tests and correct static vocoder linkage
- Rename packet-state enum value to avoid a Windows macro collision
3 weeks ago
Bryan Biedenkapp
54cee44381
fixes for REST API handling, correct bad condition where TLS handshakes could leave dangling sockets, add deadlines for various operations to prevent deadlock scenarios, REST handlers operate async to prevent blocking ASIO event loop;
3 weeks ago
Bryan Biedenkapp
a5e0f0f315
parrot playback should also properly adhere to inclusion peer list rules; add more robust peer traffic routing tests;
3 weeks ago
Bryan Biedenkapp
944a434db3
add better handling for parrot playback to do typical eligibility checks; add testcases to test these conditions;
3 weeks ago
Bryan Biedenkapp
15e18e3ccf
file cleanup;
3 weeks ago
Bryan Biedenkapp
7ecb66ae93
whoops forgot to add source file;
3 weeks ago
Bryan Biedenkapp
a67733c671
add some lifecycle tests for telephone interconnect;
3 weeks ago