-struct xran_cp_radioapp_section_ext5 {
- uint32_t reserved0:8;
- uint32_t mcScaleOffset2:15; /**< 5.4.7.5.3 scaling value for modulation compression */
- uint32_t csf2:1; /**< 5.4.7.5.2 constellation shift flag */
- uint32_t mcScaleReMask2:12; /**< 5.4.7.5.1 modulation compression power scale RE mask */
- uint32_t mcScaleOffset1:15; /**< 5.4.7.5.3 scaling value for modulation compression */
- uint32_t csf1:1; /**< 5.4.7.5.2 constellation shift flag */
- uint32_t mcScaleReMask1:12; /**< 5.4.7.5.1 modulation compression power scale RE mask */
+
+#define xran_cp_radioapp_sec_ext10_ExtType 0
+#define xran_cp_radioapp_sec_ext10_EF 7
+#define xran_cp_radioapp_sec_ext10_ExtLen 8
+#define xran_cp_radioapp_sec_ext10_NumPortc 16
+#define xran_cp_radioapp_sec_ext10_BeamGroupType 22
+#define xran_cp_radioapp_sec_ext10_Res0 24
+
+
+/**
+ * @ingroup xran_cp_pkt
+ *
+ * @description
+ * Flexible Beamforming Weights Extension Type (ExtType 11)
+ * Defined in 5.4.7.11 Table 5-35
+ * The structure is reordered for network byte order.
+ */
+union xran_cp_radioapp_section_ext11 {
+ struct {
+ uint32_t reserved:6;
+ uint32_t RAD:1; /**< 5.4.7.11.8 Reset After PRB Discontinuity */
+ uint32_t disableBFWs:1; /**< 5.4.7.11.6 disable beamforming weights */
+ uint32_t extLen:16; /**< extension length in 32bits words - 2bytes */
+ uint32_t extType:7; /**< 5.4.6.1 extension type */
+ uint32_t ef:1; /**< 5.4.6.2 extension flag */
+ uint8_t numBundPrb; /**< 5.4.7.11.3 Number of bundled PRBs per beamforming weights */
+ uint8_t bfwCompMeth:4; /**< 5.4.7.11.1 Beamforming weight Compression method (5.4.7.1.1) */
+ uint8_t bfwIqWidth:4; /**< 5.4.7.11.1 Beamforming weight IQ bit width (5.4.7.1.1) */
+ } __attribute__((__packed__)) all_bits;
+ struct{
+ uint32_t data_field1;
+ uint16_t data_field2;
+ } __attribute__((__packed__)) data_field;
+ /*
+ * bfwCompParam 5.4.7.11.2 beamforming weight compression parameter for PRB bundle
+ * beamId beam ID for PRB bundle (15bits)
+ * bfwI / bfwQ ....... beamforming weights for PRB bundle
+ * .....
+ * repeat until PRB bundle L
+ *
+ * zero pad (4-byte boundary)
+ */