• Guido Casati's avatar
    Refactor QFI to DRB mapping logic · 3efaafa6
    Guido Casati authored
    nr_sdap_qfi2drb_map_update function pointer should
    process QFIs to add and release from the entity mapping, therefore
    a new function pointer for QFIs to add was introduced and
    the function pointer to release the QFIs was called in the same function.
    
    Now the nr_sdap_qfi2drb_map_update is:
    (1) looping through the QFIs to add/update and store in the qfi2drb_table
    (2) looping through the QFIs to release and delete from qfi2drb_table
    
    Also:
    
    * Update the function signature to use sdap_config_t and nr_sdap_entity_t
    * log error when the update fails
    * limit the scope of the function
    * clang-formatted
    * removed limit on table entries set by AVLBL_DRB, replaced with MAX_DRBS_PER_UE
    3efaafa6
nr_sdap_entity.c 28.5 KB