summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
5d64905)
Change-Id: I5847ba441de577bfb261a0563f476eb707d9fcc8
Signed-off-by: Balaji Shankaran <balaji.shankaran@radisys.com>
#include "BIT_STRING.h"
#include "asn_codecs.h"
#include "BIT_STRING.h"
#include "asn_codecs.h"
-#define ENC_BUF_MAX_LEN 200
+#define ENC_BUF_MAX_LEN 400
#define ENCODE_FAIL -1
typedef struct PlmnIdentity
#define ENCODE_FAIL -1
typedef struct PlmnIdentity
/* SIB1 */
srvCellItem->gNB_DU_System_Information->sIB1_message.size =\
/* SIB1 */
srvCellItem->gNB_DU_System_Information->sIB1_message.size =\
+ duCfgParam.srvdCellLst[0].duSysInfo.sib1Len;
DU_ALLOC(srvCellItem->gNB_DU_System_Information->sIB1_message.buf,
srvCellItem->gNB_DU_System_Information->sIB1_message.size);
if(!srvCellItem->gNB_DU_System_Information->sIB1_message.buf)
DU_ALLOC(srvCellItem->gNB_DU_System_Information->sIB1_message.buf,
srvCellItem->gNB_DU_System_Information->sIB1_message.size);
if(!srvCellItem->gNB_DU_System_Information->sIB1_message.buf)
duCfgParam.srvdCellLst[0].duSysInfo.sib1Msg[x];
}
/* Free memory */
duCfgParam.srvdCellLst[0].duSysInfo.sib1Msg[x];
}
/* Free memory */
- DU_FREE(duCfgParam.srvdCellLst[0].duSysInfo.sib1Msg, encBufSize);
+ DU_FREE(duCfgParam.srvdCellLst[0].duSysInfo.sib1Msg,
+ srvCellItem->gNB_DU_System_Information->sIB1_message.size);
DU_FREE(duCfgParam.srvdCellLst[0].duSysInfo.mibMsg,
strlen(duCfgParam.srvdCellLst[0].duSysInfo.mibMsg));
RETVALUE(ROK);
DU_FREE(duCfgParam.srvdCellLst[0].duSysInfo.mibMsg,
strlen(duCfgParam.srvdCellLst[0].duSysInfo.mibMsg));
RETVALUE(ROK);
encBuf);
/* Clean up */
#if 0
encBuf);
/* Clean up */
#if 0
+ DU_FREE(srvCellItem->gNB_DU_System_Information->sIB1_message.buf,
+ srvCellItem->gNB_DU_System_Information->sIB1_message.size);
+ DU_FREE(srvCellItem->gNB_DU_System_Information->mIB_message.buf,
+ srvCellItem->gNB_DU_System_Information->mIB_message.size);
DU_FREE(srvCellItem->served_Cell_Information.\
measurementTimingConfiguration.buf,sizeof(U8));
DU_FREE(srvCellItem->served_Cell_Information.nR_Mode_Info.choice.fDD->\
DU_FREE(srvCellItem->served_Cell_Information.\
measurementTimingConfiguration.buf,sizeof(U8));
DU_FREE(srvCellItem->served_Cell_Information.nR_Mode_Info.choice.fDD->\