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
Renaming GET_UE_IDX to GET_UE_ID in 5gnrmac [Issue-ID: ODUHIGH-401]
[o-du/l2.git]
/
src
/
5gnrmac
/
mac_ue_mgr.c
diff --git
a/src/5gnrmac/mac_ue_mgr.c
b/src/5gnrmac/mac_ue_mgr.c
index
77fc0f9
..
8b92f95
100644
(file)
--- a/
src/5gnrmac/mac_ue_mgr.c
+++ b/
src/5gnrmac/mac_ue_mgr.c
@@
-2615,7
+2615,7
@@
uint8_t MacSendUeDeleteRsp(uint16_t cellId, uint16_t crnti, UeDeleteStatus resul
/* Filling UE delete response */
deleteRsp->cellId = cellId;
/* Filling UE delete response */
deleteRsp->cellId = cellId;
- GET_UE_ID
X(crnti,
deleteRsp->ueId);
+ GET_UE_ID
(crnti,
deleteRsp->ueId);
deleteRsp->result = result;
/* Fill Post structure and send UE delete response*/
deleteRsp->result = result;
/* Fill Post structure and send UE delete response*/
@@
-2697,7
+2697,7
@@
void deletePucchResourcesCfg(PucchResrcCfg *resrcCfg)
uint8_t MacProcSchUeDeleteRsp(Pst *pst, SchUeDeleteRsp *schUeDelRsp)
{
uint8_t MacProcSchUeDeleteRsp(Pst *pst, SchUeDeleteRsp *schUeDelRsp)
{
- uint8_t ueId
x
=0, isCrntiValid = 0;
+ uint8_t ueId =0, isCrntiValid = 0;
uint16_t cellIdx=0;
uint8_t ret = RFAILED;
UeDeleteStatus result;
uint16_t cellIdx=0;
uint8_t ret = RFAILED;
UeDeleteStatus result;
@@
-2723,23
+2723,23
@@
uint8_t MacProcSchUeDeleteRsp(Pst *pst, SchUeDeleteRsp *schUeDelRsp)
}
else
{
}
else
{
- GET_UE_ID
X(schUeDelRsp->crnti, ueIdx
);
- if(macCb.macCell[cellIdx]->ueCb[ueId
x
-1].crnti == schUeDelRsp->crnti)
+ GET_UE_ID
(schUeDelRsp->crnti, ueId
);
+ if(macCb.macCell[cellIdx]->ueCb[ueId -1].crnti == schUeDelRsp->crnti)
{
/*Commenting as S-NSSAI and PDU session will be stored in MAC DB in future scope*/
#if 0
/*Looping around LCs to free S-NSSAI memory*/
{
/*Commenting as S-NSSAI and PDU session will be stored in MAC DB in future scope*/
#if 0
/*Looping around LCs to free S-NSSAI memory*/
- for(lcIdx = 0; lcIdx < (macCb.macCell[cellIdx]->ueCb[ueId
x
-1].ulInfo.numUlLc); lcIdx++)
+ for(lcIdx = 0; lcIdx < (macCb.macCell[cellIdx]->ueCb[ueId -1].ulInfo.numUlLc); lcIdx++)
{
{
- MAC_FREE(macCb.macCell[cellIdx]->ueCb[ueId
x
-1].ulInfo.lcCb[lcIdx].snssai, sizeof(Snssai));
+ MAC_FREE(macCb.macCell[cellIdx]->ueCb[ueId -1].ulInfo.lcCb[lcIdx].snssai, sizeof(Snssai));
}
}
- for(lcIdx = 0; lcIdx < (macCb.macCell[cellIdx]->ueCb[ueId
x
-1].dlInfo.numDlLc); lcIdx++)
+ for(lcIdx = 0; lcIdx < (macCb.macCell[cellIdx]->ueCb[ueId -1].dlInfo.numDlLc); lcIdx++)
{
{
- MAC_FREE(macCb.macCell[cellIdx]->ueCb[ueId
x
-1].dlInfo.lcCb[lcIdx].snssai, sizeof(Snssai));
+ MAC_FREE(macCb.macCell[cellIdx]->ueCb[ueId -1].dlInfo.lcCb[lcIdx].snssai, sizeof(Snssai));
}
#endif
}
#endif
- memset(&macCb.macCell[cellIdx]->ueCb[ueId
x
-1], 0, sizeof(MacUeCb));
+ memset(&macCb.macCell[cellIdx]->ueCb[ueId -1], 0, sizeof(MacUeCb));
macCb.macCell[cellIdx]->numActvUe--;
result = SUCCESS;
ret = ROK;
macCb.macCell[cellIdx]->numActvUe--;
result = SUCCESS;
ret = ROK;