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
[Epic-ID: ODUHIGH-462][Task-ID: ODUHIGH-472] Changes in handling of slot indication...
[o-du/l2.git]
/
src
/
5gnrsch
/
rg_sch_cmn.c
diff --git
a/src/5gnrsch/rg_sch_cmn.c
b/src/5gnrsch/rg_sch_cmn.c
index
a4f1406
..
924c488
100755
(executable)
--- a/
src/5gnrsch/rg_sch_cmn.c
+++ b/
src/5gnrsch/rg_sch_cmn.c
@@
-44,7
+44,6
@@
#include "rg_sch_inf.h"
#include "rg_sch.h"
#include "rg_sch_cmn.h"
#include "rg_sch_inf.h"
#include "rg_sch.h"
#include "rg_sch_cmn.h"
-
/* header/extern include files (.x) */
#include "tfu.x" /* TFU types */
#include "lrg.x" /* layer management typedefs for MAC */
/* header/extern include files (.x) */
#include "tfu.x" /* TFU types */
#include "lrg.x" /* layer management typedefs for MAC */
@@
-53,6
+52,7
@@
#include "rg_sch_inf.x" /* typedefs for Scheduler */
#include "rg_sch.x" /* typedefs for Scheduler */
#include "rg_sch_cmn.x" /* typedefs for Scheduler */
#include "rg_sch_inf.x" /* typedefs for Scheduler */
#include "rg_sch.x" /* typedefs for Scheduler */
#include "rg_sch_cmn.x" /* typedefs for Scheduler */
+#include "sch_utils.h"
#ifdef MAC_SCH_STATS
#include "lrg.x" /* Stats Structures */
#endif /* MAC_SCH_STATS */
#ifdef MAC_SCH_STATS
#include "lrg.x" /* Stats Structures */
#endif /* MAC_SCH_STATS */
@@
-28098,10
+28098,10
@@
uint8_t newTxMode
if(!(ueDl->mimoInfo.forceTD & RG_SCH_CMN_TD_TXMODE_RECFG))
{
/* Mem Alloc */
if(!(ueDl->mimoInfo.forceTD & RG_SCH_CMN_TD_TXMODE_RECFG))
{
/* Mem Alloc */
- if(SGetSBuf(cell->rgmSap->sapCfg.sapPst.region,
- cell->rgmSap->sapCfg.sapPst.pool, (Data**)&txModeChgInd,
- sizeof(RgmTransModeInd)) != ROK)
+ SCH_ALLOC(txModeChgInd, sizeof(RgmTransModeInd));
+ if(txModeChgInd == NULLP)
{
{
+ DU_LOG("ERROR --> SCH : rgSCHCmnSendTxModeInd(): Memory allocation failed");
return;
}
RG_SCH_FILL_RGM_TRANSMODE_IND(ue->ueId, cell->cellId, newTxMode, txModeChgInd);
return;
}
RG_SCH_FILL_RGM_TRANSMODE_IND(ue->ueId, cell->cellId, newTxMode, txModeChgInd);