Code Review
/
o-du
/
l2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
replaced cmMemSet, cmMemcpy with memset and memcpy resp AND Removed TRC() traces...
[o-du/l2.git]
/
src
/
du_app
/
du_e2ap_msg_hdl.c
diff --git
a/src/du_app/du_e2ap_msg_hdl.c
b/src/du_app/du_e2ap_msg_hdl.c
index
125f00a
..
d8f98ba
100644
(file)
--- a/
src/du_app/du_e2ap_msg_hdl.c
+++ b/
src/du_app/du_e2ap_msg_hdl.c
@@
-69,7
+69,7
@@
uint8_t BuildGlobalgNBId(GlobalE2node_gNB_ID_t *gNbId)
else
{
buildPlmnId(duCfgParam.srvdCellLst[0].duCellInfo.cellInfo.nrCgi.plmn, \
else
{
buildPlmnId(duCfgParam.srvdCellLst[0].duCellInfo.cellInfo.nrCgi.plmn, \
-
&gNbId->global_gNB_ID.plmn_id
);
+
gNbId->global_gNB_ID.plmn_id.buf
);
/* fill gND Id */
gNbId->global_gNB_ID.gnb_id.present = GNB_ID_Choice_PR_gnb_ID;
/* Allocate Buffer size */
/* fill gND Id */
gNbId->global_gNB_ID.gnb_id.present = GNB_ID_Choice_PR_gnb_ID;
/* Allocate Buffer size */
@@
-236,7
+236,7
@@
uint8_t BuildAndSendE2SetupReq()
/* Prints the Msg formed */
xer_fprint(stdout, &asn_DEF_E2AP_PDU, e2apMsg);
/* Prints the Msg formed */
xer_fprint(stdout, &asn_DEF_E2AP_PDU, e2apMsg);
- memset(
(uint8_t *)
encBuf, 0, ENC_BUF_MAX_LEN);
+ memset(encBuf, 0, ENC_BUF_MAX_LEN);
encBufSize = 0;
encRetVal = aper_encode(&asn_DEF_E2AP_PDU, 0, e2apMsg, PrepFinalEncBuf,\
encBuf);
encBufSize = 0;
encRetVal = aper_encode(&asn_DEF_E2AP_PDU, 0, e2apMsg, PrepFinalEncBuf,\
encBuf);
@@
-678,7
+678,7
@@
uint8_t BuildAndSendRicSubscriptionRsp()
/* Prints the Msg formed */
xer_fprint(stdout, &asn_DEF_E2AP_PDU, e2apRicMsg);
/* Prints the Msg formed */
xer_fprint(stdout, &asn_DEF_E2AP_PDU, e2apRicMsg);
- memset(
(uint8_t *)
encBuf, 0, ENC_BUF_MAX_LEN);
+ memset(encBuf, 0, ENC_BUF_MAX_LEN);
encBufSize = 0;
encRetVal = aper_encode(&asn_DEF_E2AP_PDU, 0, e2apRicMsg, PrepFinalEncBuf,\
encBuf);
encBufSize = 0;
encRetVal = aper_encode(&asn_DEF_E2AP_PDU, 0, e2apRicMsg, PrepFinalEncBuf,\
encBuf);
@@
-1029,7
+1029,7
@@
uint8_t FillRicIndication(RICindication_t *ricIndicationMsg)
else
{
buildPlmnId(duCfgParam.srvdCellLst[0].duCellInfo.cellInfo.nrCgi.plmn, \
else
{
buildPlmnId(duCfgParam.srvdCellLst[0].duCellInfo.cellInfo.nrCgi.plmn, \
-
&ricIndicationMsg->protocolIEs.list.array[idx]->value.choice.RICindicationHeader
);
+
ricIndicationMsg->protocolIEs.list.array[idx]->value.choice.RICindicationHeader.buf
);
idx++;
/* TO BE CHANGED: RIC INDICATION DATA */
/* For now filling a dummy octect data, need to tested with PRBs*/
idx++;
/* TO BE CHANGED: RIC INDICATION DATA */
/* For now filling a dummy octect data, need to tested with PRBs*/
@@
-1049,7
+1049,7
@@
uint8_t FillRicIndication(RICindication_t *ricIndicationMsg)
else
{
buildPlmnId(duCfgParam.srvdCellLst[0].duCellInfo.cellInfo.nrCgi.plmn, \
else
{
buildPlmnId(duCfgParam.srvdCellLst[0].duCellInfo.cellInfo.nrCgi.plmn, \
-
&ricIndicationMsg->protocolIEs.list.array[idx]->value.choice.RICindicationMessage
);
+
ricIndicationMsg->protocolIEs.list.array[idx]->value.choice.RICindicationMessage.buf
);
}
}
}
}
}
}
@@
-1111,7
+1111,7
@@
uint8_t BuildAndSendRicIndication()
}
/* Prints the Msg formed */
xer_fprint(stdout, &asn_DEF_E2AP_PDU, e2apMsg);
}
/* Prints the Msg formed */
xer_fprint(stdout, &asn_DEF_E2AP_PDU, e2apMsg);
- memset(
(uint8_t *)
encBuf, 0, ENC_BUF_MAX_LEN);
+ memset(encBuf, 0, ENC_BUF_MAX_LEN);
encBufSize = 0;
encRetVal = aper_encode(&asn_DEF_E2AP_PDU, 0, e2apMsg, PrepFinalEncBuf,\
encBuf);
encBufSize = 0;
encRetVal = aper_encode(&asn_DEF_E2AP_PDU, 0, e2apMsg, PrepFinalEncBuf,\
encBuf);