Searched refs:llcp_cb (Results 1 – 8 of 8) sorted by relevance
/external/libnfc-nci/src/nfc/llcp/ |
D | llcp_link.c | 90 if ( (llcp_cb.lcb.inact_timer.in_use == FALSE) in llcp_link_start_inactivity_timer() 91 &&(llcp_cb.lcb.inact_timeout > 0) ) in llcp_link_start_inactivity_timer() 93 LLCP_TRACE_DEBUG1 ("Start inactivity_timer: %d ms", llcp_cb.lcb.inact_timeout); in llcp_link_start_inactivity_timer() 95 nfc_start_quick_timer (&llcp_cb.lcb.inact_timer, NFC_TTYPE_LLCP_LINK_INACT, in llcp_link_start_inactivity_timer() 96 … ((UINT32) llcp_cb.lcb.inact_timeout) * QUICK_TIMER_TICKS_PER_SEC / 1000); in llcp_link_start_inactivity_timer() 111 if (llcp_cb.lcb.inact_timer.in_use) in llcp_link_stop_inactivity_timer() 115 nfc_stop_quick_timer (&llcp_cb.lcb.inact_timer); in llcp_link_stop_inactivity_timer() 130 if (llcp_cb.lcb.symm_state == LLCP_LINK_SYMM_LOCAL_XMIT_NEXT) in llcp_link_start_link_timer() 133 nfc_start_quick_timer (&llcp_cb.lcb.timer, NFC_TTYPE_LLCP_LINK_MANAGER, in llcp_link_start_link_timer() 134 … (((UINT32) llcp_cb.lcb.symm_delay) * QUICK_TIMER_TICKS_PER_SEC) / 1000); in llcp_link_start_link_timer() [all …]
|
D | llcp_main.c | 36 tLLCP_CB llcp_cb; variable 53 memset (&llcp_cb, 0, sizeof (tLLCP_CB)); in llcp_init() 55 llcp_cb.trace_level = LLCP_INITIAL_TRACE_LEVEL; in llcp_init() 59 llcp_cb.lcb.local_link_miu = (LLCP_MIU <= LLCP_MAX_MIU ? LLCP_MIU : LLCP_MAX_MIU); in llcp_init() 60 llcp_cb.lcb.local_opt = LLCP_OPT_VALUE; in llcp_init() 61 llcp_cb.lcb.local_wt = LLCP_WAITING_TIME; in llcp_init() 62 llcp_cb.lcb.local_lto = LLCP_LTO_VALUE; in llcp_init() 64 llcp_cb.lcb.inact_timeout_init = LLCP_INIT_INACTIVITY_TIMEOUT; in llcp_init() 65 llcp_cb.lcb.inact_timeout_target = LLCP_TARGET_INACTIVITY_TIMEOUT; in llcp_init() 66 llcp_cb.lcb.symm_delay = LLCP_DELAY_RESP_TIME; in llcp_init() [all …]
|
D | llcp_sdp.c | 66 if (llcp_cb.sdp_cb.p_snl) in llcp_sdp_check_send_snl() 70 llcp_cb.sdp_cb.p_snl->len += LLCP_PDU_HEADER_SIZE; in llcp_sdp_check_send_snl() 71 llcp_cb.sdp_cb.p_snl->offset -= LLCP_PDU_HEADER_SIZE; in llcp_sdp_check_send_snl() 73 p = (UINT8 *) (llcp_cb.sdp_cb.p_snl + 1) + llcp_cb.sdp_cb.p_snl->offset; in llcp_sdp_check_send_snl() 76 GKI_enqueue (&llcp_cb.lcb.sig_xmit_q, llcp_cb.sdp_cb.p_snl); in llcp_sdp_check_send_snl() 77 llcp_cb.sdp_cb.p_snl = NULL; in llcp_sdp_check_send_snl() 96 …p = (UINT8 *) (llcp_cb.sdp_cb.p_snl + 1) + llcp_cb.sdp_cb.p_snl->offset + llcp_cb.sdp_cb.p_snl->le… in llcp_sdp_add_sdreq() 103 llcp_cb.sdp_cb.p_snl->len += LLCP_SDREQ_MIN_LEN + name_len; in llcp_sdp_add_sdreq() 125 if (!llcp_cb.sdp_cb.p_snl) in llcp_sdp_send_sdreq() 127 llcp_cb.sdp_cb.p_snl = (BT_HDR*) GKI_getpoolbuf (LLCP_POOL_ID); in llcp_sdp_send_sdreq() [all …]
|
D | llcp_util.c | 57 BE_STREAM_TO_UINT8 (llcp_cb.lcb.peer_version, p); in llcp_util_parse_link_params() 58 LLCP_TRACE_DEBUG1 ("Peer Version - 0x%02X", llcp_cb.lcb.peer_version); in llcp_util_parse_link_params() 63 BE_STREAM_TO_UINT16 (llcp_cb.lcb.peer_miu, p); in llcp_util_parse_link_params() 64 llcp_cb.lcb.peer_miu &= LLCP_MIUX_MASK; in llcp_util_parse_link_params() 65 llcp_cb.lcb.peer_miu += LLCP_DEFAULT_MIU; in llcp_util_parse_link_params() 66 LLCP_TRACE_DEBUG1 ("Peer MIU - %d bytes", llcp_cb.lcb.peer_miu); in llcp_util_parse_link_params() 71 BE_STREAM_TO_UINT16 (llcp_cb.lcb.peer_wks, p); in llcp_util_parse_link_params() 72 LLCP_TRACE_DEBUG1 ("Peer WKS - 0x%04X", llcp_cb.lcb.peer_wks); in llcp_util_parse_link_params() 77 BE_STREAM_TO_UINT8 (llcp_cb.lcb.peer_lto, p); in llcp_util_parse_link_params() 78 llcp_cb.lcb.peer_lto *= LLCP_LTO_UNIT; /* 10ms unit */ in llcp_util_parse_link_params() [all …]
|
D | llcp_api.c | 117 llcp_cb.lcb.local_link_miu = LLCP_MIU; in LLCP_SetConfig() 120 llcp_cb.lcb.local_link_miu = link_miu; in LLCP_SetConfig() 122 llcp_cb.lcb.local_opt = opt; in LLCP_SetConfig() 123 llcp_cb.lcb.local_wt = wt; in LLCP_SetConfig() 129 llcp_cb.lcb.local_lto = LLCP_DEFAULT_LTO_IN_MS; in LLCP_SetConfig() 135 llcp_cb.lcb.local_lto = LLCP_MAX_LTO_IN_MS; in LLCP_SetConfig() 138 llcp_cb.lcb.local_lto = link_timeout; in LLCP_SetConfig() 140 llcp_cb.lcb.inact_timeout_init = inact_timeout_init; in LLCP_SetConfig() 141 llcp_cb.lcb.inact_timeout_target = inact_timeout_target; in LLCP_SetConfig() 142 llcp_cb.lcb.symm_delay = symm_delay; in LLCP_SetConfig() [all …]
|
D | llcp_dlc.c | 130 … (UINT32) (llcp_cb.lcb.data_link_timeout * QUICK_TIMER_TICKS_PER_SEC) / 1000); in llcp_dlsm_idle() 139 if (p_params->miu > llcp_cb.lcb.peer_miu) in llcp_dlsm_idle() 142 p_params->miu = llcp_cb.lcb.peer_miu; in llcp_dlsm_idle() 162 … (UINT32) (llcp_cb.lcb.data_link_timeout * QUICK_TIMER_TICKS_PER_SEC) / 1000); in llcp_dlsm_idle() 202 if (p_params->miu > llcp_cb.lcb.peer_miu) in llcp_dlsm_w4_remote_resp() 205 p_params->miu = llcp_cb.lcb.peer_miu; in llcp_dlsm_w4_remote_resp() 224 if (llcp_cb.overall_rx_congested) in llcp_dlsm_w4_remote_resp() 298 if (llcp_cb.overall_rx_congested) in llcp_dlsm_w4_local_resp() 395 … (UINT32) (llcp_cb.lcb.data_link_timeout * QUICK_TIMER_TICKS_PER_SEC) / 1000); in llcp_dlsm_connected() 429 llcp_cb.total_tx_i_pdu++; in llcp_dlsm_connected() [all …]
|
/external/libnfc-nci/src/nfc/int/ |
D | llcp_int.h | 290 LLCP_API extern tLLCP_CB llcp_cb; 293 #define llcp_cb (*llcp_cb_ptr)
|
/external/libnfc-nci/src/include/ |
D | bt_trace.h | 731 #define LLCP_TRACE_ERROR0(m) {if (llcp_cb.trace_level >= BT_TRACE_LEVEL_ERROR) … 732 #define LLCP_TRACE_ERROR1(m,p1) {if (llcp_cb.trace_level >= BT_TRACE_LEVEL_ERROR) … 733 #define LLCP_TRACE_ERROR2(m,p1,p2) {if (llcp_cb.trace_level >= BT_TRACE_LEVEL_ERROR) … 734 #define LLCP_TRACE_ERROR3(m,p1,p2,p3) {if (llcp_cb.trace_level >= BT_TRACE_LEVEL_ERROR) … 735 #define LLCP_TRACE_ERROR4(m,p1,p2,p3,p4) {if (llcp_cb.trace_level >= BT_TRACE_LEVEL_ERROR) … 736 #define LLCP_TRACE_ERROR5(m,p1,p2,p3,p4,p5) {if (llcp_cb.trace_level >= BT_TRACE_LEVEL_ERROR) … 737 #define LLCP_TRACE_ERROR6(m,p1,p2,p3,p4,p5,p6) {if (llcp_cb.trace_level >= BT_TRACE_LEVEL_ERROR) … 739 #define LLCP_TRACE_WARNING0(m) {if (llcp_cb.trace_level >= BT_TRACE_LEVEL_WARNING… 740 #define LLCP_TRACE_WARNING1(m,p1) {if (llcp_cb.trace_level >= BT_TRACE_LEVEL_WARNING… 741 #define LLCP_TRACE_WARNING2(m,p1,p2) {if (llcp_cb.trace_level >= BT_TRACE_LEVEL_WARNING… [all …]
|