summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2005-11-21 10:26:56 +0000
committerMarcel Holtmann <marcel@holtmann.org>2005-11-21 10:26:56 +0000
commit7575a227c3ad282247c288fa8def69d9dcd7603f (patch)
tree3fe0c83aca56c6704e1e32fd523c852900cf5c8e
parenta097798c889cef47144b3cce2118c5d9e914864c (diff)
Add constants for sniff subrating
-rw-r--r--include/hci.h1
-rw-r--r--src/hci.c5
2 files changed, 5 insertions, 1 deletions
diff --git a/include/hci.h b/include/hci.h
index 0ddebd82..e1790cce 100644
--- a/include/hci.h
+++ b/include/hci.h
@@ -243,6 +243,7 @@ enum {
#define LMP_EDR_3SLOT 0x80
#define LMP_EDR_5SLOT 0x01
+#define LMP_SNIFF_SUBR 0x02
#define LMP_AFH_CAP_MST 0x08
#define LMP_AFH_CLS_MST 0x10
#define LMP_EDR_ESCO_2M 0x20
diff --git a/src/hci.c b/src/hci.c
index d21ef274..a70fba9b 100644
--- a/src/hci.c
+++ b/src/hci.c
@@ -444,6 +444,9 @@ static hci_map commands_map[] = {
{ "Reserved", 135 },
{ "Read Extended Inquiry Response", 136 },
{ "Write Extended Inquiry Response", 137 },
+ { "Unknown", 138 },
+ { "Unknown", 139 },
+ { "Sniff Subrate", 140 },
{ NULL }
};
@@ -578,7 +581,7 @@ static hci_map lmp_features_map[8][9] = {
},
{ /* Byte 5 */
{ "<5-slot EDR ACL>", LMP_EDR_5SLOT }, /* Bit 0 */
- { "<no. 41>", 0x02 }, /* Bit 1 */
+ { "<sniff subrating>", LMP_SNIFF_SUBR }, /* Bit 1 */
{ "<no. 42>", 0x04 }, /* Bit 2 */
{ "<AFH cap. master>", LMP_AFH_CAP_MST }, /* Bit 3 */
{ "<AFH class. master>",LMP_AFH_CLS_MST }, /* Bit 4 */