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
lizhongxiao
OpenXG-RAN
Commits
d723fb0d
Commit
d723fb0d
authored
Aug 23, 2017
by
Hongzhi Wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ue remove demo flag
parent
482967b5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
14 deletions
+14
-14
openair1/PHY/INIT/lte_parms.c
openair1/PHY/INIT/lte_parms.c
+4
-4
openair1/PHY/defs.h
openair1/PHY/defs.h
+4
-4
openair1/SCHED/phy_procedures_lte_ue.c
openair1/SCHED/phy_procedures_lte_ue.c
+6
-6
No files found.
openair1/PHY/INIT/lte_parms.c
View file @
d723fb0d
...
...
@@ -111,11 +111,11 @@ int init_frame_parms(LTE_DL_FRAME_PARMS *frame_parms,uint8_t osf)
else
{
frame_parms
->
ofdm_symbol_size
=
2048
;
frame_parms
->
samples_per_tti
=
30720
;
#ifdef UE_NR_PHY_DEMO
//
#ifdef UE_NR_PHY_DEMO
frame_parms
->
samples_per_subframe
=
30720
*
frame_parms
->
ttis_per_subframe
;
#else
frame_parms
->
samples_per_subframe
=
30720
;
#endif
//
#else
//
frame_parms->samples_per_subframe = 30720;
//
#endif
frame_parms
->
first_carrier_offset
=
2048
-
600
;
}
frame_parms
->
N_RBGS
=
4
;
...
...
openair1/PHY/defs.h
View file @
d723fb0d
...
...
@@ -197,12 +197,12 @@ typedef struct {
uint8_t
CC_id
;
/// timestamp transmitted to HW
openair0_timestamp
timestamp_tx
;
#ifdef UE_NR_PHY_DEMO
//
#ifdef UE_NR_PHY_DEMO
/// NR TTI index within subframe_tx [0 .. ttis_per_subframe - 1] to act upon for transmission
int
nr_tti_tx
;
/// NR TTI index within subframe_rx [0 .. ttis_per_subframe - 1] to act upon for reception
int
nr_tti_rx
;
#endif
//
#endif
/// subframe to act upon for transmission
int
subframe_tx
;
/// subframe to act upon for reception
...
...
@@ -381,12 +381,12 @@ typedef struct {
uint8_t
CC_id
;
/// timestamp transmitted to HW
openair0_timestamp
timestamp_tx
;
#ifdef UE_NR_PHY_DEMO
//
#ifdef UE_NR_PHY_DEMO
/// NR TTI index within subframe_tx [0 .. ttis_per_subframe - 1] to act upon for transmission
int
nr_tti_tx
;
/// NR TTI index within subframe_rx [0 .. ttis_per_subframe - 1] to act upon for reception
int
nr_tti_rx
;
#endif
//
#endif
/// subframe to act upon for transmission
int
subframe_tx
;
/// subframe to act upon for reception
...
...
openair1/SCHED/phy_procedures_lte_ue.c
View file @
d723fb0d
...
...
@@ -5654,7 +5654,7 @@ void phy_procedures_UE_lte(PHY_VARS_UE *ue,UE_rxtx_proc_t *proc,uint8_t eNB_id,u
if
(
ue
->
mac_enabled
==
1
)
{
if
(
slot
==
0
)
{
#ifdef UE_NR_PHY_DEMO
//
#ifdef UE_NR_PHY_DEMO
ret
=
mac_xface
->
ue_scheduler
(
ue
->
Mod_id
,
frame_rx
,
nr_tti_rx
,
...
...
@@ -5665,16 +5665,16 @@ void phy_procedures_UE_lte(PHY_VARS_UE *ue,UE_rxtx_proc_t *proc,uint8_t eNB_id,u
subframe_select
(
&
ue
->
frame_parms
,
nr_tti_tx
),
eNB_id
,
0
/*FIXME CC_id*/
);
#else
ret
=
mac_xface
->
ue_scheduler
(
ue
->
Mod_id
,
//
#else
/*
ret = mac_xface->ue_scheduler(ue->Mod_id,
frame_rx,
nr_tti_rx,
frame_tx,
nr_tti_tx,
subframe_select(&ue->frame_parms,nr_tti_tx),
eNB_id
,
0
/*FIXME CC_id*/
);
#endif
eNB_id,
*/
//
0/*FIXME CC_id*/);
//
#endif
if
(
ret
==
CONNECTION_LOST
)
{
LOG_E
(
PHY
,
"[UE %d] Frame %d, nr_tti_rx %d RRC Connection lost, returning to PRACH
\n
"
,
ue
->
Mod_id
,
...
...
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