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
582c5777
Commit
582c5777
authored
Aug 29, 2017
by
Matthieu Kanj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
seperation/renaming in file:openair2/RRC/LITE/defs_NB_IoT.h
parent
42958e58
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
51 additions
and
51 deletions
+51
-51
openair2/RRC/LITE/MESSAGES/asn1_msg_NB_IoT.c
openair2/RRC/LITE/MESSAGES/asn1_msg_NB_IoT.c
+3
-3
openair2/RRC/LITE/defs_NB_IoT.h
openair2/RRC/LITE/defs_NB_IoT.h
+9
-9
openair2/RRC/LITE/rrc_eNB_NB_IoT.c
openair2/RRC/LITE/rrc_eNB_NB_IoT.c
+39
-39
No files found.
openair2/RRC/LITE/MESSAGES/asn1_msg_NB_IoT.c
View file @
582c5777
...
...
@@ -998,7 +998,7 @@ uint16_t do_RRCConnectionReconfiguration_NB_IoT(
DRB_ToAddModList_NB_r13_t
*
DRB_list_NB_IoT
,
//DRB_ConfigList (default)
DRB_ToReleaseList_NB_r13_t
*
DRB_list2_NB_IoT
,
//is NULL when passed
struct
PhysicalConfigDedicated_NB_r13
*
physicalConfigDedicated_NB_IoT
,
MAC_MainConfig_NB_r13_t
*
mac_MainConfig_NB
,
MAC_MainConfig_NB_r13_t
*
mac_MainConfig_NB
_IoT
,
struct
RRCConnectionReconfiguration_NB_r13_IEs__dedicatedInfoNASList_r13
*
dedicatedInfoNASList_NB_IoT
)
{
...
...
@@ -1031,14 +1031,14 @@ uint16_t do_RRCConnectionReconfiguration_NB_IoT(
//FIXME may not used now
//rrcConnectionReconfiguration_NB->criticalExtensions.choice.c1.choice.rrcConnectionReconfiguration_r13.radioResourceConfigDedicated_r13->rlf_TimersAndConstants_r13
if
(
mac_MainConfig_NB
!=
NULL
)
{
if
(
mac_MainConfig_NB
_IoT
!=
NULL
)
{
rrcConnectionReconfiguration_NB
->
criticalExtensions
.
choice
.
c1
.
choice
.
rrcConnectionReconfiguration_r13
.
radioResourceConfigDedicated_r13
->
mac_MainConfig_r13
=
CALLOC
(
1
,
sizeof
(
*
rrcConnectionReconfiguration_NB
->
criticalExtensions
.
choice
.
c1
.
choice
.
rrcConnectionReconfiguration_r13
.
radioResourceConfigDedicated_r13
->
mac_MainConfig_r13
));
rrcConnectionReconfiguration_NB
->
criticalExtensions
.
choice
.
c1
.
choice
.
rrcConnectionReconfiguration_r13
.
radioResourceConfigDedicated_r13
->
mac_MainConfig_r13
->
present
=
RadioResourceConfigDedicated_NB_r13__mac_MainConfig_r13_PR_explicitValue_r13
;
//why memcopy only this one?
memcpy
(
&
rrcConnectionReconfiguration_NB
->
criticalExtensions
.
choice
.
c1
.
choice
.
rrcConnectionReconfiguration_r13
.
radioResourceConfigDedicated_r13
->
mac_MainConfig_r13
->
choice
.
explicitValue_r13
,
mac_MainConfig_NB
,
sizeof
(
*
mac_MainConfig_NB
));
mac_MainConfig_NB
_IoT
,
sizeof
(
*
mac_MainConfig_NB_IoT
));
}
else
{
rrcConnectionReconfiguration_NB
->
criticalExtensions
.
choice
.
c1
.
choice
.
rrcConnectionReconfiguration_r13
.
radioResourceConfigDedicated_r13
->
mac_MainConfig_r13
=
NULL
;
...
...
openair2/RRC/LITE/defs_NB_IoT.h
View file @
582c5777
...
...
@@ -40,12 +40,12 @@
#include "collection/tree.h"
#include "rrc_types_NB_IoT.h"
//#include "PHY/defs.h"
#include "PHY/defs_NB_IoT.h"
//
#include "PHY/defs_NB_IoT.h"
#include "COMMON/platform_constants.h"
#include "COMMON/platform_types.h"
#include "COMMON/mac_rrc_primitives.h"
#include "LAYER2/MAC/defs.h"
//
#include "LAYER2/MAC/defs.h"
//#include "COMMON/openair_defs.h"
#ifndef USER_MODE
...
...
@@ -370,7 +370,7 @@ typedef struct eNB_RRC_UE_NB_IoT_s {
uint8_t
DRB_active
[
2
];
//in LTE was 8 --> at most 2 for NB-IoT
struct
PhysicalConfigDedicated_NB_r13
*
physicalConfigDedicated_NB_IoT
;
MAC_MainConfig_NB_r13_t
*
mac_MainConfig_NB
;
MAC_MainConfig_NB_r13_t
*
mac_MainConfig_NB
_IoT
;
//No SPS(semi-persistent scheduling) in NB-IoT
//No Measurement report in NB-IoT
...
...
@@ -397,10 +397,10 @@ typedef struct eNB_RRC_UE_NB_IoT_s {
/* Information from UE RRC ConnectionRequest-NB-r13_IE--> NB-IoT */
UE_S_TMSI_NB_IoT
Initialue_identity_s_TMSI
;
EstablishmentCause_NB_r13_t
establishment_cause_NB
;
//different set for NB-IoT
EstablishmentCause_NB_r13_t
establishment_cause_NB
_IoT
;
//different set for NB-IoT
/* Information from UE RRC ConnectionReestablishmentRequest-NB--> NB-IoT */
ReestablishmentCause_NB_r13_t
reestablishment_cause_NB
;
//different set for NB_IoT
ReestablishmentCause_NB_r13_t
reestablishment_cause_NB
_IoT
;
//different set for NB_IoT
/* UE id for initial connection to S1AP */
uint16_t
ue_initial_id
;
...
...
@@ -591,10 +591,10 @@ typedef struct UE_RRC_INST_NB_IoT_s {
UE_RRC_INFO_NB_IoT
Info
[
NB_SIG_CNX_UE
];
SRB_INFO_NB_IoT
Srb0
[
NB_SIG_CNX_UE
];
SRB_INFO_TABLE_ENTRY_NB_IoT
Srb1
[
NB_CNX_UE
];
SRB_INFO_TABLE_ENTRY_NB_IoT
Srb2
[
NB_CNX_UE
];
HANDOVER_INFO_UE_NB_IoT
HandoverInfoUe
;
SRB_INFO_NB_IoT
Srb0
[
NB_SIG_CNX_UE
];
SRB_INFO_TABLE_ENTRY_NB_IoT
Srb1
[
NB_CNX_UE
];
SRB_INFO_TABLE_ENTRY_NB_IoT
Srb2
[
NB_CNX_UE
];
HANDOVER_INFO_UE_NB_IoT
HandoverInfoUe
;
/*
uint8_t *SIB1[NB_CNX_UE];
uint8_t sizeof_SIB1[NB_CNX_UE];
...
...
openair2/RRC/LITE/rrc_eNB_NB_IoT.c
View file @
582c5777
...
...
@@ -304,9 +304,9 @@ void rrc_eNB_free_mem_UE_context_NB_IoT(
}
if
(
ue_context_pP
->
ue_context
.
mac_MainConfig_NB
)
{
ASN_STRUCT_FREE
(
asn_DEF_MAC_MainConfig_NB_r13
,
ue_context_pP
->
ue_context
.
mac_MainConfig_NB
);
ue_context_pP
->
ue_context
.
mac_MainConfig_NB
=
NULL
;
if
(
ue_context_pP
->
ue_context
.
mac_MainConfig_NB
_IoT
)
{
ASN_STRUCT_FREE
(
asn_DEF_MAC_MainConfig_NB_r13
,
ue_context_pP
->
ue_context
.
mac_MainConfig_NB
_IoT
);
ue_context_pP
->
ue_context
.
mac_MainConfig_NB
_IoT
=
NULL
;
}
//no sps in NB_IoT
...
...
@@ -581,7 +581,7 @@ void rrc_eNB_generate_RRCConnectionSetup_NB_IoT(
(
BCCH_BCH_Message_NB_t
*
)
NULL
,
(
RadioResourceConfigCommonSIB_NB_r13_t
*
)
NULL
,
(
PhysicalConfigDedicated_NB_r13_t
*
)
ue_context_pP
->
ue_context
.
physicalConfigDedicated_NB_IoT
,
ue_context_pP
->
ue_context
.
mac_MainConfig_NB
,
//XXX most probably is not needed since is only at UE side
ue_context_pP
->
ue_context
.
mac_MainConfig_NB
_IoT
,
//XXX most probably is not needed since is only at UE side
DCCH0_NB_IoT
,
//LCID = 3 of SRB1bis
SRB1bis_logicalChannelConfig
);
...
...
@@ -810,7 +810,7 @@ void rrc_eNB_process_RRCConnectionReconfigurationComplete_NB_IoT(
(
BCCH_BCH_Message_NB_t
*
)
NULL
,
(
RadioResourceConfigCommonSIB_NB_r13_t
*
)
NULL
,
ue_context_pP
->
ue_context
.
physicalConfigDedicated_NB_IoT
,
ue_context_pP
->
ue_context
.
mac_MainConfig_NB
,
ue_context_pP
->
ue_context
.
mac_MainConfig_NB
_IoT
,
DRB2LCHAN_NB_IoT
[
i
],
//over the logical channel id of the DRB (>=4)
DRB_configList2
->
list
.
array
[
i
]
->
logicalChannelConfig_r13
);
...
...
@@ -854,7 +854,7 @@ void rrc_eNB_process_RRCConnectionReconfigurationComplete_NB_IoT(
(
BCCH_BCH_Message_NB_t
*
)
NULL
,
(
RadioResourceConfigCommonSIB_NB_r13_t
*
)
NULL
,
ue_context_pP
->
ue_context
.
physicalConfigDedicated_NB_IoT
,
ue_context_pP
->
ue_context
.
mac_MainConfig_NB
,
ue_context_pP
->
ue_context
.
mac_MainConfig_NB
_IoT
,
DRB2LCHAN_NB_IoT
[
i
],
//over the logical channel id of the DRB (>=4)
(
LogicalChannelConfig_NB_r13_t
*
)
NULL
);
...
...
@@ -1325,7 +1325,7 @@ void rrc_eNB_generate_defaultRRCConnectionReconfiguration_NB_IoT(const protocol_
DRB_ToAddModList_NB_r13_t
**
DRB_configList
=
&
ue_context_pP
->
ue_context
.
DRB_configList
;
DRB_ToAddModList_NB_r13_t
**
DRB_configList2
=
NULL
;
MAC_MainConfig_NB_r13_t
*
mac_MainConfig_NB
=
NULL
;
MAC_MainConfig_NB_r13_t
*
mac_MainConfig_NB
_IoT
=
NULL
;
long
*
periodicBSR_Timer
;
long
*
enableStatusReportSN_Gap
=
NULL
;
//should be disabled
...
...
@@ -1449,28 +1449,28 @@ void rrc_eNB_generate_defaultRRCConnectionReconfiguration_NB_IoT(const protocol_
///Mac_MainConfig (default as defined in TS 36.331 ch 9.2.2)
mac_MainConfig_NB
=
CALLOC
(
1
,
sizeof
(
*
mac_MainConfig_NB
));
ue_context_pP
->
ue_context
.
mac_MainConfig_NB
=
mac_MainConfig_NB
;
mac_MainConfig_NB
_IoT
=
CALLOC
(
1
,
sizeof
(
*
mac_MainConfig_NB_IoT
));
ue_context_pP
->
ue_context
.
mac_MainConfig_NB
_IoT
=
mac_MainConfig_NB_IoT
;
mac_MainConfig_NB
->
ul_SCH_Config_r13
=
CALLOC
(
1
,
sizeof
(
*
mac_MainConfig_NB
->
ul_SCH_Config_r13
));
mac_MainConfig_NB
_IoT
->
ul_SCH_Config_r13
=
CALLOC
(
1
,
sizeof
(
*
mac_MainConfig_NB_IoT
->
ul_SCH_Config_r13
));
//no maxARQtx
periodicBSR_Timer
=
CALLOC
(
1
,
sizeof
(
long
));
*
periodicBSR_Timer
=
PeriodicBSR_Timer_NB_r13_pp8
;
mac_MainConfig_NB
->
ul_SCH_Config_r13
->
periodicBSR_Timer_r13
=
periodicBSR_Timer
;
mac_MainConfig_NB
->
ul_SCH_Config_r13
->
retxBSR_Timer_r13
=
RetxBSR_Timer_NB_r13_infinity
;
mac_MainConfig_NB
_IoT
->
ul_SCH_Config_r13
->
periodicBSR_Timer_r13
=
periodicBSR_Timer
;
mac_MainConfig_NB
_IoT
->
ul_SCH_Config_r13
->
retxBSR_Timer_r13
=
RetxBSR_Timer_NB_r13_infinity
;
mac_MainConfig_NB
->
timeAlignmentTimerDedicated_r13
=
TimeAlignmentTimer_infinity
;
mac_MainConfig_NB
_IoT
->
timeAlignmentTimerDedicated_r13
=
TimeAlignmentTimer_infinity
;
mac_MainConfig_NB
->
drx_Config_r13
=
NULL
;
mac_MainConfig_NB
_IoT
->
drx_Config_r13
=
NULL
;
//no phr_config
mac_MainConfig_NB
->
logicalChannelSR_Config_r13
=
CALLOC
(
1
,
sizeof
(
struct
MAC_MainConfig_NB_r13__logicalChannelSR_Config_r13
));
mac_MainConfig_NB
->
logicalChannelSR_Config_r13
->
present
=
MAC_MainConfig_NB_r13__logicalChannelSR_Config_r13_PR_setup
;
mac_MainConfig_NB
_IoT
->
logicalChannelSR_Config_r13
=
CALLOC
(
1
,
sizeof
(
struct
MAC_MainConfig_NB_r13__logicalChannelSR_Config_r13
));
mac_MainConfig_NB
_IoT
->
logicalChannelSR_Config_r13
->
present
=
MAC_MainConfig_NB_r13__logicalChannelSR_Config_r13_PR_setup
;
//depends if previously activated
mac_MainConfig_NB
->
logicalChannelSR_Config_r13
->
choice
.
setup
.
logicalChannelSR_ProhibitTimer_r13
=
mac_MainConfig_NB
_IoT
->
logicalChannelSR_Config_r13
->
choice
.
setup
.
logicalChannelSR_ProhibitTimer_r13
=
MAC_MainConfig_NB_r13__logicalChannelSR_Config_r13__setup__logicalChannelSR_ProhibitTimer_r13_pp2
;
//value in PP=PDCCH periods
...
...
@@ -1543,7 +1543,7 @@ void rrc_eNB_generate_defaultRRCConnectionReconfiguration_NB_IoT(const protocol_
(
DRB_ToAddModList_NB_r13_t
*
)
*
DRB_configList
,
(
DRB_ToReleaseList_NB_r13_t
*
)
NULL
,
// DRB2_list,
(
struct
PhysicalConfigDedicated_NB_r13
*
)
*
physicalConfigDedicated_NB_IoT
,
(
MAC_MainConfig_t
*
)
mac_MainConfig_NB
,
(
MAC_MainConfig_t
*
)
mac_MainConfig_NB
_IoT
,
(
struct
RRCConnectionReconfiguration_NB_r13_IEs__dedicatedInfoNASList_r13
*
)
dedicatedInfoNASList_NB_IoT
);
...
...
@@ -1827,9 +1827,9 @@ int rrc_eNB_decode_ccch_NB_IoT(
{
asn_dec_rval_t
dec_rval
;
UL_CCCH_Message_NB_t
*
ul_ccch_msg_NB
=
NULL
;
RRCConnectionRequest_NB_r13_IEs_t
*
rrcConnectionRequest_NB
=
NULL
;
RRCConnectionReestablishmentRequest_NB_r13_IEs_t
*
rrcConnectionReestablishmentRequest_NB
=
NULL
;
RRCConnectionResumeRequest_NB_r13_IEs_t
*
rrcConnectionResumeRequest_NB
=
NULL
;
RRCConnectionRequest_NB_r13_IEs_t
*
rrcConnectionRequest_NB
_IoT
=
NULL
;
RRCConnectionReestablishmentRequest_NB_r13_IEs_t
*
rrcConnectionReestablishmentRequest_NB
_IoT
=
NULL
;
RRCConnectionResumeRequest_NB_r13_IEs_t
*
rrcConnectionResumeRequest_NB
_IoT
=
NULL
;
int
i
,
rval
;
struct
rrc_eNB_ue_context_NB_IoT_s
*
ue_context_p
=
NULL
;
uint64_t
random_value
=
0
;
...
...
@@ -1899,14 +1899,14 @@ int rrc_eNB_decode_ccch_NB_IoT(
LOG_D
(
RRC
,
PROTOCOL_RRC_CTXT_UE_FMT
"MAC_eNB--- MAC_DATA_IND (rrcConnectionReestablishmentRequest-NB on SRB0) --> RRC_eNB
\n
"
,
PROTOCOL_RRC_CTXT_UE_ARGS
(
ctxt_pP
));
rrcConnectionReestablishmentRequest_NB
=
rrcConnectionReestablishmentRequest_NB
_IoT
=
&
ul_ccch_msg_NB
->
message
.
choice
.
c1
.
choice
.
rrcConnectionReestablishmentRequest_r13
.
criticalExtensions
.
choice
.
rrcConnectionReestablishmentRequest_r13
;
//for NB-IoT only "reconfiguration Failure" and "other failure" are allowed as reestablishment cause
LOG_I
(
RRC
,
PROTOCOL_RRC_CTXT_UE_FMT
" RRCConnectionReestablishmentRequest-NB cause %s
\n
"
,
PROTOCOL_RRC_CTXT_UE_ARGS
(
ctxt_pP
),
((
rrcConnectionReestablishmentRequest_NB
->
reestablishmentCause_r13
==
ReestablishmentCause_NB_r13_otherFailure
)
?
"Other Failure"
:
((
rrcConnectionReestablishmentRequest_NB
_IoT
->
reestablishmentCause_r13
==
ReestablishmentCause_NB_r13_otherFailure
)
?
"Other Failure"
:
"reconfigurationFailure"
));
...
...
@@ -1971,18 +1971,18 @@ int rrc_eNB_decode_ccch_NB_IoT(
dec_rval
.
consumed
);
}
else
{
rrcConnectionRequest_NB
=
&
ul_ccch_msg_NB
->
message
.
choice
.
c1
.
choice
.
rrcConnectionRequest_r13
.
criticalExtensions
.
choice
.
rrcConnectionRequest_r13
;
rrcConnectionRequest_NB
_IoT
=
&
ul_ccch_msg_NB
->
message
.
choice
.
c1
.
choice
.
rrcConnectionRequest_r13
.
criticalExtensions
.
choice
.
rrcConnectionRequest_r13
;
{
if
(
InitialUE_Identity_PR_randomValue
==
rrcConnectionRequest_NB
->
ue_Identity_r13
.
present
)
{
if
(
InitialUE_Identity_PR_randomValue
==
rrcConnectionRequest_NB
_IoT
->
ue_Identity_r13
.
present
)
{
//InitialUE-Identity randomValue size should be 40bits = 5 byte
AssertFatal
(
rrcConnectionRequest_NB
->
ue_Identity_r13
.
choice
.
randomValue
.
size
==
5
,
AssertFatal
(
rrcConnectionRequest_NB
_IoT
->
ue_Identity_r13
.
choice
.
randomValue
.
size
==
5
,
"wrong InitialUE-Identity randomValue size, expected 5, provided %d"
,
rrcConnectionRequest_NB
->
ue_Identity_r13
.
choice
.
randomValue
.
size
);
rrcConnectionRequest_NB
_IoT
->
ue_Identity_r13
.
choice
.
randomValue
.
size
);
memcpy
(((
uint8_t
*
)
&
random_value
)
+
3
,
rrcConnectionRequest_NB
->
ue_Identity_r13
.
choice
.
randomValue
.
buf
,
rrcConnectionRequest_NB
->
ue_Identity_r13
.
choice
.
randomValue
.
size
);
rrcConnectionRequest_NB
_IoT
->
ue_Identity_r13
.
choice
.
randomValue
.
buf
,
rrcConnectionRequest_NB
_IoT
->
ue_Identity_r13
.
choice
.
randomValue
.
size
);
/* if there is already a registered UE (with another RNTI) with this random_value,
* the current one must be removed from MAC/PHY (zombie UE)
...
...
@@ -1997,9 +1997,9 @@ int rrc_eNB_decode_ccch_NB_IoT(
}
else
{
ue_context_p
=
rrc_eNB_get_next_free_ue_context_NB_IoT
(
ctxt_pP
,
random_value
);
}
}
else
if
(
InitialUE_Identity_PR_s_TMSI
==
rrcConnectionRequest_NB
->
ue_Identity_r13
.
present
)
{
}
else
if
(
InitialUE_Identity_PR_s_TMSI
==
rrcConnectionRequest_NB
_IoT
->
ue_Identity_r13
.
present
)
{
/* Save s-TMSI */
S_TMSI_t
s_TMSI
=
rrcConnectionRequest_NB
->
ue_Identity_r13
.
choice
.
s_TMSI
;
S_TMSI_t
s_TMSI
=
rrcConnectionRequest_NB
_IoT
->
ue_Identity_r13
.
choice
.
s_TMSI
;
mme_code_t
mme_code
=
BIT_STRING_to_uint8
(
&
s_TMSI
.
mmec
);
m_tmsi_t
m_tmsi
=
BIT_STRING_to_uint32
(
&
s_TMSI
.
m_TMSI
);
random_value
=
(((
uint64_t
)
mme_code
)
<<
32
)
|
m_tmsi
;
...
...
@@ -2069,21 +2069,21 @@ int rrc_eNB_decode_ccch_NB_IoT(
//#if defined(ENABLE_ITTI)
ue_context_p
->
ue_context
.
establishment_cause_NB
=
rrcConnectionRequest_NB
->
establishmentCause_r13
;
ue_context_p
->
ue_context
.
establishment_cause_NB
_IoT
=
rrcConnectionRequest_NB_IoT
->
establishmentCause_r13
;
if
(
stmsi_received
==
0
){
LOG_I
(
RRC
,
PROTOCOL_RRC_CTXT_UE_FMT
" Accept new connection from UE random UE identity (0x%"
PRIx64
") MME code %u TMSI %u cause %ld
\n
"
,
PROTOCOL_RRC_CTXT_UE_ARGS
(
ctxt_pP
),
ue_context_p
->
ue_context
.
random_ue_identity
,
ue_context_p
->
ue_context
.
Initialue_identity_s_TMSI
.
mme_code
,
ue_context_p
->
ue_context
.
Initialue_identity_s_TMSI
.
m_tmsi
,
ue_context_p
->
ue_context
.
establishment_cause_NB
);
ue_context_p
->
ue_context
.
establishment_cause_NB
_IoT
);
}
else
{
LOG_I
(
RRC
,
PROTOCOL_RRC_CTXT_UE_FMT
" Accept new connection from UE MME code %u TMSI %u cause %ld
\n
"
,
PROTOCOL_RRC_CTXT_UE_ARGS
(
ctxt_pP
),
ue_context_p
->
ue_context
.
Initialue_identity_s_TMSI
.
mme_code
,
ue_context_p
->
ue_context
.
Initialue_identity_s_TMSI
.
m_tmsi
,
ue_context_p
->
ue_context
.
establishment_cause_NB
);
ue_context_p
->
ue_context
.
establishment_cause_NB
_IoT
);
}
//#else
// LOG_I(RRC, PROTOCOL_RRC_CTXT_UE_FMT" Accept new connection for UE random UE identity (0x%" PRIx64 ")\n",
...
...
@@ -2178,15 +2178,15 @@ int rrc_eNB_decode_ccch_NB_IoT(
LOG_D
(
RRC
,
PROTOCOL_RRC_CTXT_UE_FMT
"MAC_eNB--- MAC_DATA_IND (rrcConnectionResumeRequest-NB on SRB0) --> RRC_eNB
\n
"
,
PROTOCOL_RRC_CTXT_UE_ARGS
(
ctxt_pP
));
rrcConnectionResumeRequest_NB
=
rrcConnectionResumeRequest_NB
_IoT
=
&
ul_ccch_msg_NB
->
message
.
choice
.
c1
.
choice
.
rrcConnectionResumeRequest_r13
.
criticalExtensions
.
choice
.
rrcConnectionResumeRequest_r13
;
LOG_I
(
RRC
,
PROTOCOL_RRC_CTXT_UE_FMT
" RRCConnectionResumeRequest-NB cause %s
\n
"
,
PROTOCOL_RRC_CTXT_UE_ARGS
(
ctxt_pP
),
((
rrcConnectionResumeRequest_NB
->
resumeCause_r13
==
EstablishmentCause_NB_r13_mt_Access
)
?
"mt Access"
:
(
rrcConnectionResumeRequest_NB
->
resumeCause_r13
==
EstablishmentCause_NB_r13_mo_Signalling
)
?
"mo Signalling"
:
(
rrcConnectionResumeRequest_NB
->
resumeCause_r13
==
EstablishmentCause_NB_r13_mo_Data
)
?
"mo Data"
:
(
rrcConnectionResumeRequest_NB
->
resumeCause_r13
==
EstablishmentCause_NB_r13_mo_ExceptionData
)
?
"mo Exception data"
:
((
rrcConnectionResumeRequest_NB
_IoT
->
resumeCause_r13
==
EstablishmentCause_NB_r13_mt_Access
)
?
"mt Access"
:
(
rrcConnectionResumeRequest_NB
_IoT
->
resumeCause_r13
==
EstablishmentCause_NB_r13_mo_Signalling
)
?
"mo Signalling"
:
(
rrcConnectionResumeRequest_NB
_IoT
->
resumeCause_r13
==
EstablishmentCause_NB_r13_mo_Data
)
?
"mo Data"
:
(
rrcConnectionResumeRequest_NB
_IoT
->
resumeCause_r13
==
EstablishmentCause_NB_r13_mo_ExceptionData
)
?
"mo Exception data"
:
"delay tollerant Access v1330"
));
//MP: only reject for now
...
...
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