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
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Worker.N
openairinterface5G
Commits
cf09d198
Commit
cf09d198
authored
6 years ago
by
Wang Tsu-Han
Browse files
Options
Downloads
Patches
Plain Diff
adding definition for UE
parent
c5cd47f9
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
openair1/PHY/defs_common.h
+15
-0
15 additions, 0 deletions
openair1/PHY/defs_common.h
openair1/PHY/defs_eNB.h
+0
-16
0 additions, 16 deletions
openair1/PHY/defs_eNB.h
targets/RT/USER/lte-uesoftmodem.c
+18
-2
18 additions, 2 deletions
targets/RT/USER/lte-uesoftmodem.c
with
33 additions
and
18 deletions
openair1/PHY/defs_common.h
+
15
−
0
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
;
...
...
This diff is collapsed.
Click to expand it.
openair1/PHY/defs_eNB.h
+
0
−
16
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
{
...
...
This diff is collapsed.
Click to expand it.
targets/RT/USER/lte-uesoftmodem.c
+
18
−
2
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
;
...
...
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