Preserve OTA block progress and channel checks during radio recovery
Drain received packets in single-profile radio fault backoff as well as dual-profile mode. Share the normal channel-clear and bounded busy policy with driver retries so a failed send cannot retry blindly or bypass the existing single-retry limit. Retain an unadmitted OTA request flight and count v2 fallback evidence only after a sparse retry enters the transmit queue. Local queue congestion no longer disables v2 before a request was sent or discards received fragments. Include primary airtime when temporary RX-only radio2 crosses requests onto that channel, keeping response allowances conservative on slower profiles. Add six native regressions, including five failing-before cases, and document the queue-admission and crossover timing behavior. Validation: 1,502 native tests, 29 integration checks, and five firmware builds passed across ESP32-S3, nRF52, and STM32.
This commit is contained in:
1 parent
0582366527
commit
dde87f1d15
9 files changed
+216
-44
No files matched your search
+5
-2
@@ -178,8 +178,11 @@ does not reflect the GoogleTest count -- run the built binary directly
|
||||
ordinary traffic during OTA pacing; `test_packet_manager` checks that intentional
|
||||
pacing survives stale expiry without erasing prior congestion age.
|
||||
- OTA delivery: `test_ota` keeps rejected queue admissions out of metadata retry
|
||||
limits; `test_trace_retry` advances the clock during CAD to catch selection and
|
||||
pacing bypasses and cancels retries while the chip stays BUSY.
|
||||
limits and preserves v2 negotiation/received fragments during blocked block
|
||||
requests; `test_trace_retry` advances the clock during CAD to catch selection
|
||||
and pacing bypasses, cancels retries while the chip stays BUSY, and checks
|
||||
channel clearance, RX draining, and bounded recovery for radio fault retries.
|
||||
It also accounts for the primary's airtime when an RX-only radio2 crosses TX.
|
||||
`python3 -B test/test_ota_apply_delivery.py -v` executes the
|
||||
production apply/TX guards with a reply on air, a busy queue, failed persistence,
|
||||
and clock rollover. It checks application and bootloader reboot paths.
|
||||
|
||||
Reference in new issue
Block a user