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
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
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-RAN
Commits
7368e4bf
Commit
7368e4bf
authored
May 02, 2019
by
laurent
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix compilation tests
parent
ba6d47a7
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
8 additions
and
48 deletions
+8
-48
openair1/PHY/LTE_TRANSPORT/dlsch_coding.c
openair1/PHY/LTE_TRANSPORT/dlsch_coding.c
+0
-9
openair1/PHY/LTE_TRANSPORT/ulsch_decoding.c
openair1/PHY/LTE_TRANSPORT/ulsch_decoding.c
+0
-4
openair1/PHY/defs_L1_NB_IoT.h
openair1/PHY/defs_L1_NB_IoT.h
+1
-1
openair1/PHY/defs_common.h
openair1/PHY/defs_common.h
+1
-1
openair1/PHY/defs_eNB.h
openair1/PHY/defs_eNB.h
+2
-2
openair1/SCHED/ru_procedures.c
openair1/SCHED/ru_procedures.c
+1
-24
openair1/SCHED_NR/nr_ru_procedures.c
openair1/SCHED_NR/nr_ru_procedures.c
+0
-3
openair2/ENB_APP/enb_app.c
openair2/ENB_APP/enb_app.c
+1
-2
openair2/PHY_INTERFACE/UE_MAC_interface.h
openair2/PHY_INTERFACE/UE_MAC_interface.h
+1
-1
openair2/RRC/LTE/defs_NB_IoT.h
openair2/RRC/LTE/defs_NB_IoT.h
+1
-1
No files found.
openair1/PHY/LTE_TRANSPORT/dlsch_coding.c
View file @
7368e4bf
...
@@ -41,7 +41,6 @@
...
@@ -41,7 +41,6 @@
#include "common/utils/LOG/vcd_signal_dumper.h"
#include "common/utils/LOG/vcd_signal_dumper.h"
#include "common/utils/LOG/log.h"
#include "common/utils/LOG/log.h"
#include <syscall.h>
#include <syscall.h>
#include "targets/RT/USER/rt_wrapper.h"
//#define DEBUG_DLSCH_CODING
//#define DEBUG_DLSCH_CODING
//#define DEBUG_DLSCH_FREE 1
//#define DEBUG_DLSCH_FREE 1
...
@@ -337,14 +336,6 @@ int dlsch_encoding_2threads0(te_params *tep) {
...
@@ -337,14 +336,6 @@ int dlsch_encoding_2threads0(te_params *tep) {
extern
int
oai_exit
;
extern
int
oai_exit
;
void
*
te_thread
(
void
*
param
)
{
void
*
te_thread
(
void
*
param
)
{
cpu_set_t
cpuset
;
CPU_ZERO
(
&
cpuset
);
thread_top_init
(
"te_thread"
,
1
,
200000
,
250000
,
500000
);
pthread_setname_np
(
pthread_self
(),
"te processing"
);
LOG_I
(
PHY
,
"thread te created id=%ld
\n
"
,
syscall
(
__NR_gettid
));
te_params
*
tep
=
(
te_params
*
)
param
;
te_params
*
tep
=
(
te_params
*
)
param
;
//wait_sync("te_thread");
//wait_sync("te_thread");
...
...
openair1/PHY/LTE_TRANSPORT/ulsch_decoding.c
View file @
7368e4bf
...
@@ -42,7 +42,6 @@
...
@@ -42,7 +42,6 @@
#include "common/utils/LOG/vcd_signal_dumper.h"
#include "common/utils/LOG/vcd_signal_dumper.h"
//#define DEBUG_ULSCH_DECODING
//#define DEBUG_ULSCH_DECODING
#include "targets/RT/USER/rt_wrapper.h"
#include "transport_proto.h"
#include "transport_proto.h"
extern
WORKER_CONF_t
get_thread_worker_conf
(
void
);
extern
WORKER_CONF_t
get_thread_worker_conf
(
void
);
...
@@ -383,10 +382,7 @@ extern int oai_exit;
...
@@ -383,10 +382,7 @@ extern int oai_exit;
void
*
td_thread
(
void
*
param
)
{
void
*
td_thread
(
void
*
param
)
{
PHY_VARS_eNB
*
eNB
=
((
td_params
*
)
param
)
->
eNB
;
PHY_VARS_eNB
*
eNB
=
((
td_params
*
)
param
)
->
eNB
;
eNB_proc_t
*
proc
=
&
eNB
->
proc
;
eNB_proc_t
*
proc
=
&
eNB
->
proc
;
cpu_set_t
cpuset
;
CPU_ZERO
(
&
cpuset
);
thread_top_init
(
"td_thread"
,
1
,
200000
,
250000
,
500000
);
pthread_setname_np
(
pthread_self
(),
"td processing"
);
pthread_setname_np
(
pthread_self
(),
"td processing"
);
LOG_I
(
PHY
,
"thread td created id=%ld
\n
"
,
syscall
(
__NR_gettid
));
LOG_I
(
PHY
,
"thread td created id=%ld
\n
"
,
syscall
(
__NR_gettid
));
//wait_sync("td_thread");
//wait_sync("td_thread");
...
...
openair1/PHY/defs_L1_NB_IoT.h
View file @
7368e4bf
...
@@ -141,7 +141,7 @@ static inline void* malloc16_clear( size_t size )
...
@@ -141,7 +141,7 @@ static inline void* malloc16_clear( size_t size )
#include <pthread.h>
#include <pthread.h>
#include "targets/ARCH/COMMON/common_lib.h"
#include "targets/ARCH/COMMON/common_lib.h"
#include "
targets/COMMON/
openairinterface5g_limits.h"
#include "openairinterface5g_limits.h"
#define NUM_DCI_MAX_NB_IoT 32
#define NUM_DCI_MAX_NB_IoT 32
...
...
openair1/PHY/defs_common.h
View file @
7368e4bf
...
@@ -69,7 +69,7 @@
...
@@ -69,7 +69,7 @@
#include "TOOLS/tools_defs.h"
#include "TOOLS/tools_defs.h"
#include "
targets/COMMON/
openairinterface5g_limits.h"
#include "openairinterface5g_limits.h"
#include "common/utils/LOG/log.h"
#include "common/utils/LOG/log.h"
#include "types.h"
#include "types.h"
...
...
openair1/PHY/defs_eNB.h
View file @
7368e4bf
...
@@ -76,8 +76,8 @@
...
@@ -76,8 +76,8 @@
#include <pthread.h>
#include <pthread.h>
#include "
targets/ARCH/COMMON/
common_lib.h"
#include "common_lib.h"
#include "
targets/COMMON/
openairinterface5g_limits.h"
#include "openairinterface5g_limits.h"
#define NUMBER_OF_SUBBANDS_MAX 13
#define NUMBER_OF_SUBBANDS_MAX 13
...
...
openair1/SCHED/ru_procedures.c
View file @
7368e4bf
...
@@ -49,8 +49,6 @@
...
@@ -49,8 +49,6 @@
#include <time.h>
#include <time.h>
#include "targets/RT/USER/rt_wrapper.h"
extern
int
oai_exit
;
extern
int
oai_exit
;
...
@@ -132,17 +130,8 @@ static void *feptx_thread(void *param) {
...
@@ -132,17 +130,8 @@ static void *feptx_thread(void *param) {
RU_t
*
ru
=
(
RU_t
*
)
param
;
RU_t
*
ru
=
(
RU_t
*
)
param
;
RU_proc_t
*
proc
=
&
ru
->
proc
;
RU_proc_t
*
proc
=
&
ru
->
proc
;
cpu_set_t
cpuset
;
CPU_ZERO
(
&
cpuset
);
thread_top_init
(
"feptx_thread"
,
1
,
85000
,
120000
,
500000
);
pthread_setname_np
(
pthread_self
(),
"feptx processing"
);
LOG_I
(
PHY
,
"thread feptx created id=%ld
\n
"
,
syscall
(
__NR_gettid
));
//CPU_SET(6, &cpuset);
//pthread_setaffinity_np(pthread_self(), sizeof(cpu_set_t), &cpuset);
//wait_sync("feptx_thread");
LOG_I
(
PHY
,
"thread feptx created
\n
"
);
while
(
!
oai_exit
)
{
while
(
!
oai_exit
)
{
...
@@ -163,8 +152,6 @@ static void *feptx_thread(void *param) {
...
@@ -163,8 +152,6 @@ static void *feptx_thread(void *param) {
}*/
}*/
}
}
return
(
NULL
);
return
(
NULL
);
}
}
...
@@ -439,16 +426,6 @@ static void *fep_thread(void *param) {
...
@@ -439,16 +426,6 @@ static void *fep_thread(void *param) {
RU_t
*
ru
=
(
RU_t
*
)
param
;
RU_t
*
ru
=
(
RU_t
*
)
param
;
RU_proc_t
*
proc
=
&
ru
->
proc
;
RU_proc_t
*
proc
=
&
ru
->
proc
;
thread_top_init
(
"fep_thread"
,
1
,
100000
,
120000
,
5000000
);
pthread_setname_np
(
pthread_self
(),
"fep processing"
);
LOG_I
(
PHY
,
"thread fep created id=%ld
\n
"
,
syscall
(
__NR_gettid
));
cpu_set_t
cpuset
;
CPU_ZERO
(
&
cpuset
);
//CPU_SET(2, &cpuset);
//pthread_setaffinity_np(pthread_self(), sizeof(cpu_set_t), &cpuset);
//wait_sync("fep_thread");
while
(
!
oai_exit
)
{
while
(
!
oai_exit
)
{
if
(
wait_on_condition
(
&
proc
->
mutex_fep
,
&
proc
->
cond_fep
,
&
proc
->
instance_cnt_fep
,
"fep thread"
)
<
0
)
break
;
if
(
wait_on_condition
(
&
proc
->
mutex_fep
,
&
proc
->
cond_fep
,
&
proc
->
instance_cnt_fep
,
"fep thread"
)
<
0
)
break
;
...
...
openair1/SCHED_NR/nr_ru_procedures.c
View file @
7368e4bf
...
@@ -50,9 +50,6 @@
...
@@ -50,9 +50,6 @@
#include "msc.h"
#include "msc.h"
#include <time.h>
#include <time.h>
#include "targets/RT/USER/rt_wrapper.h"
// RU OFDM Modulator gNodeB
// RU OFDM Modulator gNodeB
extern
openair0_config_t
openair0_cfg
[
MAX_CARDS
];
extern
openair0_config_t
openair0_cfg
[
MAX_CARDS
];
...
...
openair2/ENB_APP/enb_app.c
View file @
7368e4bf
...
@@ -55,6 +55,7 @@
...
@@ -55,6 +55,7 @@
extern
unsigned
char
NB_eNB_INST
;
extern
unsigned
char
NB_eNB_INST
;
#endif
#endif
#include <nr-softmodem.h>
extern
RAN_CONTEXT_t
RC
;
extern
RAN_CONTEXT_t
RC
;
#if defined(ENABLE_ITTI)
#if defined(ENABLE_ITTI)
...
@@ -64,8 +65,6 @@ extern RAN_CONTEXT_t RC;
...
@@ -64,8 +65,6 @@ extern RAN_CONTEXT_t RC;
# define ENB_REGISTER_RETRY_DELAY 10
# define ENB_REGISTER_RETRY_DELAY 10
# endif
# endif
#include "targets/RT/USER/lte-softmodem.h"
/*------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------*/
/*
/*
...
...
openair2/PHY_INTERFACE/UE_MAC_interface.h
View file @
7368e4bf
...
@@ -38,7 +38,7 @@
...
@@ -38,7 +38,7 @@
#include "nfapi_interface.h"
#include "nfapi_interface.h"
#include "openair1/PHY/impl_defs_lte.h"
#include "openair1/PHY/impl_defs_lte.h"
#include "
targets/COMMON/
openairinterface5g_limits.h"
#include "openairinterface5g_limits.h"
...
...
openair2/RRC/LTE/defs_NB_IoT.h
View file @
7368e4bf
...
@@ -42,7 +42,7 @@
...
@@ -42,7 +42,7 @@
#include "rrc_types_NB_IoT.h"
#include "rrc_types_NB_IoT.h"
#include "COMMON/platform_constants.h"
#include "COMMON/platform_constants.h"
#include "COMMON/platform_types.h"
#include "COMMON/platform_types.h"
#include "
targets/COMMON/
openairinterface5g_limits.h"
#include "openairinterface5g_limits.h"
#include "COMMON/mac_rrc_primitives.h"
#include "COMMON/mac_rrc_primitives.h"
...
...
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