Commit 248235b2 authored by Navid Nikaein's avatar Navid Nikaein Committed by Robert Schmidt

Keep the LCID priority in MAC layer to sort the UE accordingly

parent a7653f0b
...@@ -852,16 +852,21 @@ rrc_mac_config_req_eNB(module_id_t Mod_idP, ...@@ -852,16 +852,21 @@ rrc_mac_config_req_eNB(module_id_t Mod_idP,
LOG_E(MAC, "%s:%d:%s: ERROR, UE_id == -1\n", __FILE__, LOG_E(MAC, "%s:%d:%s: ERROR, UE_id == -1\n", __FILE__,
__LINE__, __FUNCTION__); __LINE__, __FUNCTION__);
} else { } else {
if (logicalChannelConfig) if (logicalChannelConfig) {
UE_list-> UE_list->
UE_template[CC_idP][UE_id].lcgidmap UE_template[CC_idP][UE_id].lcgidmap
[logicalChannelIdentity] = [logicalChannelIdentity] =
*logicalChannelConfig-> *logicalChannelConfig->
ul_SpecificParameters->logicalChannelGroup; ul_SpecificParameters->logicalChannelGroup;
else UE_list->
UE_list-> UE_template[CC_idP][UE_id].lcgidpriority
UE_template[CC_idP][UE_id].lcgidmap [logicalChannelIdentity]=
[logicalChannelIdentity] = 0; logicalChannelConfig->ul_SpecificParameters->priority;
} else
UE_list->
UE_template[CC_idP][UE_id].lcgidmap
[logicalChannelIdentity] = 0;
} }
} }
......
...@@ -849,6 +849,9 @@ typedef struct { ...@@ -849,6 +849,9 @@ typedef struct {
/// LCGID mapping /// LCGID mapping
long lcgidmap[11]; long lcgidmap[11];
///UE logical channel priority
long lcgidpriority[11];
/// phr information /// phr information
int8_t phr_info; int8_t phr_info;
......
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