XNAP: add encode/decode and unit test for Xn Handover Success

- Add Handover Success message type definitions
- Implement encoder and decoder for Handover Success
    Handover Success (3GPP TS 38.423v16.2.0 §9.1.1.12)
    - Source NG-RAN node UE XnAP ID (M)
    - Target NG-RAN node UE XnAP ID (M)
    - Requested Target Cell Global ID (M)
- Add equality check and memory management helpers
- Extend XNAP library unit tests to cover Handover Success

Reviewed-by: Venkatareddy Akumalla <venkatareddy.akumalla@openairinterface.org>
Signed-off-by: Mohammed Safwan <mohammed.safwan@openairinterface.org>
This commit is contained in:
Mohammed Safwan
2026-06-12 17:44:49 +05:30
parent 7cf0e252b3
commit e7f12fdd61
4 changed files with 160 additions and 0 deletions

View File

@@ -390,4 +390,14 @@ typedef struct {
xnap_cause_t cause;
} xnap_handover_cancel_t;
/* 3GPP TS 38.423 9.1.1.12 Handover Success */
typedef struct {
/* Source NG-RAN node UE XnAP ID (M) */
uint32_t s_ng_node_ue_xnap_id;
/* Target NG-RAN node UE XnAP ID (M) */
uint32_t t_ng_node_ue_xnap_id;
/* Requested Target Cell Global ID (M) */
xnap_ngran_cgi_t target_cgi;
} xnap_handover_success_t;
#endif /* XNAP_MESSAGES_TYPES_H_ */