diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2010-02-13 02:28:41 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2010-02-27 14:05:38 +0100 |
commit | 943da25d95c7e8fd8c39dbf09e030f5da46f5d85 (patch) | |
tree | afa710bb2455ec43db38e205157fd6943ac6b63b /include/net | |
parent | b914a250e7b390c713b36a9405a39c4c11abad80 (diff) | |
download | kernel_samsung_aries-943da25d95c7e8fd8c39dbf09e030f5da46f5d85.zip kernel_samsung_aries-943da25d95c7e8fd8c39dbf09e030f5da46f5d85.tar.gz kernel_samsung_aries-943da25d95c7e8fd8c39dbf09e030f5da46f5d85.tar.bz2 |
Bluetooth: Add controller types for BR/EDR and 802.11 AMP
With the Bluetooth 3.0 specification and the introduction of alternate
MAC/PHY (AMP) support, it is required to differentiate between primary
BR/EDR controllers and 802.11 AMP controllers. So introduce a special
type inside HCI device for differentiation.
For now all AMP controllers will be treated as raw devices until an
AMP manager has been implemented.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/bluetooth/hci.h | 4 | ||||
-rw-r--r-- | include/net/bluetooth/hci_core.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h index 3350a66..fc0c502 100644 --- a/include/net/bluetooth/hci.h +++ b/include/net/bluetooth/hci.h @@ -52,6 +52,10 @@ #define HCI_PCI 5 #define HCI_SDIO 6 +/* HCI controller types */ +#define HCI_BREDR 0x00 +#define HCI_80211 0x01 + /* HCI device quirks */ enum { HCI_QUIRK_NO_RESET, diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h index 4c94c1e..ce3c99e 100644 --- a/include/net/bluetooth/hci_core.h +++ b/include/net/bluetooth/hci_core.h @@ -71,6 +71,7 @@ struct hci_dev { unsigned long flags; __u16 id; __u8 bus; + __u8 dev_type; bdaddr_t bdaddr; __u8 dev_name[248]; __u8 dev_class[3]; |