Home
last modified time | relevance | path

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

/external/libnfc-nci/src/nfc/llcp/
Dllcp_util.c174 if (llcp_cb.dlcb[idx].state == LLCP_DLC_STATE_CONNECTED) in llcp_util_adjust_dl_rx_congestion()
176 if (rx_congest_start > llcp_cb.dlcb[idx].local_rw) in llcp_util_adjust_dl_rx_congestion()
182 if (llcp_cb.dlcb[idx].local_rw + 1 > LLCP_DL_MIN_RX_CONGEST) in llcp_util_adjust_dl_rx_congestion()
183 llcp_cb.dlcb[idx].rx_congest_threshold = llcp_cb.dlcb[idx].local_rw + 1; in llcp_util_adjust_dl_rx_congestion()
185 llcp_cb.dlcb[idx].rx_congest_threshold = LLCP_DL_MIN_RX_CONGEST; in llcp_util_adjust_dl_rx_congestion()
189 llcp_cb.dlcb[idx].rx_congest_threshold = LLCP_DL_MIN_RX_CONGEST; in llcp_util_adjust_dl_rx_congestion()
194 llcp_cb.dlcb[idx].local_rw, in llcp_util_adjust_dl_rx_congestion()
195 llcp_cb.dlcb[idx].rx_congest_threshold); in llcp_util_adjust_dl_rx_congestion()
229 if ( (llcp_cb.dlcb[idx].state == LLCP_DLC_STATE_CONNECTED) in llcp_util_check_rx_congested_status()
230 &&(llcp_cb.dlcb[idx].is_rx_congested == FALSE) ) in llcp_util_check_rx_congested_status()
[all …]
Dllcp_link.c405 if (llcp_cb.dlcb[idx].state != LLCP_DLC_STATE_IDLE) in llcp_link_deactivate()
407 p_dlcb = &(llcp_cb.dlcb[idx]); in llcp_link_deactivate()
649 if ( (llcp_cb.dlcb[idx].state == LLCP_DLC_STATE_CONNECTED) in llcp_link_check_congestion()
650 &&(llcp_cb.dlcb[idx].remote_busy == FALSE) in llcp_link_check_congestion()
651 &&(llcp_cb.dlcb[idx].is_tx_congested == FALSE) ) in llcp_link_check_congestion()
653 llcp_cb.dlcb[idx].is_tx_congested = TRUE; in llcp_link_check_congestion()
656 llcp_cb.dlcb[idx].local_sap, llcp_cb.dlcb[idx].remote_sap, in llcp_link_check_congestion()
657 llcp_cb.dlcb[idx].i_xmit_q.count); in llcp_link_check_congestion()
659 data.congest.local_sap = llcp_cb.dlcb[idx].local_sap; in llcp_link_check_congestion()
660 data.congest.remote_sap = llcp_cb.dlcb[idx].remote_sap; in llcp_link_check_congestion()
[all …]
Dllcp_dlc.c564 if ( (llcp_cb.dlcb[i].state != LLCP_DLC_STATE_IDLE) in llcp_dlc_find_dlcb_by_sap()
565 &&(llcp_cb.dlcb[i].local_sap == local_sap) ) in llcp_dlc_find_dlcb_by_sap()
567 … if ((remote_sap == LLCP_INVALID_SAP) && (llcp_cb.dlcb[i].state == LLCP_DLC_STATE_W4_REMOTE_RESP)) in llcp_dlc_find_dlcb_by_sap()
570 return (&llcp_cb.dlcb[i]); in llcp_dlc_find_dlcb_by_sap()
572 else if (llcp_cb.dlcb[i].remote_sap == remote_sap) in llcp_dlc_find_dlcb_by_sap()
574 return (&llcp_cb.dlcb[i]); in llcp_dlc_find_dlcb_by_sap()
1276 if (llcp_cb.dlcb[idx].state == LLCP_DLC_STATE_CONNECTED) in llcp_dlc_check_to_send_rr_rnr()
1278 llcp_util_send_rr_rnr (&(llcp_cb.dlcb[idx])); in llcp_dlc_check_to_send_rr_rnr()
1281 if (llcp_cb.dlcb[idx].flags & LLCP_DATA_LINK_FLAG_PENDING_DISC) in llcp_dlc_check_to_send_rr_rnr()
1284 if ( (llcp_cb.dlcb[idx].i_xmit_q.count == 0) in llcp_dlc_check_to_send_rr_rnr()
[all …]
Dllcp_api.c591 if ( (llcp_cb.dlcb[idx].state != LLCP_DLC_STATE_IDLE) in LLCP_Deregister()
592 &&(llcp_cb.dlcb[idx].local_sap == local_sap) ) in LLCP_Deregister()
594 llcp_util_deallocate_data_link (&llcp_cb.dlcb[idx]); in LLCP_Deregister()
/external/libnfc-nci/src/nfc/int/
Dllcp_int.h231 … tLLCP_DLCB dlcb[LLCP_MAX_DATA_LINK]; /* Data link connection control block */ member