Home
last modified time | relevance | path

Searched refs:tlv_size (Results 1 – 10 of 10) sorted by relevance

/system/nfc/src/nfc/nci/
Dnci_hmsgs.cc139 uint8_t nci_snd_core_set_config(uint8_t* p_param_tlvs, uint8_t tlv_size) { in nci_snd_core_set_config() argument
144 p = NCI_GET_CMD_BUF(tlv_size + 1); in nci_snd_core_set_config()
148 p->len = NCI_MSG_HDR_SIZE + tlv_size + 1; in nci_snd_core_set_config()
154 UINT8_TO_STREAM(pp, (uint8_t)(tlv_size + 1)); in nci_snd_core_set_config()
155 len = tlv_size; in nci_snd_core_set_config()
172 ARRAY_TO_STREAM(pp, p_param_tlvs, tlv_size); in nci_snd_core_set_config()
188 uint8_t tlv_size, uint8_t* p_param_tlvs) { in nci_snd_core_conn_create() argument
191 uint8_t size = NCI_CORE_PARAM_SIZE_CON_CREATE + tlv_size; in nci_snd_core_conn_create()
207 if (tlv_size) { in nci_snd_core_conn_create()
208 ARRAY_TO_STREAM(pp, p_param_tlvs, tlv_size); in nci_snd_core_conn_create()
[all …]
/system/nfc/src/nfc/include/
Dnci_hmsgs.h45 uint8_t nci_snd_core_set_config(uint8_t* p_param_tlvs, uint8_t tlv_size);
48 uint8_t tlv_size, uint8_t* p_param_tlvs);
58 uint8_t nci_snd_parameter_update_cmd(uint8_t* p_param_tlvs, uint8_t tlv_size);
65 uint8_t nci_snd_set_routing_cmd(bool more, uint8_t num_tlv, uint8_t tlv_size,
Dnfc_api.h248 uint16_t tlv_size; /* The length of TLV */ member
322 uint8_t tlv_size; /* the total len of all TLVs */ member
895 extern tNFC_STATUS NFC_SetConfig(uint8_t tlv_size, uint8_t* p_param_tlvs);
1188 extern tNFC_STATUS NFC_SetRouting(bool more, uint8_t num_tlv, uint8_t tlv_size,
/system/nfc/src/nfc/nfc/
Dnfc_ee.cc113 tNFC_STATUS NFC_SetRouting(bool more, uint8_t num_tlv, uint8_t tlv_size, in NFC_SetRouting() argument
115 return nci_snd_set_routing_cmd(more, num_tlv, tlv_size, p_param_tlvs); in NFC_SetRouting()
Dnfc_main.cc826 tNFC_STATUS NFC_SetConfig(uint8_t tlv_size, uint8_t* p_param_tlvs) { in NFC_SetConfig() argument
827 return nci_snd_core_set_config(p_param_tlvs, tlv_size); in NFC_SetConfig()
999 uint8_t num_tlv = 0, tlv_size = 0; in NFC_ConnCreate() local
1012 tlv_size = 4; in NFC_ConnCreate()
1018 tlv_size = 3; in NFC_ConnCreate()
1026 status = nci_snd_core_conn_create(dest_type, num_tlv, tlv_size, param_tlvs); in NFC_ConnCreate()
Dnfc_ncif.cc1542 evt_data.tlv_size = *p++; in nfc_ncif_proc_get_routing()
1543 if (evt_data.tlv_size > NFC_MAX_EE_TLV_SIZE) { in nfc_ncif_proc_get_routing()
1548 if (evt_data.tlv_size > len) { in nfc_ncif_proc_get_routing()
1552 len -= evt_data.tlv_size; in nfc_ncif_proc_get_routing()
1554 STREAM_TO_ARRAY(pn, p, evt_data.tlv_size); in nfc_ncif_proc_get_routing()
1773 evt_data.get_config.tlv_size = p_evt->len; in nfc_ncif_proc_get_config_rsp()
/system/nfc/src/nfa/ee/
Dnfa_ee_act.cc2607 uint16_t tlv_size = (uint8_t)*p_cur_offset; in nfa_ee_route_add_one_ecb_by_route_order() local
2641 tlv_size = nfa_ee_total_lmrt_size(); in nfa_ee_route_add_one_ecb_by_route_order()
2642 if (tlv_size) { in nfa_ee_route_add_one_ecb_by_route_order()
2649 "ee_cfg_sts:0x%02x lmrt_size:%d", nfa_ee_cb.ee_cfg_sts, tlv_size); in nfa_ee_route_add_one_ecb_by_route_order()
2654 if (tlv_size) { in nfa_ee_route_add_one_ecb_by_route_order()
2661 num_tlv, tlv_size); in nfa_ee_route_add_one_ecb_by_route_order()
2667 if (tlv_size == 0) { in nfa_ee_route_add_one_ecb_by_route_order()
/system/nfc/src/nfa/ce/
Dnfa_ce_act.cc328 uint8_t tlv_size; in nfc_ce_t3t_set_listen_params() local
383 tlv_size = (uint8_t)(p_params - tlv); in nfc_ce_t3t_set_listen_params()
387 nfa_dm_check_set_config(tlv_size, (uint8_t*)tlv, false); in nfc_ce_t3t_set_listen_params()
/system/nfc/src/nfa/include/
Dnfa_api.h196 uint16_t tlv_size; /* The length of TLV */ member
/system/nfc/src/nfa/dm/
Dnfa_dm_act.cc328 p_nfa_get_confg->tlv_size = p_data->get_config.tlv_size; in nfa_dm_nfc_response_cback()