Searched refs:atr_req (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.10/drivers/nfc/st21nfca/ |
D | dep.c | 141 struct st21nfca_atr_req *atr_req) in st21nfca_tm_send_atr_res() argument 149 gb_len = atr_req->length - sizeof(struct st21nfca_atr_req); in st21nfca_tm_send_atr_res() 150 skb = alloc_skb(atr_req->length + 1, GFP_KERNEL); in st21nfca_tm_send_atr_res() 159 atr_res->length = atr_req->length + 1; in st21nfca_tm_send_atr_res() 163 memcpy(atr_res->nfcid3, atr_req->nfcid3, 6); in st21nfca_tm_send_atr_res() 173 memcpy(atr_res->gbi, atr_req->gbi, gb_len); in st21nfca_tm_send_atr_res() 193 struct st21nfca_atr_req *atr_req; in st21nfca_tm_recv_atr_req() local 209 atr_req = (struct st21nfca_atr_req *)skb->data; in st21nfca_tm_recv_atr_req() 211 if (atr_req->length < sizeof(struct st21nfca_atr_req)) { in st21nfca_tm_recv_atr_req() 216 r = st21nfca_tm_send_atr_res(hdev, atr_req); in st21nfca_tm_recv_atr_req() [all …]
|
/Linux-v5.10/net/nfc/ |
D | digital_dep.c | 476 struct digital_atr_req *atr_req; in digital_in_send_atr_req() local 494 atr_req = (struct digital_atr_req *)skb->data; in digital_in_send_atr_req() 495 memset(atr_req, 0, sizeof(struct digital_atr_req)); in digital_in_send_atr_req() 497 atr_req->dir = DIGITAL_NFC_DEP_FRAME_DIR_OUT; in digital_in_send_atr_req() 498 atr_req->cmd = DIGITAL_CMD_ATR_REQ; in digital_in_send_atr_req() 500 memcpy(atr_req->nfcid3, target->nfcid2, NFC_NFCID2_MAXSIZE); in digital_in_send_atr_req() 502 get_random_bytes(atr_req->nfcid3, NFC_NFCID3_MAXSIZE); in digital_in_send_atr_req() 504 atr_req->did = 0; in digital_in_send_atr_req() 505 atr_req->bs = 0; in digital_in_send_atr_req() 506 atr_req->br = 0; in digital_in_send_atr_req() [all …]
|
/Linux-v5.10/net/nfc/nci/ |
D | ntf.c | 427 memcpy(listen->atr_req, data, listen->atr_req_len); in nci_extract_activation_params_nfc_dep() 490 (ntf->activation_params.listen_nfc_dep.atr_req in nci_store_general_bytes_nfc_dep()
|
/Linux-v5.10/include/net/nfc/ |
D | nci.h | 459 __u8 atr_req[NFC_ATR_REQ_MAXSIZE - 2]; /* ATR_REQ from byte 3 */ member
|