Home
last modified time | relevance | path

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

/hal_espressif-latest/components/bt/host/bluedroid/stack/rfcomm/
Dport_utils.c178 p_port->credit_rx_max = (PORT_RX_HIGH_WM / p_port->mtu); in port_select_mtu()
179 if ( p_port->credit_rx_max > PORT_RX_BUF_HIGH_WM ) { in port_select_mtu()
180 p_port->credit_rx_max = PORT_RX_BUF_HIGH_WM; in port_select_mtu()
191 p_port->credit_rx_max, p_port->credit_rx_low, p_port->rx_buf_critical); in port_select_mtu()
514 && (p_port->credit_rx_max > p_port->credit_rx)) { in port_flow_control_peer()
516 (UINT8) (p_port->credit_rx_max - p_port->credit_rx)); in port_flow_control_peer()
517 …RFCOMM_TRACE_DEBUG("send credit: max %d, rx %d, count %d", p_port->credit_rx_max, p_port->credit_r… in port_flow_control_peer()
518 p_port->credit_rx = p_port->credit_rx_max; in port_flow_control_peer()
522 …RFCOMM_TRACE_DEBUG("credit: max %d, rx %d, low %d", p_port->credit_rx_max, p_port->credit_rx, p_po… in port_flow_control_peer()
532 else if (fixed_queue_length(p_port->rx.queue) >= p_port->credit_rx_max) { in port_flow_control_peer()
Drfc_port_if.c167 k = (p_port->credit_rx_max < RFCOMM_K_MAX) ? p_port->credit_rx_max : RFCOMM_K_MAX; in RFCOMM_ParNegReq()
Drfc_port_fsm.c401 && (p_port->credit_rx_max > p_port->credit_rx)) { in rfc_port_sm_opened()
402 … ((BT_HDR *)p_data)->layer_specific = (UINT8) (p_port->credit_rx_max - p_port->credit_rx); in rfc_port_sm_opened()
403 p_port->credit_rx = p_port->credit_rx_max; in rfc_port_sm_opened()
Dport_rfc.c347 our_k = (p_port->credit_rx_max < RFCOMM_K_MAX) ? p_port->credit_rx_max : RFCOMM_K_MAX; in PORT_ParNegInd()
/hal_espressif-latest/components/bt/host/bluedroid/stack/rfcomm/include/
Dport_int.h197 … UINT16 credit_rx_max; /* Max number of credits we will allow this guy to sent */ member