diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2009-12-17 21:52:23 -0800 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2009-12-17 21:52:23 -0800 |
commit | 89b20242bc4a74a4f4446ec5a8d49cde51aaa6f7 (patch) | |
tree | 477df70847cadf491e28f46bb04556185790162c | |
parent | de2a487b40b3a60bd25ce52355bba97a1508106e (diff) | |
download | bluez-89b20242bc4a74a4f4446ec5a8d49cde51aaa6f7.tar.gz |
Add LMP features for Low Energy support
-rw-r--r-- | lib/hci.c | 6 | ||||
-rw-r--r-- | lib/hci.h | 3 |
2 files changed, 6 insertions, 3 deletions
@@ -667,8 +667,8 @@ static hci_map lmp_features_map[8][9] = { { "<no. 34>", 0x04 }, /* Bit 2 */ { "<AFH cap. slave>", LMP_AFH_CAP_SLV }, /* Bit 3 */ { "<AFH class. slave>", LMP_AFH_CLS_SLV }, /* Bit 4 */ - { "<no. 37>", 0x20 }, /* Bit 5 */ - { "<no. 38>", 0x40 }, /* Bit 6 */ + { "<BR/EDR not supp.>", LMP_NO_BREDR }, /* Bit 5 */ + { "<LE support>", LMP_LE }, /* Bit 6 */ { "<3-slot EDR ACL>", LMP_EDR_3SLOT }, /* Bit 7 */ { NULL } }, @@ -685,7 +685,7 @@ static hci_map lmp_features_map[8][9] = { }, { /* Byte 6 */ { "<extended inquiry>", LMP_EXT_INQ }, /* Bit 0 */ - { "<no. 49>", 0x02 }, /* Bit 1 */ + { "<LE and BR/EDR>", LMP_LE_BREDR }, /* Bit 1 */ { "<no. 50>", 0x04 }, /* Bit 2 */ { "<simple pairing>", LMP_SIMPLE_PAIR }, /* Bit 3 */ { "<encapsulated PDU>", LMP_ENCAPS_PDU }, /* Bit 4 */ @@ -236,6 +236,8 @@ enum { #define LMP_EV5 0x02 #define LMP_AFH_CAP_SLV 0x08 #define LMP_AFH_CLS_SLV 0x10 +#define LMP_NO_BREDR 0x20 +#define LMP_LE 0x40 #define LMP_EDR_3SLOT 0x80 #define LMP_EDR_5SLOT 0x01 @@ -248,6 +250,7 @@ enum { #define LMP_EDR_3S_ESCO 0x80 #define LMP_EXT_INQ 0x01 +#define LMP_LE_BREDR 0x02 #define LMP_SIMPLE_PAIR 0x08 #define LMP_ENCAPS_PDU 0x10 #define LMP_ERR_DAT_REP 0x20 |