From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 89B753A9620 for ; Mon, 20 Jul 2026 05:41:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784526077; cv=none; b=GSj402O/rNgKiouliSbxV7uK9ZMuRnLxdFrmiJ5Uohio5QWYHnrRc9/gdPo2r4+Xr3h93iVORxYSBWrQjLWCBqtcD2DdONWKDgiXLmr69VHKLT0jNJdMNElVdErw/5nTvFdGhdLQJkYuD+uH4hQ08T3AhVVXz3bmiLxu1rNuG8k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784526077; c=relaxed/simple; bh=Ie84N1/e0y/o5k01PGOm8Jrdz4zFuXU6nJ9FWbLGFMk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=P0H3NodfCVApBphXxOkROSta3ahqwHpKrASSCKz0tlDkVcICjn+JEewaUIR67zpw5A9GiCS3Mk6Zvnqu1/ceoF5NueMgQS0ikHJEFr7jy1zBH5hDlFpTp1cwGBTmawbx1E1NXVXXYWd6tz9cz+ENXf9zuG0tHYeS2yDV64jyAyw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=PflUCm7L; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=iFfjzkt/; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="PflUCm7L"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="iFfjzkt/" Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 66JNsHgo939222 for ; Mon, 20 Jul 2026 05:41:15 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= DsL1jXntAxy/QFhOd1qLzLBeV25McAd0uQLgzy6lPf4=; b=PflUCm7LlEq6FtvX TrOQWOHczUnKXcEhv6aPupQTLx4qBNj1UGwc/AHvh0EKxKZH8xjCSy23b6hi9ceY /gIVBz2bptVkW+LLlm9ZvgZ+Ml3wuRvwAIg100LhTWejxrnqRqoV/SV6asFIoFRe jEj6j00D8aqGlnbESgfMgTOnJe5zThPPz+CCKf6IopojaaRtj+l/+McQUSr8l1XY FpGayMiKMJ5ZhWyyQ59lvXFAukunYY6mz8ux8kV//LcQzhfiMOADbsD/PCGwX4ZN TfKxu2p/XgJVPWoIIvh5fRY6J1ZUXNf9LwL/Iu0iS6IBZKM3KlC3S+8BpXmBE7ge qzNNbA== Received: from mail-pl1-f200.google.com (mail-pl1-f200.google.com [209.85.214.200]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4fg2c6chmk-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 20 Jul 2026 05:41:15 +0000 (GMT) Received: by mail-pl1-f200.google.com with SMTP id d9443c01a7336-2c6a72d672aso32028115ad.1 for ; Sun, 19 Jul 2026 22:41:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1784526074; x=1785130874; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=DsL1jXntAxy/QFhOd1qLzLBeV25McAd0uQLgzy6lPf4=; b=iFfjzkt/ifJ5fG+D6nlZUUr6JaRGBrW+OemoWdlW7vc4ZQr/w4NhV3pyRu+K7oM2Mc tpOxz+1qlFNU1rE05kUpTOQnME5AjY+9f6dG77ADtR3o8qYbUDwtP98G4srMC6Lc2O+X irUBQ1uPJm7wMDXCzsB4xl8ElaOQ0pCDkhbV6/p3SPoMhrlM6TMDGBkWeBT8pn+rDGJg f4o7PpLtQ7eJo0AFp8L1YZwICohznXz6BMiPa1SkBM+yiKQCXiVmQSqhEDIdmDTyhYnK 6uDXnOxZSLwajjbSKEDAzY8CXsVvfRfYI9FA4X15k3htJ+z+dxKWUaqdXKHhR8DWVlys 9Sug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784526074; x=1785130874; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=DsL1jXntAxy/QFhOd1qLzLBeV25McAd0uQLgzy6lPf4=; b=L7RwarC2woDJ3f8pLt7ujOTUqoNU8+oB1K2B7CvNiEy3UZLvUgA6YHy3h+XhUopoiz tOYYlLRsLLgsYv9EYCsKx+lpcp64UkqbLStcCrL7Vop9Qorqxbqdlh5f1GWmhWfq2LsL jka0svSd63CY6iggICcRove3/wZ5ETsbGeyLE8Kd1xXUITRN0MPIe6mZGqwDYLZ2nao5 zYrNryqVpX4P2CyNCI1wVeLoHAtFKbKMnP0teVWs4FNqIVT8MUp+U1D1q+gHXYxU6J/e 6bRhQRD20CM/8U2eJ5fYYwoQ7sFooqayicDK8WexzKkPfTu7W9D65e+UIEWA8Fe5BBHR SKKg== X-Forwarded-Encrypted: i=1; AHgh+RrlYWv6geru6ot2nXKGbTBFikp+vX1mGm48XuIYj5njPJLKYNpoKXevd/8Q58lEfEC45tul3L83KLOyxDk=@vger.kernel.org X-Gm-Message-State: AOJu0Yy/pq7IN/goHn18kPZEIqn6XivZ7pxqzCaCyTfCJUApr1SRyJGH vGkwndT/SthYjrUzjAXEBTd2QRgUrh5jzw77TKUFWNx9alyunLbQ5sD8fc7JZa+fz0Wdc7uHE7E IYD8biqBDl6Ir1/4cgh8eK4LB1BUjMPQhyJDFjwDS9hhJV22yan/EEihsDhwzJmn/YMwrzCeW4F c= X-Gm-Gg: AfdE7clrV/KDiterMxfI2q/YIRtmZ1a162hCszPsE3OB2QClZAnQL95SUzCcygsoOVd GwDrZBoDsXlBjJeL5mCcZtMda8O/sk+9pP44dP42Aa7Qlj07+nILxF4rk1m6Pfe5xAJ0Q12I+4x UXnoes47Bs/ox09sl0KzSS0brUW4YNlhkZUrfT3/9MOI22TclX/PGJyJrTlPvuM7ec2njfgwA9s WVKUuE0srtpjCRjFqjqZEpFCBVoKMEmM7VmpFKGR7wiw0l9obLUToarY8JjvBFewp89vYki/unK D5cC/nn3ZYrT1/YW42ypjbNIqbT3FGZPSTDhW8939DU722MklXQcksm+RTcv2oUxzvRwaZb0n6p 1cxtwXPSvXX7GH9FmqeY8+kpsy8k1ZG3+bRoQRixdX6vJdiM= X-Received: by 2002:a17:903:2d1:b0:2c9:99be:f011 with SMTP id d9443c01a7336-2cf34988a8dmr92559045ad.6.1784526074294; Sun, 19 Jul 2026 22:41:14 -0700 (PDT) X-Received: by 2002:a17:903:2d1:b0:2c9:99be:f011 with SMTP id d9443c01a7336-2cf34988a8dmr92558825ad.6.1784526073823; Sun, 19 Jul 2026 22:41:13 -0700 (PDT) Received: from hu-zijuhu-lv.qualcomm.com (Global_NAT1.qualcomm.com. [129.46.96.20]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-3142a1de301sm31907340eec.24.2026.07.19.22.41.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Jul 2026 22:41:13 -0700 (PDT) From: Zijun Hu Date: Sun, 19 Jul 2026 22:40:50 -0700 Subject: [PATCH bluez RFC 1/3] doc: hci-protocol: Correct mtu to &mtu for getsockopt BT_RCVMTU Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20260719-vendor_hci-v1-1-df2ac5a50117@oss.qualcomm.com> References: <20260719-vendor_hci-v1-0-df2ac5a50117@oss.qualcomm.com> In-Reply-To: <20260719-vendor_hci-v1-0-df2ac5a50117@oss.qualcomm.com> To: Marcel Holtmann , Luiz Augusto von Dentz Cc: Zijun Hu , linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.15.2 X-Proofpoint-GUID: 76VvFsTKVt-KU8KPPmbxg28cIWX_uvc3 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNzIwMDA2MCBTYWx0ZWRfX+ulgblTo5KW7 2Opv9q/miKb7lGoekd+IyJ2pWB2NepgsjxYJ1lXna/g+xioxrF+h2aXqThToZH7lJIYduF7fETA Y/RQiXk3okOAEEaHcV1370TCqFob4WDAgx4xUO03DUHzFPmkR4IgAeZrWi9LnP36azuQ2MZynjY FR9DZc6/FseK3SBMVMcjtAcr4RJCBbNp99elWqIUD878OaHQIoCnrDoF6smKULzhy51KaDrv5bf UoOurT3f1m8eT2y3JLZxw2HNUPMDoGFk55Atbj/Fdlnid9sIfhx6bzy891PdHsqUQIA2B6RFXNB +qSr2roqGCInca9IZ6I5hGtBUZnCu6qfuIJjxRPoOvTyUrKoS6Ap5p5bzwv49NCnT9HZgxBuwMT spl/fdBnIozK/ih0yRewpSIn+OBB27iGh2+hrOXrdCIRjYnB9oJZe9ApEaLDUmXc6HA0pM5we65 ZHn8FwSc4grzmz5JzDw== X-Proofpoint-ORIG-GUID: 76VvFsTKVt-KU8KPPmbxg28cIWX_uvc3 X-Proofpoint-Spam-Info: AW1haW4tMjYwNzIwMDA2MCBTYWx0ZWRfX09UBaeMajqWh OlLk0VR2IrR6SIq5BriHhR2dNIs4y+DkUf8qmdMsORt9r2yUssQs2BNw9wKgXGsew59FKEI0rtA SIKM9t0npjNq31HJ+76ESMi6UvbU0rk= X-Authority-Analysis: v=2.4 cv=CJQamxrD c=1 sm=1 tr=0 ts=6a5db4fb cx=c_pps a=IZJwPbhc+fLeJZngyXXI0A==:117 a=ouPCqIW2jiPt+lZRy3xVPw==:17 a=IkcTkHD0fZMA:10 a=RAioF0-LDSMA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=_glEPmIy2e8OvE2BGh3C:22 a=snjqleKXI9WN2fObb4sA:9 a=QEXdDO2ut3YA:10 a=uG9DUKGECoFWVXl0Dc02:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-07-19_08,2026-07-17_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 adultscore=0 impostorscore=0 lowpriorityscore=0 malwarescore=0 suspectscore=0 phishscore=0 priorityscore=1501 spamscore=0 clxscore=1015 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2607200060 For getsockopt(..., BT_RCVMTU, ...): Correct its parameter from mtu to &mtu. --- doc/hci-protocol.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/hci-protocol.rst b/doc/hci-protocol.rst index f28684655842..db10b35df736 100644 --- a/doc/hci-protocol.rst +++ b/doc/hci-protocol.rst @@ -134,7 +134,7 @@ Example: int err; len = sizeof(mtu); - err = getsockopt(sock, SOL_BLUETOOTH, BT_RCVMTU, mtu, &len); + err = getsockopt(sock, SOL_BLUETOOTH, BT_RCVMTU, &mtu, &len); RESOURCES ========= -- 2.34.1