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
canghaiwuhen
OpenXG-RAN
Commits
4a3f5ec4
Commit
4a3f5ec4
authored
Sep 15, 2018
by
lfarizav
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
some fixes
parent
c90c2bf3
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
7 deletions
+9
-7
openair1/PHY/LTE_TRANSPORT/initial_sync.c
openair1/PHY/LTE_TRANSPORT/initial_sync.c
+1
-1
openair1/PHY/TOOLS/lte_phy_scope.c
openair1/PHY/TOOLS/lte_phy_scope.c
+3
-1
openair1/PHY/TOOLS/lte_phy_scope.h
openair1/PHY/TOOLS/lte_phy_scope.h
+2
-0
targets/SIMU/USER/init_lte.c
targets/SIMU/USER/init_lte.c
+1
-5
targets/SIMU/USER/oaisim.c
targets/SIMU/USER/oaisim.c
+2
-0
No files found.
openair1/PHY/LTE_TRANSPORT/initial_sync.c
View file @
4a3f5ec4
...
...
@@ -903,7 +903,7 @@ int initial_sync_freq(PHY_VARS_UE *ue, runmode_t mode)
init_frame_parms
(
frame_parms
,
1
);
// cellid
frame_parms
->
Nid_cell
=
PHY_vars_eNB_g
[
0
][
0
]
->
frame_parms
.
Nid_cell
;
frame_parms
->
Nid_cell
=
PHY_vars_eNB_g
[
ue
->
common_vars
.
eNb_id
][
0
]
->
frame_parms
.
Nid_cell
;
// nushift
//rx_sss(ue,&metric_fdd_ncp,&flip_fdd_ncp,&phase_fdd_ncp);
frame_parms
->
nushift
=
frame_parms
->
Nid_cell
%
6
;
...
...
openair1/PHY/TOOLS/lte_phy_scope.c
View file @
4a3f5ec4
...
...
@@ -150,9 +150,11 @@ FD_lte_phy_scope_enb *create_lte_phy_scope_enb( void )
void
phy_scope_eNB
(
FD_lte_phy_scope_enb
*
form
,
PHY_VARS_eNB
*
phy_vars_enb
,
PHY_VARS_UE
*
phy_vars_ue
,
int
eNB_id
,
int
UE_id
)
{
int
eNB_id
=
0
;
//
int eNB_id = 0;
int
i
,
i2
,
arx
,
atx
,
ind
,
k
;
LTE_DL_FRAME_PARMS
*
frame_parms
=
&
phy_vars_enb
->
frame_parms
;
int
nsymb_ce
=
12
*
frame_parms
->
N_RB_UL
*
frame_parms
->
symbols_per_tti
;
...
...
openair1/PHY/TOOLS/lte_phy_scope.h
View file @
4a3f5ec4
...
...
@@ -68,6 +68,8 @@ FD_lte_phy_scope_ue * create_lte_phy_scope_ue( void );
void
phy_scope_eNB
(
FD_lte_phy_scope_enb
*
form
,
PHY_VARS_eNB
*
phy_vars_enb
,
PHY_VARS_UE
*
phy_vars_ue
,
int
eNB_id
,
int
UE_id
);
void
phy_scope_UE
(
FD_lte_phy_scope_ue
*
form
,
...
...
targets/SIMU/USER/init_lte.c
View file @
4a3f5ec4
...
...
@@ -173,9 +173,6 @@ PHY_VARS_UE* init_lte_UE(LTE_DL_FRAME_PARMS *frame_parms,
LOG_D
(
PHY
,
"dlsch[%d][%d] => %p
\n
"
,
UE_id
,
i
,
PHY_vars_UE
->
dlsch
[
l
][
i
][
j
]);
}
}
PHY_vars_UE
->
ulsch
[
i
]
=
new_ue_ulsch
(
frame_parms
->
N_RB_UL
,
abstraction_flag
);
if
(
!
PHY_vars_UE
->
ulsch
[
i
])
{
...
...
@@ -187,12 +184,11 @@ PHY_VARS_UE* init_lte_UE(LTE_DL_FRAME_PARMS *frame_parms,
PHY_vars_UE
->
dlsch_ra
[
i
]
=
new_ue_dlsch
(
1
,
1
,
NSOFT
,
MAX_TURBO_ITERATIONS
,
frame_parms
->
N_RB_DL
,
abstraction_flag
);
PHY_vars_UE
->
transmission_mode
[
i
]
=
frame_parms
->
nb_antenna_ports_eNB
==
1
?
1
:
2
;
PHY_vars_UE
->
dlsch_MCH
[
i
]
=
new_ue_dlsch
(
1
,
NUMBER_OF_HARQ_PID_MAX
,
NSOFT
,
MAX_TURBO_ITERATIONS_MBSFN
,
frame_parms
->
N_RB_DL
,
0
);
}
PHY_vars_UE
->
frame_parms
.
pucch_config_common
.
deltaPUCCH_Shift
=
1
;
PHY_vars_UE
->
dlsch_MCH
[
0
]
=
new_ue_dlsch
(
1
,
NUMBER_OF_HARQ_PID_MAX
,
NSOFT
,
MAX_TURBO_ITERATIONS_MBSFN
,
frame_parms
->
N_RB_DL
,
0
);
return
(
PHY_vars_UE
);
}
PHY_VARS_RN
*
init_lte_RN
(
LTE_DL_FRAME_PARMS
*
frame_parms
,
...
...
targets/SIMU/USER/oaisim.c
View file @
4a3f5ec4
...
...
@@ -1142,6 +1142,8 @@ l2l1_task (void *args_p)
phy_scope_eNB
(
form_enb
[
UE_inst
],
PHY_vars_eNB_g
[
eNB_inst
][
0
],
PHY_vars_UE_g
[
0
][
0
],
0
,
UE_inst
);
}
...
...
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