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
c71edc21
Commit
c71edc21
authored
Mar 20, 2020
by
Sakthivel Velumani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed the assertion in ulsch pdu header
rfsim works
parent
1c2f9bb6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
openair1/PHY/NR_UE_TRANSPORT/nr_ulsch_ue.c
openair1/PHY/NR_UE_TRANSPORT/nr_ulsch_ue.c
+9
-2
No files found.
openair1/PHY/NR_UE_TRANSPORT/nr_ulsch_ue.c
View file @
c71edc21
...
...
@@ -209,8 +209,15 @@ void nr_ue_ulsch_procedures(PHY_VARS_NR_UE *UE,
}
//else if(uplink_counter == 0){ //if(!IS_SOFTMODEM_NOS1){
else
{
LOG_D
(
PHY
,
"Random data to be tranmsitted:
\n
"
);
for
(
i
=
0
;
i
<
harq_process_ul_ue
->
TBS
/
8
;
i
++
)
{
//Use zeros for the header bytes in noS1 mode, in order to make sure that the LCID is not valid
//and block this traffic from being forwarded to the upper layers at the gNB
uint16_t
payload_offset
=
5
;
LOG_D
(
PHY
,
"Random data to be tranmsitted:
\n
"
);
//Give the header bytes some dummy value in order to block the random packet at the MAC layer of the receiver
for
(
i
=
0
;
i
<
payload_offset
;
i
++
)
harq_process_ul_ue
->
a
[
i
]
=
0
;
for
(
i
=
payload_offset
;
i
<
harq_process_ul_ue
->
TBS
/
8
;
i
++
)
{
harq_process_ul_ue
->
a
[
i
]
=
(
unsigned
char
)
rand
();
//printf(" input encoder a[%d]=0x%02x\n",i,harq_process_ul_ue->a[i]);
}
...
...
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