summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2022-11-07 23:01:10 +0100
committerAyush Garg <ayush.garg@samsung.com>2023-05-15 14:55:55 +0530
commiteb56d2ae19aba1ef14e8aee5b8e1502187f0d68c (patch)
tree34cdfbe50be35bf3ae2a3ccd471be8cbf49c4914
parentcdbae44f46a0a3f6aa4d8f708d81827425d3d347 (diff)
downloadbluez-eb56d2ae19aba1ef14e8aee5b8e1502187f0d68c.tar.gz
bluez-eb56d2ae19aba1ef14e8aee5b8e1502187f0d68c.tar.bz2
bluez-eb56d2ae19aba1ef14e8aee5b8e1502187f0d68c.zip
monitor: Add some definitions from Bluetooth 5.3 Core specification
Signed-off-by: Manika Shrivastava <manika.sh@samsung.com> Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
-rwxr-xr-xmonitor/packet.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/monitor/packet.c b/monitor/packet.c
index f579ac06..84488af6 100755
--- a/monitor/packet.c
+++ b/monitor/packet.c
@@ -2384,6 +2384,12 @@ void packet_print_version(const char *label, uint8_t version,
case 0x0a:
str = "Bluetooth 5.1";
break;
+ case 0x0b:
+ str = "Bluetooth 5.2";
+ break;
+ case 0x0c:
+ str = "Bluetooth 5.3";
+ break;
default:
str = "Reserved";
break;
@@ -2657,6 +2663,13 @@ static const struct bitfield_data features_le[] = {
{ 30, "Isochronous Broadcaster" },
{ 31, "Synchronized Receiver" },
{ 32, "Isochronous Channels (Host Support)" },
+ { 33, "LE Power Control Request" },
+ { 34, "LE Power Control Request" },
+ { 35, "LE Path Loss Monitoring" },
+ { 36, "Periodic Advertising ADI support" },
+ { 37, "Connection Subrating" },
+ { 38, "Connection Subrating (Host Support)" },
+ { 39, "Channel Classification" },
{ }
};