mirror of
https://gitlab.eurecom.fr/oai/openairinterface5g.git
synced 2026-07-13 04:30:28 +00:00
fix (sdap): copy entity_role on reflective QoS mapping
After new per-DRB SDAP roles changes, UE downlink reflective mapping (TS 37.324 §5.3.2) still stored only drb_id on the new QFI row. entity_role stayed NO_SDAP_HEADER, so later uplink TX and §5.3.1 end-marker logic read the wrong header config from that row. When storing the reflective UL rule, copy the receiving DRB entity_role (from nr_sdap_drb_lookup) together with drb_id, matching qfi2drb_map_add. Changes: - nr_sdap_rx_entity(): set qfi2drb_table[qfi].entity_role on RDI store Refs: - TS 37.324 §5.3.1, §5.3.2 - TS 38.331 SDAP-Config (sdap-HeaderUL / sdap-HeaderDL) Signed-off-by: Guido Casati <guido.casati@openairinterface.org>
This commit is contained in:
@@ -344,11 +344,12 @@ static void nr_sdap_rx_entity(nr_sdap_entity_t *entity,
|
||||
}
|
||||
|
||||
/*
|
||||
* TS 37.324 5.3 QoS flow to DRB Mapping
|
||||
* 5.3.2 Reflective mapping
|
||||
* store the QoS flow to DRB mapping of the DL SDAP data PDU as the QoS flow to DRB mapping rule for the UL.
|
||||
* TS 37.324 §5.3.2 Reflective mapping: store the DL QoS flow to DRB mapping
|
||||
* as the UL mapping rule. sdap-HeaderUL/DL are per DRB: copy the
|
||||
* receiving DRB role onto the QFI row together with drb_id.
|
||||
*/
|
||||
entity->qfi2drb_table[sdap_hdr->QFI].drb_id = pdcp_entity;
|
||||
entity->qfi2drb_table[sdap_hdr->QFI].entity_role = drb_role;
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user