Home | History | Annotate | Download | only in mcap

Lines Matching defs:p_msg

93     tMCA_CCB_MSG *p_msg = (tMCA_CCB_MSG *)p_data;
99 MCA_TRACE_DEBUG2 ("mca_ccb_snd_req cong=%d req=%d", p_ccb->cong, p_msg->op_code);
101 if ((p_ccb->status == MCA_CCB_STAT_PENDING) && (p_msg->op_code == MCA_OP_MDL_ABORT_REQ))
106 p_msg->mdl_id = p_dcb->mdl_id;
116 p_ccb->p_tx_req = p_msg;
124 *p++ = p_msg->op_code;
125 UINT16_TO_BE_STREAM (p, p_msg->mdl_id);
126 if (p_msg->op_code == MCA_OP_MDL_CREATE_REQ)
128 *p++ = p_msg->mdep_id;
129 *p++ = p_msg->param;
131 p_msg->hdr.layer_specific = TRUE; /* mark this message as sent */
159 tMCA_CCB_MSG *p_msg = (tMCA_CCB_MSG *)p_data;
165 MCA_TRACE_DEBUG2 ("mca_ccb_snd_rsp cong=%d req=%d", p_ccb->cong, p_msg->op_code);
172 *p++ = p_msg->op_code;
173 *p++ = p_msg->rsp_code;
174 UINT16_TO_BE_STREAM (p, p_msg->mdl_id);
175 if (p_msg->op_code == MCA_OP_MDL_CREATE_RSP)
177 *p++ = p_msg->param;
180 else if (p_msg->op_code == MCA_OP_MDL_RECONNECT_RSP)
183 if (chk_mdl && p_msg->rsp_code == MCA_RSP_SUCCESS)
185 p_dcb = mca_dcb_by_hdl(p_msg->dcb_idx);
187 p_ccb->p_rcb->reg.data_psm, BTM_SEC_PROTO_MCA, p_msg->dcb_idx);
193 p_ccb->p_tx_req->dcb_idx = p_msg->dcb_idx;