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
wangwenhui
OpenXG-RAN
Commits
f5d6aa4c
Commit
f5d6aa4c
authored
Apr 05, 2019
by
Francesco Mani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix on pbchsim without -I
parent
43a98185
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
1 deletion
+1
-1
openair1/PHY/MODULATION/slot_fep_nr.c
openair1/PHY/MODULATION/slot_fep_nr.c
+0
-1
openair1/SIMULATION/NR_PHY/pbchsim.c
openair1/SIMULATION/NR_PHY/pbchsim.c
+1
-0
No files found.
openair1/PHY/MODULATION/slot_fep_nr.c
View file @
f5d6aa4c
...
@@ -173,7 +173,6 @@ int nr_slot_fep(PHY_VARS_NR_UE *ue,
...
@@ -173,7 +173,6 @@ int nr_slot_fep(PHY_VARS_NR_UE *ue,
}
else
{
}
else
{
rx_offset
+=
(
frame_parms
->
ofdm_symbol_size
+
nb_prefix_samples
)
*
symbol
;
rx_offset
+=
(
frame_parms
->
ofdm_symbol_size
+
nb_prefix_samples
)
*
symbol
;
// + (frame_parms->ofdm_symbol_size+nb_prefix_samples)*(l-1);
// + (frame_parms->ofdm_symbol_size+nb_prefix_samples)*(l-1);
if
(
rx_offset
>
(
frame_length_samples
-
frame_parms
->
ofdm_symbol_size
))
if
(
rx_offset
>
(
frame_length_samples
-
frame_parms
->
ofdm_symbol_size
))
memcpy
((
void
*
)
&
(
rxdata
[
aa
][
frame_length_samples
]),
memcpy
((
void
*
)
&
(
rxdata
[
aa
][
frame_length_samples
]),
(
void
*
)
&
(
rxdata
[
aa
][
0
]),
(
void
*
)
&
(
rxdata
[
aa
][
0
]),
...
...
openair1/SIMULATION/NR_PHY/pbchsim.c
View file @
f5d6aa4c
...
@@ -605,6 +605,7 @@ int main(int argc, char **argv)
...
@@ -605,6 +605,7 @@ int main(int argc, char **argv)
if
(
ret
<
0
)
n_errors
++
;
if
(
ret
<
0
)
n_errors
++
;
}
}
else
{
else
{
UE
->
common_vars
.
rxdata
=
UE
->
common_vars
.
rxdata_is
;
UE
->
rx_offset
=
0
;
UE
->
rx_offset
=
0
;
uint8_t
ssb_index
=
0
;
uint8_t
ssb_index
=
0
;
while
(
!
((
SSB_positions
>>
ssb_index
)
&
0x01
))
ssb_index
++
;
// to select the first transmitted ssb
while
(
!
((
SSB_positions
>>
ssb_index
)
&
0x01
))
ssb_index
++
;
// to select the first transmitted ssb
...
...
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