Bring back mapping check between drb_id and channel_id

This commit is contained in:
matzakos
2020-06-15 10:42:04 +02:00
parent 45daaedbda
commit 9a177fd368
2 changed files with 5 additions and 5 deletions
+4 -4
View File
@@ -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;
+1 -1
View File
@@ -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;
/***********************************************************************/