Repository navigation
Merge R06A00 (r05a06_dev) into master - #132
Merged
Merged
Conversation
…og (originally calls processed was keyed off the start of a call, which can have misleading consequences about the true count of calls);
…his really should be extremely short term);
…ecause we have reached max queue depth;
Rename TrafficNetwork Influx config members to match the new metrics config naming.
* fix(p25): guard mid-call LDU1 identity against marginal FEC miscorrection
RS634717::decode241213/decode24169 already computed a corrected-symbol
count and threw it away, so a decode() call taking the RS(24,12,13)
LDU1 LC field to the edge of its correction guarantee (miscorrection
of a still-CRC-valid-looking codeword) was as trusted as a clean
decode. Voice::process() also never re-checked a mid-call LDU1's
srcId/dstId against anything once a call was established.
Thread the RS error count up through LC::decodeLDU1/decodeLDU2
(LC::FECErrs), and in Voice::process() treat a mid-call LDU1 as
suspect if either:
- it required RS correction and disagrees with the call's last
known-good LDU1, or
- its dstId disagrees with the dstId from this call's HDU, which is
far more strongly protected (Golay(18,6,8)+RS(36,20,17)) and
fixed for the life of the call, regardless of the LDU1 decode's
own error count.
On either, keep the established identity for that frame instead of
adopting the new one; audio is untouched. Neither check runs at call
grant/establishment, so this doesn't affect ACL or ad hoc/unregistered
srcIds originating a call -- it only stops an already-established
call's identity from being silently redirected mid-transmission.
* fix(modem): use RS-corrected LC content instead of pre-correction DFSI bytes
In ModemV24's DFSI parsing (both convertToAirV24 and convertToAirTIA,
LDU1 and LDU2), srcId/dstId/lco/mfId and algId/kId/MI were latched
directly from the raw wire bytes as they arrived, before the RS
decode of that same data (m_rs.decode241213/decode24169 on
m_rxCall->LDULC) ran. When the decoder found and corrected symbol
errors, the correction was computed and discarded -- the pre-
correction, still-wrong raw values were what actually got used to
build the outgoing frame. Only a hard decode failure (ret == false)
triggered any recovery.
Thread the RS decoder's corrected-error count out via the errs
out-param added to RS634717::decode241213/decode24169, and on a
successful decode with errs > 0, re-derive the affected fields from
the now-corrected LDULC buffer: LDU1 via the existing LC::decodeLC(),
LDU2 via inline extraction matching LC::decodeLDU2()'s own algId/kId/MI
handling. Logs only when the correction actually changed one of these
fields.
Scoped entirely to ModemV24.cpp (the DFSI/V.24 route); LC.cpp,
RS634717.*, Voice.cpp, and Modem.cpp (the direct RF "air" route) are
unchanged.
* Update FEC Waring Log Message
Include LC content for better indication of what changed.
* Revert Control.cpp and test files to match upstream r05a06_dev exactly per review
… returns for P2 LC handlers; update tests;
… in a race condition;
… creates the plumbing required later once the SDR modems have support for Phase 2);
…e 2 data (such as scrambler offset and MAC PDU Opcode) are sent in P25 Phase 2 frames;
…onnected radio ID aliasing in the future;
…AS_SYNC for fnecore consoles to be able to request the radio alias list from the core;
…128) The Enc Sync content warning only printed algId/kId, but its trigger condition also fires on an MI-only change (memcmp against LDULC), making the log show no apparent difference when only the MI changed.
…ork traffic and network watchdog expiry until the RF talkgroup hang timer expires, and add regression coverage for steering lifetime and cleanup;
…e and prevent denied calls from entering active network audio;
…g for reliable simultaneous call emission;
…fined we will report degraded with health reasons when these are not defined;
…re block the transmit path already uses; (#141) Inbound confirmed PDUs of more than one block failed the packet CRC-32 on every attempt. The receive path stepped 19 bytes per block on the wire and stored 18 byte chunks, while storeConvertedRxPDU() reads 16 bytes of user data per block, so every block after the first was misaligned. A confirmed block on the wire is a sequence/flag byte, 16 bytes of user data and a reserved byte (DFSI_PDU_CONFIRMED_BLOCK_LENGTH_BYTES). The single, header and continuation frame cases now copy the user data through one bounded helper, and reject a frame that is too short for its block count. The single frame layout is checked against a frame captured from a Quantar, using the subscriber's own packet CRC-32 and the IPv4 header checksum. No capture of a header or continuation frame was available; those follow the layout the transmit path generates.
…ighbors, upstream peers and consoles without site peer fanout, track P25 radio monitor requests as subscriber operations, and add regression coverage;
…iliation, because the originating packet is consumed by the downstream peer handler, we only get the system generalized registration, dereg or affil announcements, we treat these as "system" protocol;
…iliation announcements through upstream replica peers, avoid rebuilding local affiliation state from downstream replica announcements, and correct subscriber operation peer attribution;
…s of retained history, update the operation store contract, and add regression coverage for repeated occurrences;
… the FNE configuration, apply the configured values to the operation store, and report the active retention settings at startup;
… metadata and REST responses, retain explicit P25 message field narrowing, and add regression coverage for values above 16 bits;
…a trees using fixed packed request and response payloads, correlate responses hop-by-hop, preserve console JSON compatibility, and add regression coverage;
…places writePeer with writePeerCommand in writePatchStatusPayload(). Removes a metadata dependency in writePatchStatusReplicationPayload() (#142)
…nnections, remove the invalid metadata-port dependency, and update regression coverage;
…variable compiler warnings;
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This is the team r05a06_dev branch merge into master. This will include several outstanding next version changes, and bump the overall project version from R05A04 to R06A00.
This is a major version release, as such all configurations should be validated and vetted. There are very likely breaking changes that will need to be addressed.
Component(s)
Which part(s) of the project does this affect?
Type of change
Related issues
Link any related bug reports.
Closes #
Refs #
Build & test notes
Debian 12 x86_64
GCC 12.2.0
Checklist
Notes for maintainers