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
5e72bd70
Commit
5e72bd70
authored
Feb 18, 2024
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nfapi: Fixup BG (un)packing and error message
parent
f1d9638e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
3 deletions
+11
-3
nfapi/open-nFAPI/nfapi/src/nfapi_p7.c
nfapi/open-nFAPI/nfapi/src/nfapi_p7.c
+10
-2
openair1/PHY/CODING/nrLDPC_encoder/ldpc_generate_coefficient.c
...ir1/PHY/CODING/nrLDPC_encoder/ldpc_generate_coefficient.c
+1
-1
No files found.
nfapi/open-nFAPI/nfapi/src/nfapi_p7.c
View file @
5e72bd70
...
...
@@ -333,7 +333,11 @@ static uint8_t pack_dl_tti_pdsch_pdu_rel15_value(void *tlv, uint8_t **ppWritePac
push8
(
0
,
ppWritePackedMsg
,
end
)))
{
// powerControlOffsetSS
return
0
;
}
// TODO Add CBG Fields
if
(
!
push8
(
value
->
maintenance_parms_v3
.
ldpcBaseGraph
,
ppWritePackedMsg
,
end
)
||
!
push32
(
value
->
maintenance_parms_v3
.
tbSizeLbrmBytes
,
ppWritePackedMsg
,
end
))
return
0
;
return
1
;
}
...
...
@@ -4077,7 +4081,11 @@ static uint8_t unpack_dl_tti_pdsch_pdu_rel15_value(void *tlv, uint8_t **ppReadPa
pull8
(
ppReadPackedMsg
,
&
powerControlOffsetSS
,
end
)))
{
// powerControlOffsetSS
return
0
;
}
// TODO Add CBG Fields
if
(
!
pull8
(
ppReadPackedMsg
,
&
value
->
maintenance_parms_v3
.
ldpcBaseGraph
,
end
)
||
!
pull32
(
ppReadPackedMsg
,
&
value
->
maintenance_parms_v3
.
tbSizeLbrmBytes
,
end
))
return
0
;
return
1
;
}
...
...
openair1/PHY/CODING/nrLDPC_encoder/ldpc_generate_coefficient.c
View file @
5e72bd70
...
...
@@ -386,7 +386,7 @@ static inline int encode_parity_check_part_orig(unsigned char *c,unsigned char *
rate
=
5
;
}
else
{
printf
(
"problem with BG
\n
"
);
printf
(
"problem with BG
: is %d
\n
"
,
BG
);
return
(
-
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