X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrsch%2Fsch.h;h=523ee97579eb4513db738f16fc56b1b4429c1057;hb=bd2905b5f651349abafb7934a952414d7c24e291;hp=965a7f35e021f1b292e545988ddebc400f99bde3;hpb=3364273455756ae289662a274d5bcbf391ecd58e;p=o-du%2Fl2.git diff --git a/src/5gnrsch/sch.h b/src/5gnrsch/sch.h index 965a7f35e..523ee9757 100644 --- a/src/5gnrsch/sch.h +++ b/src/5gnrsch/sch.h @@ -74,7 +74,8 @@ typedef enum typedef enum { SCH_UE_STATE_INACTIVE, - SCH_UE_STATE_ACTIVE + SCH_UE_STATE_ACTIVE, + SCH_UE_HANDIN_IN_PROGRESS }SchUeState; typedef enum @@ -90,19 +91,6 @@ typedef enum WINDOW_EXPIRED }RaRspWindowStatus; -typedef enum -{ - SEARCH, - CREATE, - DELETE -}ActionTypeLcLL; - -typedef enum -{ - DIR_UL, - DIR_DL -}Direction; - /** * @brief * Structure holding LTE MAC's General Configuration information. @@ -225,6 +213,7 @@ typedef struct schUlCb typedef struct schUeCfgCb { uint16_t cellId; + uint8_t ueId; uint16_t crnti; bool macCellGrpCfgPres; SchMacCellGrpCfg macCellGrpCfg; @@ -235,6 +224,7 @@ typedef struct schUeCfgCb SchAmbrCfg *ambrCfg; SchModulationInfo dlModInfo; SchModulationInfo ulModInfo; + SchDataTransmission dataTransmissionAction; }SchUeCfgCb; /*Following structures to keep record and estimations of PRB allocated for each @@ -273,7 +263,7 @@ typedef struct schLcPrbEstimate */ typedef struct schUeCb { - uint16_t ueIdx; + uint16_t ueId; uint16_t crnti; SchUeCfgCb ueCfg; SchUeState state; @@ -299,6 +289,31 @@ typedef struct schRaReq SlotTimingInfo winEndTime; }SchRaReq; +typedef struct schPageInfo +{ + uint8_t pf; /*Value of Paging Frame received from DUAPP*/ + uint8_t i_s; /*Value of Paging Occ Index received from DUAPP*/ + SlotTimingInfo TxTime; /*Start Paging window*/ + uint8_t crntSsbIdx; /*Counts the slot till totalSSB is receached*/ + uint8_t mcs; + uint8_t nPRB; + uint16_t msgLen; + uint8_t *pagePdu; +}SchPageInfo; + +typedef struct schPagingOcc +{ + uint8_t frameOffset; + uint8_t pagingOccSlot; +}SchPagingOcc; + +typedef struct schPageCb +{ + CmLListCp pageReqInfoRecord[MAX_SFN]; /*List of Page Records received which are stored per sfn*/ + SchPagingOcc pagMonOcc[MAX_PO_PER_PF]; /*Paging Occasion Slot/FrameOffset are stored*/ + SchPageInfo currPageInfo; /*Page Req which is being currently processed */ +}SchPageCb; + /** * @brief * Cell Control block per cell. @@ -323,6 +338,7 @@ typedef struct schCellCb uint32_t boIndBitMap; /*!