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
[JIRA ID: ODUHIGH-232]: RB config for MAC and SCH
[o-du/l2.git]
/
src
/
5gnrsch
/
sch.h
diff --git
a/src/5gnrsch/sch.h
b/src/5gnrsch/sch.h
index
2169519
..
3621fee
100644
(file)
--- a/
src/5gnrsch/sch.h
+++ b/
src/5gnrsch/sch.h
@@
-127,14
+127,22
@@
typedef struct bsrInfo
typedef struct schLcCtxt
{
typedef struct schLcCtxt
{
+ uint8_t lcId; // logical Channel ID
uint8_t lcp; // logical Channel Prioritization
SchLcState lcState;
uint16_t bo;
}SchDlLcCtxt;
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
{
typedef struct schUlLcCtxt
{
- SchLcState lcState;
+ SchLcState lcState;
+ uint8_t lcId;
uint8_t priority;
uint8_t lcGroup;
uint8_t schReqId;
uint8_t priority;
uint8_t lcGroup;
uint8_t schReqId;
@@
-142,6
+150,12
@@
typedef struct schUlLcCtxt
uint8_t bsd; // bucketSizeDuration
}SchUlLcCtxt;
uint8_t bsd; // bucketSizeDuration
}SchUlLcCtxt;
+typedef struct schUlCb
+{
+ uint8_t numUlLc;
+ SchUlLcCtxt ulLcCtxt[MAX_NUM_LC];
+}SchUlCb;
+
/**
* @brief
* UE control block
/**
* @brief
* UE control block
@@
-155,10
+169,8
@@
typedef struct schUeCb
SchCellCb *cellCb;
bool srRcvd;
BsrInfo bsrInfo[MAX_NUM_LOGICAL_CHANNEL_GROUPS];
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;
/**
}SchUeCb;
/**