X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?p=o-du%2Fphy.git;a=blobdiff_plain;f=fhi_lib%2Flib%2Fapi%2Fxran_pkt_cp.h;fp=fhi_lib%2Flib%2Fapi%2Fxran_pkt_cp.h;h=33e96b3e0af852ecf22bb9df72e4dd940988c842;hp=531c51fb2cfa0b52e9d5faafbd7a0e120859cb45;hb=892daba4c616407f16506415d5a69549519ef11d;hpb=76b4495d593ccf45d712db1a3ec96fa9d2d8f5f5 diff --git a/fhi_lib/lib/api/xran_pkt_cp.h b/fhi_lib/lib/api/xran_pkt_cp.h index 531c51f..33e96b3 100644 --- a/fhi_lib/lib/api/xran_pkt_cp.h +++ b/fhi_lib/lib/api/xran_pkt_cp.h @@ -401,11 +401,11 @@ struct xran_cp_radioapp_section_ext8 { * The structure does not need the conversion of byte order. */ struct xran_cp_radioapp_section_ext9 { + uint8_t reserved; + uint8_t technology; /**< 5.4.7.9.1 technology (interface name) */ + uint8_t extLen; /**< 5.4.6.3 extension length, in 32bits words */ uint8_t extType:7; /**< 5.4.6.1 extension type */ uint8_t ef:1; /**< 5.4.6.2 extension flag */ - uint8_t extLen; /**< 5.4.6.3 extension length, in 32bits words */ - uint8_t technology; /**< 5.4.7.9.1 technology (interface name) */ - uint8_t reserved; } __attribute__((__packed__)); /** @@ -457,11 +457,11 @@ union xran_cp_radioapp_section_ext11 { 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) */ - } all_bits; + } __attribute__((__packed__)) all_bits; struct{ uint32_t data_field1; uint16_t data_field2; - }data_field; + } __attribute__((__packed__)) data_field; /* * bfwCompParam 5.4.7.11.2 beamforming weight compression parameter for PRB bundle * beamId beam ID for PRB bundle (15bits)