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
33e6766d
Commit
33e6766d
authored
Jul 25, 2017
by
ahmed elias
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adding all changes from ornage private branch
parent
cd686fc0
Changes
5
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
2055 additions
and
524 deletions
+2055
-524
openair2/COMMON/rrc_messages_types.h
openair2/COMMON/rrc_messages_types.h
+37
-0
openair2/ENB_APP/enb_config.c
openair2/ENB_APP/enb_config.c
+667
-331
openair2/RRC/LITE/MESSAGES/asn1_msg.c
openair2/RRC/LITE/MESSAGES/asn1_msg.c
+1334
-189
openair2/RRC/LITE/MESSAGES/asn1_msg.h
openair2/RRC/LITE/MESSAGES/asn1_msg.h
+1
-1
openair2/RRC/LITE/rrc_eNB.c
openair2/RRC/LITE/rrc_eNB.c
+16
-3
No files found.
openair2/COMMON/rrc_messages_types.h
View file @
33e6766d
...
@@ -166,6 +166,43 @@ typedef struct RrcConfigurationReq_s {
...
@@ -166,6 +166,43 @@ typedef struct RrcConfigurationReq_s {
long
ue_TimersAndConstants_n310
[
MAX_NUM_CCs
];
long
ue_TimersAndConstants_n310
[
MAX_NUM_CCs
];
long
ue_TimersAndConstants_n311
[
MAX_NUM_CCs
];
long
ue_TimersAndConstants_n311
[
MAX_NUM_CCs
];
long
ue_TransmissionMode
[
MAX_NUM_CCs
];
long
ue_TransmissionMode
[
MAX_NUM_CCs
];
//MIB
long
schedulingInfoSIB1_BR_r13
[
MAX_NUM_CCs
];
//SIB1 BR options
uint16_t
*
hyperSFN_r13
[
MAX_NUM_CCs
];
long
*
eDRX_Allowed_r13
[
MAX_NUM_CCs
];
BOOLEAN_t
cellSelectionInfoCE_r13
[
MAX_NUM_CCs
];
long
q_RxLevMinCE_r13
[
MAX_NUM_CCs
];
long
*
q_QualMinRSRQ_CE_r13
[
MAX_NUM_CCs
];
BOOLEAN_t
bandwidthReducedAccessRelatedInfo_r13
[
MAX_NUM_CCs
];
long
si_WindowLength_BR_r13
[
MAX_NUM_CCs
];
long
si_RepetitionPattern_r13
[
MAX_NUM_CCs
];
BOOLEAN_t
fdd_DownlinkOrTddSubframeBitmapBR_r13
[
MAX_NUM_CCs
];
uint64_t
fdd_DownlinkOrTddSubframeBitmapBR_val_r13
[
MAX_NUM_CCs
];
uint16_t
fdd_UplinkSubframeBitmapBR_r13
[
MAX_NUM_CCs
];
long
startSymbolBR_r13
[
MAX_NUM_CCs
];
long
si_HoppingConfigCommon_r13
[
MAX_NUM_CCs
];
long
*
si_ValidityTime_r13
[
MAX_NUM_CCs
];
BOOLEAN_t
freqHoppingParametersDL_r13
[
MAX_NUM_CCs
];
long
*
mpdcch_pdsch_HoppingNB_r13
[
MAX_NUM_CCs
];
BOOLEAN_t
interval_DLHoppingConfigCommonModeA_r13
[
MAX_NUM_CCs
];
long
interval_DLHoppingConfigCommonModeA_r13_val
[
MAX_NUM_CCs
];
BOOLEAN_t
interval_DLHoppingConfigCommonModeB_r13
[
MAX_NUM_CCs
];
long
interval_DLHoppingConfigCommonModeB_r13_val
[
MAX_NUM_CCs
];
long
*
mpdcch_pdsch_HoppingOffset_r13
[
MAX_NUM_CCs
];
//SIB2 BR Options
long
*
preambleTransMax_CE_r13
[
MAX_NUM_CCs
];
BOOLEAN_t
prach_ConfigCommon_v1310
[
MAX_NUM_CCs
];
BOOLEAN_t
*
mpdcch_startSF_CSS_RA_r13
[
MAX_NUM_CCs
];
long
mpdcch_startSF_CSS_RA_r13_val
[
MAX_NUM_CCs
];
long
*
prach_HoppingOffset_r13
[
MAX_NUM_CCs
];
}
RrcConfigurationReq
;
}
RrcConfigurationReq
;
// UE: NAS -> RRC messages
// UE: NAS -> RRC messages
...
...
openair2/ENB_APP/enb_config.c
View file @
33e6766d
This diff is collapsed.
Click to expand it.
openair2/RRC/LITE/MESSAGES/asn1_msg.c
View file @
33e6766d
This source diff could not be displayed because it is too large. You can
view the blob
instead.
openair2/RRC/LITE/MESSAGES/asn1_msg.h
View file @
33e6766d
...
@@ -67,7 +67,7 @@ uint8_t get_adjacent_cell_mod_id(uint16_t phyCellId);
...
@@ -67,7 +67,7 @@ uint8_t get_adjacent_cell_mod_id(uint16_t phyCellId);
@param phich_duration PHICH duration parameter
@param phich_duration PHICH duration parameter
@param frame radio frame number
@param frame radio frame number
@return size of encoded bit stream in bytes*/
@return size of encoded bit stream in bytes*/
uint8_t
do_MIB
(
rrc_eNB_carrier_data_t
*
carrier
,
uint32_t
N_RB_DL
,
uint32_t
phich_Resource
,
uint32_t
phich_duration
,
uint32_t
frame
);
uint8_t
do_MIB
(
rrc_eNB_carrier_data_t
*
carrier
,
uint32_t
N_RB_DL
,
uint32_t
phich_Resource
,
uint32_t
phich_duration
,
uint32_t
frame
,
uint32_t
schedulingInfoSIB1
);
/**
/**
\brief Generate configuration for SIB1 (eNB).
\brief Generate configuration for SIB1 (eNB).
...
...
openair2/RRC/LITE/rrc_eNB.c
View file @
33e6766d
...
@@ -155,9 +155,10 @@ init_SI(
...
@@ -155,9 +155,10 @@ init_SI(
#ifdef ENABLE_ITTI
#ifdef ENABLE_ITTI
configuration
->
N_RB_DL
[
CC_id
],
configuration
->
N_RB_DL
[
CC_id
],
configuration
->
phich_resource
[
CC_id
],
configuration
->
phich_resource
[
CC_id
],
configuration
->
phich_duration
[
CC_id
]
configuration
->
phich_duration
[
CC_id
],
configuration
->
schedulingInfoSIB1_BR_r13
[
CC_id
]
#else
#else
50
,
0
,
0
50
,
0
,
0
,
1
#endif
#endif
,
0
);
,
0
);
...
@@ -3731,6 +3732,7 @@ rrc_eNB_generate_RRCConnectionSetup(
...
@@ -3731,6 +3732,7 @@ rrc_eNB_generate_RRCConnectionSetup(
//-----------------------------------------------------------------------------
//-----------------------------------------------------------------------------
{
{
bool
is_mtc
=
false
;
LogicalChannelConfig_t
*
SRB1_logicalChannelConfig
;
//,*SRB2_logicalChannelConfig;
LogicalChannelConfig_t
*
SRB1_logicalChannelConfig
;
//,*SRB2_logicalChannelConfig;
SRB_ToAddModList_t
**
SRB_configList
;
SRB_ToAddModList_t
**
SRB_configList
;
SRB_ToAddMod_t
*
SRB1_config
;
SRB_ToAddMod_t
*
SRB1_config
;
...
@@ -3740,15 +3742,26 @@ rrc_eNB_generate_RRCConnectionSetup(
...
@@ -3740,15 +3742,26 @@ rrc_eNB_generate_RRCConnectionSetup(
T_INT
(
ctxt_pP
->
subframe
),
T_INT
(
ctxt_pP
->
rnti
));
T_INT
(
ctxt_pP
->
subframe
),
T_INT
(
ctxt_pP
->
rnti
));
SRB_configList
=
&
ue_context_pP
->
ue_context
.
SRB_configList
;
SRB_configList
=
&
ue_context_pP
->
ue_context
.
SRB_configList
;
if
(
is_mtc
)
{
do_RRCConnectionSetup_BR
(
ctxt_pP
,
ue_context_pP
,
CC_id
,
(
uint8_t
*
)
RC
.
rrc
[
ctxt_pP
->
module_id
]
->
carrier
[
CC_id
].
Srb0
.
Tx_buffer
.
Payload
,
(
uint8_t
*
)
RC
.
rrc
[
ctxt_pP
->
module_id
]
->
carrier
[
CC_id
].
p_eNB
,
//at this point we do not have the UE capability information, so it can only be TM1 or TM2
rrc_eNB_get_next_transaction_identifier
(
ctxt_pP
->
module_id
),
SRB_configList
,
&
ue_context_pP
->
ue_context
.
physicalConfigDedicated
);
}
else
{
RC
.
rrc
[
ctxt_pP
->
module_id
]
->
carrier
[
CC_id
].
Srb0
.
Tx_buffer
.
payload_size
=
RC
.
rrc
[
ctxt_pP
->
module_id
]
->
carrier
[
CC_id
].
Srb0
.
Tx_buffer
.
payload_size
=
do_RRCConnectionSetup
(
ctxt_pP
,
do_RRCConnectionSetup
(
ctxt_pP
,
ue_context_pP
,
ue_context_pP
,
CC_id
,
CC_id
,
(
uint8_t
*
)
RC
.
rrc
[
ctxt_pP
->
module_id
]
->
carrier
[
CC_id
].
Srb0
.
Tx_buffer
.
Payload
,
(
uint8_t
*
)
RC
.
rrc
[
ctxt_pP
->
module_id
]
->
carrier
[
CC_id
].
Srb0
.
Tx_buffer
.
Payload
,
(
uint8_t
)
RC
.
rrc
[
ctxt_pP
->
module_id
]
->
carrier
[
CC_id
].
p_eNB
,
//at this point we do not have the UE capability information, so it can only be TM1 or TM2
(
uint8_t
*
)
RC
.
rrc
[
ctxt_pP
->
module_id
]
->
carrier
[
CC_id
].
p_eNB
,
//at this point we do not have the UE capability information, so it can only be TM1 or TM2
rrc_eNB_get_next_transaction_identifier
(
ctxt_pP
->
module_id
),
rrc_eNB_get_next_transaction_identifier
(
ctxt_pP
->
module_id
),
SRB_configList
,
SRB_configList
,
&
ue_context_pP
->
ue_context
.
physicalConfigDedicated
);
&
ue_context_pP
->
ue_context
.
physicalConfigDedicated
);
}
#ifdef RRC_MSG_PRINT
#ifdef RRC_MSG_PRINT
LOG_F
(
RRC
,
"[MSG] RRC Connection Setup
\n
"
);
LOG_F
(
RRC
,
"[MSG] RRC Connection Setup
\n
"
);
...
...
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