From af9fca14f71588431a6db44c439c71d7ee43c0e2 Mon Sep 17 00:00:00 2001 From: Raymond Knopp Date: Sun, 13 Oct 2019 11:30:01 +0200 Subject: [PATCH] added prototypes to new functions in mac_proto.h --- openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c | 4 ++-- openair2/LAYER2/NR_MAC_gNB/mac_proto.h | 11 +++++++++++ 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c b/openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c index b887566346..598c0da9bd 100644 --- a/openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c +++ b/openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c @@ -614,9 +614,9 @@ find_nr_UE_id(module_id_t mod_idP, return -1; } - + int add_new_nr_ue(module_id_t mod_idP, - rnti_t rntiP) { + rnti_t rntiP){ int UE_id; int i, j; diff --git a/openair2/LAYER2/NR_MAC_gNB/mac_proto.h b/openair2/LAYER2/NR_MAC_gNB/mac_proto.h index c7fbf4b0b1..d811484c16 100644 --- a/openair2/LAYER2/NR_MAC_gNB/mac_proto.h +++ b/openair2/LAYER2/NR_MAC_gNB/mac_proto.h @@ -113,4 +113,15 @@ int NRRIV2BW(int locationAndBandwidth,int N_RB); int NRRIV2PRBOFFSET(int locationAndBandwidth,int N_RB); +void +dump_nr_ue_list(NR_UE_list_t *listP, + int ul_flag); + +int +find_nr_UE_id(module_id_t mod_idP, + rnti_t rntiP); + +int add_new_nr_ue(module_id_t mod_idP, + rnti_t rntiP); + #endif /*__LAYER2_NR_MAC_PROTO_H__*/