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
canghaiwuhen
OpenXG-RAN
Commits
02c8b38b
Commit
02c8b38b
authored
Aug 02, 2019
by
laurent
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adding timestamp management
parent
5a7cbde5
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
70 additions
and
54 deletions
+70
-54
executables/main-fs6.c
executables/main-fs6.c
+61
-53
executables/split_headers.h
executables/split_headers.h
+2
-0
executables/transport_split.c
executables/transport_split.c
+5
-0
targets/RT/USER/lte-softmodem.c
targets/RT/USER/lte-softmodem.c
+2
-1
No files found.
executables/main-fs6.c
View file @
02c8b38b
This diff is collapsed.
Click to expand it.
executables/split_headers.h
View file @
02c8b38b
...
@@ -74,6 +74,8 @@ int sendSubFrame(UDPsock_t *sock, void *bufferZone, ssize_t secondHeaderSize);
...
@@ -74,6 +74,8 @@ int sendSubFrame(UDPsock_t *sock, void *bufferZone, ssize_t secondHeaderSize);
uint8_t xBuf[FS6_BUF_SIZE];\
uint8_t xBuf[FS6_BUF_SIZE];\
((commonUDP_t *)xBuf)->nbBlocks=0;
((commonUDP_t *)xBuf)->nbBlocks=0;
#define hUDP(xBuf) ((commonUDP_t *)xBuf)
#define hDL(xBuf) (((fs6_dl_t*)((commonUDP_t *)xBuf)+1))
inline
size_t
alignedSize
(
uint8_t
*
ptr
)
{
inline
size_t
alignedSize
(
uint8_t
*
ptr
)
{
commonUDP_t
*
header
=
(
commonUDP_t
*
)
ptr
;
commonUDP_t
*
header
=
(
commonUDP_t
*
)
ptr
;
...
...
executables/transport_split.c
View file @
02c8b38b
...
@@ -104,6 +104,11 @@ int sendSubFrame(UDPsock_t *sock, void *bufferZone, ssize_t secondHeaderSize) {
...
@@ -104,6 +104,11 @@ int sendSubFrame(UDPsock_t *sock, void *bufferZone, ssize_t secondHeaderSize) {
int
nbBlocks
=
UDPheader
->
nbBlocks
;
int
nbBlocks
=
UDPheader
->
nbBlocks
;
int
blockId
=
0
;
int
blockId
=
0
;
if
(
nbBlocks
<=
0
)
{
LOG_E
(
PHY
,
"FS6: can't send blocks: %d
\n
"
,
nbBlocks
);
return
0
;
}
do
{
do
{
if
(
blockId
>
0
)
{
if
(
blockId
>
0
)
{
commonUDP_t
*
currentHeader
=
(
commonUDP_t
*
)
bufferZone
;
commonUDP_t
*
currentHeader
=
(
commonUDP_t
*
)
bufferZone
;
...
...
targets/RT/USER/lte-softmodem.c
View file @
02c8b38b
...
@@ -593,7 +593,8 @@ int main( int argc, char **argv ) {
...
@@ -593,7 +593,8 @@ int main( int argc, char **argv ) {
/* initializes PDCP and sets correct RLC Request/PDCP Indication callbacks
/* initializes PDCP and sets correct RLC Request/PDCP Indication callbacks
* for monolithic/F1 modes */
* for monolithic/F1 modes */
init_pdcp
();
if
(
getenv
(
"fs6"
)
==
NULL
||
strncasecmp
(
getenv
(
"fs6"
),
"du"
,
2
)
!=
0
)
init_pdcp
();
if
(
create_tasks
(
1
)
<
0
)
{
if
(
create_tasks
(
1
)
<
0
)
{
printf
(
"cannot create ITTI tasks
\n
"
);
printf
(
"cannot create ITTI tasks
\n
"
);
...
...
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