Lines Matching refs:mtu
148 if (p_port->mtu == 0) in port_select_mtu()
156 p_port->mtu = RFCOMM_DEFAULT_MTU; in port_select_mtu()
170 …p_port->mtu = ((L2CAP_MTU_SIZE + L2CAP_PKT_OVERHEAD) / packet_size * packet_size) - RFCOMM_DATA_OV… in port_select_mtu()
171 … RFCOMM_TRACE_DEBUG ("port_select_mtu selected %d based on connection speed", p_port->mtu); in port_select_mtu()
175 p_port->mtu = L2CAP_MTU_SIZE - RFCOMM_DATA_OVERHEAD; in port_select_mtu()
176 … RFCOMM_TRACE_DEBUG ("port_select_mtu selected %d based on l2cap PDU size", p_port->mtu); in port_select_mtu()
182 RFCOMM_TRACE_DEBUG ("port_select_mtu application selected %d", p_port->mtu); in port_select_mtu()
184 p_port->credit_rx_max = (PORT_RX_HIGH_WM / p_port->mtu); in port_select_mtu()
187 p_port->credit_rx_low = (PORT_RX_LOW_WM / p_port->mtu); in port_select_mtu()
190 p_port->rx_buf_critical = (PORT_RX_CRITICAL_WM / p_port->mtu); in port_select_mtu()
255 p_port->mtu = p_port->keep_mtu; in port_release_port()