X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrsch%2Fsch.h;h=3621feeebb99978ec5ffd92d393a39c1910654c3;hb=791615463ef2fcc0d6e0697d7860e6e6a56bd9a6;hp=2169519540fa5cf9950831ae61a16dd03d7b86ef;hpb=2193e4cf01012809495be026097e8d7eacb9f0ac;p=o-du%2Fl2.git diff --git a/src/5gnrsch/sch.h b/src/5gnrsch/sch.h index 216951954..3621feeeb 100644 --- a/src/5gnrsch/sch.h +++ b/src/5gnrsch/sch.h @@ -127,14 +127,22 @@ typedef struct bsrInfo typedef struct schLcCtxt { + uint8_t lcId; // logical Channel ID uint8_t lcp; // logical Channel Prioritization SchLcState lcState; uint16_t bo; }SchDlLcCtxt; +typedef struct schDlCb +{ + uint8_t numDlLc; + SchDlLcCtxt dlLcCtxt[MAX_NUM_LC]; +}SchDlCb; + typedef struct schUlLcCtxt { - SchLcState lcState; + SchLcState lcState; + uint8_t lcId; uint8_t priority; uint8_t lcGroup; uint8_t schReqId; @@ -142,6 +150,12 @@ typedef struct schUlLcCtxt uint8_t bsd; // bucketSizeDuration }SchUlLcCtxt; +typedef struct schUlCb +{ + uint8_t numUlLc; + SchUlLcCtxt ulLcCtxt[MAX_NUM_LC]; +}SchUlCb; + /** * @brief * UE control block @@ -155,10 +169,8 @@ typedef struct schUeCb SchCellCb *cellCb; bool srRcvd; BsrInfo bsrInfo[MAX_NUM_LOGICAL_CHANNEL_GROUPS]; - uint8_t numUlLc; - SchUlLcCtxt ulLcCtxt[MAX_NUM_LC]; - uint8_t numDlLc; - SchDlLcCtxt dlLcCtxt[MAX_NUM_LC]; + SchUlCb ulInfo; + SchDlCb dlInfo; }SchUeCb; /**