XNAP: add encode/decode and unit test for Xn Setup Response

- Add Xn Setup Response message type definitions
- Implement encoder and decoder for Xn Setup Response
     Xn Setup Response (3GPP TS 38.423v16.2.0 §9.1.3.2)
   - Global NG-RAN Node ID (M)
   - TAI Support List (M)
- Add equality check and memory management helpers
- Extend XNAP library unit tests to cover Setup Response
This commit is contained in:
Rakesh BB
2026-03-10 11:00:31 +00:00
parent 08b454bd15
commit 467015e005
5 changed files with 259 additions and 1 deletions
+10
View File
@@ -62,4 +62,14 @@ typedef struct {
xnap_amf_region_info_t *amf_region_info;
} xnap_setup_req_t;
/* 3GPP TS 38.423 9.1.3.2 – Xn Setup Response */
typedef struct {
// Global NG-RAN Node ID (gNB_id+plmn) (M)
uint32_t gNB_id;
plmn_id_t plmn;
// TAI Support List (M)
uint16_t num_tai;
xnap_tai_support_t *tai_support;
} xnap_setup_resp_t;
#endif /* XNAP_MESSAGES_TYPES_H_ */