Commit f8afdf79 authored by Robert Schmidt's avatar Robert Schmidt

Chieh to check: fix NR_list_t UE_sched

parent 77e33086
......@@ -520,7 +520,9 @@ void pf_ul(module_id_t module_id,
NR_UE_info_t *UE_info = &RC.nrmac[module_id]->UE_info;
const int min_rb = 5;
float coeff_ue[MAX_MOBILES_PER_GNB];
NR_UE_list_t UE_sched;
// UEs that could be scheduled
int ue_array[MAX_MOBILES_PER_GNB];
NR_list_t UE_sched = { .head = -1, .next = ue_array, .tail = -1, .len = MAX_MOBILES_PER_GNB };
int *uep = &UE_sched.head;
/* Loop UE_list to calculate throughput and coeff */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment