From 34c5828e678e244a28b7c3ba7078a08583273aa3 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sat, 16 Jun 2007 11:46:22 +0000 Subject: Add definitions for inquiry power level and erroneous data --- include/hci.h | 3 +++ src/hci.c | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/include/hci.h b/include/hci.h index eb015fc7..327d17a4 100644 --- a/include/hci.h +++ b/include/hci.h @@ -249,8 +249,11 @@ enum { #define LMP_EDR_3S_ESCO 0x80 #define LMP_EXT_INQ 0x01 +#define LMP_ERR_DAT_REP 0x20 +#define LMP_NFLUSH_PKTS 0x40 #define LMP_LSTO 0x01 +#define LMP_INQ_TX_PWR 0x02 #define LMP_EXT_FEAT 0x80 /* Link policies */ diff --git a/src/hci.c b/src/hci.c index a064980f..4e95a420 100644 --- a/src/hci.c +++ b/src/hci.c @@ -600,14 +600,14 @@ static hci_map lmp_features_map[8][9] = { { "", 0x04 }, /* Bit 2 */ { "", 0x08 }, /* Bit 3 */ { "", 0x10 }, /* Bit 4 */ - { "", 0x20 }, /* Bit 5 */ - { "", 0x40 }, /* Bit 6 */ + { "", LMP_ERR_DAT_REP }, /* Bit 5 */ + { "", LMP_NFLUSH_PKTS }, /* Bit 6 */ { "", 0x80 }, /* Bit 7 */ { NULL } }, { /* Byte 7 */ { "", LMP_LSTO }, /* Bit 1 */ - { "", 0x02 }, /* Bit 1 */ + { "", LMP_INQ_TX_PWR }, /* Bit 1 */ { "", 0x04 }, /* Bit 2 */ { "", 0x08 }, /* Bit 3 */ { "", 0x10 }, /* Bit 4 */ -- cgit