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
170ee6ba
Commit
170ee6ba
authored
Feb 18, 2021
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quick fix
parent
39ab3c1e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
6 deletions
+14
-6
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
+14
-6
No files found.
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
View file @
170ee6ba
...
@@ -448,9 +448,6 @@ void nr_rx_sdu(const module_id_t gnb_mod_idP,
...
@@ -448,9 +448,6 @@ void nr_rx_sdu(const module_id_t gnb_mod_idP,
}
}
}
}
}
else
{
}
else
{
if
(
!
sduP
)
// check that CRC passed
return
;
T
(
T_GNB_MAC_UL_PDU_WITH_DATA
,
T_INT
(
gnb_mod_idP
),
T_INT
(
CC_idP
),
T
(
T_GNB_MAC_UL_PDU_WITH_DATA
,
T_INT
(
gnb_mod_idP
),
T_INT
(
CC_idP
),
T_INT
(
rntiP
),
T_INT
(
frameP
),
T_INT
(
slotP
),
T_INT
(
-
1
)
/* harq_pid */
,
T_INT
(
rntiP
),
T_INT
(
frameP
),
T_INT
(
slotP
),
T_INT
(
-
1
)
/* harq_pid */
,
T_BUFFER
(
sduP
,
sdu_lenP
));
T_BUFFER
(
sduP
,
sdu_lenP
));
...
@@ -460,9 +457,6 @@ void nr_rx_sdu(const module_id_t gnb_mod_idP,
...
@@ -460,9 +457,6 @@ 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
,
...
@@ -471,6 +465,20 @@ void nr_rx_sdu(const module_id_t gnb_mod_idP,
...
@@ -471,6 +465,20 @@ void nr_rx_sdu(const module_id_t gnb_mod_idP,
current_rnti
);
current_rnti
);
continue
;
continue
;
}
}
if
(
ra
->
state
==
WAIT_Msg3
&&
!
sduP
)
{
LOG_E
(
MAC
,
"%4d.%2d did not receive Msg 3 for RA RNTI %04x, resetting to State RA_IDLE
\n
"
,
frameP
,
slotP
,
ra
->
rnti
);
ra
->
state
=
RA_IDLE
;
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