Fix: Send downlink assignment on PCH twice to make reception more safe

If the mobile is not fast enough switching back to CCCH, the second
assignment, which is sent later is usefull in this case.
This commit is contained in:
Andreas Eversberg 2012-07-23 18:04:49 +02:00
parent 642c7d3f5b
commit 7438df7d70
1 changed files with 4 additions and 2 deletions

View File

@ -1505,10 +1505,12 @@ void gprs_rlcmac_trigger_downlink_assignment(gprs_rlcmac_tbf *tbf,
LOGP(DRLCMAC, LOGL_ERROR, "No valid IMSI!\n");
return;
}
/* send immediate assignment */
gprs_rlcmac_downlink_assignment(tbf, 0, imsi);
/* change state */
tbf_new_state(tbf, GPRS_RLCMAC_ASSIGN);
/* send immediate assignment */
gprs_rlcmac_downlink_assignment(tbf, 0, imsi);
/* send immediate assignment */
gprs_rlcmac_downlink_assignment(tbf, 0, imsi);
/* start timer */
tbf_timer_start(tbf, 0, Tassign_agch);
}