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
lizhongxiao
OpenXG-RAN
Commits
a1dee602
Commit
a1dee602
authored
Feb 08, 2022
by
Melissa Elkadi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Duplicated packing and unpacking fixed in this commit
This now matches the develop branch as well.
parent
a8a04c72
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
19 deletions
+3
-19
nfapi/open-nFAPI/nfapi/src/nfapi_p7.c
nfapi/open-nFAPI/nfapi/src/nfapi_p7.c
+3
-19
No files found.
nfapi/open-nFAPI/nfapi/src/nfapi_p7.c
View file @
a1dee602
...
...
@@ -5906,25 +5906,9 @@ static uint8_t unpack_nr_uci_pucch_0_1(nfapi_nr_uci_pucch_pdu_format_0_1_t *valu
return
1
;
}
static
uint8_t
unpack_nr_uci_pucch_2_3_4
(
nfapi_nr_uci_pucch_pdu_format_2_3_4_t
*
value
,
uint8_t
**
ppReadPackedMsg
,
uint8_t
*
end
,
nfapi_p7_codec_config_t
*
config
)
{
if
(
!
pull8
(
ppReadPackedMsg
,
&
value
->
pduBitmap
,
end
))
return
0
;
if
(
!
pull32
(
ppReadPackedMsg
,
&
value
->
handle
,
end
))
return
0
;
if
(
!
pull16
(
ppReadPackedMsg
,
&
value
->
rnti
,
end
))
return
0
;
if
(
!
pull8
(
ppReadPackedMsg
,
&
value
->
pucch_format
,
end
))
return
0
;
if
(
!
pull8
(
ppReadPackedMsg
,
&
value
->
ul_cqi
,
end
))
return
0
;
if
(
!
pull16
(
ppReadPackedMsg
,
&
value
->
timing_advance
,
end
))
return
0
;
if
(
!
pull16
(
ppReadPackedMsg
,
&
value
->
rssi
,
end
))
return
0
;
static
uint8_t
unpack_nr_uci_pucch_2_3_4
(
nfapi_nr_uci_pucch_pdu_format_2_3_4_t
*
tlv
,
uint8_t
**
ppReadPackedMsg
,
uint8_t
*
end
)
{
nfapi_nr_uci_pucch_pdu_format_2_3_4_t
*
value
=
(
nfapi_nr_uci_pucch_pdu_format_2_3_4_t
*
)
tlv
;
if
(
!
(
pull8
(
ppReadPackedMsg
,
&
value
->
pduBitmap
,
end
)
&&
pull32
(
ppReadPackedMsg
,
&
value
->
handle
,
end
)
&&
...
...
@@ -6004,7 +5988,7 @@ static uint8_t unpack_nr_uci_indication_body(nfapi_nr_uci_t *value,
}
case
NFAPI_NR_UCI_FORMAT_2_3_4_PDU_TYPE
:
{
nfapi_nr_uci_pucch_pdu_format_2_3_4_t
*
uci_pdu
=
&
value
->
pucch_pdu_format_2_3_4
;
if
(
!
unpack_nr_uci_pucch_2_3_4
(
uci_pdu
,
ppReadPackedMsg
,
end
,
config
))
if
(
!
unpack_nr_uci_pucch_2_3_4
(
uci_pdu
,
ppReadPackedMsg
,
end
))
return
0
;
break
;
}
...
...
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