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
ea3e1dba
Commit
ea3e1dba
authored
Jun 30, 2026
by
Francesco Mani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove negative init for dlsim parameters
Signed-off-by:
Francesco Mani
<
email@francescomani.it
>
parent
919b61f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
openair1/SIMULATION/NR_PHY/dlsim.c
openair1/SIMULATION/NR_PHY/dlsim.c
+3
-6
No files found.
openair1/SIMULATION/NR_PHY/dlsim.c
View file @
ea3e1dba
...
@@ -173,7 +173,7 @@ void update_ptrs_config(NR_BWP_Downlink_t *bwp, int *rbSize, uint8_t *mcsIndex,i
...
@@ -173,7 +173,7 @@ void update_ptrs_config(NR_BWP_Downlink_t *bwp, int *rbSize, uint8_t *mcsIndex,i
void
update_dmrs_config
(
NR_BWP_Downlink_t
*
bwp
,
int8_t
*
dmrs_arg
);
void
update_dmrs_config
(
NR_BWP_Downlink_t
*
bwp
,
int8_t
*
dmrs_arg
);
/* specific dlsim DL preprocessor: uses rbStart/rbSize/mcs/nrOfLayers from command line of dlsim */
/* specific dlsim DL preprocessor: uses rbStart/rbSize/mcs/nrOfLayers from command line of dlsim */
int
g_mcsIndex
=
-
1
,
g_mcsTableIdx
=
0
,
g_rbStart
=
-
1
,
g_rbSize
=
-
1
,
g_nrOfLayers
=
1
,
g_pmi
=
0
,
g_nb_rb_ranges
=
0
,
N_RB_DL
=
106
;
int
g_mcsIndex
=
9
,
g_mcsTableIdx
=
0
,
g_rbStart
=
0
,
g_rbSize
=
0
,
g_nrOfLayers
=
1
,
g_pmi
=
0
,
g_nb_rb_ranges
=
0
,
N_RB_DL
=
106
;
nr_pdsch_allocation_type_t
alloc_type
=
PDSCH_TYPE1
;
nr_pdsch_allocation_type_t
alloc_type
=
PDSCH_TYPE1
;
#define MAX_RB_RANGES 16
#define MAX_RB_RANGES 16
typedef
struct
{
typedef
struct
{
...
@@ -864,11 +864,8 @@ int main(int argc, char **argv)
...
@@ -864,11 +864,8 @@ int main(int argc, char **argv)
/* nr_mac_add_test_ue() has created one user, so set the scheduling
/* nr_mac_add_test_ue() has created one user, so set the scheduling
* parameters from command line in global variables that will be picked up by
* parameters from command line in global variables that will be picked up by
* scheduling preprocessor */
* scheduling preprocessor */
if
(
g_mcsIndex
<
0
)
AssertFatal
(
N_RB_DL
>
g_rbStart
,
"rbStart %d exceeds BWP size %d
\n
"
,
g_rbStart
,
N_RB_DL
);
g_mcsIndex
=
9
;
if
(
g_rbSize
==
0
)
if
(
g_rbStart
<
0
)
g_rbStart
=
0
;
if
(
g_rbSize
<
0
)
g_rbSize
=
N_RB_DL
-
g_rbStart
;
g_rbSize
=
N_RB_DL
-
g_rbStart
;
/* -U option modify DMRS */
/* -U option modify DMRS */
...
...
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