Home
last modified time | relevance | path

Searched refs:atr_req (Results 1 – 2 of 2) sorted by relevance

/net/nfc/
Ddigital_dep.c488 struct digital_atr_req *atr_req; in digital_in_send_atr_req() local
506 atr_req = (struct digital_atr_req *)skb->data; in digital_in_send_atr_req()
507 memset(atr_req, 0, sizeof(struct digital_atr_req)); in digital_in_send_atr_req()
509 atr_req->dir = DIGITAL_NFC_DEP_FRAME_DIR_OUT; in digital_in_send_atr_req()
510 atr_req->cmd = DIGITAL_CMD_ATR_REQ; in digital_in_send_atr_req()
512 memcpy(atr_req->nfcid3, target->nfcid2, NFC_NFCID2_MAXSIZE); in digital_in_send_atr_req()
514 get_random_bytes(atr_req->nfcid3, NFC_NFCID3_MAXSIZE); in digital_in_send_atr_req()
516 atr_req->did = 0; in digital_in_send_atr_req()
517 atr_req->bs = 0; in digital_in_send_atr_req()
518 atr_req->br = 0; in digital_in_send_atr_req()
[all …]
/net/nfc/nci/
Dntf.c439 memcpy(listen->atr_req, data, listen->atr_req_len); in nci_extract_activation_params_nfc_dep()
502 (ntf->activation_params.listen_nfc_dep.atr_req in nci_store_general_bytes_nfc_dep()