Allow DUs to reconnect to CU
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.
Showing
Please register or sign in to comment