Home
last modified time | relevance | path

Searched refs:miu (Results 1 – 8 of 8) sorted by relevance

/system/nfc/src/nfa/p2p/
Dnfa_p2p_api.cc205 tNFA_STATUS NFA_P2pAcceptConn(tNFA_HANDLE handle, uint16_t miu, uint8_t rw) { in NFA_P2pAcceptConn() argument
210 << StringPrintf("handle:0x%02X, MIU:%d, RW:%d", handle, miu, rw); in NFA_P2pAcceptConn()
226 if ((miu < LLCP_DEFAULT_MIU) || (nfa_p2p_cb.local_link_miu < miu)) { in NFA_P2pAcceptConn()
227 LOG(ERROR) << StringPrintf("MIU(%d) must be between %d and %d", miu, in NFA_P2pAcceptConn()
234 p_msg->miu = miu; in NFA_P2pAcceptConn()
361 char* p_service_name, uint16_t miu, in NFA_P2pConnectByName() argument
368 client_handle, p_service_name, miu, rw); in NFA_P2pConnectByName()
377 if ((miu < LLCP_DEFAULT_MIU) || in NFA_P2pConnectByName()
379 (nfa_p2p_cb.local_link_miu < miu)) { in NFA_P2pConnectByName()
383 miu, LLCP_DEFAULT_MIU, nfa_p2p_cb.local_link_miu); in NFA_P2pConnectByName()
[all …]
Dnfa_p2p_act.cc300 nfa_p2p_cb.conn_cb[xx].remote_miu = p_data->connect_ind.miu; in nfa_p2p_proc_llcp_connect_ind()
310 evt_data.conn_req.remote_miu = p_data->connect_ind.miu; in nfa_p2p_proc_llcp_connect_ind()
343 nfa_p2p_cb.conn_cb[xx].remote_miu = p_data->connect_resp.miu; in nfa_p2p_proc_llcp_connect_resp()
353 evt_data.connected.remote_miu = p_data->connect_resp.miu; in nfa_p2p_proc_llcp_connect_resp()
785 params.miu = p_msg->api_accept.miu; in nfa_p2p_accept_connection()
896 conn_params.miu = p_msg->api_connect.miu; in nfa_p2p_create_data_link_connection()
/system/nfc/src/nfa/include/
Dnfa_p2p_api.h259 extern tNFA_STATUS NFA_P2pAcceptConn(tNFA_HANDLE conn_handle, uint16_t miu,
312 char* p_service_name, uint16_t miu,
330 uint16_t miu, uint8_t rw);
Dnfa_p2p_int.h91 uint16_t miu; member
114 uint16_t miu; member
/system/nfc/src/nfc/llcp/
Dllcp_util.cc428 if (p_params->miu != LLCP_DEFAULT_MIU) { in llcp_util_send_connect()
454 UINT16_TO_BE_STREAM(p, p_params->miu - LLCP_DEFAULT_MIU); in llcp_util_send_connect()
491 p_params->miu = LLCP_DEFAULT_MIU; in llcp_util_parse_connect()
514 BE_STREAM_TO_UINT16(p_params->miu, p); in llcp_util_parse_connect()
515 p_params->miu &= LLCP_MIUX_MASK; in llcp_util_parse_connect()
516 p_params->miu += LLCP_DEFAULT_MIU; in llcp_util_parse_connect()
519 << StringPrintf("LLCP_MIUX_TYPE:%d", p_params->miu); in llcp_util_parse_connect()
576 if (p_params->miu != LLCP_DEFAULT_MIU) { in llcp_util_send_cc()
599 UINT16_TO_BE_STREAM(p, p_params->miu - LLCP_DEFAULT_MIU); in llcp_util_send_cc()
Dllcp_dlc.cc128 p_dlcb->local_miu = p_params->miu; in llcp_dlsm_idle()
146 if (p_params->miu > llcp_cb.lcb.peer_miu) { in llcp_dlsm_idle()
150 p_params->miu = llcp_cb.lcb.peer_miu; in llcp_dlsm_idle()
156 data.connect_ind.miu = p_params->miu; in llcp_dlsm_idle()
161 p_dlcb->remote_miu = p_params->miu; in llcp_dlsm_idle()
214 if (p_params->miu > llcp_cb.lcb.peer_miu) { in llcp_dlsm_w4_remote_resp()
218 p_params->miu = llcp_cb.lcb.peer_miu; in llcp_dlsm_w4_remote_resp()
221 p_dlcb->remote_miu = p_params->miu; in llcp_dlsm_w4_remote_resp()
233 data.connect_resp.miu = p_params->miu; in llcp_dlsm_w4_remote_resp()
308 p_dlcb->local_miu = p_params->miu; in llcp_dlsm_w4_local_resp()
[all …]
Dllcp_api.cc856 params.miu = LLCP_DEFAULT_MIU; in LLCP_ConnectReq()
884 if ((p_params) && (p_params->miu > llcp_cb.lcb.local_link_miu)) { in LLCP_ConnectReq()
942 params.miu = LLCP_DEFAULT_MIU; in LLCP_ConnectCfm()
947 if (p_params->miu > llcp_cb.lcb.local_link_miu) { in LLCP_ConnectCfm()
/system/nfc/src/nfc/include/
Dllcp_api.h62 uint16_t miu; /* Local receiving MIU */ member
142 uint16_t miu; /* MIU of peer device */ member
151 uint16_t miu; /* MIU of peer device */ member