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
363b4021
Commit
363b4021
authored
Feb 18, 2021
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixup of fix
parent
170ee6ba
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
+5
-5
No files found.
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
View file @
363b4021
...
@@ -457,6 +457,9 @@ void nr_rx_sdu(const module_id_t gnb_mod_idP,
...
@@ -457,6 +457,9 @@ void nr_rx_sdu(const module_id_t gnb_mod_idP,
* it. */
* it. */
for
(
int
i
=
0
;
i
<
NR_NB_RA_PROC_MAX
;
++
i
)
{
for
(
int
i
=
0
;
i
<
NR_NB_RA_PROC_MAX
;
++
i
)
{
NR_RA_t
*
ra
=
&
gNB_mac
->
common_channels
[
CC_idP
].
ra
[
i
];
NR_RA_t
*
ra
=
&
gNB_mac
->
common_channels
[
CC_idP
].
ra
[
i
];
if
(
ra
->
state
!=
WAIT_Msg3
)
continue
;
// random access pusch with TC-RNTI
// random access pusch with TC-RNTI
if
(
ra
->
rnti
!=
current_rnti
)
{
if
(
ra
->
rnti
!=
current_rnti
)
{
LOG_W
(
MAC
,
LOG_W
(
MAC
,
...
@@ -466,8 +469,8 @@ void nr_rx_sdu(const module_id_t gnb_mod_idP,
...
@@ -466,8 +469,8 @@ void nr_rx_sdu(const module_id_t gnb_mod_idP,
continue
;
continue
;
}
}
if
(
ra
->
state
==
WAIT_Msg3
&&
!
sduP
)
{
if
(
!
sduP
)
{
LOG_
E
(
MAC
,
LOG_
w
(
MAC
,
"%4d.%2d did not receive Msg 3 for RA RNTI %04x, resetting to State RA_IDLE
\n
"
,
"%4d.%2d did not receive Msg 3 for RA RNTI %04x, resetting to State RA_IDLE
\n
"
,
frameP
,
frameP
,
slotP
,
slotP
,
...
@@ -476,9 +479,6 @@ void nr_rx_sdu(const module_id_t gnb_mod_idP,
...
@@ -476,9 +479,6 @@ void nr_rx_sdu(const module_id_t gnb_mod_idP,
continue
;
continue
;
}
}
if
(
ra
->
state
!=
WAIT_Msg3
)
continue
;
const
int
UE_id
=
add_new_nr_ue
(
gnb_mod_idP
,
ra
->
rnti
,
ra
->
secondaryCellGroup
);
const
int
UE_id
=
add_new_nr_ue
(
gnb_mod_idP
,
ra
->
rnti
,
ra
->
secondaryCellGroup
);
UE_info
->
UE_beam_index
[
UE_id
]
=
ra
->
beam_id
;
UE_info
->
UE_beam_index
[
UE_id
]
=
ra
->
beam_id
;
LOG_I
(
MAC
,
LOG_I
(
MAC
,
...
...
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