Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
openairinterface5G
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Bin He
openairinterface5G
Commits
341b33f1
Commit
341b33f1
authored
6 years ago
by
Raphael Defosseux
Browse files
Options
Downloads
Plain Diff
Merge remote-tracking branch 'origin/rru-hotfix' into develop_integration_2018_w40
parents
1bdc059f
1132bbab
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
openair1/PHY/INIT/init_top.c
+1
-1
1 addition, 1 deletion
openair1/PHY/INIT/init_top.c
openair1/PHY/INIT/lte_init_ru.c
+3
-0
3 additions, 0 deletions
openair1/PHY/INIT/lte_init_ru.c
openair1/PHY/INIT/lte_init_ue.c
+3
-0
3 additions, 0 deletions
openair1/PHY/INIT/lte_init_ue.c
with
7 additions
and
1 deletion
openair1/PHY/INIT/init_top.c
+
1
−
1
View file @
341b33f1
...
@@ -76,7 +76,7 @@ void init_lte_top(LTE_DL_FRAME_PARMS *frame_parms) {
...
@@ -76,7 +76,7 @@ void init_lte_top(LTE_DL_FRAME_PARMS *frame_parms) {
init_unscrambling_lut
();
init_unscrambling_lut
();
init_scrambling_lut
();
init_scrambling_lut
();
//set_taus_seed(1328);
//set_taus_seed(1328);
init_7_5KHz
();
//
init_7_5KHz();
init_sss
();
init_sss
();
}
}
...
...
This diff is collapsed.
Click to expand it.
openair1/PHY/INIT/lte_init_ru.c
+
3
−
0
View file @
341b33f1
...
@@ -31,6 +31,8 @@
...
@@ -31,6 +31,8 @@
#include
"assertions.h"
#include
"assertions.h"
#include
<math.h>
#include
<math.h>
void
init_7_5KHz
(
void
);
int
phy_init_RU
(
RU_t
*
ru
)
{
int
phy_init_RU
(
RU_t
*
ru
)
{
LTE_DL_FRAME_PARMS
*
fp
=
&
ru
->
frame_parms
;
LTE_DL_FRAME_PARMS
*
fp
=
&
ru
->
frame_parms
;
...
@@ -65,6 +67,7 @@ int phy_init_RU(RU_t *ru) {
...
@@ -65,6 +67,7 @@ int phy_init_RU(RU_t *ru) {
}
}
if
(
ru
->
function
!=
NGFI_RRU_IF5
)
{
// we need to do RX/TX RU processing
if
(
ru
->
function
!=
NGFI_RRU_IF5
)
{
// we need to do RX/TX RU processing
init_7_5KHz
();
LOG_I
(
PHY
,
"nb_tx %d
\n
"
,
ru
->
nb_tx
);
LOG_I
(
PHY
,
"nb_tx %d
\n
"
,
ru
->
nb_tx
);
ru
->
common
.
rxdata_7_5kHz
=
(
int32_t
**
)
malloc16
(
ru
->
nb_rx
*
sizeof
(
int32_t
*
)
);
ru
->
common
.
rxdata_7_5kHz
=
(
int32_t
**
)
malloc16
(
ru
->
nb_rx
*
sizeof
(
int32_t
*
)
);
for
(
i
=
0
;
i
<
ru
->
nb_rx
;
i
++
)
{
for
(
i
=
0
;
i
<
ru
->
nb_rx
;
i
++
)
{
...
...
This diff is collapsed.
Click to expand it.
openair1/PHY/INIT/lte_init_ue.c
+
3
−
0
View file @
341b33f1
...
@@ -34,6 +34,8 @@
...
@@ -34,6 +34,8 @@
#include
"PHY/LTE_UE_TRANSPORT/transport_proto_ue.h"
#include
"PHY/LTE_UE_TRANSPORT/transport_proto_ue.h"
#include
"PHY/LTE_REFSIG/lte_refsig.h"
#include
"PHY/LTE_REFSIG/lte_refsig.h"
void
init_7_5KHz
(
void
);
uint8_t
dmrs1_tab_ue
[
8
]
=
{
0
,
2
,
3
,
4
,
6
,
8
,
9
,
10
};
uint8_t
dmrs1_tab_ue
[
8
]
=
{
0
,
2
,
3
,
4
,
6
,
8
,
9
,
10
};
extern
uint8_t
nfapi_mode
;
extern
uint8_t
nfapi_mode
;
...
@@ -662,6 +664,7 @@ int init_lte_ue_signal(PHY_VARS_UE *ue,
...
@@ -662,6 +664,7 @@ int init_lte_ue_signal(PHY_VARS_UE *ue,
init_frame_parms
(
&
ue
->
frame_parms
,
1
);
init_frame_parms
(
&
ue
->
frame_parms
,
1
);
init_lte_top
(
&
ue
->
frame_parms
);
init_lte_top
(
&
ue
->
frame_parms
);
init_7_5KHz
();
init_ul_hopping
(
&
ue
->
frame_parms
);
init_ul_hopping
(
&
ue
->
frame_parms
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment