From 711518ba00c21d9d44263d62e5db7a8d3616ec83 Mon Sep 17 00:00:00 2001 From: Robert Schmidt Date: Wed, 28 Feb 2024 08:03:08 +0100 Subject: [PATCH] Move NUMBER_FRAMES_PHY_UE_INACTIVE to smaller scope --- common/openairinterface5g_limits.h | 2 -- openair1/PHY/NR_TRANSPORT/nr_ulsch.h | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/openairinterface5g_limits.h b/common/openairinterface5g_limits.h index d9e49e26a7..d2f44a6195 100644 --- a/common/openairinterface5g_limits.h +++ b/common/openairinterface5g_limits.h @@ -12,8 +12,6 @@ # define NUMBER_OF_SRS_MAX 16 # define NUMBER_OF_SCH_STATS_MAX 16 -#define NUMBER_FRAMES_PHY_UE_INACTIVE 10 - #define MAX_MANAGED_ENB_PER_MOBILE 2 #define MAX_MANAGED_GNB_PER_MOBILE 2 diff --git a/openair1/PHY/NR_TRANSPORT/nr_ulsch.h b/openair1/PHY/NR_TRANSPORT/nr_ulsch.h index ec7f6cae69..76fbb5da7f 100644 --- a/openair1/PHY/NR_TRANSPORT/nr_ulsch.h +++ b/openair1/PHY/NR_TRANSPORT/nr_ulsch.h @@ -33,6 +33,8 @@ #include "PHY/defs_gNB.h" #include "common/utils/threadPool/thread-pool.h" +#define NUMBER_FRAMES_PHY_UE_INACTIVE 10 + void free_gNB_ulsch(NR_gNB_ULSCH_t *ulsch, uint16_t N_RB_UL); NR_gNB_ULSCH_t new_gNB_ulsch(uint8_t max_ldpc_iterations, uint16_t N_RB_UL);