Searched refs:aid_len (Results 1 – 2 of 2) sorted by relevance
309 u32 aid_len; in st21nfca_connectivity_event_received() local338 aid_len = skb->data[1]; in st21nfca_connectivity_event_received()340 if (skb->len < aid_len + 4 || aid_len > sizeof(transaction->aid)) in st21nfca_connectivity_event_received()343 params_len = skb->data[aid_len + 3]; in st21nfca_connectivity_event_received()348 if ((skb->data[aid_len + 2] != NFC_EVT_TRANSACTION_PARAMS_TAG) || in st21nfca_connectivity_event_received()349 (skb->len < aid_len + 4 + params_len)) in st21nfca_connectivity_event_received()356 transaction->aid_len = aid_len; in st21nfca_connectivity_event_received()359 memcpy(transaction->aid, &skb->data[2], aid_len); in st21nfca_connectivity_event_received()360 memcpy(transaction->params, &skb->data[aid_len + 4], params_len); in st21nfca_connectivity_event_received()
315 u32 aid_len; in st_nci_hci_connectivity_event_received() local345 aid_len = skb->data[1]; in st_nci_hci_connectivity_event_received()347 if (skb->len < aid_len + 4 || in st_nci_hci_connectivity_event_received()348 aid_len > sizeof(transaction->aid)) in st_nci_hci_connectivity_event_received()351 params_len = skb->data[aid_len + 3]; in st_nci_hci_connectivity_event_received()356 if (skb->data[aid_len + 2] != NFC_EVT_TRANSACTION_PARAMS_TAG || in st_nci_hci_connectivity_event_received()357 skb->len < aid_len + 4 + params_len) in st_nci_hci_connectivity_event_received()365 transaction->aid_len = aid_len; in st_nci_hci_connectivity_event_received()368 memcpy(transaction->aid, &skb->data[2], aid_len); in st_nci_hci_connectivity_event_received()369 memcpy(transaction->params, &skb->data[aid_len + 4], in st_nci_hci_connectivity_event_received()