Commit 16b0b5f0 authored by Cedric Roux's avatar Cedric Roux

bugfix: length type too short

On a setup, length of cellGroupConfig was > 255.

Using uint8_t to store the length is thus wrong
and gives a bad encoding of the cellGroupConfig.

So let's use uint32_t to store length instead of uint8_t.
parent 2de56bf3
...@@ -358,11 +358,11 @@ typedef struct cu_to_du_rrc_information_s { ...@@ -358,11 +358,11 @@ typedef struct cu_to_du_rrc_information_s {
typedef struct du_to_du_rrc_information_s { typedef struct du_to_du_rrc_information_s {
uint8_t * cellGroupConfig; uint8_t * cellGroupConfig;
uint8_t cellGroupConfig_length; uint32_t cellGroupConfig_length;
uint8_t * measGapConfig; uint8_t * measGapConfig;
uint8_t measGapConfig_length; uint32_t measGapConfig_length;
uint8_t * requestedP_MaxFR1; uint8_t * requestedP_MaxFR1;
uint8_t requestedP_MaxFR1_length; uint32_t requestedP_MaxFR1_length;
}du_to_cu_rrc_information_t; }du_to_cu_rrc_information_t;
typedef enum QoS_information_e { typedef enum QoS_information_e {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment