Searched refs:p_tbl (Results 1 – 6 of 6) sorted by relevance
/hal_espressif-3.6.0/components/bt/host/bluedroid/stack/avdt/ |
D | avdt_ad.c | 107 tAVDT_TC_TBL *p_tbl = avdt_cb.ad.tc_tbl; in avdt_ad_init() local 111 for (i = 0; i < AVDT_NUM_TC_TBL; i++, p_tbl++) { in avdt_ad_init() 112 p_tbl->peer_mtu = L2CAP_DEFAULT_MTU; in avdt_ad_init() 133 tAVDT_TC_TBL *p_tbl = avdt_cb.ad.tc_tbl; in avdt_ad_tc_tbl_by_st() local 138 for (i = 0; i < AVDT_NUM_TC_TBL; i++, p_tbl++) { in avdt_ad_tc_tbl_by_st() 140 if ((p_tbl->tcid == 0) && in avdt_ad_tc_tbl_by_st() 141 (p_tbl->state == state)) { in avdt_ad_tc_tbl_by_st() 148 for (i = 0; i < AVDT_NUM_TC_TBL; i++, p_tbl++) { in avdt_ad_tc_tbl_by_st() 151 if ((p_tbl->tcid == 0) && in avdt_ad_tc_tbl_by_st() 152 (p_tbl->ccb_idx == ccb_idx) && in avdt_ad_tc_tbl_by_st() [all …]
|
D | avdt_l2c.c | 80 tAVDT_TC_TBL *p_tbl; in avdt_sec_check_complete_term() local 91 p_tbl = avdt_ad_tc_tbl_by_st(AVDT_CHAN_SIG, p_ccb, AVDT_AD_ST_SEC_ACP); in avdt_sec_check_complete_term() 92 if (p_tbl == NULL) { in avdt_sec_check_complete_term() 98 L2CA_ConnectRsp (bd_addr, p_tbl->id, p_tbl->lcid, L2CAP_CONN_OK, L2CAP_CONN_OK); in avdt_sec_check_complete_term() 101 avdt_cb.ad.lcid_tbl[p_tbl->lcid - L2CAP_BASE_APPL_CID] = avdt_ad_tc_tbl_to_idx(p_tbl); in avdt_sec_check_complete_term() 102 avdt_cb.ad.rt_tbl[avdt_ccb_to_idx(p_ccb)][p_tbl->tcid].lcid = p_tbl->lcid; in avdt_sec_check_complete_term() 105 p_tbl->state = AVDT_AD_ST_CFG; in avdt_sec_check_complete_term() 110 cfg.mtu = p_tbl->my_mtu; in avdt_sec_check_complete_term() 112 cfg.flush_to = p_tbl->my_flush_to; in avdt_sec_check_complete_term() 113 L2CA_ConfigReq(p_tbl->lcid, &cfg); in avdt_sec_check_complete_term() [all …]
|
D | avdt_msg.c | 1139 tAVDT_TC_TBL *p_tbl; in avdt_msg_send() local 1148 p_tbl = avdt_ad_tc_tbl_by_type(AVDT_CHAN_SIG, p_ccb, NULL); in avdt_msg_send() 1166 (p_ccb->p_curr_msg->len <= p_tbl->peer_mtu - AVDT_LEN_TYPE_SINGLE)) { in avdt_msg_send() 1173 (p_ccb->p_curr_msg->len > p_tbl->peer_mtu - AVDT_LEN_TYPE_SINGLE)) { in avdt_msg_send() 1176 nosp = (p_ccb->p_curr_msg->len + AVDT_LEN_TYPE_START - p_tbl->peer_mtu) / in avdt_msg_send() 1177 (p_tbl->peer_mtu - 1) + 2; in avdt_msg_send() 1188 p_buf->len = p_tbl->peer_mtu - hdr_len; in avdt_msg_send() 1194 (p_ccb->p_curr_msg->len > (p_tbl->peer_mtu - AVDT_LEN_TYPE_CONT))) { in avdt_msg_send() 1207 p_buf->len = p_tbl->peer_mtu - hdr_len; in avdt_msg_send()
|
D | avdt_api.c | 1131 tAVDT_TC_TBL *p_tbl; in AVDT_SendReport() local 1148 p_tbl = avdt_ad_tc_tbl_by_type(AVDT_CHAN_REPORT, p_scb->p_ccb, p_scb); in AVDT_SendReport() 1149 if ((p_tbl->state == AVDT_AD_ST_OPEN) && in AVDT_SendReport() 1150 (p_pkt = (BT_HDR *)osi_malloc(p_tbl->peer_mtu)) != NULL) { in AVDT_SendReport()
|
D | avdt_scb_act.c | 2028 tAVDT_TC_TBL *p_tbl; in avdt_scb_queue_frags() local 2055 p_tbl = avdt_ad_tc_tbl_by_type(AVDT_CHAN_MEDIA, p_scb->p_ccb, p_scb); in avdt_scb_queue_frags() 2056 buf_size = p_tbl->peer_mtu + BT_HDR_SIZE; in avdt_scb_queue_frags() 2058 p_tbl->peer_mtu, buf_size, num_frag); in avdt_scb_queue_frags()
|
/hal_espressif-3.6.0/components/bt/host/bluedroid/stack/avdt/include/ |
D | avdt_int.h | 692 extern UINT8 avdt_ad_tc_tbl_to_idx(tAVDT_TC_TBL *p_tbl); 693 extern void avdt_ad_tc_close_ind(tAVDT_TC_TBL *p_tbl, UINT16 reason); 694 extern void avdt_ad_tc_open_ind(tAVDT_TC_TBL *p_tbl); 695 extern void avdt_ad_tc_cong_ind(tAVDT_TC_TBL *p_tbl, BOOLEAN is_congested); 696 extern void avdt_ad_tc_data_ind(tAVDT_TC_TBL *p_tbl, BT_HDR *p_buf);
|