• Robert Schmidt's avatar
    Allow DUs to reconnect to CU · 474c3507
    Robert Schmidt authored
    Previous to this commit, the CU creates an F1 instance and initializes
    GTP after a successful connection establishment, and tears the F1
    instance down after the DU disconnects. This does not work when trying
    to connect multiple DUs, or have them reconnect, as e.g., GTP
    re-initialization fails (socket already bound).
    
    This commit makes the CU F1 instance creation and GTP init at CU task
    init (only once), and also frees the F1 instance only after the CU task
    exits, which is at termination of the application, typically.
    474c3507
f1ap_cu_task.c 9.67 KB