From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E1400C6377D for ; Thu, 22 Jul 2021 14:45:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BD40D61287 for ; Thu, 22 Jul 2021 14:45:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232400AbhGVOEd convert rfc822-to-8bit (ORCPT ); Thu, 22 Jul 2021 10:04:33 -0400 Received: from coyote.holtmann.net ([212.227.132.17]:40691 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232328AbhGVOEc (ORCPT ); Thu, 22 Jul 2021 10:04:32 -0400 Received: from smtpclient.apple (p5b3d2eb8.dip0.t-ipconnect.de [91.61.46.184]) by mail.holtmann.org (Postfix) with ESMTPSA id 4C575CECE2; Thu, 22 Jul 2021 16:45:06 +0200 (CEST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.100.0.2.22\)) Subject: Re: [PATCH BlueZ 2/8] doc/mgmt-api: Add support for LE PHY Update Complete event From: Marcel Holtmann In-Reply-To: <20210722054951.8291-3-ayush.garg@samsung.com> Date: Thu, 22 Jul 2021 16:45:05 +0200 Cc: linux-bluetooth@vger.kernel.org, anupam.r@samsung.com, nitin.j@samsung.com Content-Transfer-Encoding: 8BIT Message-Id: <63C31A82-0E58-47DA-8F3D-9B1C484E5095@holtmann.org> References: <20210722054951.8291-1-ayush.garg@samsung.com> <20210722054951.8291-3-ayush.garg@samsung.com> To: Ayush Garg X-Mailer: Apple Mail (2.3654.100.0.2.22) Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Ayush, > Reviewed-by: Anupam Roy > --- > doc/mgmt-api.txt | 29 +++++++++++++++++++++++++++++ > 1 file changed, 29 insertions(+) > > diff --git a/doc/mgmt-api.txt b/doc/mgmt-api.txt > index 5355fedb0..f7379fcd9 100644 > --- a/doc/mgmt-api.txt > +++ b/doc/mgmt-api.txt > @@ -4910,3 +4910,32 @@ Controller Resume Event > Address_Type. Otherwise, Address and Address_Type will both be zero. > > This event will be sent to all management sockets. > + > + > +LE PHY Update Complete Event > +=============================== > + > + Event Code: 0x002f > + Controller Index: > + Event Parameters: Address (6 Octets) > + Address_Type (1 Octet) > + Status (1 Octet) > + PHYs (4 Octets) > + > + This event indicates that LE PHYs have been changed for this > + connected device. > + > + The PHYs parameters are a bitmask with currently the > + following available bits: > + > + 9 LE 1M TX > + 10 LE 1M RX > + 11 LE 2M TX > + 12 LE 2M RX > + 13 LE Coded TX > + 14 LE Coded RX > + > + This event will be used in case of autonomous PHY update made > + by the controller or HCI_LE_SET_PHY command succeeded. > + > + This event will be sent to all management sockets. As mentioned in the code review, I don’t like doing it this way. Regards Marcel