NR RRC - Consider GBR or Non-GBR flow for selecting the next available DRB "
Note: at this point we have a dedicated DRB per 5QI.
This commit is contained in:
@@ -826,14 +826,16 @@ rrc_gNB_generate_dedicatedRRCReconfiguration(
|
|||||||
for(long drb_id_add = 1; drb_id_add <= nb_drb_to_setup; drb_id_add++){
|
for(long drb_id_add = 1; drb_id_add <= nb_drb_to_setup; drb_id_add++){
|
||||||
if(drb_id_add > MAX_DRBS_PER_PDUSESSION)
|
if(drb_id_add > MAX_DRBS_PER_PDUSESSION)
|
||||||
break;
|
break;
|
||||||
uint8_t drb_id = next_available_drb(ue_p, ue_context_pP->ue_context.pduSession[i].param.pdusession_id, NONGBR_FLOW);
|
uint8_t drb_id;
|
||||||
|
|
||||||
// Reference TS23501 Table 5.7.4-1: Standardized 5QI to QoS characteristics mapping
|
// Reference TS23501 Table 5.7.4-1: Standardized 5QI to QoS characteristics mapping
|
||||||
for (qos_flow_index = 0; qos_flow_index < ue_context_pP->ue_context.pduSession[i].param.nb_qos; qos_flow_index++) {
|
for (qos_flow_index = 0; qos_flow_index < ue_context_pP->ue_context.pduSession[i].param.nb_qos; qos_flow_index++) {
|
||||||
switch (ue_context_pP->ue_context.pduSession[i].param.qos[qos_flow_index].fiveQI) {
|
switch (ue_context_pP->ue_context.pduSession[i].param.qos[qos_flow_index].fiveQI) {
|
||||||
case 1 ... 4: /* GBR */
|
case 1 ... 4: /* GBR */
|
||||||
|
drb_id = next_available_drb(ue_p, ue_context_pP->ue_context.pduSession[i].param.pdusession_id, GBR_FLOW);
|
||||||
break;
|
break;
|
||||||
case 5 ... 9: /* Non-GBR */
|
case 5 ... 9: /* Non-GBR */
|
||||||
|
drb_id = next_available_drb(ue_p, ue_context_pP->ue_context.pduSession[i].param.pdusession_id, NONGBR_FLOW);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|||||||
Reference in New Issue
Block a user