Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
openairinterface5G
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mingxuan Li
openairinterface5G
Commits
ff531831
Commit
ff531831
authored
3 years ago
by
Luis Pereira
Browse files
Options
Downloads
Patches
Plain Diff
Avoid decoding UL-CCCH with all zeros
parent
ac1d0dd0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
openair2/LAYER2/MAC/eNB_scheduler_RA.c
+1
-1
1 addition, 1 deletion
openair2/LAYER2/MAC/eNB_scheduler_RA.c
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
+24
-1
24 additions, 1 deletion
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
with
25 additions
and
2 deletions
openair2/LAYER2/MAC/eNB_scheduler_RA.c
+
1
−
1
View file @
ff531831
...
...
@@ -1288,7 +1288,7 @@ initiate_ra_proc(module_id_t module_idP,
prach_ParametersListCE_r13
=
&
ext4_prach
->
prach_ParametersListCE_r13
;
}
LOG_
D
(
MAC
,
LOG_
I
(
MAC
,
"[eNB %d][RAPROC] CC_id %d Frame %d, Subframe %d Initiating RA procedure for preamble index %d, timing offset %d
\n
"
,
module_idP
,
CC_id
,
frameP
,
subframeP
,
preamble_index
,
timing_offset
);
LOG_D
(
MAC
,
...
...
This diff is collapsed.
Click to expand it.
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
+
24
−
1
View file @
ff531831
...
...
@@ -303,7 +303,17 @@ rx_sdu(const module_id_t enb_mod_idP,
first_rb
=
ra
->
msg3_first_rb
;
if
(
sduP
==
NULL
)
{
// we've got an error on Msg3
bool
no_sig
=
true
;
if
(
sduP
)
{
for
(
int
k
=
0
;
k
<
sdu_lenP
;
k
++
)
{
if
(
sduP
[
k
]
!=
0
)
{
no_sig
=
false
;
break
;
}
}
}
if
(
no_sig
||
sduP
==
NULL
)
{
// we've got an error on Msg3
LOG_D
(
MAC
,
"[eNB %d] CC_id %d, RA %d ULSCH in error in round %d/%d
\n
"
,
enb_mod_idP
,
CC_idP
,
...
...
@@ -690,6 +700,19 @@ rx_sdu(const module_id_t enb_mod_idP,
break
;
}
bool
no_sig
=
true
;
for
(
int
k
=
0
;
k
<
sdu_lenP
;
k
++
)
{
if
(
sduP
[
k
]
!=
0
)
{
no_sig
=
false
;
break
;
}
}
if
(
no_sig
)
{
LOG_W
(
MAC
,
"No signal
\n
"
);
break
;
}
LOG_D
(
MAC
,
"[eNB %d][RAPROC] CC_id %d Frame %d, Received CCCH: %x.%x.%x.%x.%x.%x, Terminating RA procedure for UE rnti %x
\n
"
,
enb_mod_idP
,
CC_idP
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment