From 4924b18ebd2e76aa09f1a9f6f2d6692df2dfec56 Mon Sep 17 00:00:00 2001
From: Robert Schmidt <robert.schmidt@eurecom.fr>
Date: Fri, 2 Mar 2018 14:52:12 +0100
Subject: [PATCH] FlexRAN: send RNTI in protobuf mac_stats_reply message

---
 openair2/ENB_APP/CONTROL_MODULES/MAC/flexran_agent_mac.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/openair2/ENB_APP/CONTROL_MODULES/MAC/flexran_agent_mac.c b/openair2/ENB_APP/CONTROL_MODULES/MAC/flexran_agent_mac.c
index 0997f2b435..6cb79efb11 100644
--- a/openair2/ENB_APP/CONTROL_MODULES/MAC/flexran_agent_mac.c
+++ b/openair2/ENB_APP/CONTROL_MODULES/MAC/flexran_agent_mac.c
@@ -70,7 +70,8 @@ int flexran_agent_mac_stats_reply(mid_t mod_id,
 
           for (i = 0; i < report_config->nr_ue; i++) {
 
-
+                ue_report[i]->rnti = report_config->ue_report_type[i].ue_rnti;
+                ue_report[i]->has_rnti = 1;
 
                 /* Check flag for creation of buffer status report */
                 if (report_config->ue_report_type[i].ue_report_flags & PROTOCOL__FLEX_UE_STATS_TYPE__FLUST_BSR) {
-- 
GitLab