MAC: change all slice_id_t to slice index variables
This commit is contained in:
@@ -1104,8 +1104,8 @@ typedef struct {
|
||||
uint16_t sorting_criteria[MAX_NUM_SLICES][CR_NUM];
|
||||
uint16_t first_rb_offset[NFAPI_CC_MAX][MAX_NUM_SLICES];
|
||||
|
||||
slice_id_t assoc_dl_slice[MAX_MOBILES_PER_ENB];
|
||||
slice_id_t assoc_ul_slice[MAX_MOBILES_PER_ENB];
|
||||
int assoc_dl_slice_idx[MAX_MOBILES_PER_ENB];
|
||||
int assoc_ul_slice_idx[MAX_MOBILES_PER_ENB];
|
||||
|
||||
} UE_list_t;
|
||||
|
||||
@@ -1144,12 +1144,14 @@ typedef struct {
|
||||
* slice specific scheduler for the DL
|
||||
*/
|
||||
typedef void (*slice_scheduler_dl)(module_id_t mod_id,
|
||||
slice_id_t slice_id,
|
||||
int slice_idx,
|
||||
frame_t frame,
|
||||
sub_frame_t subframe,
|
||||
int *mbsfn_flag);
|
||||
|
||||
typedef struct {
|
||||
slice_id_t id;
|
||||
|
||||
/// RB share for each slice for past and current time
|
||||
float pct;
|
||||
float pct_current;
|
||||
@@ -1192,13 +1194,15 @@ typedef struct {
|
||||
} slice_sched_conf_dl_t;
|
||||
|
||||
typedef void (*slice_scheduler_ul)(module_id_t mod_id,
|
||||
slice_id_t slice_id,
|
||||
int slice_idx,
|
||||
frame_t frame,
|
||||
sub_frame_t subframe,
|
||||
unsigned char sched_subframe,
|
||||
uint16_t *first_rb);
|
||||
|
||||
typedef struct {
|
||||
slice_id_t id;
|
||||
|
||||
/// RB share for each slice for past and current time
|
||||
float pct;
|
||||
float pct_current;
|
||||
|
||||
Reference in New Issue
Block a user