monitor: Ellisys: Add iso packet support
authorYao Xiao <xiaoyao@rock-chips.com>
Sat, 22 Oct 2022 03:13:33 +0000 (11:13 +0800)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 15 May 2023 09:25:55 +0000 (14:55 +0530)
Ellisys Bluetooth Analyzer Injection API Services.pdf

HCI Packet Type Object
Value   HCI Packet Type
0x05    HCI ISO Data (host to controller)
0x85    HCI ISO Data (controller to host)

Signed-off-by: Manika Shrivastava <manika.sh@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
monitor/ellisys.c

index 7a0bc8f..f3d7acb 100755 (executable)
@@ -130,6 +130,12 @@ void ellisys_inject_hci(struct timeval *tv, uint16_t index, uint16_t opcode,
        case BTSNOOP_OPCODE_SCO_RX_PKT:
                msg[20] = 0x83;
                break;
+       case BTSNOOP_OPCODE_ISO_TX_PKT:
+               msg[20] = 0x05;
+               break;
+       case BTSNOOP_OPCODE_ISO_RX_PKT:
+               msg[20] = 0x85;
+               break;
        default:
                return;
        }