add process RRC input in do-ra mode (was a race cond)
This commit is contained in:
committed by
francescomani
parent
966a3a7264
commit
766619aa26
@@ -52,6 +52,7 @@
|
|||||||
#include "PHY_INTERFACE/phy_interface_vars.h"
|
#include "PHY_INTERFACE/phy_interface_vars.h"
|
||||||
#include "NR_IF_Module.h"
|
#include "NR_IF_Module.h"
|
||||||
#include "openair1/SIMULATION/TOOLS/sim.h"
|
#include "openair1/SIMULATION/TOOLS/sim.h"
|
||||||
|
#include "openair2/RRC/NR_UE/L2_interface_ue.h"
|
||||||
|
|
||||||
#ifdef SMBV
|
#ifdef SMBV
|
||||||
#include "PHY/TOOLS/smbv.h"
|
#include "PHY/TOOLS/smbv.h"
|
||||||
@@ -488,6 +489,12 @@ int main(int argc, char **argv)
|
|||||||
get_softmodem_params()->numerology,
|
get_softmodem_params()->numerology,
|
||||||
nr_band);
|
nr_band);
|
||||||
} else {
|
} else {
|
||||||
|
MessageDef *msg = NULL;
|
||||||
|
do {
|
||||||
|
itti_poll_msg(TASK_MAC_UE, &msg);
|
||||||
|
if (msg)
|
||||||
|
process_msg_rcc_to_mac(msg);
|
||||||
|
} while (msg);
|
||||||
fapi_nr_config_request_t *nrUE_config = &UE[CC_id]->nrUE_config;
|
fapi_nr_config_request_t *nrUE_config = &UE[CC_id]->nrUE_config;
|
||||||
nr_init_frame_parms_ue(&UE[CC_id]->frame_parms, nrUE_config, mac->nr_band);
|
nr_init_frame_parms_ue(&UE[CC_id]->frame_parms, nrUE_config, mac->nr_band);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user