summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2013-12-06 23:59:35 -0800
committerMarcel Holtmann <marcel@holtmann.org>2013-12-06 23:59:35 -0800
commitd5f14f8d65d884a04472c48c7ac8337676dc5a8e (patch)
tree6f69261e962e315dd50a71ab2251378f12f97d55
parentc4e6bcbe4fe3da911068e409e43e479acac033a4 (diff)
monitor: Add support for handling LE Ping feature
-rw-r--r--monitor/ll.c2
-rw-r--r--monitor/packet.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/monitor/ll.c b/monitor/ll.c
index e8b7a7a65..1a66572b5 100644
--- a/monitor/ll.c
+++ b/monitor/ll.c
@@ -483,6 +483,8 @@ static const struct llcp_data llcp_table[] = {
{ 0x0b, "LL_PAUSE_ENC_RSP", null_pdu, 0, true },
{ 0x0c, "LL_VERSION_IND", version_ind, 5, true },
{ 0x0d, "LL_REJECT_IND", reject_ind, 1, true },
+ { 0x12, "LL_PING_REQ", null_pdu, 0, true },
+ { 0x13, "LL_PING_RSP", null_pdu, 0, true },
{ }
};
diff --git a/monitor/packet.c b/monitor/packet.c
index 0efa60bce..334506539 100644
--- a/monitor/packet.c
+++ b/monitor/packet.c
@@ -1912,6 +1912,7 @@ static const struct features_data features_page2[] = {
static const struct features_data features_le[] = {
{ 0, "LE Encryption" },
+ { 4, "LE Ping" },
{ }
};