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
ZhouShuya
OpenXG-RAN
Commits
13052361
Commit
13052361
authored
Dec 16, 2017
by
Matthieu Kanj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
config parser code finished
parent
cba2a21a
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1241 additions
and
32 deletions
+1241
-32
openair2/ENB_APP/enb_config.h
openair2/ENB_APP/enb_config.h
+13
-6
openair2/ENB_APP/enb_config_NB_IoT.c
openair2/ENB_APP/enb_config_NB_IoT.c
+1228
-26
No files found.
openair2/ENB_APP/enb_config.h
View file @
13052361
...
...
@@ -283,7 +283,7 @@ const Enb_properties_array_t *enb_config_init(char* lib_config_file_name_pP);
const
Enb_properties_array_t
*
enb_config_get
(
void
);
// ***
NB-IoT
*** //
// ***
***************************************************** NB-IoT *******************************************************
*** //
typedef
struct
Enb_properties_NB_IoT_s
{
/* Unique eNB_id to identify the eNB within EPC.
...
...
@@ -409,18 +409,18 @@ typedef struct Enb_properties_NB_IoT_s {
long
pcch_defaultPagingCycle_NB
[
1
+
MAX_NUM_CCs
];
long
nprach_CP_Length
[
1
+
MAX_NUM_CCs
];
long
nprach_rsrp_range
[
1
+
MAX_NUM_CCs
];
c
onst
char
*
nprach_SubcarrierMSG3_RangeStart
;
c
har
*
nprach_SubcarrierMSG3_RangeStart
;
long
maxNumPreambleAttemptCE_NB
[
1
+
MAX_NUM_CCs
];
long
npdsch_nrs_Power
[
1
+
MAX_NUM_CCs
];
long
npusch_ack_nack_numRepetitions_NB
[
1
+
MAX_NUM_CCs
];
long
npusch_srs_SubframeConfig_NB
[
1
+
MAX_NUM_CCs
];
long
npusch_threeTone_CyclicShift_r13
[
1
+
MAX_NUM_CCs
];
long
npusch_sixTone_CyclicShift_r13
[
1
+
MAX_NUM_CCs
];
long
npusch_groupHoppingEnabled
[
1
+
MAX_NUM_CCs
];
BOOLEAN_t
npusch_groupHoppingEnabled
[
1
+
MAX_NUM_CCs
];
long
npusch_groupAssignmentNPUSCH_r13
[
1
+
MAX_NUM_CCs
];
long
dl_GapThreshold_NB
[
1
+
MAX_NUM_CCs
];
long
dl_GapPeriodicity_NB
[
1
+
MAX_NUM_CCs
];
c
onst
c
har
*
dl_GapDurationCoeff_NB
;
char
*
dl_GapDurationCoeff_NB
;
long
npusch_p0_NominalNPUSCH
[
1
+
MAX_NUM_CCs
];
long
npusch_alpha
[
1
+
MAX_NUM_CCs
];
long
deltaPreambleMsg3
[
1
+
MAX_NUM_CCs
];
...
...
@@ -439,7 +439,7 @@ typedef struct Enb_properties_NB_IoT_s {
long
numRepetitionsPerPreambleAttempt
[
1
+
MAX_NUM_CCs
];
long
npdcch_NumRepetitions_RA
[
1
+
MAX_NUM_CCs
];
long
npdcch_StartSF_CSS_RA
[
1
+
MAX_NUM_CCs
];
c
onst
char
*
npdcch_Offset_RA
;
c
har
*
npdcch_Offset_RA
;
//****************************************
long
srb1_timer_poll_retransmit
;
...
...
@@ -506,9 +506,16 @@ typedef struct Enb_properties_NB_IoT_s {
#endif
}
Enb_properties_NB_IoT_t
;
const
Enb_properties_array_t
*
enb_config_init_NB_IoT
(
char
*
lib_config_file_name_pP
);
typedef
struct
Enb_properties_array_NB_IoT_s
{
int
number
;
Enb_properties_NB_IoT_t
*
properties
[
MAX_ENB
];
}
Enb_properties_array_NB_IoT_t
;
void
enb_config_display_NB_IoT
(
void
);
const
Enb_properties_array_NB_IoT_t
*
enb_config_init_NB_IoT
(
char
*
lib_config_file_name_pP
);
const
Enb_properties_array_NB_IoT_t
*
enb_config_get_NB_IoT
(
void
);
#endif
/* ENB_CONFIG_H_ */
/** @} */
openair2/ENB_APP/enb_config_NB_IoT.c
View file @
13052361
This diff is collapsed.
Click to expand it.
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