Commit e882526b authored by roux's avatar roux

minor fix, there was:

  *subframe = (current_subframe+8) % 10;
in get_Msg3_alloc_ret.
Now there is:
  *subframe = (current_subframe+8);
because, well, because.
(Hey it's time for lunch!)


git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7649 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent a7c0adc4
......@@ -126,14 +126,14 @@ void get_Msg3_alloc_ret(LTE_DL_FRAME_PARMS *frame_parms,
unsigned char *subframe)
{
if (frame_parms->frame_type == FDD) {
// always retransmit in n+8
*subframe = (current_subframe+8) % 10;
/* always retransmit in n+8 */
*subframe = current_subframe + 8;
if (*subframe>9) {
*subframe = *subframe-10;
*frame = (current_frame+1) & 1023;
if (*subframe > 9) {
*subframe = *subframe - 10;
*frame = (current_frame + 1) & 1023;
} else {
*frame=current_frame;
*frame = current_frame;
}
} else {
if (frame_parms->tdd_config == 1) {
......
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