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
lizhongxiao
OpenXG-RAN
Commits
8b5e70e0
Commit
8b5e70e0
authored
Jan 09, 2020
by
Chang-Sheng,Liu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix all memory error at current stage,workable version,run okgit status
parent
c61ce7a5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
openair1/PHY/NBIoT_TRANSPORT/nprach_NB_IoT.c
openair1/PHY/NBIoT_TRANSPORT/nprach_NB_IoT.c
+0
-1
targets/RT/USER/lte-enb.c
targets/RT/USER/lte-enb.c
+4
-4
No files found.
openair1/PHY/NBIoT_TRANSPORT/nprach_NB_IoT.c
View file @
8b5e70e0
...
...
@@ -423,7 +423,6 @@ uint32_t process_nprach_NB_IoT(PHY_VARS_eNB_NB_IoT *eNB, int frame, uint8_t subf
//// 1. Coarse TA estimation using sub sampling rate = 128, i.e. fs = 240 kHz
FRAME_LENGTH_COMPLEX_SAMPLESx
=
10
*
eNB
->
frame_parms
.
samples_per_tti
;
printf
(
"FRAME_LENGTH_COMPLEX_SAMPLESx=%u.................
\n
"
,
FRAME_LENGTH_COMPLEX_SAMPLESx
);
Rx_buffer
=
(
int16_t
*
)
&
eNB
->
common_vars
.
rxdata
[
0
][
0
][
0
];
// get the whole frame
memcpy
(
&
buffer_nprach
[
0
],
&
Rx_buffer
[
0
],
307200
);
...
...
targets/RT/USER/lte-enb.c
View file @
8b5e70e0
...
...
@@ -357,7 +357,7 @@ static void *L1_thread_tx(void *param) {
VCD_SIGNAL_DUMPER_DUMP_VARIABLE_BY_NAME
(
VCD_SIGNAL_DUMPER_VARIABLES_SUBFRAME_NUMBER_RX1_ENB
,
proc
->
subframe_rx
);
VCD_SIGNAL_DUMPER_DUMP_VARIABLE_BY_NAME
(
VCD_SIGNAL_DUMPER_VARIABLES_FRAME_NUMBER_TX1_ENB
,
proc
->
frame_tx
);
VCD_SIGNAL_DUMPER_DUMP_VARIABLE_BY_NAME
(
VCD_SIGNAL_DUMPER_VARIABLES_FRAME_NUMBER_RX1_ENB
,
proc
->
frame_rx
);
LOG_
I
(
PHY
,
"L1 TX processing %d.%d
\n
"
,
proc
->
frame_tx
,
proc
->
subframe_tx
);
LOG_
D
(
PHY
,
"L1 TX processing %d.%d
\n
"
,
proc
->
frame_tx
,
proc
->
subframe_tx
);
phy_procedures_eNB_TX
(
eNB
,
proc
,
1
);
AssertFatal
((
ret
=
pthread_mutex_lock
(
&
proc
->
mutex
))
==
0
,
"error locking L1_proc_tx mutex, return %d
\n
"
,
ret
);
VCD_SIGNAL_DUMPER_DUMP_VARIABLE_BY_NAME
(
VCD_SIGNAL_DUMPER_VARIABLES_L1_PROC_TX_IC
,
proc
->
instance_cnt
);
...
...
@@ -368,9 +368,9 @@ static void *L1_thread_tx(void *param) {
proc
->
instance_cnt
=
-
1
;
LOG_
I
(
PHY
,
"L1 TX signaling done for %d.%d
\n
"
,
proc
->
frame_tx
,
proc
->
subframe_tx
);
LOG_
D
(
PHY
,
"L1 TX signaling done for %d.%d
\n
"
,
proc
->
frame_tx
,
proc
->
subframe_tx
);
// the thread can now be woken up
LOG_
I
(
PHY
,
"L1_thread_tx: signaling completion in %d.%d
\n
"
,
proc
->
frame_tx
,
proc
->
subframe_tx
);
LOG_
D
(
PHY
,
"L1_thread_tx: signaling completion in %d.%d
\n
"
,
proc
->
frame_tx
,
proc
->
subframe_tx
);
if
(
pthread_cond_signal
(
&
proc
->
cond
)
!=
0
)
{
LOG_E
(
PHY
,
"[eNB] ERROR pthread_cond_signal for eNB TXnp4 thread
\n
"
);
exit_fun
(
"ERROR pthread_cond_signal"
);
...
...
@@ -1160,7 +1160,7 @@ void init_eNB_proc(int inst) {
// attr_td = &proc->attr_td;
// attr_te = &proc->attr_te;
#endif
//
copy_eNB_content(eNBs.eNB_NB_IoT , RC.eNB[inst][0]);//samuel
copy_eNB_content
(
eNBs
.
eNB_NB_IoT
,
RC
.
eNB
[
inst
][
0
]);
//samuel
if
(
get_thread_worker_conf
()
==
WORKER_ENABLE
)
{
init_te_thread
(
eNBs
.
eNB
);
...
...
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