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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
OpenXG
OpenXG-RAN
Commits
588e013d
Commit
588e013d
authored
Feb 25, 2022
by
francescomani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix physim compilation
parent
15565c96
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
openair1/SIMULATION/NR_PHY/dlsim.c
openair1/SIMULATION/NR_PHY/dlsim.c
+4
-4
openair1/SIMULATION/NR_PHY/ulsim.c
openair1/SIMULATION/NR_PHY/ulsim.c
+4
-4
No files found.
openair1/SIMULATION/NR_PHY/dlsim.c
View file @
588e013d
...
...
@@ -930,10 +930,10 @@ int main(int argc, char **argv)
nr_gold_pdcch
(
UE
,
frame_parms
->
Nid_cell
);
// compute the scrambling IDs for PDSCH DMRS
for
(
int
i
=
0
;
i
<
2
;
i
++
)
UE
->
scramblingID
[
i
]
=
frame_parms
->
Nid_cell
;
nr_gold_pdsch
(
UE
,
UE
->
scramblingID
);
for
(
int
i
=
0
;
i
<
2
;
i
++
)
{
UE
->
scramblingID
_dlsch
[
i
]
=
frame_parms
->
Nid_cell
;
nr_gold_pdsch
(
UE
,
i
,
UE
->
scramblingID_dlsch
[
i
]);
}
nr_l2_init_ue
(
NULL
);
UE_mac
=
get_mac_inst
(
0
);
...
...
openair1/SIMULATION/NR_PHY/ulsim.c
View file @
588e013d
...
...
@@ -762,10 +762,10 @@ int main(int argc, char **argv)
init_nr_ue_transport
(
UE
,
0
);
// initialize the pusch dmrs
uint16_t
N_n_scid
[
2
]
=
{
frame_parms
->
Nid_cell
,
frame_parms
->
Nid_cell
}
;
int
n_scid
=
0
;
// This quantity is indicated by higher layer parameter dmrs-SeqInitialization
nr_init_pusch_dmrs
(
UE
,
N_n_scid
,
n_scid
);
for
(
int
n_scid
=
0
;
n_scid
<
2
;
n_scid
++
)
{
UE
->
scramblingID_ulsch
[
n_scid
]
=
frame_parms
->
Nid_cell
;
nr_init_pusch_dmrs
(
UE
,
frame_parms
->
Nid_cell
,
n_scid
);
}
//Configure UE
NR_UE_RRC_INST_t
rrcue
;
...
...
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