From 39d3477d84c1b7feb1da69d1e7d17442fa70e39c Mon Sep 17 00:00:00 2001 From: Robert Schmidt Date: Mon, 24 Nov 2025 17:56:08 +0100 Subject: [PATCH] TODO: reimplement NR_gNB_PHY_STATS_t lookup Signed-off-by: Robert Schmidt --- openair1/PHY/INIT/nr_init.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openair1/PHY/INIT/nr_init.c b/openair1/PHY/INIT/nr_init.c index 2246fcdde1..a007bbd6d7 100644 --- a/openair1/PHY/INIT/nr_init.c +++ b/openair1/PHY/INIT/nr_init.c @@ -50,6 +50,8 @@ int l1_north_init_gNB() NR_gNB_PHY_STATS_t *get_phy_stats(PHY_VARS_gNB *gNB, uint16_t rnti) { + // TODO reimplement with hashtable? also called from both UL/DL => not + // thread-safe NR_gNB_PHY_STATS_t *stats; int first_free = -1; for (int i = 0; i < MAX_MOBILES_PER_GNB; i++) {