Lines Matching refs:hdr

128   p_scb->close_code = p_data->msg.hdr.err_code;  in avdt_scb_hdl_close_rsp()
469 p_data->msg.hdr.err_code = AVDT_ERR_NSC; in avdt_scb_hdl_reconfig_cmd()
470 p_data->msg.hdr.err_param = 0; in avdt_scb_hdl_reconfig_cmd()
494 if (p_data->msg.hdr.err_code == 0) { in avdt_scb_hdl_reconfig_rsp()
530 p_data->msg.hdr.err_code = AVDT_ERR_NSC; in avdt_scb_hdl_security_cmd()
583 AvdtpCcb* p_ccb = avdt_ccb_by_idx(p_data->msg.config_cmd.hdr.ccb_idx); in avdt_scb_hdl_setconfig_cmd()
590 p_data->msg.config_cmd.hdr.ccb_idx); in avdt_scb_hdl_setconfig_cmd()
607 p_data->msg.hdr.err_code = AVDT_ERR_UNSUP_CFG; in avdt_scb_hdl_setconfig_cmd()
608 p_data->msg.hdr.err_param = 0; in avdt_scb_hdl_setconfig_cmd()
609 avdt_msg_send_rej(avdt_ccb_by_idx(p_data->msg.hdr.ccb_idx), in avdt_scb_hdl_setconfig_cmd()
610 p_data->msg.hdr.sig_id, &p_data->msg); in avdt_scb_hdl_setconfig_cmd()
634 avdt_ccb_event(avdt_ccb_by_idx(p_data->msg.hdr.ccb_idx), in avdt_scb_hdl_setconfig_rej()
640 (tAVDT_CTRL*)&p_data->msg.hdr, p_scb->stream_config.scb_index); in avdt_scb_hdl_setconfig_rej()
701 AVDT_START_CFM_EVT, (tAVDT_CTRL*)&p_data->msg.hdr, in avdt_scb_hdl_start_rsp()
737 AVDT_SUSPEND_CFM_EVT, (tAVDT_CTRL*)&p_data->msg.hdr, in avdt_scb_hdl_suspend_rsp()
767 avdt_ctrl.hdr.err_code = p_scb->close_code; in avdt_scb_hdl_tc_close()
824 AVDT_DELAY_REPORT_EVT, (tAVDT_CTRL*)&p_data->msg.hdr, in avdt_scb_hdl_delay_rpt_cmd()
847 AVDT_DELAY_REPORT_CFM_EVT, (tAVDT_CTRL*)&p_data->msg.hdr, in avdt_scb_hdl_delay_rpt_rsp()
868 avdt_ctrl.hdr.err_code = 0; in avdt_scb_hdl_tc_close_sto()
869 avdt_ctrl.hdr.err_param = 0; in avdt_scb_hdl_tc_close_sto()
903 p_data->open.hdr.err_code = 0; in avdt_scb_hdl_tc_open()
938 if (p_data->open.hdr.err_code == AVDT_CHAN_REPORT) { in avdt_scb_hdl_tc_open_sto()
939 avdt_ctrl.hdr.err_code = 0; in avdt_scb_hdl_tc_open_sto()
940 avdt_ctrl.hdr.err_param = 1; in avdt_scb_hdl_tc_open_sto()
1009 tAVDT_EVT_HDR hdr; in avdt_scb_snd_abort_req() local
1016 hdr.seid = p_scb->peer_seid; in avdt_scb_snd_abort_req()
1019 avdt_msg.hdr = hdr; in avdt_scb_snd_abort_req()
1035 avdt_msg_send_rsp(avdt_ccb_by_idx(p_data->msg.hdr.ccb_idx), AVDT_SIG_ABORT, in avdt_scb_snd_abort_rsp()
1050 tAVDT_EVT_HDR hdr; in avdt_scb_snd_close_req() local
1054 hdr.seid = p_scb->peer_seid; in avdt_scb_snd_close_req()
1057 avdt_msg.hdr = hdr; in avdt_scb_snd_close_req()
1099 tAVDT_EVT_HDR hdr; in avdt_scb_snd_getconfig_req() local
1101 hdr.seid = p_scb->peer_seid; in avdt_scb_snd_getconfig_req()
1104 avdt_msg.hdr = hdr; in avdt_scb_snd_getconfig_req()
1131 tAVDT_EVT_HDR hdr; in avdt_scb_snd_open_req() local
1133 hdr.seid = p_scb->peer_seid; in avdt_scb_snd_open_req()
1136 avdt_msg.hdr = hdr; in avdt_scb_snd_open_req()
1176 p_scb->peer_seid, p_data->msg.hdr.seid); in avdt_scb_snd_reconfig_req()
1182 p_data->msg.hdr.seid = p_scb->peer_seid; in avdt_scb_snd_reconfig_req()
1197 if (p_data->msg.hdr.err_code == 0) { in avdt_scb_snd_reconfig_rsp()
1228 p_data->msg.hdr.seid = p_scb->peer_seid; in avdt_scb_snd_security_req()
1242 if (p_data->msg.hdr.err_code == 0) { in avdt_scb_snd_security_rsp()
1289 AvdtpCcb* p_ccb = avdt_ccb_by_idx(p_data->msg.config_cmd.hdr.ccb_idx); in avdt_scb_snd_setconfig_req()
1295 p_data->msg.config_cmd.hdr.ccb_idx); in avdt_scb_snd_setconfig_req()
1300 p_scb->peer_seid = p_data->msg.config_cmd.hdr.seid; in avdt_scb_snd_setconfig_req()
1360 avdt_ctrl.hdr.err_code = AVDT_ERR_BAD_STATE; in avdt_scb_cb_err()
1361 avdt_ctrl.hdr.err_param = 0; in avdt_scb_cb_err()
1395 p_data->msg.hdr.err_code = AVDT_ERR_BAD_STATE; in avdt_scb_rej_state()
1396 p_data->msg.hdr.err_param = 0; in avdt_scb_rej_state()
1397 avdt_msg_send_rej(avdt_ccb_by_idx(p_data->msg.hdr.ccb_idx), in avdt_scb_rej_state()
1398 p_data->msg.hdr.sig_id, &p_data->msg); in avdt_scb_rej_state()
1412 p_data->msg.hdr.err_code = AVDT_ERR_IN_USE; in avdt_scb_rej_in_use()
1413 p_data->msg.hdr.err_param = 0; in avdt_scb_rej_in_use()
1414 avdt_msg_send_rej(avdt_ccb_by_idx(p_data->msg.hdr.ccb_idx), in avdt_scb_rej_in_use()
1415 p_data->msg.hdr.sig_id, &p_data->msg); in avdt_scb_rej_in_use()
1430 p_data->msg.hdr.err_code = AVDT_ERR_NOT_IN_USE; in avdt_scb_rej_not_in_use()
1431 p_data->msg.hdr.err_param = 0; in avdt_scb_rej_not_in_use()
1432 avdt_msg_send_rej(avdt_ccb_by_idx(p_data->msg.hdr.ccb_idx), in avdt_scb_rej_not_in_use()
1433 p_data->msg.hdr.sig_id, &p_data->msg); in avdt_scb_rej_not_in_use()
1462 avdt_ctrl.hdr.err_code = AVDT_ERR_BAD_STATE; in avdt_scb_free_pkt()
1463 avdt_ctrl.hdr.err_param = 0; in avdt_scb_free_pkt()
1491 avdt_ctrl.hdr.err_code = AVDT_ERR_BAD_STATE; in avdt_scb_clr_pkt()
1492 avdt_ctrl.hdr.err_param = 0; in avdt_scb_clr_pkt()
1531 avdt_ctrl.hdr.err_code = 0; in avdt_scb_chk_snd_pkt()