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
Michael Black
OpenXG-RAN
Commits
b5952593
Commit
b5952593
authored
Oct 28, 2022
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/gNB_MAC_PDU_decoding_improvements' into integration_2022_wk43
parents
01ef8c2f
705c6b76
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
5 deletions
+11
-5
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
+11
-5
No files found.
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
View file @
b5952593
...
...
@@ -232,7 +232,11 @@ int nr_process_mac_pdu(instance_t module_idP,
break
;
case
UL_SCH_LCID_SINGLE_ENTRY_PHR
:
AssertFatal
(
harq_pid
>-
1
,
"Invalid HARQ PID %d
\n
"
,
harq_pid
);
if
(
harq_pid
<
0
)
{
LOG_E
(
NR_MAC
,
"Invalid HARQ PID %d
\n
"
,
harq_pid
);
done
=
1
;
break
;
}
NR_sched_pusch_t
*
sched_pusch
=
&
sched_ctrl
->
ul_harq_processes
[
harq_pid
].
sched_pusch
;;
//38.321 section 6.1.3.8
//fixed length
...
...
@@ -265,18 +269,20 @@ int nr_process_mac_pdu(instance_t module_idP,
break
;
case
UL_SCH_LCID_MULTI_ENTRY_PHR_1_OCT
:
LOG_E
(
NR_MAC
,
"Multi entry PHR not supported
\n
"
);
done
=
1
;
//38.321 section 6.1.3.9
// varialbe length
AssertFatal
(
1
==
0
,
"Multi entry PHR not supported
\n
"
);
// variable length
if
(
!
get_mac_len
(
pduP
,
pdu_len
,
&
mac_len
,
&
mac_subheader_len
))
return
0
;
/* Extract MULTI ENTRY PHR elements from single octet bitmap for PHR calculation */
break
;
case
UL_SCH_LCID_MULTI_ENTRY_PHR_4_OCT
:
LOG_E
(
NR_MAC
,
"Multi entry PHR not supported
\n
"
);
done
=
1
;
//38.321 section 6.1.3.9
// varialbe length
AssertFatal
(
1
==
0
,
"Multi entry PHR not supported
\n
"
);
// variable length
if
(
!
get_mac_len
(
pduP
,
pdu_len
,
&
mac_len
,
&
mac_subheader_len
))
return
0
;
/* Extract MULTI ENTRY PHR elements from four octets bitmap for PHR calculation */
...
...
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