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
wangwenhui
OpenXG-RAN
Commits
a64e7eef
Commit
a64e7eef
authored
Apr 22, 2019
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tested compilation and execution with --simL1 and --rfsim.
parent
ed08f3ab
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
84 additions
and
74 deletions
+84
-74
cmake_targets/CMakeLists.txt
cmake_targets/CMakeLists.txt
+6
-3
openair1/PHY/LTE_UE_TRANSPORT/dlsch_demodulation.c
openair1/PHY/LTE_UE_TRANSPORT/dlsch_demodulation.c
+1
-1
openair1/SCHED/ru_procedures.c
openair1/SCHED/ru_procedures.c
+2
-0
targets/PROJECTS/GENERIC-LTE-EPC/CONF/rru.oaisim.conf
targets/PROJECTS/GENERIC-LTE-EPC/CONF/rru.oaisim.conf
+1
-1
targets/RT/USER/lte-ru.c
targets/RT/USER/lte-ru.c
+22
-21
targets/RT/USER/lte-softmodem.c
targets/RT/USER/lte-softmodem.c
+47
-45
targets/RT/USER/lte-ue.c
targets/RT/USER/lte-ue.c
+2
-2
targets/RT/USER/lte-uesoftmodem.c
targets/RT/USER/lte-uesoftmodem.c
+2
-0
targets/RT/USER/rfsim.c
targets/RT/USER/rfsim.c
+1
-1
No files found.
cmake_targets/CMakeLists.txt
View file @
a64e7eef
...
...
@@ -1240,12 +1240,12 @@ set(PHY_SRC
${
OPENAIR1_DIR
}
/PHY/LTE_TRANSPORT/pcfich.c
${
OPENAIR1_DIR
}
/PHY/LTE_TRANSPORT/pucch.c
${
OPENAIR1_DIR
}
/PHY/LTE_TRANSPORT/pmch.c
${
OPENAIR1_DIR
}
/PHY/LTE_TRANSPORT/ulsch_demodulation.c
#
${OPENAIR1_DIR}/PHY/LTE_TRANSPORT/ulsch_demodulation.c
${
OPENAIR1_DIR
}
/PHY/LTE_TRANSPORT/ulsch_decoding.c
${
OPENAIR1_DIR
}
/PHY/LTE_TRANSPORT/rar_tools.c
${
OPENAIR1_DIR
}
/PHY/LTE_TRANSPORT/uci_tools.c
${
OPENAIR1_DIR
}
/PHY/LTE_ESTIMATION/freq_equalization.c
${
OPENAIR1_DIR
}
/PHY/LTE_ESTIMATION/lte_adjust_sync_eNB.c
#
${OPENAIR1_DIR}/PHY/LTE_ESTIMATION/freq_equalization.c
#
${OPENAIR1_DIR}/PHY/LTE_ESTIMATION/lte_adjust_sync_eNB.c
# ${OPENAIR1_DIR}/PHY/LTE_ESTIMATION/lte_ul_channel_estimation.c
${
OPENAIR1_DIR
}
/PHY/LTE_ESTIMATION/lte_eNB_measurements.c
${
OPENAIR1_DIR
}
/PHY/INIT/lte_init.c
...
...
@@ -1255,7 +1255,10 @@ set(PHY_SRC_RU
${
OPENAIR1_DIR
}
/PHY/LTE_TRANSPORT/if4_tools.c
${
OPENAIR1_DIR
}
/PHY/LTE_TRANSPORT/if5_tools.c
${
OPENAIR1_DIR
}
/PHY/LTE_UE_TRANSPORT/drs_modulation.c
${
OPENAIR1_DIR
}
/PHY/LTE_TRANSPORT/ulsch_demodulation.c
${
OPENAIR1_DIR
}
/PHY/LTE_ESTIMATION/lte_ul_channel_estimation.c
${
OPENAIR1_DIR
}
/PHY/LTE_ESTIMATION/lte_adjust_sync_eNB.c
${
OPENAIR1_DIR
}
/PHY/LTE_ESTIMATION/freq_equalization.c
${
OPENAIR1_DIR
}
/PHY/MODULATION/slot_fep_ul.c
${
OPENAIR1_DIR
}
/PHY/MODULATION/ul_7_5_kHz.c
${
OPENAIR1_DIR
}
/PHY/MODULATION/gen_75KHz.cpp
...
...
openair1/PHY/LTE_UE_TRANSPORT/dlsch_demodulation.c
View file @
a64e7eef
...
...
@@ -869,7 +869,7 @@ int rx_pdsch(PHY_VARS_UE *ue,
pdsch_vars[eNB_id]->llr_offset[symbol],
(int16_t*)pdsch_vars[eNB_id]->llr[0],
pllr_symbol_cw0);
*/
switch
(
dlsch0_harq
->
Qm
)
{
case
2
:
if
((
rx_type
==
rx_standard
)
||
(
codeword_TB1
==
-
1
))
{
...
...
openair1/SCHED/ru_procedures.c
View file @
a64e7eef
...
...
@@ -49,6 +49,8 @@
#include "PHY/LTE_TRANSPORT/if4_tools.h"
#include "PHY/LTE_TRANSPORT/if5_tools.h"
#include "PHY/LTE_TRANSPORT/transport_common_proto.h"
#include "PHY/LTE_TRANSPORT/transport_proto.h"
#include "PHY/LTE_ESTIMATION/lte_estimation.h"
#include "LAYER2/MAC/mac.h"
#include "common/utils/LOG/log.h"
...
...
targets/PROJECTS/GENERIC-LTE-EPC/CONF/rru.oaisim.conf
View file @
a64e7eef
...
...
@@ -21,7 +21,7 @@ RUs = (
THREAD_STRUCT
= (
{
#three config for level of parallelism "PARALLEL_SINGLE_THREAD", "PARALLEL_RU_L1_SPLIT", or "PARALLEL_RU_L1_TRX_SPLIT"
parallel_config
=
"PARALLEL_
RU_L1_TRX_SPLIT
"
;
parallel_config
=
"PARALLEL_
SINGLE_THREAD
"
;
#two option for worker "WORKER_DISABLE" or "WORKER_ENABLE"
worker_config
=
"WORKER_ENABLE"
;
}
...
...
targets/RT/USER/lte-ru.c
View file @
a64e7eef
...
...
@@ -648,6 +648,7 @@ void rx_rf(RU_t *ru,int *frame,int *subframe) {
VCD_SIGNAL_DUMPER_DUMP_VARIABLE_BY_NAME
(
VCD_SIGNAL_DUMPER_VARIABLES_SUBFRAME_NUMBER_TX0_RU
,
proc
->
subframe_tx
);
}
}
}
if
(
proc
->
first_rx
==
0
)
{
if
(
proc
->
subframe_rx
!=
*
subframe
)
{
...
...
targets/RT/USER/lte-softmodem.c
View file @
a64e7eef
...
...
@@ -740,6 +740,7 @@ int main( int argc, char **argv ) {
}
#endif
rt_sleep_ns
(
10
*
100000000ULL
);
if
(
NFAPI_MODE
!=
NFAPI_MONOLITHIC
)
{
...
...
@@ -814,6 +815,7 @@ int main( int argc, char **argv ) {
pthread_mutex_unlock
(
&
sync_mutex
);
config_check_unknown_cmdlineopt
(
CONFIG_CHECKALLSECTIONS
);
}
}
// wait for end of program
LOG_UI
(
ENB_APP
,
"TYPE <CTRL-C> TO TERMINATE
\n
"
);
//getchar();
...
...
targets/RT/USER/lte-ue.c
View file @
a64e7eef
...
...
@@ -1731,12 +1731,12 @@ void *UE_thread(void *arg) {
tv
.
tv_sec
=
INT_MAX
;
// operate on thread sf mod 2
if
(
pthread_mutex_timedlock
(
&
proc
->
mutex_rxtx
,
&
tv
)
!=
0
)
{
if
(
(
errno
=
pthread_mutex_timedlock
(
&
proc
->
mutex_rxtx
,
&
tv
)
)
!=
0
)
{
if
(
errno
==
ETIMEDOUT
)
{
LOG_E
(
PHY
,
"Missed real time
\n
"
);
continue
;
}
else
{
LOG_E
(
PHY
,
"System error %s
\n
"
,
strerror
(
errno
)
);
LOG_E
(
PHY
,
"System error %s
(%d)
\n
"
,
strerror
(
errno
),
errno
);
abort
();
}
}
...
...
targets/RT/USER/lte-uesoftmodem.c
View file @
a64e7eef
...
...
@@ -405,6 +405,8 @@ static void get_options(void) {
int
dumpframe
=
0
;
int
timingadv
;
uint8_t
nfapi_mode
;
int
simL1flag
;
set_default_frame_parms
(
frame_parms
);
CONFIG_SETRTFLAG
(
CONFIG_NOEXITONHELP
);
...
...
targets/RT/USER/rfsim.c
View file @
a64e7eef
...
...
@@ -63,7 +63,7 @@ sim_t sim;
void
init_ru_devices
(
void
);
void
init_RU
(
c
onst
c
har
*
,
clock_source_t
clock_source
,
clock_source_t
time_source
,
int
send_dmrssync
);
void
init_RU
(
char
*
,
clock_source_t
clock_source
,
clock_source_t
time_source
,
int
send_dmrssync
);
void
*
rfsim_top
(
void
*
n_frames
);
...
...
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