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
4b86b6bb
Commit
4b86b6bb
authored
May 30, 2024
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changes to make 7.2 work
parent
10367133
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
openair1/PHY/NR_TRANSPORT/nr_dlsch_coding.c
openair1/PHY/NR_TRANSPORT/nr_dlsch_coding.c
+1
-1
openair1/PHY/NR_TRANSPORT/nr_dlsch_tools.c
openair1/PHY/NR_TRANSPORT/nr_dlsch_tools.c
+1
-0
No files found.
openair1/PHY/NR_TRANSPORT/nr_dlsch_coding.c
View file @
4b86b6bb
...
@@ -112,7 +112,7 @@ NR_gNB_DLSCH_t new_gNB_dlsch(NR_DL_FRAME_PARMS *frame_parms, uint16_t N_RB)
...
@@ -112,7 +112,7 @@ NR_gNB_DLSCH_t new_gNB_dlsch(NR_DL_FRAME_PARMS *frame_parms, uint16_t N_RB)
bzero
(
harq
,
sizeof
(
NR_DL_gNB_HARQ_t
));
bzero
(
harq
,
sizeof
(
NR_DL_gNB_HARQ_t
));
harq
->
b
=
malloc16
(
dlsch_bytes
);
harq
->
b
=
malloc16
(
dlsch_bytes
);
AssertFatal
(
harq
->
b
,
"cannot allocate memory for harq->b
\n
"
);
AssertFatal
(
harq
->
b
,
"cannot allocate memory for harq->b
\n
"
);
bzero
(
harq
->
sdu
,
dlsch_bytes
);
//
bzero(harq->sdu, dlsch_bytes);
harq
->
sdu_len
=
dlsch_bytes
;
harq
->
sdu_len
=
dlsch_bytes
;
nr_emulate_dlsch_payload
(
harq
->
sdu
,
(
dlsch_bytes
)
>>
3
);
nr_emulate_dlsch_payload
(
harq
->
sdu
,
(
dlsch_bytes
)
>>
3
);
bzero
(
harq
->
b
,
dlsch_bytes
);
bzero
(
harq
->
b
,
dlsch_bytes
);
...
...
openair1/PHY/NR_TRANSPORT/nr_dlsch_tools.c
View file @
4b86b6bb
...
@@ -69,5 +69,6 @@ void nr_fill_dlsch_tx_req(processingData_L1tx_t *msgTx, int idx, uint8_t *sdu, u
...
@@ -69,5 +69,6 @@ void nr_fill_dlsch_tx_req(processingData_L1tx_t *msgTx, int idx, uint8_t *sdu, u
nfapi_nr_dl_tti_pdsch_pdu
*
pdsch
=
&
harq
->
pdsch_pdu
;
nfapi_nr_dl_tti_pdsch_pdu
*
pdsch
=
&
harq
->
pdsch_pdu
;
AssertFatal
(
pdsch
->
pdsch_pdu_rel15
.
pduIndex
==
idx
,
"PDSCH PDU index %d does not match %d
\n
"
,
pdsch
->
pdsch_pdu_rel15
.
pduIndex
,
idx
);
AssertFatal
(
pdsch
->
pdsch_pdu_rel15
.
pduIndex
==
idx
,
"PDSCH PDU index %d does not match %d
\n
"
,
pdsch
->
pdsch_pdu_rel15
.
pduIndex
,
idx
);
harq
->
sdu_len
=
sdu_len
;
harq
->
sdu_len
=
sdu_len
;
AssertFatal
(
sdu_len
<=
sizeof
(
harq
->
sdu
),
"buffer too small
\n
"
);
memcpy
(
harq
->
sdu
,
sdu
,
sdu_len
);
memcpy
(
harq
->
sdu
,
sdu
,
sdu_len
);
}
}
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