Lines Matching refs:p_frame
508 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()
580 if (RFCOMM_FRAME_IS_CMD(p_mcb->is_initiator, p_frame->cr) || in rfc_parse_data()
581 !p_frame->pf || len || !RFCOMM_VALID_DLCI(p_frame->dlci) || in rfc_parse_data()
589 if (RFCOMM_FRAME_IS_CMD(p_mcb->is_initiator, p_frame->cr) || len || in rfc_parse_data()
590 !RFCOMM_VALID_DLCI(p_frame->dlci) || in rfc_parse_data()
598 if (RFCOMM_FRAME_IS_RSP(p_mcb->is_initiator, p_frame->cr) || in rfc_parse_data()
599 !p_frame->pf || len || !RFCOMM_VALID_DLCI(p_frame->dlci) || in rfc_parse_data()
607 if (!RFCOMM_VALID_DLCI(p_frame->dlci)) { in rfc_parse_data()
613 } else if (RFCOMM_FRAME_IS_RSP(p_mcb->is_initiator, p_frame->cr)) { in rfc_parse_data()