From 7575a227c3ad282247c288fa8def69d9dcd7603f Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Mon, 21 Nov 2005 10:26:56 +0000 Subject: Add constants for sniff subrating --- include/hci.h | 1 + src/hci.c | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) 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 */ - { "", 0x02 }, /* Bit 1 */ + { "", LMP_SNIFF_SUBR }, /* Bit 1 */ { "", 0x04 }, /* Bit 2 */ { "", LMP_AFH_CAP_MST }, /* Bit 3 */ { "",LMP_AFH_CLS_MST }, /* Bit 4 */ -- cgit