• Home
  • Raw
  • Download

Lines Matching refs:sdp_cb

66     if (llcp_cb.sdp_cb.p_snl)  in llcp_sdp_check_send_snl()
70 llcp_cb.sdp_cb.p_snl->len += LLCP_PDU_HEADER_SIZE; in llcp_sdp_check_send_snl()
71 llcp_cb.sdp_cb.p_snl->offset -= LLCP_PDU_HEADER_SIZE; in llcp_sdp_check_send_snl()
73 p = (UINT8 *) (llcp_cb.sdp_cb.p_snl + 1) + llcp_cb.sdp_cb.p_snl->offset; in llcp_sdp_check_send_snl()
76 GKI_enqueue (&llcp_cb.lcb.sig_xmit_q, llcp_cb.sdp_cb.p_snl); in llcp_sdp_check_send_snl()
77 llcp_cb.sdp_cb.p_snl = NULL; in llcp_sdp_check_send_snl()
96 …p = (UINT8 *) (llcp_cb.sdp_cb.p_snl + 1) + llcp_cb.sdp_cb.p_snl->offset + llcp_cb.sdp_cb.p_snl->le… in llcp_sdp_add_sdreq()
103 llcp_cb.sdp_cb.p_snl->len += LLCP_SDREQ_MIN_LEN + name_len; in llcp_sdp_add_sdreq()
125 if (!llcp_cb.sdp_cb.p_snl) in llcp_sdp_send_sdreq()
127 llcp_cb.sdp_cb.p_snl = (BT_HDR*) GKI_getpoolbuf (LLCP_POOL_ID); in llcp_sdp_send_sdreq()
129 if (llcp_cb.sdp_cb.p_snl) in llcp_sdp_send_sdreq()
131 … llcp_cb.sdp_cb.p_snl->offset = NCI_MSG_OFFSET_SIZE + NCI_DATA_HDR_SIZE + LLCP_PDU_HEADER_SIZE; in llcp_sdp_send_sdreq()
132 llcp_cb.sdp_cb.p_snl->len = 0; in llcp_sdp_send_sdreq()
136 if (llcp_cb.sdp_cb.p_snl) in llcp_sdp_send_sdreq()
138 available_bytes = GKI_get_buf_size (llcp_cb.sdp_cb.p_snl) in llcp_sdp_send_sdreq()
139 - BT_HDR_SIZE - llcp_cb.sdp_cb.p_snl->offset in llcp_sdp_send_sdreq()
140 - llcp_cb.sdp_cb.p_snl->len; in llcp_sdp_send_sdreq()
146 … &&(llcp_cb.sdp_cb.p_snl->len + LLCP_SDREQ_MIN_LEN + name_len <= llcp_cb.lcb.effective_miu) ) in llcp_sdp_send_sdreq()
156 llcp_cb.sdp_cb.p_snl = (BT_HDR*) GKI_getpoolbuf (LLCP_POOL_ID); in llcp_sdp_send_sdreq()
158 if (llcp_cb.sdp_cb.p_snl) in llcp_sdp_send_sdreq()
160 … llcp_cb.sdp_cb.p_snl->offset = NCI_MSG_OFFSET_SIZE + NCI_DATA_HDR_SIZE + LLCP_PDU_HEADER_SIZE; in llcp_sdp_send_sdreq()
161 llcp_cb.sdp_cb.p_snl->len = 0; in llcp_sdp_send_sdreq()
202 …p = (UINT8 *) (llcp_cb.sdp_cb.p_snl + 1) + llcp_cb.sdp_cb.p_snl->offset + llcp_cb.sdp_cb.p_snl->le… in llcp_sdp_add_sdres()
209 llcp_cb.sdp_cb.p_snl->len += 2 + LLCP_SDRES_LEN; /* type and length */ in llcp_sdp_add_sdres()
230 if (!llcp_cb.sdp_cb.p_snl) in llcp_sdp_send_sdres()
232 llcp_cb.sdp_cb.p_snl = (BT_HDR*) GKI_getpoolbuf (LLCP_POOL_ID); in llcp_sdp_send_sdres()
234 if (llcp_cb.sdp_cb.p_snl) in llcp_sdp_send_sdres()
236 … llcp_cb.sdp_cb.p_snl->offset = NCI_MSG_OFFSET_SIZE + NCI_DATA_HDR_SIZE + LLCP_PDU_HEADER_SIZE; in llcp_sdp_send_sdres()
237 llcp_cb.sdp_cb.p_snl->len = 0; in llcp_sdp_send_sdres()
241 if (llcp_cb.sdp_cb.p_snl) in llcp_sdp_send_sdres()
243 available_bytes = GKI_get_buf_size (llcp_cb.sdp_cb.p_snl) in llcp_sdp_send_sdres()
244 - BT_HDR_SIZE - llcp_cb.sdp_cb.p_snl->offset in llcp_sdp_send_sdres()
245 - llcp_cb.sdp_cb.p_snl->len; in llcp_sdp_send_sdres()
249 &&(llcp_cb.sdp_cb.p_snl->len + 2 + LLCP_SDRES_LEN <= llcp_cb.lcb.effective_miu) ) in llcp_sdp_send_sdres()
259 llcp_cb.sdp_cb.p_snl = (BT_HDR*) GKI_getpoolbuf (LLCP_POOL_ID); in llcp_sdp_send_sdres()
261 if (llcp_cb.sdp_cb.p_snl) in llcp_sdp_send_sdres()
263 … llcp_cb.sdp_cb.p_snl->offset = NCI_MSG_OFFSET_SIZE + NCI_DATA_HDR_SIZE + LLCP_PDU_HEADER_SIZE; in llcp_sdp_send_sdres()
264 llcp_cb.sdp_cb.p_snl->len = 0; in llcp_sdp_send_sdres()
339 if ( (llcp_cb.sdp_cb.transac[i].p_cback) in llcp_sdp_return_sap()
340 &&(llcp_cb.sdp_cb.transac[i].tid == tid) ) in llcp_sdp_return_sap()
342 (*llcp_cb.sdp_cb.transac[i].p_cback) (tid, sap); in llcp_sdp_return_sap()
344 llcp_cb.sdp_cb.transac[i].p_cback = NULL; in llcp_sdp_return_sap()
367 if (llcp_cb.sdp_cb.transac[i].p_cback) in llcp_sdp_proc_deactivation()
369 (*llcp_cb.sdp_cb.transac[i].p_cback) (llcp_cb.sdp_cb.transac[i].tid, 0x00); in llcp_sdp_proc_deactivation()
371 llcp_cb.sdp_cb.transac[i].p_cback = NULL; in llcp_sdp_proc_deactivation()
376 if (llcp_cb.sdp_cb.p_snl) in llcp_sdp_proc_deactivation()
378 GKI_freebuf (llcp_cb.sdp_cb.p_snl); in llcp_sdp_proc_deactivation()
379 llcp_cb.sdp_cb.p_snl = NULL; in llcp_sdp_proc_deactivation()
382 llcp_cb.sdp_cb.next_tid = 0; in llcp_sdp_proc_deactivation()