Home
last modified time | relevance | path

Searched refs:p_tbl (Results 1 – 5 of 5) sorted by relevance

/system/bt/stack/avdt/
Davdt_l2c.cc81 AvdtpTransportChannel* p_tbl; in avdt_sec_check_complete_term() local
86 p_tbl = avdt_ad_tc_tbl_by_st(AVDT_CHAN_SIG, p_ccb, AVDT_AD_ST_SEC_ACP); in avdt_sec_check_complete_term()
87 if (p_tbl == NULL) return; in avdt_sec_check_complete_term()
91 L2CA_ConnectRsp(*bd_addr, p_tbl->id, p_tbl->lcid, L2CAP_CONN_OK, in avdt_sec_check_complete_term()
95 avdtp_cb.ad.lcid_tbl[p_tbl->lcid - L2CAP_BASE_APPL_CID] = in avdt_sec_check_complete_term()
96 avdt_ad_tc_tbl_to_idx(p_tbl); in avdt_sec_check_complete_term()
97 avdtp_cb.ad.rt_tbl[avdt_ccb_to_idx(p_ccb)][p_tbl->tcid].lcid = p_tbl->lcid; in avdt_sec_check_complete_term()
100 p_tbl->state = AVDT_AD_ST_CFG; in avdt_sec_check_complete_term()
105 cfg.mtu = p_tbl->my_mtu; in avdt_sec_check_complete_term()
107 cfg.flush_to = p_tbl->my_flush_to; in avdt_sec_check_complete_term()
[all …]
Davdt_ad.cc120 AvdtpTransportChannel* p_tbl = avdtp_cb.ad.tc_tbl; in avdt_ad_init() local
124 for (i = 0; i < AVDT_NUM_TC_TBL; i++, p_tbl++) { in avdt_ad_init()
125 p_tbl->peer_mtu = L2CAP_DEFAULT_MTU; in avdt_ad_init()
145 AvdtpTransportChannel* p_tbl = avdtp_cb.ad.tc_tbl; in avdt_ad_tc_tbl_by_st() local
150 for (i = 0; i < AVDT_NUM_TC_TBL; i++, p_tbl++) { in avdt_ad_tc_tbl_by_st()
152 if ((p_tbl->tcid == 0) && (p_tbl->state == state)) { in avdt_ad_tc_tbl_by_st()
159 for (i = 0; i < AVDT_NUM_TC_TBL; i++, p_tbl++) { in avdt_ad_tc_tbl_by_st()
162 if ((p_tbl->tcid == 0) && (p_tbl->ccb_idx == ccb_idx) && in avdt_ad_tc_tbl_by_st()
163 (p_tbl->state == state)) { in avdt_ad_tc_tbl_by_st()
168 if ((p_tbl->tcid > 0) && (p_tbl->ccb_idx == ccb_idx) && in avdt_ad_tc_tbl_by_st()
[all …]
Davdt_msg.cc1063 AvdtpTransportChannel* p_tbl; in avdt_msg_send() local
1072 p_tbl = avdt_ad_tc_tbl_by_type(AVDT_CHAN_SIG, p_ccb, NULL); in avdt_msg_send()
1090 (p_ccb->p_curr_msg->len <= p_tbl->peer_mtu - AVDT_LEN_TYPE_SINGLE)) { in avdt_msg_send()
1098 p_tbl->peer_mtu - AVDT_LEN_TYPE_SINGLE)) { in avdt_msg_send()
1101 nosp = (p_ccb->p_curr_msg->len + AVDT_LEN_TYPE_START - p_tbl->peer_mtu) / in avdt_msg_send()
1102 (p_tbl->peer_mtu - 1) + in avdt_msg_send()
1110 p_buf->len = p_tbl->peer_mtu - hdr_len; in avdt_msg_send()
1118 (p_tbl->peer_mtu - AVDT_LEN_TYPE_CONT))) { in avdt_msg_send()
1127 p_buf->len = p_tbl->peer_mtu - hdr_len; in avdt_msg_send()
Davdt_int.h959 extern uint8_t avdt_ad_tc_tbl_to_idx(AvdtpTransportChannel* p_tbl);
960 extern void avdt_ad_tc_close_ind(AvdtpTransportChannel* p_tbl, uint16_t reason);
961 extern void avdt_ad_tc_open_ind(AvdtpTransportChannel* p_tbl);
962 extern void avdt_ad_tc_cong_ind(AvdtpTransportChannel* p_tbl,
964 extern void avdt_ad_tc_data_ind(AvdtpTransportChannel* p_tbl, BT_HDR* p_buf);
Davdt_api.cc1113 AvdtpTransportChannel* p_tbl; in AVDT_SendReport() local
1130 p_tbl = avdt_ad_tc_tbl_by_type(AVDT_CHAN_REPORT, p_scb->p_ccb, p_scb); in AVDT_SendReport()
1131 if (p_tbl->state == AVDT_AD_ST_OPEN) { in AVDT_SendReport()
1132 BT_HDR* p_pkt = (BT_HDR*)osi_malloc(p_tbl->peer_mtu + sizeof(BT_HDR)); in AVDT_SendReport()