• Robert Schmidt's avatar
    Split out E1AP net config from Setup Request · a23984c7
    Robert Schmidt authored
    The E1AP Setup Request contained the network configuration (IP address,
    ports) as well as the actual E1AP Setup Request application data
    (Supported PLMNs, ...). This has the drawbacks that
    - The E1AP Setup Request is stored to retrieve IP addresses in the E1AP
      module, which is confusing as the Setup Request, per standard, has no IP
      info
    - The CU-CP received an E1 Setup Request for configuration during start
      up, but it did not actually receive such Setup Request, but merely the
      IP configuration to set up the socket
    
    This commit splits the E1AP Setup Request into a "real" Setup Request
    for application data, and creates a new type e1ap_net_config_t to group
    all IP configuration data. Further, a new ITTI message type
    E1AP_REGISTER_REQ is introduced to group both types. What happens is
    - RCconfig_NR_CU_E1() reads both E1AP application-level data and IP
      configuration, as previously
    - The data is sent to the CU-CP. It discards the E1AP Setup Request
      data, and only uses the network configuration to set up the socket
    - The data is sent to the CU-UP. It uses the network configuration to
      connect to the CU-CP, and then sends the E1AP Setup Request to the
      CU-CP.
    
    Currently, the CU-CP still stores the Setup Request locally, which will
    be changed in the next commit to send it to the RRC.
    a23984c7
gnb_app.c 9.48 KB