Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenXG
OpenXG-RAN
Commits
f9c3ff3c
Commit
f9c3ff3c
authored
Nov 25, 2020
by
Sakthivel Velumani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated the config files
parent
80ea0393
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
12 additions
and
9 deletions
+12
-9
executables/nr-gnb.c
executables/nr-gnb.c
+4
-2
executables/nr-softmodem.c
executables/nr-softmodem.c
+2
-0
executables/thread-common.h
executables/thread-common.h
+0
-4
openair1/PHY/defs_common.h
openair1/PHY/defs_common.h
+0
-1
openair2/GNB_APP/gnb_paramdef.h
openair2/GNB_APP/gnb_paramdef.h
+4
-1
targets/PROJECTS/GENERIC-LTE-EPC/CONF/gnb.band78.tm1.106PRB.usrpn300.conf
.../GENERIC-LTE-EPC/CONF/gnb.band78.tm1.106PRB.usrpn300.conf
+1
-1
targets/PROJECTS/GENERIC-LTE-EPC/CONF/testing_gnb.conf
targets/PROJECTS/GENERIC-LTE-EPC/CONF/testing_gnb.conf
+1
-0
No files found.
executables/nr-gnb.c
View file @
f9c3ff3c
...
@@ -100,6 +100,8 @@ extern int transmission_mode;
...
@@ -100,6 +100,8 @@ extern int transmission_mode;
extern
uint16_t
sf_ahead
;
extern
uint16_t
sf_ahead
;
extern
uint16_t
sl_ahead
;
extern
uint16_t
sl_ahead
;
extern
uint32_t
num_threads_pusch
;
//pthread_t main_gNB_thread;
//pthread_t main_gNB_thread;
time_stats_t
softmodem_stats_mt
;
// main thread
time_stats_t
softmodem_stats_mt
;
// main thread
...
@@ -870,11 +872,11 @@ void init_gNB_proc(int inst) {
...
@@ -870,11 +872,11 @@ void init_gNB_proc(int inst) {
gNB
->
threadPool
=
(
tpool_t
*
)
malloc
(
sizeof
(
tpool_t
));
gNB
->
threadPool
=
(
tpool_t
*
)
malloc
(
sizeof
(
tpool_t
));
gNB
->
respDecode
=
(
notifiedFIFO_t
*
)
malloc
(
sizeof
(
notifiedFIFO_t
));
gNB
->
respDecode
=
(
notifiedFIFO_t
*
)
malloc
(
sizeof
(
notifiedFIFO_t
));
int
numCPU
=
sysconf
(
_SC_NPROCESSORS_ONLN
);
int
numCPU
=
sysconf
(
_SC_NPROCESSORS_ONLN
);
int
threadCnt
=
min
(
numCPU
,
get_uldeocde_thread_count
()
);
int
threadCnt
=
min
(
numCPU
,
num_threads_pusch
);
char
ul_pool
[
80
];
char
ul_pool
[
80
];
sprintf
(
ul_pool
,
"-1"
);
sprintf
(
ul_pool
,
"-1"
);
int
s_offset
=
0
;
int
s_offset
=
0
;
for
(
int
icpu
=
2
;
icpu
<
threadCnt
;
icpu
++
)
{
for
(
int
icpu
=
1
;
icpu
<
threadCnt
;
icpu
++
)
{
sprintf
(
ul_pool
+
2
+
s_offset
,
",-1"
);
sprintf
(
ul_pool
+
2
+
s_offset
,
",-1"
);
s_offset
+=
3
;
s_offset
+=
3
;
}
}
...
...
executables/nr-softmodem.c
View file @
f9c3ff3c
...
@@ -98,6 +98,8 @@ int config_sync_var=-1;
...
@@ -98,6 +98,8 @@ int config_sync_var=-1;
volatile
int
start_gNB
=
0
;
volatile
int
start_gNB
=
0
;
volatile
int
oai_exit
=
0
;
volatile
int
oai_exit
=
0
;
uint32_t
num_threads_pusch
;
static
int
wait_for_sync
=
0
;
static
int
wait_for_sync
=
0
;
unsigned
int
mmapped_dma
=
0
;
unsigned
int
mmapped_dma
=
0
;
...
...
executables/thread-common.h
View file @
f9c3ff3c
...
@@ -39,8 +39,4 @@ static inline WORKER_CONF_t get_thread_worker_conf(void) {
...
@@ -39,8 +39,4 @@ static inline WORKER_CONF_t get_thread_worker_conf(void) {
return
thread_struct
.
worker_conf
;
return
thread_struct
.
worker_conf
;
}
}
static
inline
uint8_t
get_uldeocde_thread_count
(
void
)
{
return
thread_struct
.
numULProcThreads
;
}
#endif
#endif
openair1/PHY/defs_common.h
View file @
f9c3ff3c
...
@@ -891,7 +891,6 @@ typedef enum {
...
@@ -891,7 +891,6 @@ typedef enum {
typedef
struct
THREAD_STRUCT_s
{
typedef
struct
THREAD_STRUCT_s
{
PARALLEL_CONF_t
parallel_conf
;
PARALLEL_CONF_t
parallel_conf
;
WORKER_CONF_t
worker_conf
;
WORKER_CONF_t
worker_conf
;
uint8_t
numULProcThreads
;
}
THREAD_STRUCT
;
}
THREAD_STRUCT
;
typedef
enum
{
SF_DL
,
SF_UL
,
SF_S
}
lte_subframe_t
;
typedef
enum
{
SF_DL
,
SF_UL
,
SF_S
}
lte_subframe_t
;
...
...
openair2/GNB_APP/gnb_paramdef.h
View file @
f9c3ff3c
...
@@ -50,6 +50,7 @@
...
@@ -50,6 +50,7 @@
extern
int
asn_debug
;
extern
int
asn_debug
;
extern
int
asn1_xer_print
;
extern
int
asn1_xer_print
;
extern
uint32_t
num_threads_pusch
;
#ifdef LIBCONFIG_LONG
#ifdef LIBCONFIG_LONG
#define libconfig_int long
#define libconfig_int long
...
@@ -83,13 +84,15 @@ typedef enum {
...
@@ -83,13 +84,15 @@ typedef enum {
/* global parameters, not under a specific section */
/* global parameters, not under a specific section */
#define GNB_CONFIG_STRING_ASN1_VERBOSITY "Asn1_verbosity"
#define GNB_CONFIG_STRING_ASN1_VERBOSITY "Asn1_verbosity"
#define GNB_CONFIG_STRING_ACTIVE_GNBS "Active_gNBs"
#define GNB_CONFIG_STRING_ACTIVE_GNBS "Active_gNBs"
#define GNB_CONFIG_PUSCH_THREADS "Num_Threads_PUSCH"
/*--------------------------------------------------------------------------------------------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------------------------------------------------------------------------------------------*/
/* global configuration parameters */
/* global configuration parameters */
/* optname helpstr paramflags XXXptr defXXXval type numelt */
/* optname helpstr paramflags XXXptr defXXXval type numelt */
/*--------------------------------------------------------------------------------------------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------------------------------------------------------------------------------------------*/
#define GNBSPARAMS_DESC { \
#define GNBSPARAMS_DESC { \
{GNB_CONFIG_STRING_ASN1_VERBOSITY, NULL, 0, uptr:NULL, defstrval:GNB_CONFIG_STRING_ASN1_VERBOSITY_NONE, TYPE_STRING, 0}, \
{GNB_CONFIG_STRING_ASN1_VERBOSITY, NULL, 0, uptr:NULL, defstrval:GNB_CONFIG_STRING_ASN1_VERBOSITY_NONE, TYPE_STRING, 0}, \
{GNB_CONFIG_STRING_ACTIVE_GNBS, NULL, 0, uptr:NULL, defstrval:NULL, TYPE_STRINGLIST, 0} \
{GNB_CONFIG_STRING_ACTIVE_GNBS, NULL, 0, uptr:NULL, defstrval:NULL, TYPE_STRINGLIST, 0}, \
{GNB_CONFIG_PUSCH_THREADS, NULL, 0, uptr:&num_threads_pusch, defuintval:1, TYPE_UINT, 0} \
}
}
#define GNB_ASN1_VERBOSITY_IDX 0
#define GNB_ASN1_VERBOSITY_IDX 0
#define GNB_ACTIVE_GNBS_IDX 1
#define GNB_ACTIVE_GNBS_IDX 1
...
...
targets/PROJECTS/GENERIC-LTE-EPC/CONF/gnb.band78.tm1.106PRB.usrpn300.conf
View file @
f9c3ff3c
Active_gNBs
= (
"gNB-Eurecom-5GNRBox"
);
Active_gNBs
= (
"gNB-Eurecom-5GNRBox"
);
# Asn1_verbosity, choice in: none, info, annoying
# Asn1_verbosity, choice in: none, info, annoying
Asn1_verbosity
=
"none"
;
Asn1_verbosity
=
"none"
;
Num_Threads_PUSCH
=
8
;
gNBs
=
gNBs
=
(
(
...
@@ -260,7 +261,6 @@ THREAD_STRUCT = (
...
@@ -260,7 +261,6 @@ THREAD_STRUCT = (
parallel_config
=
"PARALLEL_RU_L1_TRX_SPLIT"
;
parallel_config
=
"PARALLEL_RU_L1_TRX_SPLIT"
;
#two option for worker "WORKER_DISABLE" or "WORKER_ENABLE"
#two option for worker "WORKER_DISABLE" or "WORKER_ENABLE"
worker_config
=
"WORKER_ENABLE"
;
worker_config
=
"WORKER_ENABLE"
;
numULProcThreads
=
8
;
}
}
);
);
...
...
targets/PROJECTS/GENERIC-LTE-EPC/CONF/testing_gnb.conf
View file @
f9c3ff3c
Active_gNBs
= (
"gNB-Eurecom-5GNRBox"
);
Active_gNBs
= (
"gNB-Eurecom-5GNRBox"
);
# Asn1_verbosity, choice in: none, info, annoying
# Asn1_verbosity, choice in: none, info, annoying
Asn1_verbosity
=
"none"
;
Asn1_verbosity
=
"none"
;
Num_Threads_PUSCH
=
8
;
gNBs
=
gNBs
=
(
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment