Searched refs:NdefSmtCrdFmt (Results 1 – 5 of 5) sorted by relevance
/packages/apps/Nfc/nci/jni/extns/pn54x/src/mifare/ |
D | phFriNfc_MifStdFormat.c | 27 static void phFriNfc_MfStd_H_FillSendBuf(phFriNfc_sNdefSmtCrdFmt_t *NdefSmtCrdFmt, uint16_t BlockNo… 28 static NFCSTATUS phFriNfc_MfStd_H_Transceive(phFriNfc_sNdefSmtCrdFmt_t *NdefSmtCrdFmt); 29 static NFCSTATUS phFriNfc_MfStd_H_CallDisCon(phFriNfc_sNdefSmtCrdFmt_t *NdefSmtCrdFmt, NFCSTATUS St… 30 static NFCSTATUS phFriNfc_MfStd_H_CallCon(phFriNfc_sNdefSmtCrdFmt_t *NdefSmtCrdFmt); 31 static NFCSTATUS phFriNfc_MfStd_H_ProCon(phFriNfc_sNdefSmtCrdFmt_t *NdefSmtCrdFmt); 32 static NFCSTATUS phFriNfc_MfStd_H_ProAuth(phFriNfc_sNdefSmtCrdFmt_t *NdefSmtCrdFmt); 33 static NFCSTATUS phFriNfc_MfStd_H_ProRdSectTr(phFriNfc_sNdefSmtCrdFmt_t *NdefSmtCrdFmt); 34 static NFCSTATUS phFriNfc_MfStd_H_ProWrSectTr(phFriNfc_sNdefSmtCrdFmt_t *NdefSmtCrdFmt); 35 static NFCSTATUS phFriNfc_MfStd_H_WrRdAuth(phFriNfc_sNdefSmtCrdFmt_t *NdefSmtCrdFmt); 37 static void phFriNfc_MfStd_H_ChangeAuthSt(phFriNfc_sNdefSmtCrdFmt_t *NdefSmtCrdFmt); [all …]
|
D | phFriNfc_MifStdFormat.h | 148 memset(&NdefSmtCrdFmt->SendRecvBuf[PH_FRINFC_MFSTD_FMT_VAL_1],\ 151 NdefSmtCrdFmt->Cmd.MfCmd = ((NdefSmtCrdFmt->AddInfo.MfStdInfo.AuthState == \ 155 NdefSmtCrdFmt->SendLength = PH_FRINFC_MFSTD_FMT_VAL_7; \ 164 memcpy(&NdefSmtCrdFmt->SendRecvBuf[PH_FRINFC_MFSTD_FMT_VAL_1],\ 165 NdefSmtCrdFmt->AddInfo.MfStdInfo.NFCForumSect_KeyA,\ 167 NdefSmtCrdFmt->Cmd.MfCmd = phHal_eMifareAuthentA;\ 168 NdefSmtCrdFmt->SendLength = PH_FRINFC_MFSTD_FMT_VAL_7;\ 177 memcpy(&NdefSmtCrdFmt->SendRecvBuf[PH_FRINFC_MFSTD_FMT_VAL_1],\ 178 NdefSmtCrdFmt->AddInfo.MfStdInfo.MADSect_KeyA,\ 180 NdefSmtCrdFmt->Cmd.MfCmd = phHal_eMifareAuthentA;\ [all …]
|
D | phFriNfc_SmtCrdFmt.c | 37 void phFriNfc_SmtCrdFmt_HCrHandler(phFriNfc_sNdefSmtCrdFmt_t *NdefSmtCrdFmt, NFCSTATUS Status) in phFriNfc_SmtCrdFmt_HCrHandler() argument 40 NdefSmtCrdFmt->State = PH_FRINFC_SMTCRDFMT_STATE_RESET_INIT; in phFriNfc_SmtCrdFmt_HCrHandler() 43 NdefSmtCrdFmt->CompletionRoutine[PH_FRINFC_SMTCRDFMT_CR_FORMAT]. in phFriNfc_SmtCrdFmt_HCrHandler() 44 CompletionRoutine(NdefSmtCrdFmt->CompletionRoutine->Context, Status); in phFriNfc_SmtCrdFmt_HCrHandler() 63 NFCSTATUS phFriNfc_NdefSmtCrd_Reset(phFriNfc_sNdefSmtCrdFmt_t *NdefSmtCrdFmt, in phFriNfc_NdefSmtCrd_Reset() argument 71 if ( (SendRecvBuffLen == NULL) || (NdefSmtCrdFmt == NULL) || (psRemoteDevInfo == NULL) || in phFriNfc_NdefSmtCrd_Reset() 81 NdefSmtCrdFmt->State = PH_FRINFC_SMTCRDFMT_STATE_RESET_INIT; in phFriNfc_NdefSmtCrd_Reset() 86 NdefSmtCrdFmt->CompletionRoutine[index].CompletionRoutine = NULL; in phFriNfc_NdefSmtCrd_Reset() 88 NdefSmtCrdFmt->CompletionRoutine[index].Context = NULL; in phFriNfc_NdefSmtCrd_Reset() 94 NdefSmtCrdFmt->pTransceiveInfo = LowerDevice; in phFriNfc_NdefSmtCrd_Reset() [all …]
|
D | phNxpExtns_MifareStd.c | 28 phFriNfc_sNdefSmtCrdFmt_t *NdefSmtCrdFmt = NULL; variable 63 STATIC NFCSTATUS phFriNfc_NdefSmtCrd_Reset__(phFriNfc_sNdefSmtCrdFmt_t *NdefSmtCrdFmt, 141 if( NdefSmtCrdFmt != NULL ) in phNxpExtns_MfcModuleDeInit() 143 free(NdefSmtCrdFmt); in phNxpExtns_MfcModuleDeInit() 144 NdefSmtCrdFmt = NULL; in phNxpExtns_MfcModuleDeInit() 266 NdefSmtCrdFmt = malloc( sizeof(phFriNfc_sNdefSmtCrdFmt_t) ); in phNxpExtns_MfcModuleInit() 267 if( NdefSmtCrdFmt == NULL ) in phNxpExtns_MfcModuleInit() 271 memset( NdefSmtCrdFmt , 0, sizeof(phFriNfc_sNdefSmtCrdFmt_t) ); in phNxpExtns_MfcModuleInit() 881 STATIC NFCSTATUS phFriNfc_NdefSmtCrd_Reset__(phFriNfc_sNdefSmtCrdFmt_t *NdefSmtCrdFmt, in phFriNfc_NdefSmtCrd_Reset__() argument 889 NdefSmtCrdFmt->State = PH_FRINFC_SMTCRDFMT_STATE_RESET_INIT; in phFriNfc_NdefSmtCrd_Reset__() [all …]
|
D | phFriNfc_SmtCrdFmt.h | 107 NFCSTATUS phFriNfc_NdefSmtCrd_Reset(phFriNfc_sNdefSmtCrdFmt_t *NdefSmtCrdFmt, 113 NFCSTATUS phFriNfc_NdefSmtCrd_SetCR(phFriNfc_sNdefSmtCrdFmt_t *NdefSmtCrdFmt, 120 void phFriNfc_SmtCrdFmt_HCrHandler(phFriNfc_sNdefSmtCrdFmt_t *NdefSmtCrdFmt, NFCSTATUS Status);
|