Home
last modified time | relevance | path

Searched refs:p_frame (Results 1 – 3 of 3) sorted by relevance

/system/bt/stack/rfcomm/
Drfc_port_fsm.cc62 static void rfc_set_port_state(tPORT_STATE* port_pars, MX_FRAME* p_frame);
572 void rfc_process_pn(tRFC_MCB* p_mcb, bool is_command, MX_FRAME* p_frame) { in rfc_process_pn() argument
576 uint8_t dlci = p_frame->dlci; in rfc_process_pn()
581 PORT_ParNegInd(p_mcb, dlci, p_frame->u.pn.mtu, p_frame->u.pn.conv_layer, in rfc_process_pn()
582 p_frame->u.pn.k); in rfc_process_pn()
605 PORT_ParNegCnf(p_mcb, dlci, p_frame->u.pn.mtu, p_frame->u.pn.conv_layer, in rfc_process_pn()
606 p_frame->u.pn.k); in rfc_process_pn()
618 MX_FRAME* p_frame) { in rfc_process_rpn() argument
622 p_port = port_find_mcb_dlci_port(p_mcb, p_frame->dlci); in rfc_process_rpn()
627 rfc_set_port_state(&port_pars, p_frame); in rfc_process_rpn()
[all …]
Drfc_ts_frames.cc508 uint8_t rfc_parse_data(tRFC_MCB* p_mcb, MX_FRAME* p_frame, BT_HDR* p_buf) { in rfc_parse_data() argument
519 RFCOMM_PARSE_CTRL_FIELD(ead, p_frame->cr, p_frame->dlci, p_data); in rfc_parse_data()
524 RFCOMM_PARSE_TYPE_FIELD(p_frame->type, p_frame->pf, p_data); in rfc_parse_data()
545 if ((p_mcb->flow == PORT_FC_CREDIT) && (p_frame->type == RFCOMM_UIH) && in rfc_parse_data()
546 (p_frame->dlci != RFCOMM_MX_DLCI) && (p_frame->pf == 1)) { in rfc_parse_data()
551 p_frame->credit = *p_data++; in rfc_parse_data()
555 p_frame->credit = 0; in rfc_parse_data()
569 switch (p_frame->type) { in rfc_parse_data()
571 if (RFCOMM_FRAME_IS_RSP(p_mcb->is_initiator, p_frame->cr) || in rfc_parse_data()
572 !p_frame->pf || len || !RFCOMM_VALID_DLCI(p_frame->dlci) || in rfc_parse_data()
[all …]
Drfc_int.h284 MX_FRAME* p_frame);
286 MX_FRAME* p_frame);
288 bool is_request, MX_FRAME* p_frame);
290 MX_FRAME* p_frame);
291 extern void rfc_process_nsc(tRFC_MCB* p_rfc_mcb, MX_FRAME* p_frame);
342 extern uint8_t rfc_parse_data(tRFC_MCB* p_rfc_mcb, MX_FRAME* p_frame,