Home
last modified time | relevance | path

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

/system/bt/stack/rfcomm/
Dport_utils.c184 p_port->credit_rx_max = (PORT_RX_HIGH_WM / p_port->mtu); in port_select_mtu()
185 if( p_port->credit_rx_max > PORT_RX_BUF_HIGH_WM ) in port_select_mtu()
186 p_port->credit_rx_max = PORT_RX_BUF_HIGH_WM; in port_select_mtu()
194 p_port->credit_rx_max, p_port->credit_rx_low, p_port->rx_buf_critical); in port_select_mtu()
520 && (p_port->credit_rx_max > p_port->credit_rx)) in port_flow_control_peer()
523 (UINT8) (p_port->credit_rx_max - p_port->credit_rx)); in port_flow_control_peer()
525 p_port->credit_rx = p_port->credit_rx_max; in port_flow_control_peer()
539 else if (GKI_queue_length(&p_port->rx.queue) >= p_port->credit_rx_max) in port_flow_control_peer()
Drfc_port_if.c168 k = (p_port->credit_rx_max < RFCOMM_K_MAX) ? p_port->credit_rx_max : RFCOMM_K_MAX; in RFCOMM_ParNegReq()
Dport_int.h201 … UINT16 credit_rx_max; /* Max number of credits we will allow this guy to sent */ member
Drfc_port_fsm.c406 && (p_port->credit_rx_max > p_port->credit_rx)) in rfc_port_sm_opened()
408 … ((BT_HDR *)p_data)->layer_specific = (UINT8) (p_port->credit_rx_max - p_port->credit_rx); in rfc_port_sm_opened()
409 p_port->credit_rx = p_port->credit_rx_max; in rfc_port_sm_opened()
Dport_rfc.c361 our_k = (p_port->credit_rx_max < RFCOMM_K_MAX) ? p_port->credit_rx_max : RFCOMM_K_MAX; in PORT_ParNegInd()