Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
oai
openairinterface5G
Commits
17aefade
Commit
17aefade
authored
Dec 12, 2016
by
Bilel
Browse files
remove temporary harq process for ue (ul)
parent
e0bf855f
Changes
3
Hide whitespace changes
Inline
Side-by-side
openair1/PHY/LTE_TRANSPORT/dci_tools.c
View file @
17aefade
...
...
@@ -6453,11 +6453,11 @@ int generate_ue_ulsch_params_from_dci(void *dci_pdu,
// subframe,
// ulsch->Mlimit);
//#endif
/*
if (ulsch->harq_processes[harq_pid]->round > 0) // NACK detected on phich
{
// ulsch->harq_processes[harq_pid]->round++; already done on phich_rx
ulsch
->
harq_processes
[
harq_pid
]
=
ulsch
->
harq_processes
[
8
];
//
ulsch->harq_processes[harq_pid] = ulsch->harq_processes[8];
// LOG_I(PHY," Adaptative retransmission - copy temporary harq Process to current harq process. [harqId %d round %d] \n",harq_pid, ulsch->harq_processes[8]->round);
if (ulsch->harq_processes[harq_pid]->round >= ulsch->Mlimit) //UE_mac_inst[eNB_id].scheduling_info.maxHARQ_Tx)
...
...
@@ -6479,7 +6479,7 @@ int generate_ue_ulsch_params_from_dci(void *dci_pdu,
//LOG_I(PHY," [HARQ-UL harqId: %d] Adaptative retransmission NACK ==> subframe_scheduling_flag = %d round: %d\n", harq_pid, ulsch->harq_processes[harq_pid]->subframe_scheduling_flag,ulsch->harq_processes[harq_pid]->round);
}
}
*/
}
}
...
...
openair1/PHY/LTE_TRANSPORT/defs.h
View file @
17aefade
...
...
@@ -283,7 +283,7 @@ typedef struct {
/// SRS active flag
uint8_t
srs_active
;
/// Pointers to 8 HARQ processes for the ULSCH
LTE_UL_UE_HARQ_t
*
harq_processes
[
9
];
LTE_UL_UE_HARQ_t
*
harq_processes
[
8
];
/// Pointer to CQI data
uint8_t
o
[
MAX_CQI_BYTES
];
/// Length of CQI data (bits)
...
...
openair1/PHY/LTE_TRANSPORT/phich.c
View file @
17aefade
...
...
@@ -1441,7 +1441,7 @@ void rx_phich(PHY_VARS_UE *ue,
// rely only on DCI0 decoding and check if NDI has toggled
// save current harq_processes content in temporary struct
// harqId-8 corresponds to the temporary struct. In total we have 8 harq process(0 ..7) + 1 temporary harq process()
ulsch
->
harq_processes
[
8
]
=
ulsch
->
harq_processes
[
harq_pid
];
//
ulsch->harq_processes[8] = ulsch->harq_processes[harq_pid];
ulsch
->
harq_processes
[
harq_pid
]
->
subframe_scheduling_flag
=
0
;
ulsch
->
harq_processes
[
harq_pid
]
->
status
=
IDLE
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment