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.c189 p_port->credit_rx_max = (PORT_RX_HIGH_WM / p_port->mtu); in port_select_mtu()
190 if( p_port->credit_rx_max > PORT_RX_BUF_HIGH_WM ) in port_select_mtu()
191 p_port->credit_rx_max = PORT_RX_BUF_HIGH_WM; in port_select_mtu()
199 p_port->credit_rx_max, p_port->credit_rx_low, p_port->rx_buf_critical); in port_select_mtu()
525 && (p_port->credit_rx_max > p_port->credit_rx)) in port_flow_control_peer()
528 (UINT8) (p_port->credit_rx_max - p_port->credit_rx)); in port_flow_control_peer()
530 p_port->credit_rx = p_port->credit_rx_max; in port_flow_control_peer()
544 else if (fixed_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.c362 our_k = (p_port->credit_rx_max < RFCOMM_K_MAX) ? p_port->credit_rx_max : RFCOMM_K_MAX; in PORT_ParNegInd()