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
wangjie
OpenXG-RAN
Commits
9a623a2b
Commit
9a623a2b
authored
Mar 05, 2021
by
Shruthi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pdcch pdu pack/unpack fix
parent
86c39286
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
nfapi/open-nFAPI/nfapi/src/nfapi_p7.c
nfapi/open-nFAPI/nfapi/src/nfapi_p7.c
+4
-4
No files found.
nfapi/open-nFAPI/nfapi/src/nfapi_p7.c
View file @
9a623a2b
...
@@ -267,7 +267,7 @@ static uint8_t pack_dl_tti_pdcch_pdu_rel15_value(void* tlv, uint8_t **ppWritePac
...
@@ -267,7 +267,7 @@ static uint8_t pack_dl_tti_pdcch_pdu_rel15_value(void* tlv, uint8_t **ppWritePac
for
(
uint8_t
i
=
0
;
i
<
MAX_DCI_CORESET
;
++
i
)
for
(
uint8_t
i
=
0
;
i
<
MAX_DCI_CORESET
;
++
i
)
{
{
if
(
!
push16
(
value
->
dci_pdu
[
i
].
RNTI
,
ppWritePackedMsg
,
end
)
&&
if
(
!
(
push16
(
value
->
dci_pdu
[
i
].
RNTI
,
ppWritePackedMsg
,
end
)
&&
push16
(
value
->
dci_pdu
[
i
].
ScramblingId
,
ppWritePackedMsg
,
end
)
&&
push16
(
value
->
dci_pdu
[
i
].
ScramblingId
,
ppWritePackedMsg
,
end
)
&&
push16
(
value
->
dci_pdu
[
i
].
ScramblingRNTI
,
ppWritePackedMsg
,
end
)
&&
push16
(
value
->
dci_pdu
[
i
].
ScramblingRNTI
,
ppWritePackedMsg
,
end
)
&&
...
@@ -277,7 +277,7 @@ static uint8_t pack_dl_tti_pdcch_pdu_rel15_value(void* tlv, uint8_t **ppWritePac
...
@@ -277,7 +277,7 @@ static uint8_t pack_dl_tti_pdcch_pdu_rel15_value(void* tlv, uint8_t **ppWritePac
push8
(
value
->
dci_pdu
[
i
].
powerControlOffsetSS
,
ppWritePackedMsg
,
end
)
&&
push8
(
value
->
dci_pdu
[
i
].
powerControlOffsetSS
,
ppWritePackedMsg
,
end
)
&&
push16
(
value
->
dci_pdu
[
i
].
PayloadSizeBits
,
ppWritePackedMsg
,
end
)
&&
push16
(
value
->
dci_pdu
[
i
].
PayloadSizeBits
,
ppWritePackedMsg
,
end
)
&&
pusharray8
(
value
->
dci_pdu
[
i
].
Payload
,
DCI_PAYLOAD_BYTE_LEN
,
value
->
dci_pdu
[
i
].
PayloadSizeBits
,
ppWritePackedMsg
,
end
))
pusharray8
(
value
->
dci_pdu
[
i
].
Payload
,
value
->
dci_pdu
[
i
].
PayloadSizeBits
,
value
->
dci_pdu
[
i
].
PayloadSizeBits
,
ppWritePackedMsg
,
end
)
))
return
0
;
return
0
;
}
}
...
@@ -3757,7 +3757,7 @@ static uint8_t unpack_dl_tti_pdcch_pdu_rel15_value(void* tlv, uint8_t **ppReadPa
...
@@ -3757,7 +3757,7 @@ static uint8_t unpack_dl_tti_pdcch_pdu_rel15_value(void* tlv, uint8_t **ppReadPa
for
(
uint8_t
i
=
0
;
i
<
MAX_DCI_CORESET
;
++
i
)
for
(
uint8_t
i
=
0
;
i
<
MAX_DCI_CORESET
;
++
i
)
{
{
if
(
!
pull16
(
ppReadPackedMsg
,
&
value
->
dci_pdu
[
i
].
RNTI
,
end
)
&&
if
(
!
(
pull16
(
ppReadPackedMsg
,
&
value
->
dci_pdu
[
i
].
RNTI
,
end
)
&&
pull16
(
ppReadPackedMsg
,
&
value
->
dci_pdu
[
i
].
ScramblingId
,
end
)
&&
pull16
(
ppReadPackedMsg
,
&
value
->
dci_pdu
[
i
].
ScramblingId
,
end
)
&&
pull16
(
ppReadPackedMsg
,
&
value
->
dci_pdu
[
i
].
ScramblingRNTI
,
end
)
&&
pull16
(
ppReadPackedMsg
,
&
value
->
dci_pdu
[
i
].
ScramblingRNTI
,
end
)
&&
...
@@ -3768,7 +3768,7 @@ static uint8_t unpack_dl_tti_pdcch_pdu_rel15_value(void* tlv, uint8_t **ppReadPa
...
@@ -3768,7 +3768,7 @@ static uint8_t unpack_dl_tti_pdcch_pdu_rel15_value(void* tlv, uint8_t **ppReadPa
pull8
(
ppReadPackedMsg
,
&
value
->
dci_pdu
[
i
].
powerControlOffsetSS
,
end
)
&&
pull8
(
ppReadPackedMsg
,
&
value
->
dci_pdu
[
i
].
powerControlOffsetSS
,
end
)
&&
pull16
(
ppReadPackedMsg
,
&
value
->
dci_pdu
[
i
].
PayloadSizeBits
,
end
)
&&
pull16
(
ppReadPackedMsg
,
&
value
->
dci_pdu
[
i
].
PayloadSizeBits
,
end
)
&&
pullarray8
(
ppReadPackedMsg
,
value
->
dci_pdu
[
i
].
Payload
,
DCI_PAYLOAD_BYTE_LEN
,
value
->
dci_pdu
[
i
].
PayloadSizeBits
,
end
))
pullarray8
(
ppReadPackedMsg
,
value
->
dci_pdu
[
i
].
Payload
,
value
->
dci_pdu
[
i
].
PayloadSizeBits
,
value
->
dci_pdu
[
i
].
PayloadSizeBits
,
end
)
))
return
0
;
return
0
;
}
}
...
...
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