Commit 821ef857 authored by Andrew Burger's avatar Andrew Burger

RRCConnectionsetup happening too early

parent 25f8761b
...@@ -84,8 +84,8 @@ ...@@ -84,8 +84,8 @@
#define MAX_eNB 2 #define MAX_eNB 2
#define MAX_gNB 2 #define MAX_gNB 2
#else #else
#define MAX_MOBILES_PER_ENB 256 // This was maxed at 4 Why? -Andrew #define MAX_MOBILES_PER_ENB 5 // This was maxed at 4 Why? -Andrew
#define MAX_MOBILES_PER_ENB_NB_IoT 256 #define MAX_MOBILES_PER_ENB_NB_IoT 5
#define MAX_MOBILES_PER_GNB 2//16 #define MAX_MOBILES_PER_GNB 2//16
#define MAX_eNB 2 #define MAX_eNB 2
#define MAX_gNB 2 #define MAX_gNB 2
......
...@@ -1185,7 +1185,7 @@ static void *UE_phy_stub_standalone_pnf_task(void *arg) ...@@ -1185,7 +1185,7 @@ static void *UE_phy_stub_standalone_pnf_task(void *arg)
if (UE_mac_inst[ue_Mod_id].UE_mode[0] == PRACH) if (UE_mac_inst[ue_Mod_id].UE_mode[0] == PRACH)
{ //&& ue_Mod_id == next_Mod_id) { { //&& ue_Mod_id == next_Mod_id) {
next_ra_frame++; next_ra_frame++;
// if (next_ra_frame > 500) { if (next_ra_frame > 500) {
// check if we have PRACH opportunity // check if we have PRACH opportunity
if (is_prach_subframe(&UE->frame_parms, NFAPI_SFNSF2SFN(sfn_sf), NFAPI_SFNSF2SF(sfn_sf)) && UE_mac_inst[ue_Mod_id].SI_Decoded == 1) if (is_prach_subframe(&UE->frame_parms, NFAPI_SFNSF2SFN(sfn_sf), NFAPI_SFNSF2SF(sfn_sf)) && UE_mac_inst[ue_Mod_id].SI_Decoded == 1)
{ {
...@@ -1208,7 +1208,7 @@ static void *UE_phy_stub_standalone_pnf_task(void *arg) ...@@ -1208,7 +1208,7 @@ static void *UE_phy_stub_standalone_pnf_task(void *arg)
} }
//ue_prach_procedures(ue,proc,eNB_id,abstraction_flag,mode); //ue_prach_procedures(ue,proc,eNB_id,abstraction_flag,mode);
} }
// } }
} // mode is PRACH } // mode is PRACH
// Substitute call to phy_procedures Tx with call to phy_stub functions in order to trigger // Substitute call to phy_procedures Tx with call to phy_stub functions in order to trigger
......
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