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
wangjie
OpenXG-RAN
Commits
c6581031
Commit
c6581031
authored
Mar 16, 2017
by
Cedric Roux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
various quick fixes
parent
b4f82191
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
4 deletions
+3
-4
openair1/PHY/MODULATION/ofdm_mod.c
openair1/PHY/MODULATION/ofdm_mod.c
+0
-1
openair1/SCHED/phy_procedures_lte_eNb.c
openair1/SCHED/phy_procedures_lte_eNb.c
+1
-1
targets/ARCH/LMSSDR/USERSPACE/LIB/lms_lib.cpp
targets/ARCH/LMSSDR/USERSPACE/LIB/lms_lib.cpp
+2
-2
No files found.
openair1/PHY/MODULATION/ofdm_mod.c
View file @
c6581031
...
@@ -163,7 +163,6 @@ void PHY_ofdm_mod(int *input, /// pointer to complex input
...
@@ -163,7 +163,6 @@ void PHY_ofdm_mod(int *input, /// pointer to complex input
#ifndef __AVX2__
#ifndef __AVX2__
if
(
fftsize
==
128
)
if
(
fftsize
==
128
)
#else
#endif
#endif
{
{
for
(
j
=
0
;
j
<
fftsize
;
j
++
)
{
for
(
j
=
0
;
j
<
fftsize
;
j
++
)
{
...
...
openair1/SCHED/phy_procedures_lte_eNb.c
View file @
c6581031
...
@@ -2016,7 +2016,7 @@ void prach_procedures(PHY_VARS_eNB *eNB) {
...
@@ -2016,7 +2016,7 @@ void prach_procedures(PHY_VARS_eNB *eNB) {
eNB
->
UE_stats
[(
uint32_t
)
UE_id
].
UE_timing_offset
=
preamble_delay_list
[
preamble_max
]
&
0x1FFF
;
//limit to 13 (=11+2) bits
eNB
->
UE_stats
[(
uint32_t
)
UE_id
].
UE_timing_offset
=
preamble_delay_list
[
preamble_max
]
&
0x1FFF
;
//limit to 13 (=11+2) bits
eNB
->
UE_stats
[(
uint32_t
)
UE_id
].
sector
=
0
;
eNB
->
UE_stats
[(
uint32_t
)
UE_id
].
sector
=
0
;
LOG_
I
(
PHY
,
"[eNB %d/%d][RAPROC] Frame %d, subframe %d Initiating RA procedure (UE_id %d) with preamble %d, energy %d.%d dB, delay %d
\n
"
,
LOG_
D
(
PHY
,
"[eNB %d/%d][RAPROC] Frame %d, subframe %d Initiating RA procedure (UE_id %d) with preamble %d, energy %d.%d dB, delay %d
\n
"
,
eNB
->
Mod_id
,
eNB
->
Mod_id
,
eNB
->
CC_id
,
eNB
->
CC_id
,
frame
,
frame
,
...
...
targets/ARCH/LMSSDR/USERSPACE/LIB/lms_lib.cpp
View file @
c6581031
...
@@ -128,10 +128,10 @@ void set_rx_gain_offset(openair0_config_t *openair0_cfg, int chain_index) {
...
@@ -128,10 +128,10 @@ void set_rx_gain_offset(openair0_config_t *openair0_cfg, int chain_index) {
/*! \brief Set Gains (TX/RX) on LMSSDR
/*! \brief Set Gains (TX/RX) on LMSSDR
* \param device the hardware to use
* \param device the hardware to use
* \param openair0_cfg openair0 Config structure
* \param openair0_cfg openair0 Config structure
* \returns 0 in success
* \returns 0 in success
, -1 on error
*/
*/
int
trx_lms_set_gains
(
openair0_device
*
device
,
openair0_config_t
*
openair0_cfg
)
{
int
trx_lms_set_gains
(
openair0_device
*
device
,
openair0_config_t
*
openair0_cfg
)
{
int
ret
;
int
ret
=
0
;
if
(
openair0_cfg
->
rx_gain
[
0
]
>
70
+
openair0_cfg
->
rx_gain_offset
[
0
])
{
if
(
openair0_cfg
->
rx_gain
[
0
]
>
70
+
openair0_cfg
->
rx_gain_offset
[
0
])
{
printf
(
"[LMS] Reduce RX Gain 0 by %f dB
\n
"
,
openair0_cfg
->
rx_gain
[
0
]
-
openair0_cfg
->
rx_gain_offset
[
0
]
-
70
);
printf
(
"[LMS] Reduce RX Gain 0 by %f dB
\n
"
,
openair0_cfg
->
rx_gain
[
0
]
-
openair0_cfg
->
rx_gain_offset
[
0
]
-
70
);
...
...
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