Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
oai
openairinterface5G
Commits
7ad45679
Commit
7ad45679
authored
Dec 05, 2018
by
knopp
Browse files
gNB DCI encoding output matches UE decoding input. DCI Channel decoding fails in UE.
parent
ee1c5cbd
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
openair1/PHY/MODULATION/slot_fep_nr.c
View file @
7ad45679
...
...
@@ -25,14 +25,14 @@
#include
"PHY/LTE_ESTIMATION/lte_estimation.h"
#include
"PHY/NR_UE_ESTIMATION/nr_estimation.h"
#define DEBUG_FEP
//
#define DEBUG_FEP
#define SOFFSET 0
#ifdef LOG_I
/*
#ifdef LOG_I
#undef LOG_I
#define LOG_I(A,B...) printf(A)
#endif
#endif
*/
int
nr_slot_fep
(
PHY_VARS_NR_UE
*
ue
,
unsigned
char
l
,
...
...
openair1/PHY/NR_TRANSPORT/nr_dci.c
View file @
7ad45679
...
...
@@ -150,11 +150,12 @@ void nr_pdcch_scrambling(uint32_t *in,
s
=
lte_gold_generic
(
&
x1
,
&
x2
,
reset
);
reset
=
0
;
if
(
i
){
in
++
;
out
++
;
}
in
++
;
out
++
;
}
}
(
*
out
)
^=
((((
*
in
)
>>
(
i
&
0x1f
))
&
1
)
^
((
s
>>
(
i
&
0x1f
))
&
1
))
<<
(
i
&
0x1f
);
printf
(
"nr_pdcch_scrambling: in %d => out %d
\n
"
,((
*
in
)
>>
(
i
&
0x1f
))
&
1
,((
*
out
)
>>
(
i
&
0x1f
))
&
1
);
}
}
...
...
openair1/PHY/NR_UE_ESTIMATION/nr_dl_channel_estimation.c
View file @
7ad45679
...
...
@@ -28,7 +28,7 @@
#include
"PHY/NR_REFSIG/refsig_defs_ue.h"
#include
"filt16a_32.h"
#include
"T.h"
#define DEBUG_CH
//
#define DEBUG_CH
int
nr_pbch_channel_estimation
(
PHY_VARS_NR_UE
*
ue
,
...
...
openair1/PHY/NR_UE_TRANSPORT/dci_nr.c
View file @
7ad45679
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment