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-FormatInformationParameters.h b/src/ranap/RANAP_SDU-FormatInformationParameters.h
index e3bdd31..b1b0a27 100644
--- a/src/ranap/RANAP_SDU-FormatInformationParameters.h
+++ b/src/ranap/RANAP_SDU-FormatInformationParameters.h
@@ -11,11 +11,8 @@
#include <asn_application.h>
/* Including external dependencies */
+#include "RANAP_SDU-FormatInformationParameterItem.h"
#include <asn_SEQUENCE_OF.h>
-#include "RANAP_SubflowSDU-Size.h"
-#include "RANAP_RAB-SubflowCombinationBitRate.h"
-#include "RANAP_IE-Extensions.h"
-#include <constr_SEQUENCE.h>
#include <constr_SEQUENCE_OF.h>
#ifdef __cplusplus
@@ -24,18 +21,7 @@
/* RANAP_SDU-FormatInformationParameters */
typedef struct RANAP_SDU_FormatInformationParameters {
- A_SEQUENCE_OF(struct MemberE {
- RANAP_SubflowSDU_Size_t *subflowSDU_Size /* OPTIONAL */;
- RANAP_RAB_SubflowCombinationBitRate_t *rAB_SubflowCombinationBitRate /* 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_FormatInformationParameterItem_t) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;