|
|
@ -498,6 +498,7 @@ void phch_recv::run_thread()
|
|
|
|
/* Radio overflow detected. If CAMPING, go through SFN sync again and when
|
|
|
|
/* Radio overflow detected. If CAMPING, go through SFN sync again and when
|
|
|
|
* SFN is found again go back to camping
|
|
|
|
* SFN is found again go back to camping
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
if (!pthread_mutex_trylock(&rrc_mutex)) {
|
|
|
|
if (radio_is_overflow) {
|
|
|
|
if (radio_is_overflow) {
|
|
|
|
// If we are coming back from an overflow
|
|
|
|
// If we are coming back from an overflow
|
|
|
|
if (radio_overflow_return) {
|
|
|
|
if (radio_overflow_return) {
|
|
|
@ -523,6 +524,8 @@ void phch_recv::run_thread()
|
|
|
|
// If overflow occurs in any other state, it does not harm
|
|
|
|
// If overflow occurs in any other state, it does not harm
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
pthread_mutex_unlock(&rrc_mutex);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Increase TTI counter
|
|
|
|
// Increase TTI counter
|
|
|
|
tti = (tti+1) % 10240;
|
|
|
|
tti = (tti+1) % 10240;
|
|
|
|