Home
last modified time | relevance | path

Searched refs:gen_bytes_len (Results 1 – 6 of 6) sorted by relevance

/system/nfc/src/nfa/p2p/
Dnfa_p2p_main.c435 config.gen_bytes_len = in nfa_p2p_activate_llcp()
436 p_data->activate.intf_param.intf_param.pa_nfc.gen_bytes_len; in nfa_p2p_activate_llcp()
515 uint8_t wt, gen_bytes_len = LLCP_MAX_GEN_BYTES; in nfa_p2p_set_config() local
520 LLCP_GetDiscoveryConfig(&wt, params + 2, &gen_bytes_len); in nfa_p2p_set_config()
522 gen_bytes_len = 0; in nfa_p2p_set_config()
535 UINT8_TO_BE_STREAM(p, gen_bytes_len); in nfa_p2p_set_config()
537 p += gen_bytes_len; in nfa_p2p_set_config()
538 length = gen_bytes_len + 2; in nfa_p2p_set_config()
553 UINT8_TO_BE_STREAM(p, gen_bytes_len); in nfa_p2p_set_config()
555 p += gen_bytes_len; in nfa_p2p_set_config()
[all …]
/system/nfc/src/nfc/nfc/
Dnfc_ncif.cc744 acm_p->gen_bytes_len = acm_p->atr_res_len - gb_idx; in nfc_ncif_decode_rf_params()
745 if (acm_p->gen_bytes_len > NFC_MAX_GEN_BYTES_LEN) in nfc_ncif_decode_rf_params()
746 acm_p->gen_bytes_len = NFC_MAX_GEN_BYTES_LEN; in nfc_ncif_decode_rf_params()
747 memcpy(acm_p->gen_bytes, &acm_p->atr_res[gb_idx], acm_p->gen_bytes_len); in nfc_ncif_decode_rf_params()
765 acm_p->gen_bytes_len = acm_p->atr_res_len - gb_idx; in nfc_ncif_decode_rf_params()
766 if (acm_p->gen_bytes_len > NFC_MAX_GEN_BYTES_LEN) in nfc_ncif_decode_rf_params()
767 acm_p->gen_bytes_len = NFC_MAX_GEN_BYTES_LEN; in nfc_ncif_decode_rf_params()
768 memcpy(acm_p->gen_bytes, &acm_p->atr_res[gb_idx], acm_p->gen_bytes_len); in nfc_ncif_decode_rf_params()
1013 p_pa_nfc->gen_bytes_len = p_pa_nfc->atr_res_len - gb_idx; in nfc_ncif_proc_activate()
1014 if (p_pa_nfc->gen_bytes_len > NFC_MAX_GEN_BYTES_LEN) in nfc_ncif_proc_activate()
[all …]
/system/nfc/src/nfc/llcp/
Dllcp_link.c56 static bool llcp_link_parse_gen_bytes(uint8_t gen_bytes_len,
187 if (llcp_link_parse_gen_bytes(p_config->gen_bytes_len, in llcp_link_activate()
493 static bool llcp_link_parse_gen_bytes(uint8_t gen_bytes_len, in llcp_link_parse_gen_bytes() argument
496 uint8_t length = gen_bytes_len - LLCP_MAGIC_NUMBER_LEN; in llcp_link_parse_gen_bytes()
498 if ((gen_bytes_len >= LLCP_MAGIC_NUMBER_LEN) && in llcp_link_parse_gen_bytes()
/system/nfc/src/nfc/include/
Dllcp_api.h57 uint8_t gen_bytes_len; member
Dnfc_api.h686 uint8_t gen_bytes_len; /* len of general bytes */ member
698 uint8_t gen_bytes_len; /* len of general bytes */ member
/system/nfc/src/hal/include/
Dnci_defs.h805 uint8_t gen_bytes_len; /* len of general bytes */ member