Commit 961a70a0 authored by Louis Adrien Dufrene's avatar Louis Adrien Dufrene

Fusion wasn't ok, needed some modifications

parent a4096141
...@@ -1047,18 +1047,18 @@ schedule_ue_spec(module_id_t module_idP, int slice_idxP, ...@@ -1047,18 +1047,18 @@ schedule_ue_spec(module_id_t module_idP, int slice_idxP,
if (TBS - ta_len - header_length_total - sdu_length_total - 3 > 0) { if (TBS - ta_len - header_length_total - sdu_length_total - 3 > 0) {
rlc_status = mac_rlc_status_ind(module_idP, rlc_status = mac_rlc_status_ind(module_idP,
rnti, rnti,
module_idP, module_idP,
frameP, frameP,
subframeP, subframeP,
ENB_FLAG_YES, ENB_FLAG_YES,
MBMS_FLAG_NO, MBMS_FLAG_NO,
lcid, lcid,
TBS - ta_len - header_length_total - sdu_length_total - 3 TBS - ta_len - header_length_total - sdu_length_total - 3
#if (RRC_VERSION >= MAKE_VERSION(14, 0, 0)) #if (LTE_RRC_VERSION >= MAKE_VERSION(14, 0, 0))
, 0, 0 , 0, 0
#endif #endif
); );
if (rlc_status.bytes_in_buffer > 0) { if (rlc_status.bytes_in_buffer > 0) {
LOG_D(MAC, "[eNB %d][USER-PLANE DEFAULT DRB] Frame %d : DTCH->DLSCH, Requesting %d bytes from RLC (lcid %d total hdr len %d)\n", LOG_D(MAC, "[eNB %d][USER-PLANE DEFAULT DRB] Frame %d : DTCH->DLSCH, Requesting %d bytes from RLC (lcid %d total hdr len %d)\n",
...@@ -1077,7 +1077,7 @@ schedule_ue_spec(module_id_t module_idP, int slice_idxP, ...@@ -1077,7 +1077,7 @@ schedule_ue_spec(module_id_t module_idP, int slice_idxP,
lcid, lcid,
TBS, //not used TBS, //not used
(char *)&dlsch_buffer[sdu_length_total] (char *)&dlsch_buffer[sdu_length_total]
#if (RRC_VERSION >= MAKE_VERSION(14, 0, 0)) #if (LTE_RRC_VERSION >= MAKE_VERSION(14, 0, 0))
, 0, 0 , 0, 0
#endif #endif
); );
......
...@@ -190,27 +190,27 @@ uint8_t do_MIB(rrc_eNB_carrier_data_t *carrier, uint32_t N_RB_DL, uint32_t phich ...@@ -190,27 +190,27 @@ uint8_t do_MIB(rrc_eNB_carrier_data_t *carrier, uint32_t N_RB_DL, uint32_t phich
switch (N_RB_DL) { switch (N_RB_DL) {
case 6: case 6:
mib->message.dl_Bandwidth = MasterInformationBlock__dl_Bandwidth_n6; mib->message.dl_Bandwidth = LTE_MasterInformationBlock__dl_Bandwidth_n6;
break; break;
case 15: case 15:
mib->message.dl_Bandwidth = MasterInformationBlock__dl_Bandwidth_n15; mib->message.dl_Bandwidth = LTE_MasterInformationBlock__dl_Bandwidth_n15;
break; break;
case 25: case 25:
mib->message.dl_Bandwidth = MasterInformationBlock__dl_Bandwidth_n25; mib->message.dl_Bandwidth = LTE_MasterInformationBlock__dl_Bandwidth_n25;
break; break;
case 50: case 50:
mib->message.dl_Bandwidth = MasterInformationBlock__dl_Bandwidth_n50; mib->message.dl_Bandwidth = LTE_MasterInformationBlock__dl_Bandwidth_n50;
break; break;
case 75: case 75:
mib->message.dl_Bandwidth = MasterInformationBlock__dl_Bandwidth_n75; mib->message.dl_Bandwidth = LTE_MasterInformationBlock__dl_Bandwidth_n75;
break; break;
case 100: case 100:
mib->message.dl_Bandwidth = MasterInformationBlock__dl_Bandwidth_n100; mib->message.dl_Bandwidth = LTE_MasterInformationBlock__dl_Bandwidth_n100;
break; break;
default: default:
AssertFatal(1==0,"Unknown dl_Bandwidth %d\n",N_RB_DL); AssertFatal(1==0,"Unknown dl_Bandwidth %d\n",N_RB_DL);
......
...@@ -1025,7 +1025,7 @@ void ...@@ -1025,7 +1025,7 @@ void
rrc_eNB_process_RRCConnectionSetupComplete( rrc_eNB_process_RRCConnectionSetupComplete(
const protocol_ctxt_t *const ctxt_pP, const protocol_ctxt_t *const ctxt_pP,
rrc_eNB_ue_context_t *ue_context_pP, rrc_eNB_ue_context_t *ue_context_pP,
RRCConnectionSetupComplete_r8_IEs_t *rrcConnectionSetupComplete LTE_RRCConnectionSetupComplete_r8_IEs_t *rrcConnectionSetupComplete
) )
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
{ {
......
...@@ -796,7 +796,7 @@ void ...@@ -796,7 +796,7 @@ void
rrc_eNB_send_S1AP_NAS_FIRST_REQ( rrc_eNB_send_S1AP_NAS_FIRST_REQ(
const protocol_ctxt_t* const ctxt_pP, const protocol_ctxt_t* const ctxt_pP,
rrc_eNB_ue_context_t* const ue_context_pP, rrc_eNB_ue_context_t* const ue_context_pP,
RRCConnectionSetupComplete_r8_IEs_t* rrcConnectionSetupComplete LTE_RRCConnectionSetupComplete_r8_IEs_t* rrcConnectionSetupComplete
) )
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
{ {
......
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