Home
last modified time | relevance | path

Searched refs:lcb (Results 1 – 15 of 15) sorted by relevance

/system/nfc/src/nfc/llcp/
Dllcp_link.cc100 if ((llcp_cb.lcb.inact_timer.in_use == false) && in llcp_link_start_inactivity_timer()
101 (llcp_cb.lcb.inact_timeout > 0)) { in llcp_link_start_inactivity_timer()
103 "Start inactivity_timer: %d ms", llcp_cb.lcb.inact_timeout); in llcp_link_start_inactivity_timer()
105 nfc_start_quick_timer(&llcp_cb.lcb.inact_timer, NFC_TTYPE_LLCP_LINK_INACT, in llcp_link_start_inactivity_timer()
106 ((uint32_t)llcp_cb.lcb.inact_timeout) * in llcp_link_start_inactivity_timer()
121 if (llcp_cb.lcb.inact_timer.in_use) { in llcp_link_stop_inactivity_timer()
124 nfc_stop_quick_timer(&llcp_cb.lcb.inact_timer); in llcp_link_stop_inactivity_timer()
138 if (llcp_cb.lcb.symm_state == LLCP_LINK_SYMM_LOCAL_XMIT_NEXT) { in llcp_link_start_link_timer()
141 &llcp_cb.lcb.timer, NFC_TTYPE_LLCP_LINK_MANAGER, in llcp_link_start_link_timer()
142 (((uint32_t)llcp_cb.lcb.symm_delay) * QUICK_TIMER_TICKS_PER_SEC) / in llcp_link_start_link_timer()
[all …]
Dllcp_main.cc59 llcp_cb.lcb.local_link_miu = in llcp_init()
61 llcp_cb.lcb.local_opt = LLCP_OPT_VALUE; in llcp_init()
62 llcp_cb.lcb.local_wt = LLCP_WAITING_TIME; in llcp_init()
63 llcp_cb.lcb.local_lto = LLCP_LTO_VALUE; in llcp_init()
65 llcp_cb.lcb.inact_timeout_init = LLCP_INIT_INACTIVITY_TIMEOUT; in llcp_init()
66 llcp_cb.lcb.inact_timeout_target = LLCP_TARGET_INACTIVITY_TIMEOUT; in llcp_init()
67 llcp_cb.lcb.symm_delay = LLCP_DELAY_RESP_TIME; in llcp_init()
68 llcp_cb.lcb.data_link_timeout = LLCP_DATA_LINK_CONNECTION_TOUT; in llcp_init()
69 llcp_cb.lcb.delay_first_pdu_timeout = LLCP_DELAY_TIME_TO_SEND_FIRST_PDU; in llcp_init()
71 llcp_cb.lcb.wks = LLCP_WKS_MASK_LM; in llcp_init()
[all …]
Dllcp_api.cc129 llcp_cb.lcb.local_link_miu = LLCP_MIU; in LLCP_SetConfig()
131 llcp_cb.lcb.local_link_miu = link_miu; in LLCP_SetConfig()
133 llcp_cb.lcb.local_opt = opt; in LLCP_SetConfig()
134 llcp_cb.lcb.local_wt = wt; in LLCP_SetConfig()
141 llcp_cb.lcb.local_lto = LLCP_DEFAULT_LTO_IN_MS; in LLCP_SetConfig()
147 llcp_cb.lcb.local_lto = LLCP_MAX_LTO_IN_MS; in LLCP_SetConfig()
149 llcp_cb.lcb.local_lto = link_timeout; in LLCP_SetConfig()
151 llcp_cb.lcb.inact_timeout_init = inact_timeout_init; in LLCP_SetConfig()
152 llcp_cb.lcb.inact_timeout_target = inact_timeout_target; in LLCP_SetConfig()
153 llcp_cb.lcb.symm_delay = symm_delay; in LLCP_SetConfig()
[all …]
Dllcp_util.cc70 BE_STREAM_TO_UINT8(llcp_cb.lcb.peer_version, p); in llcp_util_parse_link_params()
72 << StringPrintf("Peer Version - 0x%02X", llcp_cb.lcb.peer_version); in llcp_util_parse_link_params()
81 BE_STREAM_TO_UINT16(llcp_cb.lcb.peer_miu, p); in llcp_util_parse_link_params()
82 llcp_cb.lcb.peer_miu &= LLCP_MIUX_MASK; in llcp_util_parse_link_params()
83 llcp_cb.lcb.peer_miu += LLCP_DEFAULT_MIU; in llcp_util_parse_link_params()
85 << StringPrintf("Peer MIU - %d bytes", llcp_cb.lcb.peer_miu); in llcp_util_parse_link_params()
94 BE_STREAM_TO_UINT16(llcp_cb.lcb.peer_wks, p); in llcp_util_parse_link_params()
96 << StringPrintf("Peer WKS - 0x%04X", llcp_cb.lcb.peer_wks); in llcp_util_parse_link_params()
105 BE_STREAM_TO_UINT8(llcp_cb.lcb.peer_lto, p); in llcp_util_parse_link_params()
106 llcp_cb.lcb.peer_lto *= LLCP_LTO_UNIT; /* 10ms unit */ in llcp_util_parse_link_params()
[all …]
Dllcp_sdp.cc81 GKI_enqueue(&llcp_cb.lcb.sig_xmit_q, llcp_cb.sdp_cb.p_snl); in llcp_sdp_check_send_snl()
156 llcp_cb.lcb.effective_miu)) { in llcp_sdp_send_sdreq()
183 (llcp_cb.lcb.symm_state == LLCP_LINK_SYMM_LOCAL_XMIT_NEXT)) { in llcp_sdp_send_sdreq()
249 llcp_cb.lcb.effective_miu)) { in llcp_sdp_send_sdres()
276 (llcp_cb.lcb.symm_state == LLCP_LINK_SYMM_LOCAL_XMIT_NEXT)) { in llcp_sdp_send_sdres()
390 if ((llcp_cb.lcb.agreed_major_version < LLCP_MIN_SNL_MAJOR_VERSION) || in llcp_sdp_proc_snl()
391 ((llcp_cb.lcb.agreed_major_version == LLCP_MIN_SNL_MAJOR_VERSION) && in llcp_sdp_proc_snl()
392 (llcp_cb.lcb.agreed_minor_version < LLCP_MIN_SNL_MINOR_VERSION))) { in llcp_sdp_proc_snl()
Dllcp_dlc.cc135 (uint32_t)(llcp_cb.lcb.data_link_timeout * 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()
171 (uint32_t)(llcp_cb.lcb.data_link_timeout * 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()
404 (uint32_t)(llcp_cb.lcb.data_link_timeout * in llcp_dlsm_connected()
/system/bt/stack/avct/
Davct_lcb.cc235 tAVCT_LCB* p_lcb = &avct_cb.lcb[0]; in avct_lcb_by_bd()
265 tAVCT_LCB* p_lcb = &avct_cb.lcb[0]; in avct_lcb_alloc()
329 tAVCT_LCB* p_lcb = &avct_cb.lcb[0]; in avct_lcb_by_lcid()
Davct_int.h131 tAVCT_LCB lcb[AVCT_NUM_LINKS]; /* link control blocks */ member
Davct_bcb_act.cc632 return &avct_cb.lcb[p_bcb->allocated - 1]; in avct_lcb_by_bcb()
/system/bt/bta/av/
Dbta_av_main.cc1409 for (size_t i = 0; i < sizeof(bta_av_cb.lcb) / sizeof(bta_av_cb.lcb[0]); in bta_debug_av_dump()
1411 const tBTA_AV_LCB& lcb = bta_av_cb.lcb[i]; in bta_debug_av_dump() local
1412 if (lcb.addr.IsEmpty()) { in bta_debug_av_dump()
1416 lcb.addr.ToString().c_str()); in bta_debug_av_dump()
1417 dprintf(fd, " Connected stream handle mask: 0x%x\n", lcb.conn_msk); in bta_debug_av_dump()
1418 dprintf(fd, " Index(+1) to LCB: %d\n", lcb.lidx); in bta_debug_av_dump()
Dbta_av_act.cc459 if ((mask & p_cb->conn_lcb) && p_cb->lcb[xx].addr == addr) { in bta_av_find_lcb()
460 p_lcb = &p_cb->lcb[xx]; in bta_av_find_lcb()
539 p_cb->rcb[i].lidx, p_cb->lcb[BTA_AV_NUM_LINKS].lidx); in bta_av_rc_opened()
542 if (!shdl && 0 == p_cb->lcb[BTA_AV_NUM_LINKS].lidx) { in bta_av_rc_opened()
545 p_lcb = &p_cb->lcb[BTA_AV_NUM_LINKS]; in bta_av_rc_opened()
1162 p_lcb_rc = &p_cb->lcb[BTA_AV_NUM_LINKS]; in bta_av_conn_chg()
1194 p_cb->lcb[p_rcb2->lidx - 1].lidx); in bta_av_conn_chg()
1199 p_cb->lcb[p_rcb->lidx - 1].lidx); in bta_av_conn_chg()
1432 p_lcb = &p_cb->lcb[xx]; in bta_av_sig_chg()
1537 p_lcb = &p_cb->lcb[xx]; in bta_av_signalling_timer()
[all …]
Dbta_av_int.h621 tBTA_AV_LCB lcb[BTA_AV_NUM_LINKS + 1]; /* link control block */ member
/system/nfc/src/nfc/include/
Dllcp_int.h220 tLLCP_LCB lcb; /* LLCP link control block */ member
/system/bt/main/shim/
Dacl.cc897 const tL2C_LCB& lcb = l2cb.lcb_pool[i]; in DumpsysL2cap() local
898 if (!lcb.in_use) continue; in DumpsysL2cap()
899 LOG_DUMPSYS(fd, "link_state:%s", link_state_text(lcb.link_state).c_str()); in DumpsysL2cap()
900 LOG_DUMPSYS(fd, "handle:0x%04x", lcb.Handle()); in DumpsysL2cap()
902 const tL2C_CCB* ccb = lcb.ccb_queue.p_first_ccb; in DumpsysL2cap()
/system/bt/stack/l2cap/
Dl2c_link.cc1372 tL2C_LCB* lcb = l2cu_find_lcb_by_bd_addr(bd_addr, BT_TRANSPORT_LE); in l2cble_update_sec_act() local
1373 lcb->sec_act = sec_act; in l2cble_update_sec_act()