• Home
  • Raw
  • Download

Lines Matching refs:msg

167     p_data->msg.discover_rsp.p_sep_info = sep_info;  in avdt_ccb_hdl_discover_cmd()
168 p_data->msg.discover_rsp.num_seps = 0; in avdt_ccb_hdl_discover_cmd()
176 sep_info[p_data->msg.discover_rsp.num_seps].in_use = p_scb->in_use; in avdt_ccb_hdl_discover_cmd()
177 sep_info[p_data->msg.discover_rsp.num_seps].seid = i + 1; in avdt_ccb_hdl_discover_cmd()
178 sep_info[p_data->msg.discover_rsp.num_seps].media_type = p_scb->cs.media_type; in avdt_ccb_hdl_discover_cmd()
179 sep_info[p_data->msg.discover_rsp.num_seps].tsep = p_scb->cs.tsep; in avdt_ccb_hdl_discover_cmd()
181 p_data->msg.discover_rsp.num_seps++; in avdt_ccb_hdl_discover_cmd()
208 (tAVDT_CTRL *)(&p_data->msg.discover_rsp)); in avdt_ccb_hdl_discover_rsp()
229 p_scb = avdt_scb_by_hdl(p_data->msg.single.seid); in avdt_ccb_hdl_getcap_cmd()
231 p_data->msg.svccap.p_cfg = &p_scb->cs.cfg; in avdt_ccb_hdl_getcap_cmd()
255 (tAVDT_CTRL *)(&p_data->msg.svccap)); in avdt_ccb_hdl_getcap_rsp()
276 UINT8 seid = avdt_scb_verify(p_ccb, AVDT_VERIFY_START, p_data->msg.multi.seid_list, in avdt_ccb_hdl_start_cmd()
277 p_data->msg.multi.num_seps, &err_code); in avdt_ccb_hdl_start_cmd()
284 p_data->msg.hdr.err_code = err_code; in avdt_ccb_hdl_start_cmd()
285 p_data->msg.hdr.err_param = seid; in avdt_ccb_hdl_start_cmd()
286 avdt_msg_send_rej(p_ccb, AVDT_SIG_START, &p_data->msg); in avdt_ccb_hdl_start_cmd()
311 event = (p_data->msg.hdr.err_code == 0) ? in avdt_ccb_hdl_start_rsp()
322 avdt_scb_event(p_scb, event, (tAVDT_SCB_EVT *) &p_data->msg); in avdt_ccb_hdl_start_rsp()
347 if ((seid = avdt_scb_verify(p_ccb, AVDT_VERIFY_SUSPEND, p_data->msg.multi.seid_list, in avdt_ccb_hdl_suspend_cmd()
348 p_data->msg.multi.num_seps, &err_code)) == 0 && in avdt_ccb_hdl_suspend_cmd()
357 p_data->msg.hdr.err_code = err_code; in avdt_ccb_hdl_suspend_cmd()
358 p_data->msg.hdr.err_param = seid; in avdt_ccb_hdl_suspend_cmd()
359 avdt_msg_send_rej(p_ccb, AVDT_SIG_SUSPEND, &p_data->msg); in avdt_ccb_hdl_suspend_cmd()
385 event = (p_data->msg.hdr.err_code == 0) ? in avdt_ccb_hdl_suspend_rsp()
396 avdt_scb_event(p_scb, event, (tAVDT_SCB_EVT *) &p_data->msg); in avdt_ccb_hdl_suspend_rsp()
443 avdt_msg_send_rsp(p_ccb, AVDT_SIG_DISCOVER, &p_data->msg); in avdt_ccb_snd_discover_rsp()
471 if (p_data->msg.hdr.sig_id == AVDT_SIG_GET_ALLCAP) in avdt_ccb_snd_getcap_cmd()
493 if (p_data->msg.hdr.sig_id == AVDT_SIG_GET_ALLCAP) in avdt_ccb_snd_getcap_rsp()
497 avdt_msg_send_rsp(p_ccb, sig_id, &p_data->msg); in avdt_ccb_snd_getcap_rsp()
521 memcpy(seid_list, p_data->msg.multi.seid_list, p_data->msg.multi.num_seps); in avdt_ccb_snd_start_cmd()
524 …if ((avdt_msg.hdr.err_param = avdt_scb_verify(p_ccb, AVDT_VERIFY_OPEN, p_data->msg.multi.seid_list, in avdt_ccb_snd_start_cmd()
525 p_data->msg.multi.num_seps, &avdt_msg.hdr.err_code)) == 0) in avdt_ccb_snd_start_cmd()
528 avdt_scb_peer_seid_list(&p_data->msg.multi); in avdt_ccb_snd_start_cmd()
531 avdt_msg_send_cmd(p_ccb, seid_list, AVDT_SIG_START, &p_data->msg); in avdt_ccb_snd_start_cmd()
536 for (i = 0; i < p_data->msg.multi.num_seps; i++) in avdt_ccb_snd_start_cmd()
565 avdt_msg_send_rsp(p_ccb, AVDT_SIG_START, &p_data->msg); in avdt_ccb_snd_start_rsp()
568 for (i = 0; i < p_data->msg.multi.num_seps; i++) in avdt_ccb_snd_start_rsp()
570 if ((p_scb = avdt_scb_by_hdl(p_data->msg.multi.seid_list[i])) != NULL) in avdt_ccb_snd_start_rsp()
599 memcpy(seid_list, p_data->msg.multi.seid_list, p_data->msg.multi.num_seps); in avdt_ccb_snd_suspend_cmd()
602 …if ((avdt_msg.hdr.err_param = avdt_scb_verify(p_ccb, AVDT_VERIFY_STREAMING, p_data->msg.multi.seid… in avdt_ccb_snd_suspend_cmd()
603 p_data->msg.multi.num_seps, &avdt_msg.hdr.err_code)) == 0) in avdt_ccb_snd_suspend_cmd()
606 avdt_scb_peer_seid_list(&p_data->msg.multi); in avdt_ccb_snd_suspend_cmd()
609 avdt_msg_send_cmd(p_ccb, seid_list, AVDT_SIG_SUSPEND, &p_data->msg); in avdt_ccb_snd_suspend_cmd()
614 for (i = 0; i < p_data->msg.multi.num_seps; i++) in avdt_ccb_snd_suspend_cmd()
643 avdt_msg_send_rsp(p_ccb, AVDT_SIG_SUSPEND, &p_data->msg); in avdt_ccb_snd_suspend_rsp()
646 for (i = 0; i < p_data->msg.multi.num_seps; i++) in avdt_ccb_snd_suspend_rsp()
648 if ((p_scb = avdt_scb_by_hdl(p_data->msg.multi.seid_list[i])) != NULL) in avdt_ccb_snd_suspend_rsp()
717 tAVDT_MSG msg; in avdt_ccb_cmd_fail() local
724 msg.hdr.err_code = p_data->err_code; in avdt_ccb_cmd_fail()
725 msg.hdr.err_param = 0; in avdt_ccb_cmd_fail()
726 msg.hdr.ccb_idx = avdt_ccb_to_idx(p_ccb); in avdt_ccb_cmd_fail()
733 avdt_ccb_event(p_ccb, (UINT8) (evt & ~AVDT_CCB_MKR), (tAVDT_CCB_EVT *) &msg); in avdt_ccb_cmd_fail()
741 avdt_scb_event(p_scb, evt, (tAVDT_SCB_EVT *) &msg); in avdt_ccb_cmd_fail()
1125 avdt_ctrl.hdr.err_param = p_data->msg.hdr.err_param; in avdt_ccb_ll_opened()