Commit 94ac102f authored by fnabet's avatar fnabet

update UE RRC timers only once per subframe

parent b10df82b
......@@ -1928,7 +1928,7 @@ ue_scheduler(
//if (subframe%5 == 0)
//LG#ifdef EXMIMO
//#ifdef UE_NR_PHY_DEMO
// call pdcp_run every subframe on TTI0. To check later if OK
// NR demo: call pdcp_run every subframe on TTI0. To check later if OK
if (isNewTxSubframe)
//#endif
{
......@@ -1944,6 +1944,8 @@ ue_scheduler(
UE_mac_inst[module_idP].rxNRTti = rxNRTtiP;
//#endif
//NR demo: update RRC timers and check RRC state only once per subframe
if (isNewTxSubframe) {
#ifdef CELLULAR
rrc_rx_tx(module_idP, txFrameP, 0, eNB_indexP);
#else
......@@ -1995,6 +1997,7 @@ ue_scheduler(
}
#endif
}
// Check Contention resolution timer (put in a function later)
if (UE_mac_inst[module_idP].RA_contention_resolution_timer_active == 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