fix TBS_UL data_type from uint8_t to uint16_t

This commit is contained in:
Wu Jing
2018-03-06 16:15:24 +09:00
parent 57a9156f88
commit 54cf2d9aef
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -667,7 +667,7 @@ typedef struct {
/// mcs from last UL scheduling
uint8_t mcs_UL[8];
/// TBS from last UL scheduling
uint8_t TBS_UL[8];
uint16_t TBS_UL[8];
/// Flag to indicate UL has been scheduled at least once
boolean_t ul_active;
/// Flag to indicate UE has been configured (ACK from RRCConnectionSetup received)
+1 -1
View File
@@ -2090,7 +2090,7 @@ void schedule_ulsch_rnti(module_id_t module_idP,
0, // ul_tx_mode
0, // current_tx_nb
0, // n_srs
UE_template->TBS_UL[harq_pid]
get_TBS_UL(UE_template->mcs_UL[harq_pid], ulsch_ue_select[CC_id].list[ulsch_ue_num].nb_rb)
);
#ifdef Rel14
if (UE_template->rach_resource_type>0) { // This is a BL/CE UE allocation