Commit f64ed095 authored by Cedric Roux's avatar Cedric Roux

bugfix: increase size of nrb

We can have 273 RBs, so 8 bits to store the number of RBs is not enough.
16 bits ought to be enough for anybody.
parent 646cec27
...@@ -138,16 +138,16 @@ typedef struct f1ap_setup_req_s { ...@@ -138,16 +138,16 @@ typedef struct f1ap_setup_req_s {
struct fdd_s { struct fdd_s {
uint32_t ul_nr_arfcn; uint32_t ul_nr_arfcn;
uint8_t ul_scs; uint8_t ul_scs;
uint8_t ul_nrb; uint16_t ul_nrb;
uint32_t dl_nr_arfcn; uint32_t dl_nr_arfcn;
uint8_t dl_scs; uint8_t dl_scs;
uint8_t dl_nrb; uint16_t dl_nrb;
uint32_t sul_active; uint32_t sul_active;
uint32_t sul_nr_arfcn; uint32_t sul_nr_arfcn;
uint8_t sul_scs; uint8_t sul_scs;
uint8_t sul_nrb; uint16_t sul_nrb;
uint8_t ul_num_frequency_bands; uint8_t ul_num_frequency_bands;
uint16_t ul_nr_band[32]; uint16_t ul_nr_band[32];
...@@ -163,12 +163,12 @@ typedef struct f1ap_setup_req_s { ...@@ -163,12 +163,12 @@ typedef struct f1ap_setup_req_s {
uint32_t nr_arfcn; uint32_t nr_arfcn;
uint8_t scs; uint8_t scs;
uint8_t nrb; uint16_t nrb;
uint32_t sul_active; uint32_t sul_active;
uint32_t sul_nr_arfcn; uint32_t sul_nr_arfcn;
uint8_t sul_scs; uint8_t sul_scs;
uint8_t sul_nrb; uint16_t sul_nrb;
uint8_t num_frequency_bands; uint8_t num_frequency_bands;
uint16_t nr_band[32]; uint16_t nr_band[32];
......
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