Cleanup of NUMBER_OF_NR_UE_MAX and its references
- this defition is obsolete
This commit is contained in:
@@ -27,7 +27,6 @@
|
|||||||
# ifndef PHYSIM
|
# ifndef PHYSIM
|
||||||
# ifndef UE_EXPANSION
|
# ifndef UE_EXPANSION
|
||||||
# define NUMBER_OF_UE_MAX 40
|
# define NUMBER_OF_UE_MAX 40
|
||||||
# define NUMBER_OF_NR_UE_MAX 4
|
|
||||||
# define NUMBER_OF_CONNECTED_eNB_MAX 1
|
# define NUMBER_OF_CONNECTED_eNB_MAX 1
|
||||||
# define NUMBER_OF_CONNECTED_gNB_MAX 1
|
# define NUMBER_OF_CONNECTED_gNB_MAX 1
|
||||||
# else
|
# else
|
||||||
@@ -37,7 +36,6 @@
|
|||||||
# endif
|
# endif
|
||||||
# else
|
# else
|
||||||
# define NUMBER_OF_UE_MAX 4
|
# define NUMBER_OF_UE_MAX 4
|
||||||
# define NUMBER_OF_NR_UE_MAX 4
|
|
||||||
# define NUMBER_OF_CONNECTED_eNB_MAX 1
|
# define NUMBER_OF_CONNECTED_eNB_MAX 1
|
||||||
# define NUMBER_OF_CONNECTED_gNB_MAX 1
|
# define NUMBER_OF_CONNECTED_gNB_MAX 1
|
||||||
# endif
|
# endif
|
||||||
|
|||||||
@@ -308,7 +308,7 @@ int main(int argc, char **argv)
|
|||||||
int tx_offset;
|
int tx_offset;
|
||||||
int32_t txlev_sum = 0, atxlev[4];
|
int32_t txlev_sum = 0, atxlev[4];
|
||||||
int start_rb = 0;
|
int start_rb = 0;
|
||||||
int UE_id =0; // [hna] only works for UE_id = 0 because NUMBER_OF_NR_UE_MAX is set to 1 (phy_init_nr_gNB causes segmentation fault)
|
int UE_id = 0;
|
||||||
int print_perf = 0;
|
int print_perf = 0;
|
||||||
cpuf = get_cpu_freq_GHz();
|
cpuf = get_cpu_freq_GHz();
|
||||||
int msg3_flag = 0;
|
int msg3_flag = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user