Add F1AP positioning deactivation message enc/dec + test

Reference: 3GPP 38.473 v16.21.0
Mandatory fields:
gNB-CU UE F1AP ID (supported)
gNB-DU UE F1AP ID (supported)
CHOICE Abort Transmission
 > SRS Resource Set ID deactivation
 > Release ALL
This commit is contained in:
Rakesh Mundlamuri
2026-01-15 15:00:31 +05:30
parent 99b1bfbdfd
commit f579e03b16
4 changed files with 261 additions and 0 deletions
+25
View File
@@ -1031,6 +1031,22 @@ typedef struct f1ap_srs_type_s {
f1ap_srs_type_u choice;
} f1ap_srs_type_t;
typedef union f1ap_abort_transmission_c {
uint8_t srs_resource_set_id;
bool release_all;
} f1ap_abort_transmission_u;
typedef enum f1ap_abort_transmission_e {
F1AP_ABORT_TRANSMISSION_PR_NOTHING,
F1AP_ABORT_TRANSMISSION_PR_SRSRESOURCESETID,
F1AP_ABORT_TRANSMISSION_PR_RELEASEALL
} f1ap_abort_transmission_pr;
typedef struct f1ap_abort_transmission_s {
f1ap_abort_transmission_pr present;
f1ap_abort_transmission_u choice;
} f1ap_abort_transmission_t;
typedef struct f1ap_positioning_information_req_s {
// IE 9.3.1.4 (mandatory)
uint32_t gNB_CU_ue_id;
@@ -1085,4 +1101,13 @@ typedef struct f1ap_positioning_activation_failure_s {
long cause_value;
} f1ap_positioning_activation_failure_t;
typedef struct f1ap_positioning_deactivation_s {
// IE 9.3.1.4 (mandatory)
uint32_t gNB_CU_ue_id;
// IE 9.3.1.5 (mandatory)
uint32_t gNB_DU_ue_id;
// (mandatory)
f1ap_abort_transmission_t abort_transmission;
} f1ap_positioning_deactivation_t;
#endif /* F1AP_MESSAGES_TYPES_H_ */