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
1e8c7dca
Commit
1e8c7dca
authored
Mar 30, 2021
by
Sakthivel Velumani
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'ue-dci-false-detection' into ue-pdsch-pusch-parallel
parents
76273a2a
4c3d0ddd
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
executables/nr-ue.c
executables/nr-ue.c
+1
-0
openair1/PHY/NR_UE_TRANSPORT/dci_nr.c
openair1/PHY/NR_UE_TRANSPORT/dci_nr.c
+4
-3
openair1/PHY/defs_nr_UE.h
openair1/PHY/defs_nr_UE.h
+2
-0
No files found.
executables/nr-ue.c
View file @
1e8c7dca
...
@@ -111,6 +111,7 @@ void init_nr_ue_vars(PHY_VARS_NR_UE *ue,
...
@@ -111,6 +111,7 @@ void init_nr_ue_vars(PHY_VARS_NR_UE *ue,
ue
->
Mod_id
=
UE_id
;
ue
->
Mod_id
=
UE_id
;
ue
->
mac_enabled
=
1
;
ue
->
mac_enabled
=
1
;
ue
->
if_inst
=
nr_ue_if_module_init
(
0
);
ue
->
if_inst
=
nr_ue_if_module_init
(
0
);
ue
->
dci_thres
=
0
;
// Setting UE mode to NOT_SYNCHED by default
// Setting UE mode to NOT_SYNCHED by default
for
(
gNB_id
=
0
;
gNB_id
<
nb_connected_gNB
;
gNB_id
++
){
for
(
gNB_id
=
0
;
gNB_id
<
nb_connected_gNB
;
gNB_id
++
){
...
...
openair1/PHY/NR_UE_TRANSPORT/dci_nr.c
View file @
1e8c7dca
...
@@ -885,7 +885,7 @@ uint16_t nr_dci_false_detection(uint64_t *dci,
...
@@ -885,7 +885,7 @@ uint16_t nr_dci_false_detection(uint64_t *dci,
uint32_t
encoder_output
[
NR_MAX_DCI_SIZE_DWORD
];
uint32_t
encoder_output
[
NR_MAX_DCI_SIZE_DWORD
];
polar_encoder_fast
(
dci
,
(
void
*
)
encoder_output
,
rnti
,
1
,
polar_param
);
polar_encoder_fast
(
dci
,
(
void
*
)
encoder_output
,
rnti
,
1
,
polar_param
);
uint8_t
*
enout_p
=
(
int16
_t
*
)
encoder_output
;
uint8_t
*
enout_p
=
(
uint8
_t
*
)
encoder_output
;
uint16_t
x
=
0
;
uint16_t
x
=
0
;
for
(
int
i
=
0
;
i
<
encoded_length
/
8
;
i
++
)
{
for
(
int
i
=
0
;
i
<
encoded_length
/
8
;
i
++
)
{
...
@@ -948,8 +948,9 @@ uint8_t nr_dci_decoding_procedure(PHY_VARS_NR_UE *ue,
...
@@ -948,8 +948,9 @@ uint8_t nr_dci_decoding_procedure(PHY_VARS_NR_UE *ue,
LOG_D
(
PHY
,
"(%i.%i) Received dci indication (rnti %x,dci format %d,n_CCE %d,payloadSize %d,payload %llx)
\n
"
,
LOG_D
(
PHY
,
"(%i.%i) Received dci indication (rnti %x,dci format %d,n_CCE %d,payloadSize %d,payload %llx)
\n
"
,
proc
->
frame_rx
,
proc
->
nr_slot_rx
,
n_rnti
,
rel15
->
dci_format_options
[
k
],
CCEind
,
dci_length
,
*
(
unsigned
long
long
*
)
dci_estimation
);
proc
->
frame_rx
,
proc
->
nr_slot_rx
,
n_rnti
,
rel15
->
dci_format_options
[
k
],
CCEind
,
dci_length
,
*
(
unsigned
long
long
*
)
dci_estimation
);
uint16_t
mb
=
nr_dci_false_detection
(
dci_estimation
,
tmp_e
,
currentPtrDCI
,
L
*
108
,
n_rnti
);
uint16_t
mb
=
nr_dci_false_detection
(
dci_estimation
,
tmp_e
,
currentPtrDCI
,
L
*
108
,
n_rnti
);
if
(
mb
>
10
)
{
ue
->
dci_thres
=
(
ue
->
dci_thres
+
mb
)
/
2
;
LOG_W
(
PHY
,
"DCI false positive. Dropping DCI index %d. Mismatched bits: %d/%d
\n
"
,
j
,
mb
,
L
*
108
);
if
(
mb
>
(
ue
->
dci_thres
+
10
))
{
LOG_W
(
PHY
,
"DCI false positive. Dropping DCI index %d. Mismatched bits: %d/%d. Current DCI threshold: %d
\n
"
,
j
,
mb
,
L
*
108
,
ue
->
dci_thres
);
continue
;
continue
;
}
}
else
{
else
{
...
...
openair1/PHY/defs_nr_UE.h
View file @
1e8c7dca
...
@@ -790,6 +790,8 @@ typedef struct {
...
@@ -790,6 +790,8 @@ typedef struct {
uint8_t
ho_initiated
;
uint8_t
ho_initiated
;
/// \brief indicator that Handover procedure has been triggered
/// \brief indicator that Handover procedure has been triggered
uint8_t
ho_triggered
;
uint8_t
ho_triggered
;
/// threshold for false dci detection
int
dci_thres
;
/// \brief Measurement variables.
/// \brief Measurement variables.
PHY_NR_MEASUREMENTS
measurements
;
PHY_NR_MEASUREMENTS
measurements
;
NR_DL_FRAME_PARMS
frame_parms
;
NR_DL_FRAME_PARMS
frame_parms
;
...
...
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