Repository navigation
Closed
Labels
enhancementNew feature or request
Description
Part of the 5G-NR RAN EPIC #254. Phase A.
Goal: UEs join a running cell without disturbing scheduled traffic.
5G mapping
2-step RACH — a joining UE sends a preamble+msg in a reserved contention slot; the DU replies with a MACID + grant in the next beacon (fewer round-trips than LTE 4-step).
Deliverables (into src/cell/ + examples/cell)
-
N-UE associationDescoped for M3 (maintainer decision): the join is authenticated with the cell PSK (HMAC-SHA1) before any allocation; the full 802.11/WPA2 association is not part of M3. N-UE association — generalize the single-clienttests/ap_responder.cpp+tests/ap_wpa2.cpp(beacon/probe/auth/assoc/DHCP/WPA2/CCMP) intoUeRegistry. Authenticate before allocating persistent resources (from the review — don't hand a MACID/grant to an unauthenticated preamble). -
Rach— a reserved contention slot in theSlotGrid; joining UE sends a preamble, the DU allocates MACID + grant and answers in the next beacon (2-step: preamble+msg → grant). Robust contention (from the review): randomized contention opportunities, collision detection/resolution, backoff, a temporary identity until association, duplicate-request detection, and defined exhaustion/denial behavior when the MACID/grant pool is full. Core cell: M3 core — authenticated 2-step RACH + fixed-position UE registry #520 (src/cell/Rach.h,UeRegistry.h, ctestcell_m3);examples/cellintegration examples/cell: M3 — join a running cell through the authenticated RACH (rig: hot-plug, undisturbed UE) #522 (rig: hot-plugged joiner granted on its first attempt, existing UE undisturbed, wrong-PSK joiner refused).
Reuses
The AP association machinery (ap_responder.cpp, ap_wpa2.cpp), AckResponder, M1's UeRegistry/GrantMap/SlotGrid.
Dependencies
M1 (#254 tracks).
Test — tests/cell_rach.sh
DU + 1 active UE (scheduled traffic running); hot-plug a 3rd station that joins via the RACH slot within N beacons and receives a collision-free grant — the existing UE's slot is undisturbed throughout. Reuse ap_wpa2_demo.sh for the association leg.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or request
Activity
cell: M3 core — authenticated 2-step RACH + fixed-position UE registry
cell: M3 core — authenticated 2-step RACH + fixed-position UE registry
cell: M3 core — authenticated 2-step RACH + fixed-position UE registry (
examples/cell: M3 — join a running cell through the authenticated RAC…
docs cell M3: departure measured on the rig; association descoped (#564)
josephnef commentedon Nov 12, 2026
Closing, with the full 802.11 association descoped as agreed. The join is authenticated with the cell PSK, and nothing is allocated before the tag and freshness check passes (
src/cell/Rach.h).Done and verified:
src/cell/Rach.h(cell: M3 core — authenticated 2-step RACH + fixed-position UE registry #520/examples/cell: M3 — join a running cell through the authenticated RACH (rig: hot-plug, undisturbed UE) #522). On the rig the hot-plugged joiner was granted on its first attempt, two superframes later; the existing UE stayed undisturbed; a wrong-PSK joiner got nothing.m3_cell_rach.sh --leave-at,results/2026-11-12-m3-departure.txt. The DU released the joiner 51 superframes after its last uplink and granted it no more; UE1 stayed 434/434 in slot; the witness saw 0 overlaps. The docs are updated in docs cell M3: departure measured on the rig; association descoped #564.Headless only: on-air contention with several joiners, and the pool-full denial (
tests/cell_m3_selftest.cpp). The test lives in testrig (m3_cell_rach.sh), nottests/cell_rach.sh.