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
959df471
Commit
959df471
authored
May 22, 2024
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/reset-transmission-sequence' into integration_2024_w21
parents
d3264774
ca06b77a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
1 deletion
+19
-1
executables/nr-ue.c
executables/nr-ue.c
+1
-0
radio/COMMON/common_lib.c
radio/COMMON/common_lib.c
+17
-0
radio/COMMON/common_lib.h
radio/COMMON/common_lib.h
+1
-1
No files found.
executables/nr-ue.c
View file @
959df471
...
...
@@ -829,6 +829,7 @@ void *UE_thread(void *arg)
if
(
start_rx_stream
==
0
)
{
start_rx_stream
=
1
;
syncInFrame
(
UE
,
&
sync_timestamp
,
intialSyncOffset
);
openair0_write_reorder_clear_context
(
&
UE
->
rfdevice
);
shiftForNextFrame
=
0
;
// will be used to track clock drift
// read in first symbol
AssertFatal
(
UE
->
frame_parms
.
ofdm_symbol_size
+
UE
->
frame_parms
.
nb_prefix_samples0
...
...
radio/COMMON/common_lib.c
View file @
959df471
...
...
@@ -269,3 +269,20 @@ int openair0_write_reorder(openair0_device *device, openair0_timestamp timestamp
}
return
nsamps
;
}
void
openair0_write_reorder_clear_context
(
openair0_device
*
device
)
{
LOG_I
(
HW
,
"received write reorder clear context
\n
"
);
re_order_t
*
ctx
=
&
device
->
reOrder
;
if
(
!
ctx
->
initDone
)
return
;
if
(
pthread_mutex_trylock
(
&
ctx
->
mutex_write
)
==
0
)
LOG_E
(
HW
,
"write_reorder_clear_context call while still writing on the device
\n
"
);
pthread_mutex_destroy
(
&
ctx
->
mutex_write
);
pthread_mutex_lock
(
&
ctx
->
mutex_store
);
for
(
int
i
=
0
;
i
<
WRITE_QUEUE_SZ
;
i
++
)
ctx
->
queue
[
i
].
active
=
false
;
pthread_mutex_unlock
(
&
ctx
->
mutex_store
);
pthread_mutex_destroy
(
&
ctx
->
mutex_store
);
ctx
->
initDone
=
false
;
}
radio/COMMON/common_lib.h
View file @
959df471
...
...
@@ -671,7 +671,7 @@ extern int read_recplayconfig(recplay_conf_t **recplay_conf, recplay_state_t **r
extern
void
iqrecorder_end
(
openair0_device
*
device
);
int
openair0_write_reorder
(
openair0_device
*
device
,
openair0_timestamp
timestamp
,
void
**
txp
,
int
nsamps
,
int
nbAnt
,
int
flags
);
void
openair0_write_reorder_clear_context
(
openair0_device
*
device
);
#include <unistd.h>
#ifndef gettid
#define gettid() syscall(__NR_gettid)
...
...
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