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
cf09d198
Commit
cf09d198
authored
Sep 13, 2018
by
Wang Tsu-Han
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adding definition for UE
parent
c5cd47f9
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
18 deletions
+33
-18
openair1/PHY/defs_common.h
openair1/PHY/defs_common.h
+15
-0
openair1/PHY/defs_eNB.h
openair1/PHY/defs_eNB.h
+0
-16
targets/RT/USER/lte-uesoftmodem.c
targets/RT/USER/lte-uesoftmodem.c
+18
-2
No files found.
openair1/PHY/defs_common.h
View file @
cf09d198
...
...
@@ -862,7 +862,22 @@ typedef enum {
RESYNCH
=
4
}
UE_MODE_t
;
/// Threading Parameter
typedef
enum
{
PARALLEL_SINGLE_THREAD
=
0
,
PARALLEL_RU_L1_SPLIT
=
1
,
PARALLEL_RU_L1_TRX_SPLIT
=
2
}
PARALLEL_CONF_t
;
typedef
enum
{
WORKER_DISABLE
=
0
,
WORKER_ENABLE
=
1
}
WORKER_CONF_t
;
typedef
struct
THREAD_STRUCT_s
{
PARALLEL_CONF_t
parallel_conf
;
WORKER_CONF_t
worker_conf
;
}
THREAD_STRUCT
;
typedef
enum
{
SF_DL
,
SF_UL
,
SF_S
}
lte_subframe_t
;
...
...
openair1/PHY/defs_eNB.h
View file @
cf09d198
...
...
@@ -887,22 +887,6 @@ typedef struct {
int
prach_I0
;
}
PHY_MEASUREMENTS_eNB
;
typedef
enum
{
PARALLEL_SINGLE_THREAD
=
0
,
PARALLEL_RU_L1_SPLIT
=
1
,
PARALLEL_RU_L1_TRX_SPLIT
=
2
}
PARALLEL_CONF_t
;
typedef
enum
{
WORKER_DISABLE
=
0
,
WORKER_ENABLE
=
1
}
WORKER_CONF_t
;
typedef
struct
THREAD_STRUCT_s
{
PARALLEL_CONF_t
parallel_conf
;
WORKER_CONF_t
worker_conf
;
}
THREAD_STRUCT
;
/// Top-level PHY Data Structure for eNB
typedef
struct
PHY_VARS_eNB_s
{
...
...
targets/RT/USER/lte-uesoftmodem.c
View file @
cf09d198
...
...
@@ -220,8 +220,24 @@ int transmission_mode=1;
int
emulate_rf
=
0
;
int
numerology
=
0
;
int
codingw
=
0
;
int
fepw
=
0
;
static
THREAD_STRUCT
thread_struct
;
void
set_parallel_conf
(
int
parallel_conf
)
{
thread_struct
.
parallel_conf
=
(
PARALLEL_CONF_t
)
parallel_conf
;
}
void
set_parallel_worker_conf
(
int
worker_conf
)
{
thread_struct
.
worker_conf
=
(
WORKER_CONF_t
)
worker_conf
;
}
PARALLEL_CONF_t
get_thread_paralle_conf
(
void
)
{
return
thread_struct
.
parallel_conf
;
}
WORKER_CONF_t
get_thread_worker_conf
(
void
)
{
return
thread_struct
.
worker_conf
;
}
/* struct for ethernet specific parameters given in eNB conf file */
eth_params_t
*
eth_params
;
...
...
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