Commit 7fb6b945 authored by Bilel's avatar Bilel

Merge branch 'issue-17-rrcConnectionReconf-fix' into 'develop1B'

[OAI-UE] RRCConnectionReconf fixes

1- SRB2 fix
2- attach accept, support type of list 0 with number of element = 1

See merge request !4
parents 04acbd4d 81837312
...@@ -2670,7 +2670,7 @@ OAI_UECapability_t *fill_ue_capability(char *UE_EUTRA_Capability_xer_fname) ...@@ -2670,7 +2670,7 @@ OAI_UECapability_t *fill_ue_capability(char *UE_EUTRA_Capability_xer_fname)
uint32_t featrG; uint32_t featrG;
bit_string = CALLOC(1, sizeof(*bit_string)); bit_string = CALLOC(1, sizeof(*bit_string));
featrG = 0x04000800; featrG = 0x04000800;
if(usim_test == 0) if(usim_test == 1)
{ {
bit_string->buf = &featrG; bit_string->buf = &featrG;
bit_string->size = 4; bit_string->size = 4;
......
This diff is collapsed.
...@@ -137,8 +137,15 @@ int emm_recv_attach_accept(attach_accept_msg *msg, int *emm_cause) ...@@ -137,8 +137,15 @@ int emm_recv_attach_accept(attach_accept_msg *msg, int *emm_cause)
/* /*
* Message checking * Message checking
*/ */
if (msg->tailist.typeoflist != // supported cases:
TRACKING_AREA_IDENTITY_LIST_ONE_PLMN_CONSECUTIVE_TACS) { // typeoflist = 1 Or
// typeoflist = 0 and numberofelements = 1 (ie numberofelements equal to zero see 3gpp 24.301 9.9.3.33.1)
LOG_D(NAS,"attach accept type of list: %d, number of element: %d\n",msg->tailist.typeoflist, msg->tailist.numberofelements);
if (!( (msg->tailist.typeoflist == TRACKING_AREA_IDENTITY_LIST_ONE_PLMN_CONSECUTIVE_TACS) ||
((msg->tailist.typeoflist == 0) && ( (msg->tailist.numberofelements + 1) == 1))
)
)
{
/* Only list of TACs belonging to one PLMN with consecutive /* Only list of TACs belonging to one PLMN with consecutive
* TAC values is supported */ * TAC values is supported */
*emm_cause = EMM_CAUSE_IE_NOT_IMPLEMENTED; *emm_cause = EMM_CAUSE_IE_NOT_IMPLEMENTED;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment