mirror of
https://gitlab.eurecom.fr/oai/openairinterface5g.git
synced 2026-07-13 04:30:28 +00:00
SDAP header handling fixes (#249) OAI SDAP treated SDAP header presence as a single PDU-session flag (enable_sdap), so a valid asymmetric RRC config (UL header present, DL header absent) caused the UE to parse downlink payload as an SDAP QFI and drop traffic (e.g. IPv4 0x45 -> bogus QFI 5). SDAP now follows RRC SDAP-Config per DRB and per direction from (TS 38.331 / TS 37.324). Header presence, QFI-to-DRB mapping, and default-DRB fallback all derive from what RRC configured for each DRB. In the new implementation, RRC (SDAP-Config IE) fills sdap_config_t per DRB (role, defaultDRB, mapped QFIs), SDAP entity stores it in qfi2drb_table + default_drb row to be used in the TX/RX data path. Also, simplify mapping logic, improves E1 QoS-flow remap, and completes UE reflective QoS mapping with the correct entity_role on new QFI rows. Reviewed-by: Robert Schmidt <robert.schmidt@openairinterface.org> Reviewed-by: Bartosz Podrygajlo <bartosz.podrygajlo@openairinterface.org>