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
bd672b42
Commit
bd672b42
authored
Jun 09, 2017
by
Michele Paffetti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleaning part of the code for commn configuration in do_sib2_NB function. code compile
parent
c4925a1d
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
76 additions
and
260 deletions
+76
-260
openair2/COMMON/rrc_messages_types.h
openair2/COMMON/rrc_messages_types.h
+5
-5
openair2/LAYER2/MAC/IF_Module_nb_iot.c
openair2/LAYER2/MAC/IF_Module_nb_iot.c
+2
-1
openair2/PHY_INTERFACE/IF_Module_nb_iot.h
openair2/PHY_INTERFACE/IF_Module_nb_iot.h
+3
-0
openair2/RRC/LITE/L2_interface_nb_iot.c
openair2/RRC/LITE/L2_interface_nb_iot.c
+1
-1
openair2/RRC/LITE/MESSAGES/asn1_msg_nb_iot.c
openair2/RRC/LITE/MESSAGES/asn1_msg_nb_iot.c
+59
-249
openair2/RRC/LITE/MESSAGES/asn1_msg_nb_iot.h
openair2/RRC/LITE/MESSAGES/asn1_msg_nb_iot.h
+2
-1
openair2/RRC/LITE/rrc_eNB_nb_iot.c
openair2/RRC/LITE/rrc_eNB_nb_iot.c
+4
-3
No files found.
openair2/COMMON/rrc_messages_types.h
View file @
bd672b42
...
...
@@ -200,7 +200,7 @@ typedef struct RrcConfigurationReq_s {
long
rach_macContentionResolutionTimer_NB
[
MAX_NUM_CCs
];
long
rach_powerRampingStep_NB
[
MAX_NUM_CCs
];
long
rach_preambleInitialReceivedTargetPower_NB
[
MAX_NUM_CCs
];
long
preambleTransMax_CE_NB
[
MAX_NUM_CCs
];
//da ricontrollare se va bene il tipo
long
rach_preambleTransMax_CE_NB
[
MAX_NUM_CCs
];
//BCCH
long
bcch_modificationPeriodCoeff_NB
[
MAX_NUM_CCs
];
//PCCH
...
...
@@ -209,7 +209,7 @@ typedef struct RrcConfigurationReq_s {
long
pcch_npdcch_NumRepetitionPaging_NB
[
MAX_NUM_CCs
];
//NPRACH
long
nprach_CP_Length
[
MAX_NUM_CCs
];
long
nprach_rsrp_range
_NB
[
MAX_NUM_CCs
];
long
nprach_rsrp_range
[
MAX_NUM_CCs
];
long
nprach_Periodicity
[
MAX_NUM_CCs
];
long
nprach_StartTime
[
MAX_NUM_CCs
];
long
nprach_SubcarrierOffset
[
MAX_NUM_CCs
];
...
...
@@ -235,9 +235,9 @@ typedef struct RrcConfigurationReq_s {
long
dl_GapPeriodicity_NB
[
MAX_NUM_CCs
];
long
dl_GapDurationCoeff_NB
[
MAX_NUM_CCs
];
//Uplink power control Common
long
npusch_p0_NominalNPUSCH
_r13
[
MAX_NUM_CCs
];
long
npusch_alpha
_r13
[
MAX_NUM_CCs
];
long
deltaPreambleMsg3
_r13
[
MAX_NUM_CCs
];
long
npusch_p0_NominalNPUSCH
[
MAX_NUM_CCs
];
long
npusch_alpha
[
MAX_NUM_CCs
];
long
deltaPreambleMsg3
[
MAX_NUM_CCs
];
//UE timers and constants
long
ue_TimersAndConstants_t300_NB
[
MAX_NUM_CCs
];
long
ue_TimersAndConstants_t301_NB
[
MAX_NUM_CCs
];
...
...
openair2/LAYER2/MAC/IF_Module_nb_iot.c
View file @
bd672b42
...
...
@@ -91,11 +91,12 @@ void PHY_config_req(PHY_Config_t* config_INFO){
int
IF_Module_init
(
IF_Module_t
*
if_inst
){
//at initialization of the IF module assign the function to be pointed to the function pointer
if_inst
->
UL_indication
=
UL_indication
;
if_inst
->
schedule_response
=
schedule_response
;
if_inst
->
PHY_config_req
=
PHY_config_req
;
//create the UL_IND_t , Sched_Resp_t and PHY_Config_t structures
//create the UL_IND_t , Sched_Resp_t and PHY_Config_t structures
???
return
0
;
}
...
...
openair2/PHY_INTERFACE/IF_Module_nb_iot.h
View file @
bd672b42
...
...
@@ -321,9 +321,12 @@ typedef struct{
/*IF_Module_t*/
typedef
struct
IF_Module_s
{
//define the function pointer
void
(
*
UL_indication
)(
UL_IND_t
UL_INFO
);
void
(
*
schedule_response
)(
Sched_Rsp_t
Sched_INFO
);
void
(
*
PHY_config_req
)(
PHY_Config_t
config_INFO
);
}
IF_Module_t
;
/*Initial */
...
...
openair2/RRC/LITE/L2_interface_nb_iot.c
View file @
bd672b42
...
...
@@ -226,7 +226,7 @@ int NB_rrc_mac_config_req_eNB(
config_INFO
->
get_COMMON
=
1
;
LOG_I
(
MAC
,
"[CONFIG]SIB2/3-NB Contents (partial)
\n
"
);
LOG_I
(
MAC
,
"[CONFIG]SIB2/3-NB
radioResourceConfigCommon
Contents (partial)
\n
"
);
LOG_I
(
MAC
,
"[CONFIG]npusch_ConfigCommon_r13.dmrs_Config_r13->threeTone_CyclicShift_r13= %ld
\n
"
,
radioResourceConfigCommon
->
npusch_ConfigCommon_r13
.
dmrs_Config_r13
->
threeTone_CyclicShift_r13
);
LOG_I
(
MAC
,
"[CONFIG]npusch_ConfigCommon_r13.dmrs_Config_r13->sixTone_CyclicShift_r13= %ld
\n
"
,
radioResourceConfigCommon
->
npusch_ConfigCommon_r13
.
dmrs_Config_r13
->
sixTone_CyclicShift_r13
);
...
...
openair2/RRC/LITE/MESSAGES/asn1_msg_nb_iot.c
View file @
bd672b42
This diff is collapsed.
Click to expand it.
openair2/RRC/LITE/MESSAGES/asn1_msg_nb_iot.h
View file @
bd672b42
...
...
@@ -78,7 +78,8 @@ uint8_t do_MIB_NB(
uint8_t
do_SIB1_NB
(
uint8_t
Mod_id
,
int
CC_id
,
rrc_eNB_carrier_data_NB_t
*
carrier
,
RrcConfigurationReq
*
configuration
RrcConfigurationReq
*
configuration
,
uint32_t
frame
);
/**
...
...
openair2/RRC/LITE/rrc_eNB_nb_iot.c
View file @
bd672b42
...
...
@@ -1632,13 +1632,13 @@ init_SI_NB(
//MIB
eNB_rrc_inst_NB
[
ctxt_pP
->
module_id
].
carrier
[
CC_id
].
MIB_NB
=
(
uint8_t
*
)
malloc16
(
32
);
//MIB is 34 bits=5bytes needed
//FIXME do_MIB_NB parameters
if
(
eNB_rrc_inst_NB
[
ctxt_pP
->
module_id
].
carrier
[
CC_id
].
MIB_NB
)
{
eNB_rrc_inst_NB
[
ctxt_pP
->
module_id
].
carrier
[
CC_id
].
sizeof_MIB_NB
=
do_MIB_NB
(
&
eNB_rrc_inst_NB
[
ctxt_pP
->
module_id
].
carrier
[
CC_id
],
configuration
->
N_RB_DL
[
CC_id
],
0
0
//FIXME is correct to pass frame = 0??
);
}
else
{
...
...
@@ -1660,7 +1660,8 @@ init_SI_NB(
ctxt_pP
->
module_id
,
CC_id
,
&
eNB_rrc_inst_NB
[
ctxt_pP
->
module_id
].
carrier
[
CC_id
],
configuration
configuration
,
0
//FIXME is correct to pass frame = 0??
);
else
{
...
...
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