Commit 0ecc3149 authored by Cedric Roux's avatar Cedric Roux

bugfix: ul grant is 27 bits, does not fit into uint16_t

parent f62d94c7
...@@ -761,7 +761,7 @@ void nr_fill_rar(uint8_t Mod_idP, ...@@ -761,7 +761,7 @@ void nr_fill_rar(uint8_t Mod_idP,
NR_MAC_RAR *rar = (NR_MAC_RAR *) (dlsch_buffer + 1); NR_MAC_RAR *rar = (NR_MAC_RAR *) (dlsch_buffer + 1);
unsigned char csi_req = 0, tpc_command; unsigned char csi_req = 0, tpc_command;
uint8_t N_UL_Hop, valid_bits; uint8_t N_UL_Hop, valid_bits;
uint16_t ul_grant, f_alloc, prb_alloc, bwp_size, truncation=0; uint32_t ul_grant, f_alloc, prb_alloc, bwp_size, truncation=0;
tpc_command = 3; // this is 0 dB tpc_command = 3; // this is 0 dB
......
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