Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/stack/rfcomm/
Drfc_port_fsm.cc70 static void rfc_set_port_state(tPORT_STATE* port_pars, MX_FRAME* p_frame);
637 void rfc_process_pn(tRFC_MCB* p_mcb, bool is_command, MX_FRAME* p_frame) { in rfc_process_pn() argument
640 uint8_t dlci = p_frame->dlci; in rfc_process_pn()
645 PORT_ParNegInd(p_mcb, dlci, p_frame->u.pn.mtu, p_frame->u.pn.conv_layer, in rfc_process_pn()
646 p_frame->u.pn.k); in rfc_process_pn()
667 PORT_ParNegCnf(p_mcb, dlci, p_frame->u.pn.mtu, p_frame->u.pn.conv_layer, in rfc_process_pn()
668 p_frame->u.pn.k); in rfc_process_pn()
680 MX_FRAME* p_frame) { in rfc_process_rpn() argument
684 p_port = port_find_mcb_dlci_port(p_mcb, p_frame->dlci); in rfc_process_rpn()
689 rfc_set_port_state(&port_pars, p_frame); in rfc_process_rpn()
[all …]
Drfc_ts_frames.cc518 tRFC_EVENT rfc_parse_data(tRFC_MCB* p_mcb, MX_FRAME* p_frame, BT_HDR* p_buf) { in rfc_parse_data() argument
529 RFCOMM_PARSE_CTRL_FIELD(ead, p_frame->cr, p_frame->dlci, p_data); in rfc_parse_data()
534 RFCOMM_PARSE_TYPE_FIELD(p_frame->type, p_frame->pf, p_data); in rfc_parse_data()
553 if ((p_mcb->flow == PORT_FC_CREDIT) && (p_frame->type == RFCOMM_UIH) && in rfc_parse_data()
554 (p_frame->dlci != RFCOMM_MX_DLCI) && (p_frame->pf == 1)) { in rfc_parse_data()
559 p_frame->credit = *p_data++; in rfc_parse_data()
563 p_frame->credit = 0; in rfc_parse_data()
577 switch (p_frame->type) { in rfc_parse_data()
579 if (RFCOMM_FRAME_IS_RSP(p_mcb->is_initiator, p_frame->cr) || in rfc_parse_data()
580 !p_frame->pf || len || !RFCOMM_VALID_DLCI(p_frame->dlci) || in rfc_parse_data()
[all …]
Drfc_int.h211 void rfc_process_pn(tRFC_MCB* p_rfc_mcb, bool is_command, MX_FRAME* p_frame);
212 void rfc_process_msc(tRFC_MCB* p_rfc_mcb, bool is_command, MX_FRAME* p_frame);
214 MX_FRAME* p_frame);
215 void rfc_process_rls(tRFC_MCB* p_rfc_mcb, bool is_command, MX_FRAME* p_frame);
216 void rfc_process_nsc(tRFC_MCB* p_rfc_mcb, MX_FRAME* p_frame);
267 tRFC_EVENT rfc_parse_data(tRFC_MCB* p_rfc_mcb, MX_FRAME* p_frame,