diff --git a/openair2/COMMON/as_message.h b/openair2/COMMON/as_message.h
index af927f6dab9826f155939af308b0be381899962e..cdf6792151b1c5b0d5536183fef46ff1bc447ea8 100644
--- a/openair2/COMMON/as_message.h
+++ b/openair2/COMMON/as_message.h
@@ -581,20 +581,6 @@ typedef struct as_message_s {
   } __attribute__((__packed__)) msg;
 } as_message_t;
 
-typedef struct {
-  NR_ReestablishmentCause_t cause;
-} nr_mac_rrc_config_reset_t;
-typedef struct {
-  NR_CellGroupConfig_t* cellGroupConfig;
-  NR_UE_NR_Capability_t* UE_NR_Capability;
-} nr_mac_rrc_config_cg_t;
-typedef struct {
-  NR_BCCH_BCH_Message_t* bcch;
-  int get_sib;
-} nr_mac_rrc_config_mib_t;
-typedef struct {
-  NR_SIB1_t* sib1;
-} nr_mac_rrc_config_sib1_t;
 /****************************************************************************/
 /********************  G L O B A L    V A R I A B L E S  ********************/
 /****************************************************************************/
diff --git a/openair2/COMMON/rrc_messages_types.h b/openair2/COMMON/rrc_messages_types.h
index 3c1c7102609ff050e0d70829595497d80c912266..6343cd998fb0fa2762453b9da0d6d3e16089c593 100644
--- a/openair2/COMMON/rrc_messages_types.h
+++ b/openair2/COMMON/rrc_messages_types.h
@@ -462,4 +462,20 @@ typedef struct {
   int ue_id;
 } RlcMaxRtxIndication;
 
+#include "openair2/RRC/NR_UE/rrc_defs.h"
+typedef struct {
+  NR_ReestablishmentCause_t cause;
+} nr_mac_rrc_config_reset_t;
+typedef struct {
+  NR_CellGroupConfig_t *cellGroupConfig;
+  NR_UE_NR_Capability_t *UE_NR_Capability;
+} nr_mac_rrc_config_cg_t;
+typedef struct {
+  NR_BCCH_BCH_Message_t *bcch;
+  int get_sib;
+} nr_mac_rrc_config_mib_t;
+typedef struct {
+  NR_SIB1_t *sib1;
+} nr_mac_rrc_config_sib1_t;
+
 #endif /* RRC_MESSAGES_TYPES_H_ */