Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp4419857rdh; Wed, 29 Nov 2023 00:29:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IEDINyMXYch92onraYVKh3VY8C5w2xpC7tS5xhLcVilwcKydREoyptlRfLFLs4goAoDXJbZ X-Received: by 2002:a67:fc4a:0:b0:45f:832f:1780 with SMTP id p10-20020a67fc4a000000b0045f832f1780mr16577696vsq.24.1701246597758; Wed, 29 Nov 2023 00:29:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701246597; cv=none; d=google.com; s=arc-20160816; b=TnObS5gPaPAz2AsDTsxK779nBP7gk2LkwXABbANLYKr4QrmvKcaZ9Cyfzjjav05hI3 irBcae+rVt0ZjwnIgpqbxUanhQ/1I0oEKNN4b+MvFKbIeQemk5f14Gm5yRpfxekXw6yD ixzQ19C8Gbc/dF7c/9lHY4pJ+LlbBK35ywlHFN5smdU5vOc4Ra1puA+XWsCpYDBo9tzZ vzWbrBBg6l58XWKv1+zrGDP3fUeBWtnQwpY6VVamX0eOVi6GZ+zi71lhNV1ZVKdNANY5 5Jp4potEEpzg3mq+XAinNLVuL8jT4JgkVZwP5SeS6zp1qYmE//fzgawxtGYIDNh254Q3 sW3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=IC/mhpo7YyfKXF9jaGQsU9RHUJn7bpdp2CxQy+2gOww=; fh=BdtV4WWvdeOOMk2W4ImEsw3PhwepPbDG8b+UjxYkMiE=; b=OSWU6AtzSyRfD16Mje1o4rFiq1A5gLbrxXEXP0tW7j1hrsrEyUm41qEKGDWh6VNytF 67Izyki1wf+aYxeYojljS6iFRKT65FoB2cNjuw6pGYKhyk0Zo2klieIRxvrRN5uPJD7a tGzewFhV0TItE7UVeY0txtFP05svIpK0SS/NotNM01+kThx3JeAlQzQ/GlPjIZykDNs3 HzsjdCzsv05zBXQgwjLMH7sSuCKvBEIbUrrNEpbWKyh1q/dA2xvHmEx1+9cVJmS32w8C CZN3onaD43U7IEqZzIRZWMoc2Jq4D2Y249geGs9Qtlh6WXD2GOU3bz6J0GOOfZDV43gs CN4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=pfg54nUq; spf=pass (google.com: domain of linux-bluetooth+bounces-285-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-285-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id s6-20020a05620a254600b0077dab2f2c02si5832561qko.70.2023.11.29.00.29.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 00:29:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-285-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=pfg54nUq; spf=pass (google.com: domain of linux-bluetooth+bounces-285-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-285-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 718611C20DEF for ; Wed, 29 Nov 2023 08:29:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1103312B61; Wed, 29 Nov 2023 08:29:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="pfg54nUq" X-Original-To: linux-bluetooth@vger.kernel.org Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5EE6A211C for ; Wed, 29 Nov 2023 00:29:39 -0800 (PST) Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3AT6URHs031218; Wed, 29 Nov 2023 08:29:36 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=qcppdkim1; bh=IC/mhpo7YyfKXF9jaGQsU9RHUJn7bpdp2CxQy+2gOww=; b=pfg54nUqYkZQR3jhtgKQa4CUzDcif7sdn+mtWKryxDTIszA1YhC13+LkgEpQ9bH5n6Xk 6U4QHxxh/MXoVO4hG0TT7p4I5v3KcNZEV4+seQXnS3Rft1B1VwXjSMFAlggGxLLgJRSJ 6D5ur8vm9cuWK3CQJJNWiVLtN59EkEehR1vcxjkcVqMyba774CbAj5k5hB8i9f1TR2e0 1BzBB+mu4hYPXQBWOhqDTC27LwLjxqyIVrZKBJ+MdR7KkXHTxTSxQHBc7ElHOwXSkYlr JFQ1zJEVbHzHTU8TAkBC/1nnZDX2tDHxtrp9LSuRqv0eRbsZz64U2HPAXB5zHM0CKxCX 6Q== Received: from nasanppmta02.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3up02xra3m-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 29 Nov 2023 08:29:36 +0000 Received: from nasanex01a.na.qualcomm.com (nasanex01a.na.qualcomm.com [10.52.223.231]) by NASANPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3AT8TZUl028627 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 29 Nov 2023 08:29:35 GMT Received: from zijuhu-gv.qualcomm.com (10.80.80.8) by nasanex01a.na.qualcomm.com (10.52.223.231) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Wed, 29 Nov 2023 00:29:33 -0800 From: Zijun Hu To: , , CC: , , Zijun Hu Subject: [PATCH v3 0/2] Bluetooth: Support SCO offload for QCA2066 Date: Wed, 29 Nov 2023 16:29:28 +0800 Message-ID: <1701246570-3564-1-git-send-email-quic_zijuhu@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1701245906-10660-1-git-send-email-quic_zijuhu@quicinc.com> References: <1701245906-10660-1-git-send-email-quic_zijuhu@quicinc.com> Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nasanex01a.na.qualcomm.com (10.52.223.231) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: U_gRvJGP8Xhtt01JOHH4RCqMwZ4HVZ73 X-Proofpoint-GUID: U_gRvJGP8Xhtt01JOHH4RCqMwZ4HVZ73 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-11-29_06,2023-11-27_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 bulkscore=0 suspectscore=0 phishscore=0 adultscore=0 lowpriorityscore=0 spamscore=0 priorityscore=1501 impostorscore=0 mlxlogscore=505 clxscore=1015 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2311290062 From: Zijun Hu 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. Changes form V2->V3: - Bluetooth: qca: - - Add and correct inline comments Changes form V1->V2: - No changes, sent by mistake 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 | 24 ++++++++++++++++++++++++ net/bluetooth/hci_conn.c | 2 +- 2 files changed, 25 insertions(+), 1 deletion(-) -- The Qualcomm Innovation Center