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
ba27aefe
Commit
ba27aefe
authored
Dec 13, 2024
by
Laurent THOMAS
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add some const and remove dead code
parent
7d0c8918
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
31 deletions
+4
-31
openair1/PHY/LTE_UE_TRANSPORT/rar_tools_ue.c
openair1/PHY/LTE_UE_TRANSPORT/rar_tools_ue.c
+1
-1
openair1/PHY/LTE_UE_TRANSPORT/sss_ue.c
openair1/PHY/LTE_UE_TRANSPORT/sss_ue.c
+2
-19
openair1/PHY/LTE_UE_TRANSPORT/transport_proto_ue.h
openair1/PHY/LTE_UE_TRANSPORT/transport_proto_ue.h
+0
-10
openair1/PHY/TOOLS/invSqrt.c
openair1/PHY/TOOLS/invSqrt.c
+1
-1
No files found.
openair1/PHY/LTE_UE_TRANSPORT/rar_tools_ue.c
View file @
ba27aefe
...
...
@@ -39,7 +39,7 @@
#include "PHY/LTE_TRANSPORT/transport_vars.h"
#include "assertions.h"
static
int8_t
delta_PUSCH_msg2
[
8
]
=
{
-
6
,
-
4
,
-
2
,
0
,
2
,
4
,
6
,
8
};
static
const
int8_t
delta_PUSCH_msg2
[
8
]
=
{
-
6
,
-
4
,
-
2
,
0
,
2
,
4
,
6
,
8
};
int
generate_ue_ulsch_params_from_rar
(
PHY_VARS_UE
*
ue
,
UE_rxtx_proc_t
*
proc
,
...
...
openair1/PHY/LTE_UE_TRANSPORT/sss_ue.c
View file @
ba27aefe
...
...
@@ -225,26 +225,9 @@ int pss_sss_extract(PHY_VARS_UE *phy_vars_ue,
return
_do_pss_sss_extract
(
phy_vars_ue
,
pss_ext
,
sss_ext
,
1
/* doPss */
,
1
/* doSss */
,
subframe
);
}
int
pss_only_extract
(
PHY_VARS_UE
*
phy_vars_ue
,
int32_t
pss_ext
[
4
][
72
],
uint8_t
subframe
)
{
static
int32_t
dummy
[
4
][
72
];
return
_do_pss_sss_extract
(
phy_vars_ue
,
pss_ext
,
dummy
,
1
/* doPss */
,
0
/* doSss */
,
subframe
);
}
int
sss_only_extract
(
PHY_VARS_UE
*
phy_vars_ue
,
int32_t
sss_ext
[
4
][
72
],
uint8_t
subframe
)
{
static
int32_t
dummy
[
4
][
72
];
return
_do_pss_sss_extract
(
phy_vars_ue
,
dummy
,
sss_ext
,
0
/* doPss */
,
1
/* doSss */
,
subframe
);
}
int16_t
phase_re
[
7
]
=
{
16383
,
25101
,
30791
,
32767
,
30791
,
25101
,
16383
};
int16_t
phase_im
[
7
]
=
{
-
28378
,
-
21063
,
-
11208
,
0
,
11207
,
21062
,
28377
};
static
const
int16_t
phase_re
[
7
]
=
{
16383
,
25101
,
30791
,
32767
,
30791
,
25101
,
16383
};
static
const
int16_t
phase_im
[
7
]
=
{
-
28378
,
-
21063
,
-
11208
,
0
,
11207
,
21062
,
28377
};
int
rx_sss
(
PHY_VARS_UE
*
ue
,
int32_t
*
tot_metric
,
uint8_t
*
flip_max
,
uint8_t
*
phase_max
)
...
...
openair1/PHY/LTE_UE_TRANSPORT/transport_proto_ue.h
View file @
ba27aefe
...
...
@@ -1082,16 +1082,6 @@ int pss_sss_extract(PHY_VARS_UE *phy_vars_ue,
int32_t
sss_ext
[
4
][
72
],
uint8_t
subframe
);
/*! \brief Extract only PSS resource elements
@param phy_vars_ue Pointer to UE variables
@param[out] pss_ext contain the PSS signals after the extraction
@param subframe
@returns 0 on success
*/
int
pss_only_extract
(
PHY_VARS_UE
*
phy_vars_ue
,
int32_t
pss_ext
[
4
][
72
],
uint8_t
subframe
);
/*! \brief Extract only SSS resource elements
@param phy_vars_ue Pointer to UE variables
@param[out] sss_ext contain the SSS signals after the extraction
...
...
openair1/PHY/TOOLS/invSqrt.c
View file @
ba27aefe
This diff is collapsed.
Click to expand it.
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