Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp4415813rdh; Wed, 29 Nov 2023 00:19:03 -0800 (PST) X-Google-Smtp-Source: AGHT+IGEKIsZCJA5/pirPDMtFU+S+IVGDss9MzodKLpIaO69uOGxxxST9r4qu4sPNQ8LRlIbQUeV X-Received: by 2002:a17:90b:1b11:b0:285:a115:4e1a with SMTP id nu17-20020a17090b1b1100b00285a1154e1amr12890962pjb.34.1701245942825; Wed, 29 Nov 2023 00:19:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701245942; cv=none; d=google.com; s=arc-20160816; b=cb/6gWEysRrNi1/dTX691O/MF89zgGOuXvW5n96QJCBi6JlKHhnCHadeP62sPIP68O /lM3M3P2mHAUt52p62wnQE2F7S75UFzO9o//zTpc3LdZZ/MGNU1smph934taP/Hadila VtVIsJmgW9zXTS6eM2x5aiXmbLYeb0VDc8uS+iMg+qSXxV+tV43gOShKVeU9l9K6qLx7 LS1/UBkq81Sp0Jft3w5SzIDA7cALsXq6eAdbtAzMAOR1EQT67KmqsKOPXvYiyEhFKOMg V85Zf7OBesrmFTOt9roCiL92mZ/fBVdsqpNZKYZc0lLqXaQHA1dTBKzriM1X1MCtXWX3 HDXg== 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=r32vH0KrCsIt6cQvLl0XN7mhhoRDFangyFDr84YdERM=; fh=BdtV4WWvdeOOMk2W4ImEsw3PhwepPbDG8b+UjxYkMiE=; b=Y25Z7gxqQJUOfhpjtE+Y2LJA5AxpXhINyHgfUX/RV/Nz38XP3jFeJLC87C9Z5kvmQr RMA3GnLmCqytZaEiZMrNlB+TKhbNgBJKb4nEuP32HIj/EOSmPS3gFGzMYr9xa5aBnK5N WEISvk8nQAjZWGue/HGLfBU3Hm8qq90EO7E6/mP2Mcs6bi55yE/8+fMJ9fkM4Qu//kEd C6zCtoF0JaqeyXAxuqox8dYO/4MwxLcmT8ttV+/YN1JfMUhymNl9/sF20uAIuIo0jI8z LHQw3RZ6bJ3VxdEbYoIXqAOhgyhgo7mWnn0sYKdog2CqMDgRlyPgpWBeqTSZefaWtF7M zXUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=I5QTm7Qs; spf=pass (google.com: domain of linux-bluetooth+bounces-283-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-283-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id on7-20020a17090b1d0700b00285b940b290si884393pjb.190.2023.11.29.00.19.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 00:19:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-283-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=I5QTm7Qs; spf=pass (google.com: domain of linux-bluetooth+bounces-283-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-283-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 5D7BEB20FE3 for ; Wed, 29 Nov 2023 08:18:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D4CB411CA6; Wed, 29 Nov 2023 08:18:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="I5QTm7Qs" X-Original-To: linux-bluetooth@vger.kernel.org Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4A588172E for ; Wed, 29 Nov 2023 00:18:43 -0800 (PST) Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3ASNMG8T017920; Wed, 29 Nov 2023 08:18:32 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=r32vH0KrCsIt6cQvLl0XN7mhhoRDFangyFDr84YdERM=; b=I5QTm7QsJtM/uwXO3jFIKlmCE14a80YgkWUf9OoZmWZ+vBPXmKwcw8+5VR1EasT5jTua tL0O08ua5WU1lMWA7MEJPYTKmW1jHIVqfepneirufDnW26uyqtiywRtpG9rDiQxhRwqK 82UySq2Qs1EE5r/qnELKGSCBKVFtNI5/86Elh4i14t7yv0JHCgNc8gVWu2PN3wbOSWBJ es7QUV+BfKhC+nflOOxJUULwU/LHSU+pV3u7C137/KWGKq4bVNeruGVRO5h//f+MuLo7 hb4R1O1r1uu8RUL00Ig5eOdLyFEIMxVPlMvuaHEObhryUFZkS7/KntpZYAL4UGrsL3Q8 3w== Received: from nasanppmta01.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3unekyk2ja-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 29 Nov 2023 08:18:32 +0000 Received: from nasanex01a.na.qualcomm.com (nasanex01a.na.qualcomm.com [10.52.223.231]) by NASANPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3AT8IV0x027947 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 29 Nov 2023 08:18:31 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:18:29 -0800 From: Zijun Hu To: , , CC: , , Zijun Hu Subject: [PATCH v2 0/2] Bluetooth: Support SCO offload for QCA2066 Date: Wed, 29 Nov 2023 16:18:24 +0800 Message-ID: <1701245906-10660-1-git-send-email-quic_zijuhu@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1699251565-28759-1-git-send-email-quic_zijuhu@quicinc.com> References: <1699251565-28759-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: nasanex01a.na.qualcomm.com (10.52.223.231) 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-GUID: PPHia7XH93nlLDGwVIEDfSHYGK0rrBUB X-Proofpoint-ORIG-GUID: PPHia7XH93nlLDGwVIEDfSHYGK0rrBUB 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_05,2023-11-27_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 mlxlogscore=444 mlxscore=0 suspectscore=0 priorityscore=1501 malwarescore=0 lowpriorityscore=0 impostorscore=0 bulkscore=0 clxscore=1015 spamscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2311290060 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 V1->V2: - Bluetooth: qca: - - Add and correct inline comments 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