summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2007-06-16 11:46:22 +0000
committerMarcel Holtmann <marcel@holtmann.org>2007-06-16 11:46:22 +0000
commit34c5828e678e244a28b7c3ba7078a08583273aa3 (patch)
treecb6d522e7f2661c7fcec0e2515646d4bd675e8b0
parent9d9a7646b189cc2471b925cc448862e14c10c0c4 (diff)
Add definitions for inquiry power level and erroneous data
-rw-r--r--include/hci.h3
-rw-r--r--src/hci.c6
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] = {
{ "<no. 50>", 0x04 }, /* Bit 2 */
{ "<no. 51>", 0x08 }, /* Bit 3 */
{ "<no. 52>", 0x10 }, /* Bit 4 */
- { "<no. 53>", 0x20 }, /* Bit 5 */
- { "<no. 54>", 0x40 }, /* Bit 6 */
+ { "<err. data report>", LMP_ERR_DAT_REP }, /* Bit 5 */
+ { "<non-flush flag>", LMP_NFLUSH_PKTS }, /* Bit 6 */
{ "<no. 55>", 0x80 }, /* Bit 7 */
{ NULL }
},
{ /* Byte 7 */
{ "<LSTO>", LMP_LSTO }, /* Bit 1 */
- { "<no. 57>", 0x02 }, /* Bit 1 */
+ { "<inquiry TX power>", LMP_INQ_TX_PWR }, /* Bit 1 */
{ "<no. 58>", 0x04 }, /* Bit 2 */
{ "<no. 59>", 0x08 }, /* Bit 3 */
{ "<no. 60>", 0x10 }, /* Bit 4 */