monitor: Add some definitions from Bluetooth 5.3 Core specification
authorMarcel Holtmann <marcel@holtmann.org>
Mon, 7 Nov 2022 22:01:10 +0000 (23:01 +0100)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 15 May 2023 09:25:55 +0000 (14:55 +0530)
Signed-off-by: Manika Shrivastava <manika.sh@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
monitor/packet.c

index f579ac0..84488af 100755 (executable)
@@ -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"                          },
        { }
 };