Home
last modified time | relevance | path

Searched refs:dlcb (Results 1 – 5 of 5) sorted by relevance

/system/nfc/src/nfc/llcp/
Dllcp_util.cc189 if (llcp_cb.dlcb[idx].state == LLCP_DLC_STATE_CONNECTED) { in llcp_util_adjust_dl_rx_congestion()
190 if (rx_congest_start > llcp_cb.dlcb[idx].local_rw) { in llcp_util_adjust_dl_rx_congestion()
195 if (llcp_cb.dlcb[idx].local_rw + 1 > LLCP_DL_MIN_RX_CONGEST) in llcp_util_adjust_dl_rx_congestion()
196 llcp_cb.dlcb[idx].rx_congest_threshold = in llcp_util_adjust_dl_rx_congestion()
197 llcp_cb.dlcb[idx].local_rw + 1; in llcp_util_adjust_dl_rx_congestion()
199 llcp_cb.dlcb[idx].rx_congest_threshold = LLCP_DL_MIN_RX_CONGEST; in llcp_util_adjust_dl_rx_congestion()
201 llcp_cb.dlcb[idx].rx_congest_threshold = LLCP_DL_MIN_RX_CONGEST; in llcp_util_adjust_dl_rx_congestion()
206 llcp_cb.dlcb[idx].local_rw, llcp_cb.dlcb[idx].rx_congest_threshold); in llcp_util_adjust_dl_rx_congestion()
238 if ((llcp_cb.dlcb[idx].state == LLCP_DLC_STATE_CONNECTED) && in llcp_util_check_rx_congested_status()
239 (llcp_cb.dlcb[idx].is_rx_congested == false)) { in llcp_util_check_rx_congested_status()
[all …]
Dllcp_link.cc423 if (llcp_cb.dlcb[idx].state != LLCP_DLC_STATE_IDLE) { in llcp_link_deactivate()
424 p_dlcb = &(llcp_cb.dlcb[idx]); in llcp_link_deactivate()
654 if ((llcp_cb.dlcb[idx].state == LLCP_DLC_STATE_CONNECTED) && in llcp_link_check_congestion()
655 (llcp_cb.dlcb[idx].remote_busy == false) && in llcp_link_check_congestion()
656 (llcp_cb.dlcb[idx].is_tx_congested == false)) { in llcp_link_check_congestion()
657 llcp_cb.dlcb[idx].is_tx_congested = true; in llcp_link_check_congestion()
661 llcp_cb.dlcb[idx].local_sap, llcp_cb.dlcb[idx].remote_sap, in llcp_link_check_congestion()
662 llcp_cb.dlcb[idx].i_xmit_q.count); in llcp_link_check_congestion()
664 data.congest.local_sap = llcp_cb.dlcb[idx].local_sap; in llcp_link_check_congestion()
665 data.congest.remote_sap = llcp_cb.dlcb[idx].remote_sap; in llcp_link_check_congestion()
[all …]
Dllcp_dlc.cc574 if ((llcp_cb.dlcb[i].state != LLCP_DLC_STATE_IDLE) && in llcp_dlc_find_dlcb_by_sap()
575 (llcp_cb.dlcb[i].local_sap == local_sap)) { in llcp_dlc_find_dlcb_by_sap()
577 (llcp_cb.dlcb[i].state == LLCP_DLC_STATE_W4_REMOTE_RESP)) { in llcp_dlc_find_dlcb_by_sap()
579 return (&llcp_cb.dlcb[i]); in llcp_dlc_find_dlcb_by_sap()
580 } else if (llcp_cb.dlcb[i].remote_sap == remote_sap) { in llcp_dlc_find_dlcb_by_sap()
581 return (&llcp_cb.dlcb[i]); in llcp_dlc_find_dlcb_by_sap()
1247 if (llcp_cb.dlcb[idx].state == LLCP_DLC_STATE_CONNECTED) { in llcp_dlc_check_to_send_rr_rnr()
1248 llcp_util_send_rr_rnr(&(llcp_cb.dlcb[idx])); in llcp_dlc_check_to_send_rr_rnr()
1251 if (llcp_cb.dlcb[idx].flags & LLCP_DATA_LINK_FLAG_PENDING_DISC) { in llcp_dlc_check_to_send_rr_rnr()
1253 if ((llcp_cb.dlcb[idx].i_xmit_q.count == 0) && in llcp_dlc_check_to_send_rr_rnr()
[all …]
Dllcp_api.cc560 if ((llcp_cb.dlcb[idx].state != LLCP_DLC_STATE_IDLE) && in LLCP_Deregister()
561 (llcp_cb.dlcb[idx].local_sap == local_sap)) { in LLCP_Deregister()
562 llcp_util_deallocate_data_link(&llcp_cb.dlcb[idx]); in LLCP_Deregister()
/system/nfc/src/nfc/include/
Dllcp_int.h227 tLLCP_DLCB dlcb[LLCP_MAX_DATA_LINK]; /* Data link connection control block */ member