rrc runtime errors fixed
This commit is contained in:
@@ -97,7 +97,7 @@
|
|||||||
#include "SIMULATION/TOOLS/sim.h" // for taus
|
#include "SIMULATION/TOOLS/sim.h" // for taus
|
||||||
|
|
||||||
#define ASN_MAX_ENCODE_SIZE 1000
|
#define ASN_MAX_ENCODE_SIZE 1000
|
||||||
static int add_CG_ConfigInfo(char **enc_buf,rrc_eNB_ue_context_t *const ue_context_pP,int * enc_size);
|
static int add_CG_ConfigInfo(char *enc_buf,rrc_eNB_ue_context_t *const ue_context_pP,int * enc_size);
|
||||||
static int is_en_dc_supported(LTE_UE_EUTRA_Capability_t *c);
|
static int is_en_dc_supported(LTE_UE_EUTRA_Capability_t *c);
|
||||||
static void free_rb_config(struct NR_RadioBearerConfig *rb_config);
|
static void free_rb_config(struct NR_RadioBearerConfig *rb_config);
|
||||||
static void free_cg_configinfo(struct NR_CG_ConfigInfo *cg_configinfo);
|
static void free_cg_configinfo(struct NR_CG_ConfigInfo *cg_configinfo);
|
||||||
@@ -4371,7 +4371,8 @@ rrc_eNB_process_MeasurementReport(
|
|||||||
|
|
||||||
if(is_en_dc_supported(ue_context_pP->ue_context.UE_Capability)) {
|
if(is_en_dc_supported(ue_context_pP->ue_context.UE_Capability)) {
|
||||||
/** to add gNB as Secondary node CG-ConfigInfo to be added as per 36.423 r15 **/
|
/** to add gNB as Secondary node CG-ConfigInfo to be added as per 36.423 r15 **/
|
||||||
if(add_CG_ConfigInfo(&enc_buf,ue_context_pP,&enc_size) == RRC_OK)
|
enc_buf = calloc(1,1000);
|
||||||
|
if(add_CG_ConfigInfo(enc_buf,ue_context_pP,&enc_size) == RRC_OK)
|
||||||
LOG_I(RRC,"CG-ConfigInfo encoded successfully\n");
|
LOG_I(RRC,"CG-ConfigInfo encoded successfully\n");
|
||||||
msg = itti_alloc_new_message(TASK_RRC_ENB, X2AP_ENDC_SGNB_ADDITION_REQ);
|
msg = itti_alloc_new_message(TASK_RRC_ENB, X2AP_ENDC_SGNB_ADDITION_REQ);
|
||||||
X2AP_ENDC_SGNB_ADDITION_REQ(msg).rnti = ctxt_pP->rnti;
|
X2AP_ENDC_SGNB_ADDITION_REQ(msg).rnti = ctxt_pP->rnti;
|
||||||
@@ -4523,9 +4524,9 @@ rrc_eNB_process_MeasurementReport(
|
|||||||
* this api is to fill and encode CG-ConfigInfo
|
* this api is to fill and encode CG-ConfigInfo
|
||||||
*/
|
*/
|
||||||
int add_CG_ConfigInfo(
|
int add_CG_ConfigInfo(
|
||||||
char **enc_buf,
|
char *enc_buf,
|
||||||
rrc_eNB_ue_context_t *const ue_context_pP,
|
rrc_eNB_ue_context_t *const ue_context_pP,
|
||||||
int * enc_size
|
int *enc_size
|
||||||
) {
|
) {
|
||||||
struct NR_CG_ConfigInfo *cg_configinfo = NULL;
|
struct NR_CG_ConfigInfo *cg_configinfo = NULL;
|
||||||
struct NR_RadioBearerConfig *rb_config = NULL;
|
struct NR_RadioBearerConfig *rb_config = NULL;
|
||||||
|
|||||||
Reference in New Issue
Block a user