Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
trx-ecpri
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
nexedi
trx-ecpri
Commits
146bc28d
Commit
146bc28d
authored
Jan 27, 2025
by
Joanne Hugé
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wip
parent
961d41cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
trx_ecpri.c
trx_ecpri.c
+2
-3
No files found.
trx_ecpri.c
View file @
146bc28d
...
...
@@ -480,12 +480,11 @@ static void *send_thread(void *p) {
log_info
(
"SEND_THREAD"
,
"Starting loop"
);
for
(
int64_t
i
=
1
;;
i
++
)
{
// If we have frames to encode (is there space in TX buffer)
// And if there are frames from trx_write callback to encode
int
to_send
=
s
->
tx_burst
/
s
->
tx_n_channel
;
for
(
int
k
=
0
;
k
<
s
->
tx_n_channel
;
k
++
)
{
int
to_read
=
rbuf_read_amount
(
&
trxw_rbuf
[
k
]);
int
to_read
=
rbuf_read_amount
(
&
trxw_rbuf
[
k
])
/
IQ_PAYLOAD
;
if
(
to_read
<
to_send
)
to_send
=
to_read
;
}
...
...
@@ -760,7 +759,7 @@ int start(TRXEcpriState * s) {
ecpri_iq_header
,
ECPRI_IQ_HEADER
+
ORAN_HEADER
);
for
(
int
i
=
0
;
i
<
MAX_TX_BURST
;
i
+
=
PACKET_SIZE
)
for
(
int
i
=
0
;
i
<
MAX_TX_BURST
;
i
+
+
)
memcpy
(
tx_buf
+
i
*
PACKET_SIZE
,
packet_header
,
PACKET_HEADER
);
start_threads
(
s
);
...
...
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