integration fix: LOG_I/LOG_D do not exist when compiling at_nas_ue
Use LOG_TRACE instead.
This commit is contained in:
@@ -72,7 +72,7 @@ int decode_security_mode_command(security_mode_command_msg *security_mode_comman
|
||||
decoded += decoded_result;
|
||||
/* Set corresponding mask to 1 in presencemask */
|
||||
security_mode_command->presencemask |= SECURITY_MODE_COMMAND_IMEISV_REQUEST_PRESENT;
|
||||
LOG_I(NAS," SECURITY MODE COMMAND: IMEISV_REQUEST: %d \n",security_mode_command->imeisvrequest);
|
||||
LOG_TRACE(INFO," SECURITY MODE COMMAND: IMEISV_REQUEST: %d \n",security_mode_command->imeisvrequest);
|
||||
|
||||
break;
|
||||
|
||||
|
||||
@@ -76,11 +76,11 @@ int encode_security_mode_complete(security_mode_complete_msg *security_mode_comp
|
||||
/* Checking IEI and pointer */
|
||||
CHECK_PDU_POINTER_AND_LENGTH_ENCODER(buffer, SECURITY_MODE_COMPLETE_MINIMUM_LENGTH, len);
|
||||
|
||||
LOG_I(NAS,"SECURITY MODE COMMAND COMPLETE: presencemask: %d \n",security_mode_complete->presencemask);
|
||||
LOG_TRACE(INFO,"SECURITY MODE COMMAND COMPLETE: presencemask: %d \n",security_mode_complete->presencemask);
|
||||
|
||||
if ((security_mode_complete->presencemask & SECURITY_MODE_COMPLETE_IMEISV_PRESENT)
|
||||
== SECURITY_MODE_COMPLETE_IMEISV_PRESENT) {
|
||||
LOG_I(NAS,"SECURITY MODE COMMAND COMPLETE: encode imeisv \n");
|
||||
LOG_TRACE(INFO,"SECURITY MODE COMMAND COMPLETE: encode imeisv \n");
|
||||
if ((encode_result =
|
||||
encode_mobile_identity(&security_mode_complete->imeisv,
|
||||
SECURITY_MODE_COMPLETE_IMEISV_IEI, buffer + encoded, len -
|
||||
@@ -90,7 +90,7 @@ int encode_security_mode_complete(security_mode_complete_msg *security_mode_comp
|
||||
else
|
||||
encoded += encode_result;
|
||||
}
|
||||
LOG_I(NAS,"SECURITY MODE COMMAND COMPLETE done !!! \n");
|
||||
LOG_TRACE(INFO,"SECURITY MODE COMMAND COMPLETE done !!! \n");
|
||||
return encoded;
|
||||
}
|
||||
|
||||
|
||||
@@ -575,7 +575,7 @@ static int encode_imei_mobile_identity(ImeiMobileIdentity_t *imei, uint8_t *buff
|
||||
static int encode_imeisv_mobile_identity(ImeisvMobileIdentity_t *imeisv, uint8_t *buffer)
|
||||
{
|
||||
uint32_t encoded = 0;
|
||||
LOG_I(NAS,"SECURITY MODE COMMAND COMPLETE: encode_imeisv_mobile_identity \n");
|
||||
LOG_TRACE(INFO,"SECURITY MODE COMMAND COMPLETE: encode_imeisv_mobile_identity \n");
|
||||
|
||||
*(buffer + encoded) = 0x00 | (imeisv->digit1 << 4) | (imeisv->oddeven << 3) |
|
||||
(imeisv->typeofidentity);
|
||||
|
||||
@@ -140,7 +140,7 @@ int emm_recv_attach_accept(attach_accept_msg *msg, int *emm_cause)
|
||||
// supported cases:
|
||||
// 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);
|
||||
LOG_TRACE(DEBUG,"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 == 0))
|
||||
)
|
||||
@@ -472,7 +472,7 @@ int emm_recv_security_mode_command(security_mode_command_msg *msg,
|
||||
* Message processing
|
||||
*/
|
||||
/* Execute the security mode control procedure initiated by the network */
|
||||
LOG_I(NAS,"Execute the security mode control procedure initiated by the network: imeisvrequest %d\n",msg->imeisvrequest);
|
||||
LOG_TRACE(INFO,"Execute the security mode control procedure initiated by the network: imeisvrequest %d\n",msg->imeisvrequest);
|
||||
rc = emm_proc_security_mode_command(
|
||||
msg->naskeysetidentifier.tsc != NAS_KEY_SET_IDENTIFIER_MAPPED,
|
||||
msg->naskeysetidentifier.naskeysetidentifier,
|
||||
|
||||
Reference in New Issue
Block a user