Commit e5b0c265 authored by Melissa Elkadi's avatar Melissa Elkadi

Changed sf_ahead based on NFAPI_MODE

parent 34b53ea9
...@@ -86,7 +86,7 @@ ...@@ -86,7 +86,7 @@
#include "lte-softmodem.h" #include "lte-softmodem.h"
extern int ue_id_g ; extern int ue_id_g;
/* temporary compilation wokaround (UE/eNB split */ /* temporary compilation wokaround (UE/eNB split */
...@@ -95,7 +95,7 @@ pthread_mutex_t nfapi_sync_mutex; ...@@ -95,7 +95,7 @@ pthread_mutex_t nfapi_sync_mutex;
int nfapi_sync_var=-1; //!< protected by mutex \ref nfapi_sync_mutex int nfapi_sync_var=-1; //!< protected by mutex \ref nfapi_sync_mutex
uint16_t sf_ahead=1; uint16_t sf_ahead=4;
int tddflag; int tddflag;
char *emul_iface; char *emul_iface;
...@@ -587,6 +587,11 @@ int main( int argc, char **argv ) { ...@@ -587,6 +587,11 @@ int main( int argc, char **argv ) {
get_options (); get_options ();
if (NFAPI_MODE == NFAPI_MODE_STANDALONE_PNF) {
sf_ahead = 1;
}
printf("sf_ahead = %d\n", sf_ahead);
EPC_MODE_ENABLED = !IS_SOFTMODEM_NOS1; EPC_MODE_ENABLED = !IS_SOFTMODEM_NOS1;
printf("Running with %d UE instances\n",NB_UE_INST); printf("Running with %d UE instances\n",NB_UE_INST);
......
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