diff options
author | balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-09-29 00:02:34 +0000 |
---|---|---|
committer | balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-09-29 00:02:34 +0000 |
commit | 4e38eb5438f254c7f2d588ee15a8045e734143bd (patch) | |
tree | 7d9ef376f1f2fabe57271fcdfeda69c80d3996bc /hw/bt.h | |
parent | fb599c9a030ac438755627f5919bfc40a57a0b9e (diff) |
Add a virtual HCI.
This implements most of the logic of a real HCI (at least the pieces
marked as mandatory). It doesn't support keys, authentication etc.
It works on top of the LMP layer, which is not fully emulated because
software never has direct access to it.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5345 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/bt.h')
-rw-r--r-- | hw/bt.h | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -4,6 +4,11 @@ * Copyright (C) 2007 OpenMoko, Inc. * Written by Andrzej Zaborowski <andrew@openedhand.com> * + * Useful definitions taken from BlueZ project's headers. + * Copyright (C) 2000-2001 Qualcomm Incorporated + * Copyright (C) 2002-2003 Maxim Krasnyansky <maxk@qualcomm.com> + * Copyright (C) 2002-2006 Marcel Holtmann <marcel@holtmann.org> + * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of @@ -104,6 +109,12 @@ struct bt_device_s { void bt_device_init(struct bt_device_s *dev, struct bt_scatternet_s *net); void bt_device_done(struct bt_device_s *dev); +/* bt-hci.c */ +struct HCIInfo *bt_new_hci(struct bt_scatternet_s *net); + +/* bt-host.c */ +struct HCIInfo *bt_host_hci(const char *id); + /* bt-hci-csr.c */ enum { csrhci_pin_reset, |