Searched refs:flow (Results 1 - 14 of 14) sorted by relevance

/system/bt/stack/rfcomm/
H A Drfc_port_if.cc128 uint8_t flow; local
143 /* Negotiate the flow control mechanism. If flow control mechanism for */
146 flow = (p_mcb->flow == PORT_FC_UNDEFINED) ? PORT_FC_DEFAULT : p_mcb->flow;
149 if (flow == PORT_FC_CREDIT) {
262 * Description This function is called by the port entity when flow
H A Dport_rfc.cc309 /* Negotiate the flow control mechanism. If flow control mechanism for */
312 /* use that. Otherwise both must want credit based, so use that. If flow is
315 if (p_mcb->flow == PORT_FC_UNDEFINED) {
318 p_mcb->flow = PORT_FC_TS710;
320 p_mcb->flow = PORT_FC_CREDIT;
324 /* Regardless of our flow control mechanism, if the PN cl is zero, we must */
335 } else if (p_mcb->flow == PORT_FC_CREDIT) {
345 /* must not be using credit based flow control; use TS 7.10 */
372 /* Flow control mechanism not set yet. Negotiate flow contro
[all...]
H A Dport_int.h49 #define PORT_FC_UNDEFINED 0 /* mux flow control mechanism not defined yet */
50 #define PORT_FC_TS710 1 /* use TS 07.10 flow control */
51 #define PORT_FC_CREDIT 2 /* use RFCOMM credit based flow control */
58 bool peer_fc; /* true if flow control is set based on peer's request */
59 bool user_fc; /* true if flow control is set based on user's request */
104 uint8_t flow; /* flow control mechanism for this mux */ member in struct:__anon1310
H A Drfc_utils.cc372 * flow had halted, it restarts it.
378 if (p_port->rfc.p_mcb->flow == PORT_FC_CREDIT) {
399 if (p_port->rfc.p_mcb->flow == PORT_FC_CREDIT) {
H A Drfc_port_fsm.cc416 if ((p_port->rfc.p_mcb->flow == PORT_FC_CREDIT) &&
673 /* If we were proposing RTR flow control try RTC flow control */
674 /* If we were proposing RTC flow control try no flow control */
690 /* Other side does not support flow control */
732 /* Check if this command is passed only to indicate flow control */
736 if (p_port->rfc.p_mcb->flow != PORT_FC_CREDIT) {
737 /* Spec 1.1 indicates that only FC bit is used for flow control */
H A Dport_utils.cc375 * Description Check the current user flow control and if necessary return
377 * flow control type.
385 /* Flow control to the user can be caused by flow controlling by the peer */
386 /* (FlowInd, or flow control by the peer RFCOMM (Fcon) or internally if */
446 * Description Send flow control messages to the peer for both enabling
447 * and disabling flow control, for both credit-based and
448 * TS 07.10 flow control mechanisms.
456 /* If using credit based flow control */
457 if (p_port->rfc.p_mcb->flow == PORT_FC_CREDIT) {
458 /* if want to enable flow fro
[all...]
H A Dport_api.cc775 * flow control message to the peer device. Enable flag passed
779 * enable - enables data flow
806 if (p_port->rfc.p_mcb->flow == PORT_FC_CREDIT) {
820 /* to the application because we were flow controlled */
840 * flow control message to the peer device. Enable flag passed
842 * when data flow enabled
845 * enable - enables data flow
873 if (p_port->rfc.p_mcb->flow == PORT_FC_CREDIT) {
887 /* to the application because we were flow controlled */
1315 "PORT_Write : Data is enqued. flow disable
[all...]
H A Drfc_ts_frames.cc473 * Description This function sends a flow control credit in UIH frame.
524 /* handle credit if credit based flow control */
525 if ((p_mcb->flow == PORT_FC_CREDIT) && (p_frame->type == RFCOMM_UIH) &&
/system/bt/btif/include/
H A Dbtif_pan_internal.h80 int flow; // 1: outbound data flow on; 0: outbound data flow off member in struct:__anon535
/system/bt/stack/btu/
H A Dbtu_hcif.cc806 FLOW_SPEC flow; local
810 STREAM_TO_UINT8(flow.qos_flags, p);
811 STREAM_TO_UINT8(flow.service_type, p);
812 STREAM_TO_UINT32(flow.token_rate, p);
813 STREAM_TO_UINT32(flow.peak_bandwidth, p);
814 STREAM_TO_UINT32(flow.latency, p);
815 STREAM_TO_UINT32(flow.delay_variation, p);
817 btm_qos_setup_complete(status, handle, &flow);
/system/bt/btif/co/
H A Dbta_pan_co.cc49 * Returns Data flow mask.
100 btpan_cb.flow = 1;
246 * Returns true if flow enabled
264 * data flow on the RX path when it is configured to use
265 * a push interface. If data flow is disabled the phone must
267 * until data flow is enabled again.
/system/bt/btif/src/
H A Dbtif_pan.cc136 btpan_cb.flow = 1;
369 btpan_cb.flow = enable;
482 btpan_cb.flow = 1;
677 for (int i = 0; i < PAN_BUF_MAX && btif_is_enabled() && btpan_cb.flow; i++) {
747 if (btpan_cb.flow) {
748 // add fd back to monitor thread when the flow is on
/system/bt/stack/btm/
H A Dbtm_acl.cc1907 qossu.flow.qos_flags = p_flow->qos_flags;
1908 qossu.flow.service_type = p_flow->service_type;
1909 qossu.flow.token_rate = p_flow->token_rate;
1910 qossu.flow.peak_bandwidth = p_flow->peak_bandwidth;
1911 qossu.flow.latency = p_flow->latency;
1912 qossu.flow.delay_variation = p_flow->delay_variation;
1915 qossu.flow.delay_variation);
/system/bt/stack/include/
H A Dbtm_api_types.h751 FLOW_SPEC flow; member in struct:__anon1125

Completed in 218 milliseconds