Lines Matching refs:L2CAP_MIN_OFFSET
51 (BT_HDR*)osi_malloc(sizeof(BT_HDR) + GATT_HDR_SIZE + L2CAP_MIN_OFFSET); in attp_build_mtu_cmd()
53 p = (uint8_t*)(p_buf + 1) + L2CAP_MIN_OFFSET; in attp_build_mtu_cmd()
57 p_buf->offset = L2CAP_MIN_OFFSET; in attp_build_mtu_cmd()
75 p = (uint8_t*)(p_buf + 1) + L2CAP_MIN_OFFSET; in attp_build_exec_write_cmd()
77 p_buf->offset = L2CAP_MIN_OFFSET; in attp_build_exec_write_cmd()
103 BT_HDR* p_buf = (BT_HDR*)osi_malloc(sizeof(BT_HDR) + L2CAP_MIN_OFFSET + 5); in attp_build_err_cmd()
105 p = (uint8_t*)(p_buf + 1) + L2CAP_MIN_OFFSET; in attp_build_err_cmd()
111 p_buf->offset = L2CAP_MIN_OFFSET; in attp_build_err_cmd()
132 (BT_HDR*)osi_malloc(sizeof(BT_HDR) + payload_size + L2CAP_MIN_OFFSET); in attp_build_browse_cmd()
134 uint8_t* p = (uint8_t*)(p_buf + 1) + L2CAP_MIN_OFFSET; in attp_build_browse_cmd()
136 p_buf->offset = L2CAP_MIN_OFFSET; in attp_build_browse_cmd()
161 (BT_HDR*)osi_malloc(sizeof(BT_HDR) + payload_size + L2CAP_MIN_OFFSET); in attp_build_read_by_type_value_cmd()
163 p = (uint8_t*)(p_buf + 1) + L2CAP_MIN_OFFSET; in attp_build_read_by_type_value_cmd()
164 p_buf->offset = L2CAP_MIN_OFFSET; in attp_build_read_by_type_value_cmd()
195 L2CAP_MIN_OFFSET); in attp_build_read_multi_cmd()
197 p = (uint8_t*)(p_buf + 1) + L2CAP_MIN_OFFSET; in attp_build_read_multi_cmd()
198 p_buf->offset = L2CAP_MIN_OFFSET; in attp_build_read_multi_cmd()
222 BT_HDR* p_buf = (BT_HDR*)osi_malloc(sizeof(BT_HDR) + 5 + L2CAP_MIN_OFFSET); in attp_build_handle_cmd()
224 p = (uint8_t*)(p_buf + 1) + L2CAP_MIN_OFFSET; in attp_build_handle_cmd()
225 p_buf->offset = L2CAP_MIN_OFFSET; in attp_build_handle_cmd()
252 BT_HDR* p_buf = (BT_HDR*)osi_malloc(sizeof(BT_HDR) + 1 + L2CAP_MIN_OFFSET); in attp_build_opcode_cmd()
254 p = (uint8_t*)(p_buf + 1) + L2CAP_MIN_OFFSET; in attp_build_opcode_cmd()
255 p_buf->offset = L2CAP_MIN_OFFSET; in attp_build_opcode_cmd()
277 (BT_HDR*)osi_malloc(sizeof(BT_HDR) + payload_size + L2CAP_MIN_OFFSET); in attp_build_value_cmd()
279 p = pp = (uint8_t*)(p_buf + 1) + L2CAP_MIN_OFFSET; in attp_build_value_cmd()
281 p_buf->offset = L2CAP_MIN_OFFSET; in attp_build_value_cmd()
400 p_msg->offset = L2CAP_MIN_OFFSET; in attp_send_sr_msg()