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
spbro
OpenXG-RAN
Commits
9e0bcb7f
Commit
9e0bcb7f
authored
Jul 25, 2024
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nr_modulation(): make non-changing input parameter const ptr
parent
f0f0cf80
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
openair1/PHY/MODULATION/nr_modulation.c
openair1/PHY/MODULATION/nr_modulation.c
+3
-3
openair1/PHY/MODULATION/nr_modulation.h
openair1/PHY/MODULATION/nr_modulation.h
+1
-1
No files found.
openair1/PHY/MODULATION/nr_modulation.c
View file @
9e0bcb7f
...
...
@@ -112,7 +112,7 @@ const char nr_W_4l_4p[5][4][4] = {
{{
'1'
,
'1'
,
'1'
,
'1'
},
{
'1'
,
'n'
,
'1'
,
'n'
},
{
'j'
,
'j'
,
'o'
,
'o'
},
{
'j'
,
'o'
,
'o'
,
'j'
}}
// pmi 4
};
void
nr_modulation
(
uint32_t
*
in
,
void
nr_modulation
(
const
uint32_t
*
in
,
uint32_t
length
,
uint16_t
mod_order
,
int16_t
*
out
)
...
...
@@ -120,8 +120,8 @@ void nr_modulation(uint32_t *in,
uint16_t
mask
=
((
1
<<
mod_order
)
-
1
);
int32_t
*
nr_mod_table32
;
int32_t
*
out32
=
(
int32_t
*
)
out
;
uint8_t
*
in_bytes
=
(
uint8_t
*
)
in
;
uint64_t
*
in64
=
(
uint64_t
*
)
in
;
const
uint8_t
*
in_bytes
=
(
const
uint8_t
*
)
in
;
const
uint64_t
*
in64
=
(
const
uint64_t
*
)
in
;
int64_t
*
out64
=
(
int64_t
*
)
out
;
uint32_t
i
=
0
;
...
...
openair1/PHY/MODULATION/nr_modulation.h
View file @
9e0bcb7f
...
...
@@ -42,7 +42,7 @@ extern const char nr_W_4l_4p[5][4][4];
@param[out] out, complex valued modulated symbols
*/
void
nr_modulation
(
uint32_t
*
in
,
void
nr_modulation
(
const
uint32_t
*
in
,
uint32_t
length
,
uint16_t
mod_order
,
int16_t
*
out
);
...
...
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