#define DU_SET_ZERO(_buf, _size) \
memset((_buf), 0, _size);
+/*Refer Spec 38.331 Annexure A: maxNrofPageRec : 32 [Maximum number of page records]*/
#define MAX_PAGING_UE_RECORDS 32
typedef enum
GtpTnlCfg *tnlCfg2; /* Tunnel 2 */
}UpTnlCfg;
+#ifdef NR_DRX
+/* This structures is taken from the DRX Cycle section of
+ * specification 33.473. */
+typedef struct drxCycle
+{
+ uint16_t drxLongCycleLength;
+ bool shortDrxCyclePres;
+ ShortDrx shortDrxCycle;
+}DrxCycle;
+#endif
+
typedef struct duUeCfg
{
void *cellGrpCfg;
UpTnlCfg upTnlInfo[MAX_NUM_DRB]; /* User plane TNL Info*/
uint8_t numDrbSetupMod; /*No. of DRB Added during Modification*/
MacUeCfg copyOfmacUeCfg;
- DataTransmissionAction dataTransmissionAction;
+ DataTransmissionAction dataTransmissionAction;
+#ifdef NR_DRX
+ bool drxCyclePres;
+ DrxCycle drxCycle;
+#endif
}DuUeCfg;
typedef struct f1UeContextSetup
uint32_t gnbCuUeF1apId; /* GNB CU UE F1AP ID */
uint32_t drbBitMap; /* Drb Bit Map */
UeState ueState; /* UE Active/ Ue Inactive state */
+ MacCfraResource cfraResource; /* CF-RA resource assigned by MAC/SCH */
MacUeCfg macUeCfg; /* Mac Ue Cfg */
RlcUeCfg rlcUeCfg; /* Rlc Ue Cfg */
}DuUeCb;
typedef struct duPagUeRecord
{
- uint16_t pagUeId; /*UEID calculated from 5gsTMSI as per Spec 38.304*/
- uint64_t sTmsi; /*UE Paging Identity: 5GS-TMSI*/
- uint8_t pagPriority; /* Paging priority */
+ uint16_t pagUeId; /*UEID calculated from 5gsTMSI as per Spec 38.304*/
+ uint64_t sTmsi; /* UE Paging Identity: S-TMSI */
}DuPagUeRecord;
typedef struct duPagInfo
uint8_t duHdlSchCfgComplete(Pst *pst, RgMngmt *cfm);
uint8_t duBuildAndSendMacCellStart();
uint8_t duBuildAndSendMacCellStop(uint16_t cellId);
+
#endif
/**********************************************************************