mirror of
https://gitlab.eurecom.fr/oai/openairinterface5g.git
synced 2026-07-13 04:30:28 +00:00
xran: fixes for FDD operation (#270) Two fixes in the xran fronthaul found while bringing up an FDD cell (Band n1, 10 MHz). Verified on a Band n1 FDD 10 MHz cell using Keysight RUsim/UEsim, End-to-end UE attach and traffic work. - Derive TTI from the configured numerology instead of a hardcoded 20 slots per frame: xran_fh_tx_send_slot() assumed 30 kHz SCS. Compute slots_per_frame as 10 << mu from the fronthaul config (mu_number[0] for K release, frame_conf.nNumerology for F release), so the TTI is correct for any numerology. With the original code, PRACH was not working properly. - Fix DL transmission in FDD mode: the TDD DL/guard slot check skipped every DL slot in FDD, where no TDD pattern exists and all slots carry DL. The check is now only applied when the frame duplex type is not FDD. Without this, no DL traffic was sent. Reviewed-by: Teodora Vladić <teodora.vladic@openairinterface.org> Reviewed-by: Robert Schmidt <robert.schmidt@openairinterface.org>