Commit 9a177fd3 authored by matzakos's avatar matzakos

Bring back mapping check between drb_id and channel_id

parent 45daaedb
......@@ -654,11 +654,11 @@ static void add_drb_am(int rnti, struct LTE_DRB_ToAddMod *s)
exit(1);
}
/*if (channel_id != drb_id + 2) {
if (channel_id != drb_id + 3) {
LOG_E(RLC, "%s:%d:%s: todo, remove this limitation\n",
__FILE__, __LINE__, __FUNCTION__);
exit(1);
}*/
}
logical_channel_group = *l->ul_SpecificParameters->logicalChannelGroup;
......@@ -737,11 +737,11 @@ static void add_drb_um(int rnti, struct LTE_DRB_ToAddMod *s)
exit(1);
}
/*if (channel_id != drb_id + 2) {
if (channel_id != drb_id + 3) {
LOG_E(RLC, "%s:%d:%s: todo, remove this limitation\n",
__FILE__, __LINE__, __FUNCTION__);
exit(1);
}*/
}
logical_channel_group = *l->ul_SpecificParameters->logicalChannelGroup;
......
......@@ -29,7 +29,7 @@ typedef void nr_rlc_ue_manager_t;
typedef struct nr_rlc_ue_t {
int rnti;
nr_rlc_entity_t *srb[3];
nr_rlc_entity_t *drb[5];
nr_rlc_entity_t *drb[4];
} nr_rlc_ue_t;
/***********************************************************************/
......
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