Commit a62bfcd7 authored by Robert Schmidt's avatar Robert Schmidt

Bugfix: rename enum constant for UE telnet triggering

parent 210170d1
......@@ -869,7 +869,7 @@ typedef enum {
RA_RESPONSE=2,
PUSCH=3,
RESYNCH=4,
INACTIVE=5
PRACH_INACTIVE=5
} UE_MODE_t;
#define FOREACH_PARALLEL(GEN) \
......
......@@ -158,7 +158,7 @@ void ue_init_mac(module_id_t module_idP) {
if(NFAPI_MODE==NFAPI_UE_STUB_PNF) {
pthread_mutex_init(&UE_mac_inst[module_idP].UL_INFO_mutex,NULL);
UE_mac_inst[module_idP].UE_mode[0] = INACTIVE;
UE_mac_inst[module_idP].UE_mode[0] = PRACH_INACTIVE;
UE_mac_inst[module_idP].first_ULSCH_Tx =0;
UE_mac_inst[module_idP].SI_Decoded = 0;
next_ra_frame = 0;
......
......@@ -731,7 +731,7 @@ void dl_config_req_UE_MAC_dci(int sfn,
} else if (rnti_type == 2) {
if (rnti == 0xFFFF) { /* SI-RNTI */
for (int ue_id = 0; ue_id < num_ue; ue_id++) {
if (UE_mac_inst[ue_id].UE_mode[0] == NOT_SYNCHED || UE_mac_inst[ue_id].UE_mode[0] == INACTIVE)
if (UE_mac_inst[ue_id].UE_mode[0] == NOT_SYNCHED || UE_mac_inst[ue_id].UE_mode[0] == PRACH_INACTIVE)
continue;
ue_decode_si(ue_id, 0, sfn, 0,
......
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