Received: by 2002:a05:7412:8521:b0:e2:908c:2ebd with SMTP id t33csp2234378rdf; Mon, 6 Nov 2023 08:16:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IF/1G6x7rEknv/dilNUfic/mr+3/aGNjr286Vh+M3YzVWQsZMio589m2Ja0SuXuhNjmM6Xf X-Received: by 2002:a05:6a20:441a:b0:160:6983:91d6 with SMTP id ce26-20020a056a20441a00b00160698391d6mr17416926pzb.22.1699287385432; Mon, 06 Nov 2023 08:16:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699287385; cv=none; d=google.com; s=arc-20160816; b=xw5msKNqD6RtGVq5CtQZD7u7ty0REVMr0bVby/nu3y79dSZ7HREQlHWCNynXa1LnnC CBDD1qF0p+1J7j2Uy8I2169jiotY/JAl8uTaji5eHo6vBxEkRz5DvQ1YlCKB9KgXyxzd 2gE6ggw5xihcmyAWOoL8eAWCfNsqF+7/0kMFpK/UZzvR/Pi5aVsKmoXst0nLdVe5LyTi sruBNNnpVRvZbUtYEdgw6lgaTMnhkMGNVN83o1s8agFdTwmmhQ/DI2D+qqrLOWaU+r8T d0SMzQryH3L633ZzJffxwoaHVreBEvlV35Oo/u+VnQTIOdiUP2hSJdFPkGsWsTLNSFlX vjNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=eVwdwenXFfY2EE+9wZVcCTiv1FNAfoxHSAl7MDJgIN0=; fh=vxKJMMphIG7WTxZISsDsgiLfxtQXSbw1KoqlBtkhPn4=; b=rEwmfK0lusQL+XuVoSCcwO7KBnzHKdvJyxYjMvRKfu5Q5rhuHGzC2dMBJsPPossySv mMTID3fxuFYVJmDJsrguSkLQJP1OGRFyMDj8lRHu46MnCFZ/jRasg+gLGyiysDdLgj/m 80H38+LR07TDzwyKtS+3c00PMfNy+vqWmwf9Qnrew/roWTY2fnDATgmw9mqj8ql2s/Hd 8Ze4dpQYWD5lJToLPA6UL2fKyZ4UVT2jpOo+md77FLvLp+/QroJ6jPpI4HaCXrbneKFC jxm8qR+AUjYZFsN7/+O7F3Sy4nLBhrdwSofvq2AYWQSUWy28g8eBYs9nO5EZK8K0A3MM PpuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=NlGfVnbo; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id m4-20020a633f04000000b005b2d044af30si8431683pga.480.2023.11.06.08.16.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Nov 2023 08:16:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=NlGfVnbo; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 64A0C80A8BB1; Mon, 6 Nov 2023 08:16:19 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231777AbjKFQQT (ORCPT + 99 others); Mon, 6 Nov 2023 11:16:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40490 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232032AbjKFQQS (ORCPT ); Mon, 6 Nov 2023 11:16:18 -0500 Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BD6581BC for ; Mon, 6 Nov 2023 08:16:14 -0800 (PST) Received: by mail-lj1-x229.google.com with SMTP id 38308e7fff4ca-2c5071165d5so62644741fa.0 for ; Mon, 06 Nov 2023 08:16:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1699287373; x=1699892173; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=eVwdwenXFfY2EE+9wZVcCTiv1FNAfoxHSAl7MDJgIN0=; b=NlGfVnbofvN4MT098goO97aWkyXjVFTHY/kL2xMqX604VGwjKK7Cqg6Ma6fsnaPIbU T+0vWrxNnyDvpvJ66RfKQE7HyXj/auk5tUKgBMUH4X0xEH2BTmItoqTuvcPQDaDkKG07 IjqXdvQReSOUzHXxgSyUbsqpz1pXLuDkyBXayYJR75HAjxqMXsdtrk4o4dPHPzy+c0P0 Z6wjYGtE4ppJkKk3pFjJAPOWIKY9/QiaLELXVnZZj75ySv59VJWVQ9XVDhhKGnpD6FlG o5rTrQtjFR7OkQI0FeoozeMerLyJw+Sn5oxzQagmcta7/4uF/vqsiUr2Mx6iBZEEVwah mq1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699287373; x=1699892173; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=eVwdwenXFfY2EE+9wZVcCTiv1FNAfoxHSAl7MDJgIN0=; b=GpNL0pZ0lFsRAAVmrJrNOYHOM5vuZK4PzBUQZIY+7na0kRbo51ka57OAweB0Y7pEjo 7B7W3LJ4iqDpBk5xId6KKM/T8/tTSLGGZGOpYo0dCDKhI9mXsBTtKJOX7xhwlQOyzGu7 ri6hnyJmpic+sdx+4OBL8yUrvp06n9VRjZFIwt2OsKZ0I/PiamqIJ0bpCXYKAMNfOngH 8kemAiBj3yKLktRcpG5BR4PAaV728tm7Xo6AX57P1YmBpjTldle7yCqqFAWuCmBNkzLQ Ny2pdcAz4S9vqeHqPV0TM49Uju3mjDPxd3isBBVaGkZTNJvJX4ArY8SZrT5e3BW8iGVk wCjg== X-Gm-Message-State: AOJu0Yx3Ho+UxVpf4cKTHIV4y+4OOZPjy26GgIO3nHbEHYIvk7XWZYx3 8KkuGFcsGv1xSbJ80yMg/BRQ5F+Lwlq3X2u0qEM= X-Received: by 2002:a2e:494a:0:b0:2c5:1a89:41c0 with SMTP id b10-20020a2e494a000000b002c51a8941c0mr21895988ljd.23.1699287372661; Mon, 06 Nov 2023 08:16:12 -0800 (PST) MIME-Version: 1.0 References: <1699251565-28759-1-git-send-email-quic_zijuhu@quicinc.com> In-Reply-To: <1699251565-28759-1-git-send-email-quic_zijuhu@quicinc.com> From: Luiz Augusto von Dentz Date: Mon, 6 Nov 2023 11:16:02 -0500 Message-ID: Subject: Re: [PATCH v1 0/2] Bluetooth: Support SCO offload for QCA2066 To: Zijun Hu Cc: marcel@holtmann.org, johan.hedberg@gmail.com, linux-bluetooth@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Mon, 06 Nov 2023 08:16:19 -0800 (PST) Hi, On Mon, Nov 6, 2023 at 1:19=E2=80=AFAM Zijun Hu w= rote: > > This patch series are to support SCO offload for QCA2066, ALL BTHOST > needs to do is specifying both Input_Data_Path and Output_Data_Path > as 0x01 for HCI_Enhanced_Setup_Synchronous_Connection, does NOT need > to configure data path by HCI_Configure_Data_Path at all. This part it doesn't need to use HCI_Configure_Data_Path seems to be non-standard, if so it needs to be handled by the driver, also it is probably a good idea to explain how it works, what are the commands used and the result traffic using btmon to collect the HCI trace. > Zijun Hu (2): > Bluetooth: hci_conn: Check non NULL before calling > hdev->get_codec_config_data() > Bluetooth: qca: Support SCO offload for QCA2066 > > drivers/bluetooth/hci_qca.c | 19 +++++++++++++++++++ > net/bluetooth/hci_conn.c | 2 +- > 2 files changed, 20 insertions(+), 1 deletion(-) > > -- > The Qualcomm Innovation Center > --=20 Luiz Augusto von Dentz