Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG UE
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
Michael Black
OpenXG UE
Commits
7bf2ca2e
Commit
7bf2ca2e
authored
Mar 10, 2021
by
francescomani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixing a segfault in dlschsim
parent
28fa899d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
5 deletions
+3
-5
openair1/PHY/INIT/nr_init.c
openair1/PHY/INIT/nr_init.c
+2
-1
openair1/PHY/NR_TRANSPORT/nr_dlsch_coding.c
openair1/PHY/NR_TRANSPORT/nr_dlsch_coding.c
+0
-3
openair1/PHY/NR_UE_TRANSPORT/pss_nr.c
openair1/PHY/NR_UE_TRANSPORT/pss_nr.c
+1
-1
No files found.
openair1/PHY/INIT/nr_init.c
View file @
7bf2ca2e
...
...
@@ -445,7 +445,8 @@ void nr_phy_config_request_sim(PHY_VARS_gNB *gNB,
fp
->
nr_band
=
261
;
// fp->threequarter_fs= 0;
}
fp
->
threequarter_fs
=
0
;
gNB_config
->
carrier_config
.
dl_bandwidth
.
value
=
config_bandwidth
(
mu
,
N_RB_DL
,
fp
->
nr_band
);
nr_init_frame_parms
(
gNB_config
,
fp
);
...
...
openair1/PHY/NR_TRANSPORT/nr_dlsch_coding.c
View file @
7bf2ca2e
...
...
@@ -110,8 +110,6 @@ void free_gNB_dlsch(NR_gNB_DLSCH_t **dlschptr, uint16_t N_RB)
harq
->
d
[
r
]
=
NULL
;
}
}
free16
(
harq
,
sizeof
(
NR_DL_gNB_HARQ_t
));
harq
=
NULL
;
}
}
...
...
@@ -268,7 +266,6 @@ int nr_dlsch_encoding(PHY_VARS_gNB *gNB,
float
Coderate
=
0
.
0
;
uint8_t
Nl
=
4
;
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME
(
VCD_SIGNAL_DUMPER_FUNCTIONS_gNB_DLSCH_ENCODING
,
VCD_FUNCTION_IN
);
A
=
rel15
->
TBSize
[
0
]
<<
3
;
...
...
openair1/PHY/NR_UE_TRANSPORT/pss_nr.c
View file @
7bf2ca2e
...
...
@@ -213,7 +213,7 @@ void generate_pss_nr(NR_DL_FRAME_PARMS *fp,int N_ID_2)
}
for
(
int
n
=
0
;
n
<
LENGTH_PSS_NR
;
n
++
)
{
int
m
=
(
n
+
43
*
N_ID_2
)
%
(
LENGTH_PSS_NR
);
int
m
=
(
n
+
43
*
N_ID_2
)
%
(
LENGTH_PSS_NR
);
d_pss
[
n
]
=
1
-
2
*
x
[
m
];
}
...
...
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