Lines Matching refs:p_data
92 void avdt_scb_hdl_abort_cmd(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data) in avdt_scb_hdl_abort_cmd() argument
95 avdt_scb_event(p_scb, AVDT_SCB_API_ABORT_RSP_EVT, p_data); in avdt_scb_hdl_abort_cmd()
108 void avdt_scb_hdl_abort_rsp(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data) in avdt_scb_hdl_abort_rsp() argument
111 UNUSED(p_data); in avdt_scb_hdl_abort_rsp()
125 void avdt_scb_hdl_close_cmd(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data) in avdt_scb_hdl_close_cmd() argument
128 avdt_scb_event(p_scb, AVDT_SCB_API_CLOSE_RSP_EVT, p_data); in avdt_scb_hdl_close_cmd()
141 void avdt_scb_hdl_close_rsp(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data) in avdt_scb_hdl_close_rsp() argument
143 p_scb->close_code = p_data->msg.hdr.err_code; in avdt_scb_hdl_close_rsp()
157 void avdt_scb_hdl_getconfig_cmd(tAVDT_SCB *p_scb,tAVDT_SCB_EVT *p_data) in avdt_scb_hdl_getconfig_cmd() argument
159 p_data->msg.svccap.p_cfg = &p_scb->curr_cfg; in avdt_scb_hdl_getconfig_cmd()
161 avdt_scb_event(p_scb, AVDT_SCB_API_GETCONFIG_RSP_EVT, p_data); in avdt_scb_hdl_getconfig_cmd()
174 void avdt_scb_hdl_getconfig_rsp(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data) in avdt_scb_hdl_getconfig_rsp() argument
177 UNUSED(p_data); in avdt_scb_hdl_getconfig_rsp()
191 void avdt_scb_hdl_open_cmd(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data) in avdt_scb_hdl_open_cmd() argument
193 avdt_scb_event(p_scb, AVDT_SCB_API_OPEN_RSP_EVT, p_data); in avdt_scb_hdl_open_cmd()
208 void avdt_scb_hdl_open_rej(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data) in avdt_scb_hdl_open_rej() argument
211 avdt_scb_hdl_setconfig_rej(p_scb, p_data); in avdt_scb_hdl_open_rej()
224 void avdt_scb_hdl_open_rsp(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data) in avdt_scb_hdl_open_rsp() argument
226 UNUSED(p_data); in avdt_scb_hdl_open_rsp()
248 void avdt_scb_hdl_pkt_no_frag(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data) in avdt_scb_hdl_pkt_no_frag() argument
260 p = p_start = (UINT8 *)(p_data->p_pkt + 1) + p_data->p_pkt->offset; in avdt_scb_hdl_pkt_no_frag()
289 pad_len = *(p_start + p_data->p_pkt->len); in avdt_scb_hdl_pkt_no_frag()
293 if ((offset > p_data->p_pkt->len) || ((pad_len + offset) > p_data->p_pkt->len)) in avdt_scb_hdl_pkt_no_frag()
296 osi_free_and_reset((void **)&p_data->p_pkt); in avdt_scb_hdl_pkt_no_frag()
301 p_data->p_pkt->len -= (offset + pad_len); in avdt_scb_hdl_pkt_no_frag()
302 p_data->p_pkt->offset += offset; in avdt_scb_hdl_pkt_no_frag()
307 p_data->p_pkt->layer_specific = seq; in avdt_scb_hdl_pkt_no_frag()
308 (*p_scb->cs.p_data_cback)(avdt_scb_to_hdl(p_scb), p_data->p_pkt, in avdt_scb_hdl_pkt_no_frag()
316 && (p_scb->media_buf_len > p_data->p_pkt->len)) in avdt_scb_hdl_pkt_no_frag()
319 memcpy(p_scb->p_media_buf,(UINT8*)(p_data->p_pkt + 1) + p_data->p_pkt->offset, in avdt_scb_hdl_pkt_no_frag()
320 p_data->p_pkt->len); in avdt_scb_hdl_pkt_no_frag()
325 osi_free_and_reset((void **)&p_data->p_pkt); in avdt_scb_hdl_pkt_no_frag()
419 void avdt_scb_hdl_pkt_frag(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data) in avdt_scb_hdl_pkt_frag() argument
440 p = (UINT8 *)(p_data->p_pkt + 1) + p_data->p_pkt->offset; in avdt_scb_hdl_pkt_frag()
441 p_end = p + p_data->p_pkt->len; in avdt_scb_hdl_pkt_frag()
639 osi_free_and_reset((void **)&p_data->p_pkt); in avdt_scb_hdl_pkt_frag()
652 void avdt_scb_hdl_pkt(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data) in avdt_scb_hdl_pkt() argument
662 avdt_scb_hdl_pkt_frag(p_scb, p_data); in avdt_scb_hdl_pkt()
667 if(p_data->p_pkt->layer_specific == AVDT_CHAN_REPORT) in avdt_scb_hdl_pkt()
669 p = (UINT8 *)(p_data->p_pkt + 1) + p_data->p_pkt->offset; in avdt_scb_hdl_pkt()
670 avdt_scb_hdl_report(p_scb, p, p_data->p_pkt->len); in avdt_scb_hdl_pkt()
671 osi_free_and_reset((void **)&p_data->p_pkt); in avdt_scb_hdl_pkt()
675 avdt_scb_hdl_pkt_no_frag(p_scb, p_data); in avdt_scb_hdl_pkt()
688 void avdt_scb_drop_pkt(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data) in avdt_scb_drop_pkt() argument
693 osi_free_and_reset((void **)&p_data->p_pkt); in avdt_scb_drop_pkt()
706 void avdt_scb_hdl_reconfig_cmd(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data) in avdt_scb_hdl_reconfig_cmd() argument
712 p_data->msg.hdr.err_code = AVDT_ERR_NSC; in avdt_scb_hdl_reconfig_cmd()
713 p_data->msg.hdr.err_param = 0; in avdt_scb_hdl_reconfig_cmd()
714 avdt_scb_event(p_scb, AVDT_SCB_API_RECONFIG_RSP_EVT, p_data); in avdt_scb_hdl_reconfig_cmd()
719 memcpy(&p_scb->req_cfg, p_data->msg.reconfig_cmd.p_cfg, sizeof(tAVDT_CFG)); in avdt_scb_hdl_reconfig_cmd()
725 (tAVDT_CTRL *) &p_data->msg.reconfig_cmd); in avdt_scb_hdl_reconfig_cmd()
739 void avdt_scb_hdl_reconfig_rsp(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data) in avdt_scb_hdl_reconfig_rsp() argument
741 if (p_data->msg.hdr.err_code == 0) in avdt_scb_hdl_reconfig_rsp()
756 p_data->msg.svccap.p_cfg = &p_scb->curr_cfg; in avdt_scb_hdl_reconfig_rsp()
762 (tAVDT_CTRL *) &p_data->msg.svccap); in avdt_scb_hdl_reconfig_rsp()
775 void avdt_scb_hdl_security_cmd(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data) in avdt_scb_hdl_security_cmd() argument
781 p_data->msg.hdr.err_code = AVDT_ERR_NSC; in avdt_scb_hdl_security_cmd()
782 avdt_scb_event(p_scb, AVDT_SCB_API_SECURITY_RSP_EVT, p_data); in avdt_scb_hdl_security_cmd()
790 (tAVDT_CTRL *) &p_data->msg.security_cmd); in avdt_scb_hdl_security_cmd()
804 void avdt_scb_hdl_security_rsp(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data) in avdt_scb_hdl_security_rsp() argument
810 (tAVDT_CTRL *) &p_data->msg.security_cmd); in avdt_scb_hdl_security_rsp()
824 void avdt_scb_hdl_setconfig_cmd(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data) in avdt_scb_hdl_setconfig_cmd() argument
830 p_cfg = p_data->msg.config_cmd.p_cfg; in avdt_scb_hdl_setconfig_cmd()
837 p_scb->p_ccb = avdt_ccb_by_idx(p_data->msg.config_cmd.hdr.ccb_idx); in avdt_scb_hdl_setconfig_cmd()
838 p_scb->peer_seid = p_data->msg.config_cmd.int_seid; in avdt_scb_hdl_setconfig_cmd()
844 (tAVDT_CTRL *) &p_data->msg.config_cmd); in avdt_scb_hdl_setconfig_cmd()
848 p_data->msg.hdr.err_code = AVDT_ERR_UNSUP_CFG; in avdt_scb_hdl_setconfig_cmd()
849 p_data->msg.hdr.err_param = 0; in avdt_scb_hdl_setconfig_cmd()
850 avdt_msg_send_rej(avdt_ccb_by_idx(p_data->msg.hdr.ccb_idx), in avdt_scb_hdl_setconfig_cmd()
851 p_data->msg.hdr.sig_id, &p_data->msg); in avdt_scb_hdl_setconfig_cmd()
856 avdt_scb_rej_in_use(p_scb, p_data); in avdt_scb_hdl_setconfig_cmd()
870 void avdt_scb_hdl_setconfig_rej(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data) in avdt_scb_hdl_setconfig_rej() argument
873 avdt_scb_clr_vars(p_scb, p_data); in avdt_scb_hdl_setconfig_rej()
876 avdt_ccb_event(avdt_ccb_by_idx(p_data->msg.hdr.ccb_idx), AVDT_CCB_UL_CLOSE_EVT, NULL); in avdt_scb_hdl_setconfig_rej()
882 (tAVDT_CTRL *) &p_data->msg.hdr); in avdt_scb_hdl_setconfig_rej()
895 void avdt_scb_hdl_setconfig_rsp(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data) in avdt_scb_hdl_setconfig_rsp() argument
898 UNUSED(p_data); in avdt_scb_hdl_setconfig_rsp()
921 void avdt_scb_hdl_start_cmd(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data) in avdt_scb_hdl_start_cmd() argument
923 UNUSED(p_data); in avdt_scb_hdl_start_cmd()
941 void avdt_scb_hdl_start_rsp(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data) in avdt_scb_hdl_start_rsp() argument
946 (tAVDT_CTRL *) &p_data->msg.hdr); in avdt_scb_hdl_start_rsp()
959 void avdt_scb_hdl_suspend_cmd(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data) in avdt_scb_hdl_suspend_cmd() argument
961 UNUSED(p_data); in avdt_scb_hdl_suspend_cmd()
979 void avdt_scb_hdl_suspend_rsp(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data) in avdt_scb_hdl_suspend_rsp() argument
984 (tAVDT_CTRL *) &p_data->msg.hdr); in avdt_scb_hdl_suspend_rsp()
1002 void avdt_scb_hdl_tc_close(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data) in avdt_scb_hdl_tc_close() argument
1018 avdt_scb_clr_vars(p_scb, p_data); in avdt_scb_hdl_tc_close()
1054 void avdt_scb_snd_delay_rpt_req (tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data) in avdt_scb_snd_delay_rpt_req() argument
1056 avdt_msg_send_cmd(p_scb->p_ccb, p_scb, AVDT_SIG_DELAY_RPT, (tAVDT_MSG *) &p_data->apidelay); in avdt_scb_snd_delay_rpt_req()
1069 void avdt_scb_hdl_delay_rpt_cmd (tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data) in avdt_scb_hdl_delay_rpt_cmd() argument
1074 (tAVDT_CTRL *) &p_data->msg.hdr); in avdt_scb_hdl_delay_rpt_cmd()
1077 avdt_msg_send_rsp(p_scb->p_ccb, AVDT_SIG_DELAY_RPT, &p_data->msg); in avdt_scb_hdl_delay_rpt_cmd()
1079 avdt_scb_rej_not_in_use(p_scb, p_data); in avdt_scb_hdl_delay_rpt_cmd()
1092 void avdt_scb_hdl_delay_rpt_rsp (tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data) in avdt_scb_hdl_delay_rpt_rsp() argument
1097 (tAVDT_CTRL *) &p_data->msg.hdr); in avdt_scb_hdl_delay_rpt_rsp()
1111 void avdt_scb_hdl_tc_close_sto(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data) in avdt_scb_hdl_tc_close_sto() argument
1115 if(p_data && p_data->close.type != AVDT_CHAN_MEDIA) in avdt_scb_hdl_tc_close_sto()
1119 if(p_data->close.old_tc_state == AVDT_AD_ST_OPEN) in avdt_scb_hdl_tc_close_sto()
1133 avdt_scb_hdl_tc_close(p_scb, p_data); in avdt_scb_hdl_tc_close_sto()
1150 void avdt_scb_hdl_tc_open(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data) in avdt_scb_hdl_tc_open() argument
1160 p_data->open.hdr.err_code = 0; in avdt_scb_hdl_tc_open()
1177 (tAVDT_CTRL *) &p_data->open); in avdt_scb_hdl_tc_open()
1193 void avdt_scb_hdl_tc_open_sto(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data) in avdt_scb_hdl_tc_open_sto() argument
1199 if(p_data->open.hdr.err_code == AVDT_CHAN_REPORT) in avdt_scb_hdl_tc_open_sto()
1221 void avdt_scb_hdl_write_req_no_frag(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data) in avdt_scb_hdl_write_req_no_frag() argument
1235 if ( !(p_data->apiwrite.opt & AVDT_DATA_OPT_NO_RTP) ) in avdt_scb_hdl_write_req_no_frag()
1239 p_data->apiwrite.p_buf->len += AVDT_MEDIA_HDR_SIZE; in avdt_scb_hdl_write_req_no_frag()
1240 p_data->apiwrite.p_buf->offset -= AVDT_MEDIA_HDR_SIZE; in avdt_scb_hdl_write_req_no_frag()
1242 p = (UINT8 *)(p_data->apiwrite.p_buf + 1) + p_data->apiwrite.p_buf->offset; in avdt_scb_hdl_write_req_no_frag()
1245 UINT8_TO_BE_STREAM(p, p_data->apiwrite.m_pt); in avdt_scb_hdl_write_req_no_frag()
1247 UINT32_TO_BE_STREAM(p, p_data->apiwrite.time_stamp); in avdt_scb_hdl_write_req_no_frag()
1252 p_scb->p_pkt = p_data->apiwrite.p_buf; in avdt_scb_hdl_write_req_no_frag()
1266 void avdt_scb_hdl_write_req_frag(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data) in avdt_scb_hdl_write_req_frag() argument
1282 p_scb->frag_off = p_data->apiwrite.data_len; in avdt_scb_hdl_write_req_frag()
1283 p_scb->p_next_frag = p_data->apiwrite.p_data; in avdt_scb_hdl_write_req_frag()
1310 UINT8_TO_BE_STREAM(p, p_data->apiwrite.m_pt); in avdt_scb_hdl_write_req_frag()
1312 UINT32_TO_BE_STREAM(p, p_data->apiwrite.time_stamp); in avdt_scb_hdl_write_req_frag()
1349 void avdt_scb_hdl_write_req(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data) in avdt_scb_hdl_write_req() argument
1354 avdt_scb_hdl_write_req_no_frag(p_scb, p_data); in avdt_scb_hdl_write_req()
1357 avdt_scb_hdl_write_req_frag(p_scb, p_data); in avdt_scb_hdl_write_req()
1370 void avdt_scb_snd_abort_req(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data) in avdt_scb_snd_abort_req() argument
1373 UNUSED(p_data); in avdt_scb_snd_abort_req()
1394 void avdt_scb_snd_abort_rsp(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data) in avdt_scb_snd_abort_rsp() argument
1398 avdt_msg_send_rsp(avdt_ccb_by_idx(p_data->msg.hdr.ccb_idx), AVDT_SIG_ABORT, in avdt_scb_snd_abort_rsp()
1399 &p_data->msg); in avdt_scb_snd_abort_rsp()
1411 void avdt_scb_snd_close_req(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data) in avdt_scb_snd_close_req() argument
1414 UNUSED(p_data); in avdt_scb_snd_close_req()
1432 void avdt_scb_snd_stream_close(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data) in avdt_scb_snd_stream_close() argument
1447 avdt_scb_snd_close_req(p_scb, p_data); in avdt_scb_snd_stream_close()
1459 void avdt_scb_snd_close_rsp(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data) in avdt_scb_snd_close_rsp() argument
1461 avdt_msg_send_rsp(p_scb->p_ccb, AVDT_SIG_CLOSE, &p_data->msg); in avdt_scb_snd_close_rsp()
1473 void avdt_scb_snd_getconfig_req(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data) in avdt_scb_snd_getconfig_req() argument
1476 UNUSED(p_data); in avdt_scb_snd_getconfig_req()
1492 void avdt_scb_snd_getconfig_rsp(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data) in avdt_scb_snd_getconfig_rsp() argument
1494 avdt_msg_send_rsp(p_scb->p_ccb, AVDT_SIG_GETCONFIG, &p_data->msg); in avdt_scb_snd_getconfig_rsp()
1506 void avdt_scb_snd_open_req(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data) in avdt_scb_snd_open_req() argument
1509 UNUSED(p_data); in avdt_scb_snd_open_req()
1527 void avdt_scb_snd_open_rsp(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data) in avdt_scb_snd_open_rsp() argument
1534 avdt_msg_send_rsp(p_scb->p_ccb, AVDT_SIG_OPEN, &p_data->msg); in avdt_scb_snd_open_rsp()
1552 void avdt_scb_snd_reconfig_req(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data) in avdt_scb_snd_reconfig_req() argument
1554 memcpy(&p_scb->req_cfg, p_data->msg.config_cmd.p_cfg, sizeof(tAVDT_CFG)); in avdt_scb_snd_reconfig_req()
1555 p_data->msg.hdr.seid = p_scb->peer_seid; in avdt_scb_snd_reconfig_req()
1556 avdt_msg_send_cmd(p_scb->p_ccb, p_scb, AVDT_SIG_RECONFIG, &p_data->msg); in avdt_scb_snd_reconfig_req()
1569 void avdt_scb_snd_reconfig_rsp(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data) in avdt_scb_snd_reconfig_rsp() argument
1571 if (p_data->msg.hdr.err_code == 0) in avdt_scb_snd_reconfig_rsp()
1586 avdt_msg_send_rsp(p_scb->p_ccb, AVDT_SIG_RECONFIG, &p_data->msg); in avdt_scb_snd_reconfig_rsp()
1591 avdt_msg_send_rej(p_scb->p_ccb, AVDT_SIG_RECONFIG, &p_data->msg); in avdt_scb_snd_reconfig_rsp()
1604 void avdt_scb_snd_security_req(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data) in avdt_scb_snd_security_req() argument
1606 p_data->msg.hdr.seid = p_scb->peer_seid; in avdt_scb_snd_security_req()
1607 avdt_msg_send_cmd(p_scb->p_ccb, p_scb, AVDT_SIG_SECURITY, &p_data->msg); in avdt_scb_snd_security_req()
1619 void avdt_scb_snd_security_rsp(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data) in avdt_scb_snd_security_rsp() argument
1621 if (p_data->msg.hdr.err_code == 0) in avdt_scb_snd_security_rsp()
1623 avdt_msg_send_rsp(p_scb->p_ccb, AVDT_SIG_SECURITY, &p_data->msg); in avdt_scb_snd_security_rsp()
1627 avdt_msg_send_rej(p_scb->p_ccb, AVDT_SIG_SECURITY, &p_data->msg); in avdt_scb_snd_security_rsp()
1641 void avdt_scb_snd_setconfig_rej(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data) in avdt_scb_snd_setconfig_rej() argument
1645 avdt_msg_send_rej(p_scb->p_ccb, AVDT_SIG_SETCONFIG, &p_data->msg); in avdt_scb_snd_setconfig_rej()
1648 avdt_scb_clr_vars(p_scb, p_data); in avdt_scb_snd_setconfig_rej()
1664 void avdt_scb_snd_setconfig_req(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data) in avdt_scb_snd_setconfig_req() argument
1670 p_scb->p_ccb = avdt_ccb_by_idx(p_data->msg.config_cmd.hdr.ccb_idx); in avdt_scb_snd_setconfig_req()
1671 p_scb->peer_seid = p_data->msg.config_cmd.hdr.seid; in avdt_scb_snd_setconfig_req()
1672 p_req = p_data->msg.config_cmd.p_cfg; in avdt_scb_snd_setconfig_req()
1683 memcpy(&p_scb->req_cfg, p_data->msg.config_cmd.p_cfg, sizeof(tAVDT_CFG)); in avdt_scb_snd_setconfig_req()
1685 avdt_msg_send_cmd(p_scb->p_ccb, p_scb, AVDT_SIG_SETCONFIG, &p_data->msg); in avdt_scb_snd_setconfig_req()
1702 void avdt_scb_snd_setconfig_rsp(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data) in avdt_scb_snd_setconfig_rsp() argument
1708 avdt_msg_send_rsp(p_scb->p_ccb, AVDT_SIG_SETCONFIG, &p_data->msg); in avdt_scb_snd_setconfig_rsp()
1722 void avdt_scb_snd_tc_close(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data) in avdt_scb_snd_tc_close() argument
1724 UNUSED(p_data); in avdt_scb_snd_tc_close()
1743 void avdt_scb_cb_err(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data) in avdt_scb_cb_err() argument
1746 UNUSED(p_data); in avdt_scb_cb_err()
1769 void avdt_scb_cong_state(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data) in avdt_scb_cong_state() argument
1771 p_scb->cong = p_data->llcong; in avdt_scb_cong_state()
1784 void avdt_scb_rej_state(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data) in avdt_scb_rej_state() argument
1788 p_data->msg.hdr.err_code = AVDT_ERR_BAD_STATE; in avdt_scb_rej_state()
1789 p_data->msg.hdr.err_param = 0; in avdt_scb_rej_state()
1790 avdt_msg_send_rej(avdt_ccb_by_idx(p_data->msg.hdr.ccb_idx), in avdt_scb_rej_state()
1791 p_data->msg.hdr.sig_id, &p_data->msg); in avdt_scb_rej_state()
1804 void avdt_scb_rej_in_use(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data) in avdt_scb_rej_in_use() argument
1808 p_data->msg.hdr.err_code = AVDT_ERR_IN_USE; in avdt_scb_rej_in_use()
1809 p_data->msg.hdr.err_param = 0; in avdt_scb_rej_in_use()
1810 avdt_msg_send_rej(avdt_ccb_by_idx(p_data->msg.hdr.ccb_idx), in avdt_scb_rej_in_use()
1811 p_data->msg.hdr.sig_id, &p_data->msg); in avdt_scb_rej_in_use()
1824 void avdt_scb_rej_not_in_use(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data) in avdt_scb_rej_not_in_use() argument
1828 p_data->msg.hdr.err_code = AVDT_ERR_NOT_IN_USE; in avdt_scb_rej_not_in_use()
1829 p_data->msg.hdr.err_param = 0; in avdt_scb_rej_not_in_use()
1830 avdt_msg_send_rej(avdt_ccb_by_idx(p_data->msg.hdr.ccb_idx), in avdt_scb_rej_not_in_use()
1831 p_data->msg.hdr.sig_id, &p_data->msg); in avdt_scb_rej_not_in_use()
1843 void avdt_scb_set_remove(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data) in avdt_scb_set_remove() argument
1845 UNUSED(p_data); in avdt_scb_set_remove()
1859 void avdt_scb_free_pkt(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data) in avdt_scb_free_pkt() argument
1868 osi_free_and_reset((void **)&p_data->apiwrite.p_buf); in avdt_scb_free_pkt()
1893 void avdt_scb_clr_pkt(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data) in avdt_scb_clr_pkt() argument
1899 UNUSED(p_data); in avdt_scb_clr_pkt()
1954 void avdt_scb_chk_snd_pkt(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data) in avdt_scb_chk_snd_pkt() argument
1963 UNUSED(p_data); in avdt_scb_chk_snd_pkt()
2035 void avdt_scb_transport_channel_timer(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data) in avdt_scb_transport_channel_timer() argument
2037 UNUSED(p_data); in avdt_scb_transport_channel_timer()
2054 void avdt_scb_clr_vars(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data) in avdt_scb_clr_vars() argument
2056 UNUSED(p_data); in avdt_scb_clr_vars()