Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp3625874rwi; Fri, 21 Oct 2022 20:17:44 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6th6aHDrwTfXy4xwLDd4PoNCE5qxsDCbdt7ZRaZzrC8u3fQB91NCYEoY9Abe5EZgfB7nwi X-Received: by 2002:a17:90b:78e:b0:205:c9ae:21f9 with SMTP id l14-20020a17090b078e00b00205c9ae21f9mr26046922pjz.112.1666408663980; Fri, 21 Oct 2022 20:17:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666408663; cv=none; d=google.com; s=arc-20160816; b=wm0iNAwcqeKi42cKSSDRx+vM2YnJrjHGSUgLjHpTlroMaQnZTzOob92NdAaSncQXKj OJ9znpJixLt03kzhUwDbDvUdkNFK9h/GO2fWjztpnzhLkYAw2hKs/bDjbYKCOnV4qca1 H9Rcn4zmeYMIhxIDZ6NenhhMc93Mte5Goz0f8LCO1YdLNs/P1GHGUU+ZxlPNDUwSdKBU AYWD+KXR8olew5KbobEz8czxrrXMZ7zG6kuDcRFKtKlVtbc6n5rgUd6BuXRYgEtE073v emW7sWWzOD1sLMERB3k00iDIMGFhTjPcUwatVykxhjRt/OyqrsMUAssrYL1Y+Wh/3KLO +3ag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=66aCQwLsRPDsoUmp9yQ4/Uw6dCVDoBkaifmWCpaFZNU=; b=XUNqYzNZDsbX1zsZPvOfS4pisN72Ga7oDLG4b4FgvANRTtg4TfRcDmAkuTVELGp279 FVdxEHTqd10wldMs2N0Y7zZ6ENiOeO5Gqy+Gd87ullkZ9OmuBpQMYRbxCKtoWSg/W3cH J6mOnkIw2y76HxI1BZKiaBH9Z4AaxgzBAGNct1tMu/5cI/bXmiAtjOWdaksujfDkEnt2 o3BndTPBwLn430qOvBEg+l6Kc9FlCqATFFSEtP5C5/Br9eptOYti2Z9Q4E4D0PkOa5Hp 66qpLAoXd7q16xS4zQYQEbKXtyfqdY7xztp+HYvmZOHLkjJH7WYR+B+U2F9R1Z2nHjXs ODng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@126.com header.s=s110527 header.b=FFUhDaP8; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=126.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v184-20020a6389c1000000b00439fb921f8fsi23712595pgd.460.2022.10.21.20.17.13; Fri, 21 Oct 2022 20:17:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@126.com header.s=s110527 header.b=FFUhDaP8; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=126.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229501AbiJVDN5 (ORCPT + 99 others); Fri, 21 Oct 2022 23:13:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47052 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229556AbiJVDNy (ORCPT ); Fri, 21 Oct 2022 23:13:54 -0400 Received: from mail-m965.mail.126.com (mail-m965.mail.126.com [123.126.96.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 2DA8E2A58FE for ; Fri, 21 Oct 2022 20:13:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=126.com; s=s110527; h=From:Subject:Date:Message-Id:MIME-Version; bh=66aCQ wLsRPDsoUmp9yQ4/Uw6dCVDoBkaifmWCpaFZNU=; b=FFUhDaP8a6Im6CpM3jxtk vPSct3O0jedMbeKxWNQNq9BaGC3qcjLLmFg3vtNWKqcla/91mYauxPHBcnwVanhN AI0Mkna49QRlH2TSNQvZ5UC7KTYexeQJVv+j2YT2ikAKR8utma1PhtLPX7rWPaH0 Nl1TvF/QkMIgNJQ20SIlvg= Received: from localhost.localdomain (unknown [58.22.7.114]) by smtp10 (Coremail) with SMTP id NuRpCgBXdpLsX1NjR01bEQ--.39790S2; Sat, 22 Oct 2022 11:13:50 +0800 (CST) From: xiaokeqinhealth@126.com To: linux-bluetooth@vger.kernel.org Cc: Yao Xiao Subject: [PATCH BlueZ 1/1] monitor: Ellisys: Add iso packet support Date: Sat, 22 Oct 2022 11:13:33 +0800 Message-Id: <20221022031333.4333-1-xiaokeqinhealth@126.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: NuRpCgBXdpLsX1NjR01bEQ--.39790S2 X-Coremail-Antispam: 1Uf129KBjvdXoWrtrW3WF45WF4DXF18uFW7Jwb_yoW3XFc_JF yUAa40yrW5AF4xZrykWayY9r4UKw4kWa4kua9IqryqqayDG3Z8Jr1DXrWSv3sxKF40yF9I kr17u3W8Cr17WjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7IUeUfHUUUUUU== X-Originating-IP: [58.22.7.114] X-CM-SenderInfo: 50ld0yhhtl0xhhdo3xa6rslhhfrp/1tbi7w6i1V-1Vf08NQAAsd X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,RCVD_IN_SORBS_WEB,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org From: Yao Xiao 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) --- monitor/ellisys.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/monitor/ellisys.c b/monitor/ellisys.c index 61ac24c23..56d280e9b 100644 --- a/monitor/ellisys.c +++ b/monitor/ellisys.c @@ -131,6 +131,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; } -- 2.25.1