RANAP: Split FormatInformationParameter / SDUParameterItem
The definition of the above data types as per 3GPP specs results in a
SEQUENCE_OF() an anonymous structure, which is slightly inconvenient to
use. So let's split the SEQUENCE OF part and the actual definition of
the item in separate types.
diff --git a/src/ranap/RANAP_SDU-Parameters.h b/src/ranap/RANAP_SDU-Parameters.h
index 818cb2e..5b3f765 100644
--- a/src/ranap/RANAP_SDU-Parameters.h
+++ b/src/ranap/RANAP_SDU-Parameters.h
@@ -11,13 +11,8 @@
#include <asn_application.h>
/* Including external dependencies */
+#include "RANAP_SDU-ParameterItem.h"
#include <asn_SEQUENCE_OF.h>
-#include "RANAP_SDU-ErrorRatio.h"
-#include "RANAP_ResidualBitErrorRatio.h"
-#include "RANAP_DeliveryOfErroneousSDU.h"
-#include "RANAP_SDU-FormatInformationParameters.h"
-#include "RANAP_IE-Extensions.h"
-#include <constr_SEQUENCE.h>
#include <constr_SEQUENCE_OF.h>
#ifdef __cplusplus
@@ -26,20 +21,7 @@
/* RANAP_SDU-Parameters */
typedef struct RANAP_SDU_Parameters {
- A_SEQUENCE_OF(struct MemberI {
- RANAP_SDU_ErrorRatio_t *sDU_ErrorRatio /* OPTIONAL */;
- RANAP_ResidualBitErrorRatio_t residualBitErrorRatio;
- RANAP_DeliveryOfErroneousSDU_t deliveryOfErroneousSDU;
- RANAP_SDU_FormatInformationParameters_t *sDU_FormatInformationParameters /* OPTIONAL */;
- RANAP_IE_Extensions_t *iE_Extensions /* OPTIONAL */;
- /*
- * This type is extensible,
- * possible extensions are below.
- */
-
- /* Context for parsing across buffer boundaries */
- asn_struct_ctx_t _asn_ctx;
- } ) list;
+ A_SEQUENCE_OF(RANAP_SDU_ParameterItem_t) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;