NR RRC - Initialized function for SRB2 generation

parent be473479
...@@ -21,6 +21,15 @@ ...@@ -21,6 +21,15 @@
#include "rrc_gNB_drbs.h" #include "rrc_gNB_drbs.h"
NR_SRB_ToAddMod_t *generateSRB2() {
NR_SRB_ToAddMod_t *SRB2_config = NULL;
SRB2_config = CALLOC(1, sizeof(*SRB2_config));
SRB2_config->srb_Identity = 2;
return SRB2_config;
}
NR_DRB_ToAddMod_t *generateDRB(gNB_RRC_UE_t *ue, NR_DRB_ToAddMod_t *generateDRB(gNB_RRC_UE_t *ue,
uint8_t drb_id, uint8_t drb_id,
const pdu_session_param_t *pduSession, const pdu_session_param_t *pduSession,
......
...@@ -35,6 +35,7 @@ ...@@ -35,6 +35,7 @@
#define GBR_FLOW (1) #define GBR_FLOW (1)
#define NONGBR_FLOW (0) #define NONGBR_FLOW (0)
NR_SRB_ToAddMod_t *generateSRB2(void);
NR_DRB_ToAddMod_t *generateDRB(gNB_RRC_UE_t *rrc_ue, NR_DRB_ToAddMod_t *generateDRB(gNB_RRC_UE_t *rrc_ue,
uint8_t drb_id, uint8_t drb_id,
const pdu_session_param_t *pduSession, const pdu_session_param_t *pduSession,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment