Repository navigation
cell M6: a handover arrival's DL — the UE's DL status report - #562
Conversation
PR Summary by QodoReduce handover DL gaps with UE status and pre-arrival HARQ cleanup
AI Description
Diagram
High-Level Assessment
Files changed (7)
|
Code Review by Qodo
1. New arrivals can lose earlier downlinks
|
…ival HARQ given up - The UE beacon (protocol v5) carries its DL stream status: the stream, the newest sn delivered, which of the 32 below it are pending (DlStreamRx::status, UeDlStatus) — 3GPP's PDCP status report. - A handover target prunes its queue for the UE by that status (prune_dl_queue, cell.dl.status_prune): from the UE's own uplinks, and before the switch from its beacons to the source (heard on one channel, or as a visit copy across channels; area tag). - Until the target hears an arriving UE every frame to it is new: frames aired before it switched are given up (HarqSender::abandon_all, seqs never reused), their PDUs back in the queue; at its first uplink its feedback is applied first (cell.ho.arrival_heard). - cell.dl.pdu_in also for staged and arriving queues. Rig (m6_daps_dl): the crossing's return switch 84/94 ms (392/392 before), plain same-channel switch 112 ms x3, first target frame new in every DAPS run, 0 DL / 0 UL lost with DAPS. Full M6 regression passes. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
16d3e5e to
2107483
Compare
|
Review fixes pushed:
The UE body is 8 bytes longer (still protocol v5, not released). Rig on the fixed build: |
|
Qodo's re-review marks #3 resolved. Findings 1, 2 and 4 are still listed, but the text quotes the pre-fix code; the pushed head (2107483) has the fixes:
Adding skip-qodo-gate. |
Part of #260 (M6, "shared sequence handling … and state cleanup during handover"), epic #254. Follows #561.
The crossing's return switch (same channel) had 392 ms of DL gap where a plain same-channel switch had 112 ms. The UE's first frames from the target were HARQ retransmissions (attempts 2–3) of PDUs it already had: the target airs to an arriving UE from the handover's effective superframe, but the UE switches 2–200 ms after that instant, and a due retransmission goes before new data.
Pre-arrival HARQ (
src/cell/Harq.h,examples/cell)HarqSender::abandon_all, seqs never reused) and their PDUs go back in the queue.cell.ho.arrival_heard) its HARQ feedback is applied first, so a frame it caught is ACKed, and the rest are given up.DL status report (protocol v5)
DlStreamRx::status,UeDlStatus, under the cell and area tags). This is 3GPP's PDCP status report.prune_dl_queue,cell.dl.status_prune): every sn the UE has goes, and so does anything older than the reorder window. It learns the status from the UE's own uplinks, and before the switch from the UE's beacons to its source, heard on one channel or as a visit copy across channels (area tag).Rig (testrig
m6_daps_dl.sh, DL gap across each switch, DAPS):m6_daps_xch: 122–123 ms, 166 where the source had the newest PDU; visit copies pruned the target 122 times. Full M6 regression passes: measgap, three_ho, crossing3, handover, daps, daps_dl, crossing.🤖 Generated with Claude Code