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
ae8dae1e
Commit
ae8dae1e
authored
Feb 26, 2025
by
Joanne Hugé
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix align_rx
parent
168d7ecd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
19 deletions
+3
-19
trx_ecpri.c
trx_ecpri.c
+3
-19
No files found.
trx_ecpri.c
View file @
ae8dae1e
...
...
@@ -706,29 +706,13 @@ static void *recv_thread(void *p) {
}
}
//if(s->align_rx) {
// if((o.symbol_id == 0) &&
// (o.slot_id == 0) &&
// (o.subframe_id == 0) &&
// (o.frame_id == 0)) {
// received_hyper_frames++;
// // If we received at least 2 hyperframes and no packet has been lost
// if((received_hyper_frames > 1) && (prev_lost_pkts == lost_pkts)) {
// ready = 1;
// } else if(received_hyper_frames > 1) {
// printf("%d != %d\n", prev_lost_pkts, lost_pkts);
// }
// prev_lost_pkts = lost_pkts;
// }
// if(!ready)
// continue;
//}
if
(
s
->
align_rx
)
{
if
((
o
.
symbol_id
==
0
)
&&
(
o
.
slot_id
==
0
)
&&
(
o
.
subframe_id
==
0
))
{
(
o
.
subframe_id
==
0
)
&&
(
o
.
frame_id
==
0
))
{
received_hyper_frames
++
;
// If we received at least 2 frames and no packet has been lost
// If we received at least 2
hyper
frames and no packet has been lost
if
((
received_hyper_frames
>
1
)
&&
(
prev_lost_pkts
==
lost_pkts
))
{
ready
=
1
;
}
else
if
(
received_hyper_frames
>
1
)
{
...
...
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