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
lizhongxiao
OpenXG-RAN
Commits
d4b27659
Commit
d4b27659
authored
May 21, 2018
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added initialization of GH sequences for SynchRef UE.
parent
6b84b0a1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
7 deletions
+10
-7
openair1/PHY/LTE_TRANSPORT/drs_modulation.c
openair1/PHY/LTE_TRANSPORT/drs_modulation.c
+1
-4
openair1/PHY/LTE_TRANSPORT/slss.c
openair1/PHY/LTE_TRANSPORT/slss.c
+8
-3
openair1/PHY/defs.h
openair1/PHY/defs.h
+1
-0
No files found.
openair1/PHY/LTE_TRANSPORT/drs_modulation.c
View file @
d4b27659
...
...
@@ -168,7 +168,7 @@ int generate_drs_pusch(PHY_VARS_UE *ue,
drs_offset
=
0
;
#ifdef DEBUG_DRS
printf
(
"drs_modulation: l %d Msc_RS = %d, Msc_RS_idx = %d, u=%d,v=%d
\n
"
,
l
,
Msc_RS
,
Msc_RS_idx
,
u
,
v
);
LOG_I
(
PHY
,
"drs_modulation: l %d Msc_RS = %d, Msc_RS_idx = %d, u=%d,v=%d, cyclic shift %d
\n
"
,
l
,
Msc_RS
,
Msc_RS_idx
,
u
,
v
,
cyclic_shift
);
#endif
...
...
@@ -177,9 +177,6 @@ int generate_drs_pusch(PHY_VARS_UE *ue,
symbol_offset
=
subframe_offset
+
frame_parms
->
ofdm_symbol_size
*
l
;
#ifdef DEBUG_DRS
printf
(
"generate_drs_pusch: symbol_offset %d, subframe offset %d, cyclic shift %d
\n
"
,
symbol_offset
,
subframe_offset
,
cyclic_shift
);
#endif
alpha_ind
=
0
;
for
(
rb
=
0
;
rb
<
frame_parms
->
N_RB_UL
;
rb
++
)
{
...
...
openair1/PHY/LTE_TRANSPORT/slss.c
View file @
d4b27659
...
...
@@ -55,6 +55,11 @@ void check_and_generate_slss(PHY_VARS_UE *ue,int frame_tx,int subframe_tx) {
// here we have a transmission opportunity for SLSS
ue
->
frame_parms
.
Nid_SL
=
slss
->
slss_id
;
if
(
ue
->
SLghinitialized
==
0
)
{
generate_sl_grouphop
(
ue
);
ue
->
SLghinitialized
=
1
;
}
// 6 PRBs => ceil(10*log10(6)) = 8
ue
->
tx_power_dBm
[
subframe_tx
]
=
-
6
;
ue
->
tx_total_RE
[
subframe_tx
]
=
72
;
...
...
@@ -84,20 +89,20 @@ void check_and_generate_slss(PHY_VARS_UE *ue,int frame_tx,int subframe_tx) {
1
,
subframe_tx
);
generate_slpss
(
ue
->
common_vars
.
txdataF
,
tx_amp
<<
1
,
&
ue
->
frame_parms
,
2
,
subframe_tx
);
);
generate_slbch
(
ue
->
common_vars
.
txdataF
,
tx_amp
,
&
ue
->
frame_parms
,
subframe_tx
,
ue
->
slss
->
slmib
);
generate_slsss
(
ue
->
common_vars
.
txdataF
,
subframe_tx
,
...
...
openair1/PHY/defs.h
View file @
d4b27659
...
...
@@ -1415,6 +1415,7 @@ typedef struct {
uint8_t
destination_id
;
// DMRS group-hopping sequences for PSBCH (index 0) and 256 possible PSSCH (indices 1...256)
uint32_t
gh
[
257
][
20
];
uint8_t
SLghinitialized
;
uint8_t
slss_generated
;
uint8_t
pscch_coded
;
uint8_t
pscch_generated
;
...
...
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