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
promise
OpenXG-RAN
Commits
cf07c4d3
Commit
cf07c4d3
authored
Nov 20, 2018
by
Louis Adrien Dufrene
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
astyle applied
parent
d082b508
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
71 additions
and
71 deletions
+71
-71
openair2/COMMON/rrc_messages_types.h
openair2/COMMON/rrc_messages_types.h
+65
-65
openair2/ENB_APP/enb_config.c
openair2/ENB_APP/enb_config.c
+1
-2
openair2/RRC/LTE/rrc_eNB.c
openair2/RRC/LTE/rrc_eNB.c
+5
-4
No files found.
openair2/COMMON/rrc_messages_types.h
View file @
cf07c4d3
...
...
@@ -33,9 +33,9 @@
#include "rrc_types.h"
#include "s1ap_messages_types.h"
#ifdef CMAKER
#include "LTE_SystemInformationBlockType2.h"
#include "LTE_SystemInformationBlockType2.h"
#else
#include "RRC/LTE/MESSAGES/LTE_SystemInformationBlockType2.h"
#include "RRC/LTE/MESSAGES/LTE_SystemInformationBlockType2.h"
#endif
#include "LTE_SL-OffsetIndicator-r12.h"
#include "LTE_SubframeBitmapSL-r12.h"
...
...
@@ -47,19 +47,19 @@
//-------------------------------------------------------------------------------------------//
// Messages for RRC logging
#if defined(DISABLE_ITTI_XER_PRINT)
#include "LTE_BCCH-DL-SCH-Message.h"
#include "LTE_DL-CCCH-Message.h"
#include "LTE_DL-DCCH-Message.h"
#include "LTE_UE-EUTRA-Capability.h"
#include "LTE_UL-CCCH-Message.h"
#include "LTE_UL-DCCH-Message.h"
#include "LTE_BCCH-DL-SCH-Message.h"
#include "LTE_DL-CCCH-Message.h"
#include "LTE_DL-DCCH-Message.h"
#include "LTE_UE-EUTRA-Capability.h"
#include "LTE_UL-CCCH-Message.h"
#include "LTE_UL-DCCH-Message.h"
typedef
BCCH_DL_SCH_Message_t
RrcDlBcchMessage
;
typedef
DL_CCCH_Message_t
RrcDlCcchMessage
;
typedef
DL_DCCH_Message_t
RrcDlDcchMessage
;
typedef
UE_EUTRA_Capability_t
RrcUeEutraCapability
;
typedef
UL_CCCH_Message_t
RrcUlCcchMessage
;
typedef
UL_DCCH_Message_t
RrcUlDcchMessage
;
typedef
BCCH_DL_SCH_Message_t
RrcDlBcchMessage
;
typedef
DL_CCCH_Message_t
RrcDlCcchMessage
;
typedef
DL_DCCH_Message_t
RrcDlDcchMessage
;
typedef
UE_EUTRA_Capability_t
RrcUeEutraCapability
;
typedef
UL_CCCH_Message_t
RrcUlCcchMessage
;
typedef
UL_DCCH_Message_t
RrcUlDcchMessage
;
#endif
//-------------------------------------------------------------------------------------------//
...
...
@@ -125,9 +125,9 @@ typedef struct RrcConfigurationReq_s {
long
pucch_delta_shift
[
MAX_NUM_CCs
];
long
pucch_nRB_CQI
[
MAX_NUM_CCs
];
long
pucch_nCS_AN
[
MAX_NUM_CCs
];
//#if (LTE_RRC_VERSION < MAKE_VERSION(10, 0, 0))
//#if (LTE_RRC_VERSION < MAKE_VERSION(10, 0, 0))
long
pucch_n1_AN
[
MAX_NUM_CCs
];
//#endif
//#endif
long
pdsch_referenceSignalPower
[
MAX_NUM_CCs
];
long
pdsch_p_b
[
MAX_NUM_CCs
];
long
pusch_n_SB
[
MAX_NUM_CCs
];
...
...
@@ -189,7 +189,7 @@ typedef struct RrcConfigurationReq_s {
LTE_SL_OffsetIndicator_r12_PR
rxPool_ResourceConfig_offsetIndicator_present
[
MAX_NUM_CCs
];
long
rxPool_ResourceConfig_offsetIndicator_choice
[
MAX_NUM_CCs
];
LTE_SubframeBitmapSL_r12_PR
rxPool_ResourceConfig_subframeBitmap_present
[
MAX_NUM_CCs
];
char
*
rxPool_ResourceConfig_subframeBitmap_choice_bs_buf
[
MAX_NUM_CCs
];
char
*
rxPool_ResourceConfig_subframeBitmap_choice_bs_buf
[
MAX_NUM_CCs
];
long
rxPool_ResourceConfig_subframeBitmap_choice_bs_size
[
MAX_NUM_CCs
];
long
rxPool_ResourceConfig_subframeBitmap_choice_bs_bits_unused
[
MAX_NUM_CCs
];
...
...
@@ -205,7 +205,7 @@ typedef struct RrcConfigurationReq_s {
LTE_SL_OffsetIndicator_r12_PR
discRxPool_ResourceConfig_offsetIndicator_present
[
MAX_NUM_CCs
];
long
discRxPool_ResourceConfig_offsetIndicator_choice
[
MAX_NUM_CCs
];
LTE_SubframeBitmapSL_r12_PR
discRxPool_ResourceConfig_subframeBitmap_present
[
MAX_NUM_CCs
];
char
*
discRxPool_ResourceConfig_subframeBitmap_choice_bs_buf
[
MAX_NUM_CCs
];
char
*
discRxPool_ResourceConfig_subframeBitmap_choice_bs_buf
[
MAX_NUM_CCs
];
long
discRxPool_ResourceConfig_subframeBitmap_choice_bs_size
[
MAX_NUM_CCs
];
long
discRxPool_ResourceConfig_subframeBitmap_choice_bs_bits_unused
[
MAX_NUM_CCs
];
//for discRxPoolPS
...
...
@@ -219,7 +219,7 @@ typedef struct RrcConfigurationReq_s {
LTE_SL_OffsetIndicator_r12_PR
discRxPoolPS_ResourceConfig_offsetIndicator_present
[
MAX_NUM_CCs
];
long
discRxPoolPS_ResourceConfig_offsetIndicator_choice
[
MAX_NUM_CCs
];
LTE_SubframeBitmapSL_r12_PR
discRxPoolPS_ResourceConfig_subframeBitmap_present
[
MAX_NUM_CCs
];
char
*
discRxPoolPS_ResourceConfig_subframeBitmap_choice_bs_buf
[
MAX_NUM_CCs
];
char
*
discRxPoolPS_ResourceConfig_subframeBitmap_choice_bs_buf
[
MAX_NUM_CCs
];
long
discRxPoolPS_ResourceConfig_subframeBitmap_choice_bs_size
[
MAX_NUM_CCs
];
long
discRxPoolPS_ResourceConfig_subframeBitmap_choice_bs_bits_unused
[
MAX_NUM_CCs
];
}
RrcConfigurationReq
;
...
...
openair2/ENB_APP/enb_config.c
View file @
cf07c4d3
...
...
@@ -582,7 +582,6 @@ int RCconfig_RRC(MessageDef *msg_p, uint32_t i, eNB_RRC_INST *rrc) {
PLMNParams
[
I
].
chkPptr
=
&
(
config_check_PLMNParams
[
I
]);
RRC_CONFIGURATION_REQ
(
msg_p
).
rrc_inactivity_timer_thres
=
RRC_INACTIVITY_THRESH
;
// set to 0 to deactivate
RRC_CONFIGURATION_REQ
(
msg_p
).
cell_identity
=
enb_id
;
RRC_CONFIGURATION_REQ
(
msg_p
).
tac
=
*
ENBParamList
.
paramarray
[
i
][
ENB_TRACKING_AREA_CODE_IDX
].
uptr
;
AssertFatal
(
!
ENBParamList
.
paramarray
[
i
][
ENB_MOBILE_COUNTRY_CODE_IDX_OLD
].
strptr
...
...
openair2/RRC/LTE/rrc_eNB.c
View file @
cf07c4d3
...
...
@@ -7380,7 +7380,8 @@ rrc_rx_tx(
if
((
ue_context_p
->
ue_context
.
ue_rrc_inactivity_timer
>
0
)
&&
(
RC
.
rrc
[
ctxt_pP
->
module_id
]
->
configuration
.
rrc_inactivity_timer_thres
>
0
))
{
ue_context_p
->
ue_context
.
ue_rrc_inactivity_timer
++
;
// (un)comment this line to (de)activate the RRC inactivity timer
if
(
ue_context_p
->
ue_context
.
ue_rrc_inactivity_timer
>=
RC
.
rrc
[
ctxt_pP
->
module_id
]
->
configuration
.
rrc_inactivity_timer_thres
){
if
(
ue_context_p
->
ue_context
.
ue_rrc_inactivity_timer
>=
RC
.
rrc
[
ctxt_pP
->
module_id
]
->
configuration
.
rrc_inactivity_timer_thres
)
{
LOG_I
(
RRC
,
"Removing UE %x instance because of rrc_inactivity_timer timeout
\n
"
,
ue_context_p
->
ue_context
.
rnti
);
ue_to_be_removed
=
ue_context_p
;
...
...
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