This commit does not introduce the callback on the CU-UP to trigger a Bearer Context Setup Failure when the setup of the bearer context was unsuccessful. This should be handled properly in the stack e.g. in e1_bearer_context_setup (a comment in the code says "We assume all DRBs to setup have been setup successfully, so we always send successful outcome in response and no failed DRBs")
51 lines
3.1 KiB
C
51 lines
3.1 KiB
C
/*
|
|
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
|
|
* contributor license agreements. See the NOTICE file distributed with
|
|
* this work for additional information regarding copyright ownership.
|
|
* The OpenAirInterface Software Alliance licenses this file to You under
|
|
* the OAI Public License, Version 1.1 (the "License"); you may not use this file
|
|
* except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.openairinterface.org/?page_id=698
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*-------------------------------------------------------------------------------
|
|
* For more information about the OpenAirInterface (OAI) Software Alliance:
|
|
* contact@openairinterface.org
|
|
*/
|
|
|
|
/* gNB_CUUP application layer -> E1AP messages */
|
|
MESSAGE_DEF(E1AP_REGISTER_REQ, MESSAGE_PRIORITY_MED, e1ap_register_req_t, e1ap_register_req)
|
|
|
|
/* E1AP -> RRC to inform about lost connection */
|
|
MESSAGE_DEF(E1AP_LOST_CONNECTION, MESSAGE_PRIORITY_MED, e1ap_lost_connection_t, e1ap_lost_connection)
|
|
|
|
/* E1AP Interface Management Messages */
|
|
/* GNB-CU-UP E1 Setup Request: gNB-CU-UP -> gNB-CU-CP */
|
|
MESSAGE_DEF(E1AP_SETUP_REQ , MESSAGE_PRIORITY_MED , e1ap_setup_req_t , e1ap_setup_req)
|
|
/* GNB-CU-UP E1 Setup Response: gNB-CU-CP -> gNB-CU-UP */
|
|
MESSAGE_DEF(E1AP_SETUP_RESP , MESSAGE_PRIORITY_MED, e1ap_setup_resp_t , e1ap_setup_resp)
|
|
/* GNB-CU-UP E1 Setup Failure: gNB-CU-CP -> gNB-CU-UP */
|
|
MESSAGE_DEF(E1AP_SETUP_FAIL, MESSAGE_PRIORITY_MED, e1ap_setup_fail_t, e1ap_setup_fail)
|
|
|
|
/* E1AP Bearer Context Management Procedures */
|
|
/* E1AP Bearer Context Setup Request: gNB-CU-CP -> gNB-CU-UP */
|
|
MESSAGE_DEF(E1AP_BEARER_CONTEXT_SETUP_REQ , MESSAGE_PRIORITY_MED , e1ap_bearer_setup_req_t , e1ap_bearer_setup_req)
|
|
/* E1AP Bearer Context Setup Response: gNB-CU-UP -> gNB-CU-CP */
|
|
MESSAGE_DEF(E1AP_BEARER_CONTEXT_SETUP_RESP , MESSAGE_PRIORITY_MED , e1ap_bearer_setup_resp_t , e1ap_bearer_setup_resp)
|
|
/* E1AP Bearer Context Setup Failure: gNB-CU-UP -> gNB-CU-CP */
|
|
MESSAGE_DEF(E1AP_BEARER_CONTEXT_SETUP_FAILURE , MESSAGE_PRIORITY_MED , e1ap_bearer_context_setup_failure_t , e1ap_bearer_setup_fail)
|
|
/* E1AP Bearer Context Modification Request: gNB-CU-CP -> gNB-CU-UP */
|
|
MESSAGE_DEF(E1AP_BEARER_CONTEXT_MODIFICATION_REQ , MESSAGE_PRIORITY_MED , e1ap_bearer_mod_req_t , e1ap_bearer_mod_req)
|
|
/* E1AP Bearer Context Modification Response: gNB-CU-UP -> gNB-CU-CP */
|
|
MESSAGE_DEF(E1AP_BEARER_CONTEXT_MODIFICATION_RESP, MESSAGE_PRIORITY_MED, e1ap_bearer_modif_resp_t, e1ap_bearer_modif_resp)
|
|
/* E1AP Bearer Context Release Request: gNB-CU-CP -> gNB-CU-UP */
|
|
MESSAGE_DEF(E1AP_BEARER_CONTEXT_RELEASE_CMD, MESSAGE_PRIORITY_MED, e1ap_bearer_release_cmd_t, e1ap_bearer_release_cmd)
|
|
/* E1AP Bearer Context Release Response: gNB-CU-UP -> gNB-CU-CP */
|
|
MESSAGE_DEF(E1AP_BEARER_CONTEXT_RELEASE_CPLT, MESSAGE_PRIORITY_MED, e1ap_bearer_release_cplt_t, e1ap_bearer_release_cplt)
|