Searched refs:NCI_MSG_HDR_SIZE (Results 1 - 11 of 11) sorted by relevance
/external/libnfc-nci/src/nfc/nfc/ |
H A D | nfc_vs.c | 134 p_data->offset -= NCI_MSG_HDR_SIZE; 139 p_data->len += NCI_MSG_HDR_SIZE;
|
H A D | nfc_ncif.c | 280 memcpy(nfc_cb.last_cmd, ps + NCI_MSG_HDR_SIZE, NFC_SAVED_CMD_SIZE); 733 p += NCI_MSG_HDR_SIZE; 1202 p += NCI_MSG_HDR_SIZE; 1327 status = *(p + NCI_MSG_HDR_SIZE); 1360 p_evt->offset += NCI_MSG_HDR_SIZE; 1361 p_evt->len -= NCI_MSG_HDR_SIZE; 1418 p_evt->offset += NCI_MSG_HDR_SIZE; 1419 p_evt->len -= NCI_MSG_HDR_SIZE; 1512 ps = (UINT8 *)(p_msg + 1) + p_msg->offset + NCI_MSG_HDR_SIZE; 1513 len = p_msg->len - NCI_MSG_HDR_SIZE; [all...] |
H A D | nfc_main.c | 229 p = (UINT8 *) (p_init_rsp_msg + 1) + p_init_rsp_msg->offset + NCI_MSG_HDR_SIZE + 1;
|
/external/libnfc-nci/halimpl/bcm2079x/hal/hal/ |
H A D | nfc_hal_hci.c | 121 p_hci_netwk_cmd = (UINT8 *) (nfc_hal_cb.hci_cb.p_hci_netwk_dh_info_buf - NCI_MSG_HDR_SIZE); 128 p_hci_netwk_cmd = (UINT8 *) (nfc_hal_cb.hci_cb.p_hci_netwk_info_buf - NCI_MSG_HDR_SIZE); 136 if ((p_hci_netwk_cmd = (UINT8 *) GKI_getbuf (NCI_MSG_HDR_SIZE + NFC_HAL_HCI_NETWK_INFO_SIZE)) == NULL) 143 nfc_hal_cb.hci_cb.p_hci_netwk_info_buf = (UINT8 *) (p_hci_netwk_cmd + NCI_MSG_HDR_SIZE); 454 p_hci_netwk_info = (UINT8 *) nfc_hal_cb.hci_cb.p_hci_netwk_info_buf - NCI_MSG_HDR_SIZE; 468 p_hci_netwk_info = (UINT8 *) nfc_hal_cb.hci_cb.p_hci_netwk_dh_info_buf - NCI_MSG_HDR_SIZE; 481 p_hci_netwk_info = (UINT8 *) (nfc_hal_cb.hci_cb.p_hci_netwk_dh_info_buf - NCI_MSG_HDR_SIZE); 495 nfc_hal_dm_send_nci_cmd (p_hci_netwk_info, (UINT16) (NCI_MSG_HDR_SIZE + size), nfc_hal_hci_vsc_cback); 561 p_hci_netwk_cmd = (UINT8 *) (nfc_hal_cb.hci_cb.p_hci_netwk_dh_info_buf - NCI_MSG_HDR_SIZE); 568 p_hci_netwk_cmd = (UINT8 *) (nfc_hal_cb.hci_cb.p_hci_netwk_info_buf - NCI_MSG_HDR_SIZE); [all...] |
H A D | nfc_hal_dm.c | 49 static UINT8 nfc_hal_dm_set_fw_fsm_cmd[NCI_MSG_HDR_SIZE + 1] = 60 const UINT8 nfc_hal_dm_get_build_info_cmd[NCI_MSG_HDR_SIZE] = 68 const UINT8 nfc_hal_dm_get_patch_version_cmd [NCI_MSG_HDR_SIZE] = 116 UINT16 cmd_len = NCI_MSG_HDR_SIZE + tlv_size + 1; 124 if ((p_buff = (UINT8 *) GKI_getbuf ((UINT16)(NCI_MSG_HDR_SIZE + tlv_size))) != NULL) 194 nfc_hal_dm_send_nci_cmd (nfc_hal_dm_set_fw_fsm_cmd, NCI_MSG_HDR_SIZE + 1, p_cback); 235 if (nfc_hal_cb.dev_cb.next_startup_vsc + NCI_MSG_HDR_SIZE - 1 <= *p_nfc_hal_dm_start_up_vsc_cfg) 239 p_end = p + NCI_MSG_HDR_SIZE - 1 + len; 244 nfc_hal_cb.dev_cb.next_startup_vsc += NCI_MSG_HDR_SIZE + len; 250 nfc_hal_dm_send_nci_cmd (p, (UINT16)(NCI_MSG_HDR_SIZE [all...] |
H A D | nfc_hal_api.c | 162 size = p_core_init_rsp_params[2] + NCI_MSG_HDR_SIZE; 196 if (data_len > (NCI_MAX_CTRL_SIZE + NCI_MSG_HDR_SIZE))
|
H A D | nfc_hal_nci.c | 62 if ((p_msg == NULL) || (p_msg->len < NCI_MSG_HDR_SIZE)) 102 p_msg->offset += NCI_MSG_HDR_SIZE; 103 p_msg->len -= NCI_MSG_HDR_SIZE; 115 *pd = (UINT8) (nfc_hal_cb.ncit_cb.p_frag_msg->len - NCI_MSG_HDR_SIZE); 190 p_cb->rcv_len = NCI_MSG_HDR_SIZE; 717 UINT8 hdr[NCI_MSG_HDR_SIZE]; 735 max_len = nci_ctrl_size + NCI_MSG_HDR_SIZE; 746 memcpy (hdr, ps, NCI_MSG_HDR_SIZE); 781 memcpy (pd, hdr, NCI_MSG_HDR_SIZE); 783 *pd = (UINT8) (p_buf->len - NCI_MSG_HDR_SIZE); [all...] |
H A D | nfc_hal_prm.c | 95 UINT8 patch_hdr_size = NCI_MSG_HDR_SIZE + 1; /* 1 is for HCIT */ 97 /* Validate that segment is at least big enought to have NCI_MSG_HDR_SIZE + 1 (hcit) */ 152 nfc_hal_dm_send_nci_cmd ((UINT8*) (nfc_hal_cb.prm.p_cur_patch_data + offset + 1), (UINT8) (len + NCI_MSG_HDR_SIZE), 575 p = p_data + NCI_MSG_HDR_SIZE; 725 UINT8 get_patch_version_cmd [NCI_MSG_HDR_SIZE] = 759 nfc_hal_dm_send_nci_cmd (get_patch_version_cmd, NCI_MSG_HDR_SIZE, nfc_hal_prm_nci_command_complete_cback);
|
H A D | nfc_hal_main.c | 644 p = (UINT8 *) (p_msg + 1) + p_msg->offset + NCI_MSG_HDR_SIZE;
|
/external/libnfc-nci/src/nfc/nci/ |
H A D | nci_hmsgs.c | 53 p->len = NCI_MSG_HDR_SIZE + NCI_CORE_PARAM_SIZE_RESET; 85 p->len = NCI_MSG_HDR_SIZE + NCI_CORE_PARAM_SIZE_INIT; 116 p->len = NCI_MSG_HDR_SIZE + num_ids + 1; 150 p->len = NCI_MSG_HDR_SIZE + tlv_size + 1; 203 p->len = NCI_MSG_HDR_SIZE + NCI_CORE_PARAM_SIZE_CON_CREATE; 241 p->len = NCI_MSG_HDR_SIZE + NCI_CORE_PARAM_SIZE_CON_CLOSE; 277 p->len = NCI_MSG_HDR_SIZE + NCI_PARAM_SIZE_DISCOVER_NFCEE; 310 p->len = NCI_MSG_HDR_SIZE + NCI_CORE_PARAM_SIZE_NFCEE_MODE_SET; 364 p->len = NCI_MSG_HDR_SIZE + *p_size; 389 p->len = NCI_MSG_HDR_SIZE [all...] |
/external/libnfc-nci/src/hal/include/ |
H A D | nci_defs.h | 37 #define NCI_MSG_HDR_SIZE 3 /* per NCI spec */ macro 607 #define NCI_GET_CMD_BUF(paramlen) ((BT_HDR *) GKI_getbuf ((UINT16) (BT_HDR_SIZE + NCI_MSG_HDR_SIZE + NCI_MSG_OFFSET_SIZE + (paramlen))))
|
Completed in 99 milliseconds