Commit ffe65764 authored by Cedric Roux's avatar Cedric Roux

with this commit IP traffic passes between the UE and the eNB

parent 1e1dbc1f
......@@ -6564,7 +6564,7 @@ int generate_eNB_ulsch_params_from_dci(void *dci_pdu,
} else {
#if Rel10
/* DCI0 for a UE configured with more than 1 DL cell is different, see 36.212 5.3.3.1.1 */
if (phy_vars_eNB->CA_configured[UE_id] == 0) {
if (1 || phy_vars_eNB->CA_configured[UE_id] == 0) {
#endif
cqi_req = ((DCI0_5MHz_FDD_t *)dci_pdu)->cqi_req;
cshift = ((DCI0_5MHz_FDD_t *)dci_pdu)->cshift;
......@@ -7024,7 +7024,7 @@ printf("!!new DCI format0!!\n");
if (phy_vars_eNB->dlsch_eNB[UE_id][0]->subframe_tx[dl_subframe]>0) { // we have downlink transmission
#if Rel10
/* set O_ACK to 2 for decoding 2 bits if 2 CCs configured */
if (phy_vars_eNB->CA_configured[UE_id] == 0) {
if (1 || phy_vars_eNB->CA_configured[UE_id] == 0) {
#endif
ulsch->harq_processes[harq_pid]->O_ACK = 1;
#if Rel10
......
......@@ -974,7 +974,7 @@ void schedule_ulsch_rnti(module_id_t module_idP,
#if Rel10
/* rel10 UE with configured scells has a different DCI0 format, see 36.212 5.3.3.1.1 */
if (UE_list->scell_config[UE_id].scell_count == 0) {
if (1 || UE_list->scell_config[UE_id].scell_count == 0) {
#endif
((DCI0_5MHz_FDD_t *)ULSCH_dci)->type = 0;
((DCI0_5MHz_FDD_t *)ULSCH_dci)->hopping = 0;
......
......@@ -1282,8 +1282,8 @@ static void* eNB_thread_rx( void* param )
/* This creates a 2ms reservation every 10ms period*/
attr.sched_policy = SCHED_DEADLINE;
attr.sched_runtime = 1 * 1000000; // each rx thread must finish its job in the worst case in 2ms
attr.sched_deadline = .9 * 1000000; // each rx thread will finish within 2ms
attr.sched_runtime = .9 * 1000000; // each rx thread must finish its job in the worst case in 2ms
attr.sched_deadline = 1 * 1000000; // each rx thread will finish within 2ms
attr.sched_period = 1 * 10000000; // each rx thread has a period of 10ms from the starting point
if (sched_setattr(0, &attr, flags) < 0 ) {
......
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