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=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no 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 DE034C2BA17 for ; Mon, 6 Apr 2020 18:05:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C443F2064A for ; Mon, 6 Apr 2020 18:05:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726720AbgDFSE5 convert rfc822-to-8bit (ORCPT ); Mon, 6 Apr 2020 14:04:57 -0400 Received: from coyote.holtmann.net ([212.227.132.17]:58428 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726436AbgDFSE5 (ORCPT ); Mon, 6 Apr 2020 14:04:57 -0400 Received: from marcel-macbook.fritz.box (p4FEFC5A7.dip0.t-ipconnect.de [79.239.197.167]) by mail.holtmann.org (Postfix) with ESMTPSA id 37C06CECC9; Mon, 6 Apr 2020 20:14:30 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: [PATCH v2 1/1] Bluetooth: Update add_device with wakeable actions From: Marcel Holtmann In-Reply-To: <20200325224500.v2.1.I196e4af9cde6c6e6aa7102906722cb9df8c80a7b@changeid> Date: Mon, 6 Apr 2020 20:04:55 +0200 Cc: Bluez mailing list , ChromeOS Bluetooth Upstreaming , "David S. Miller" , Johan Hedberg , netdev , LKML , Jakub Kicinski Content-Transfer-Encoding: 8BIT Message-Id: References: <20200326054517.71462-1-abhishekpandit@chromium.org> <20200325224500.v2.1.I196e4af9cde6c6e6aa7102906722cb9df8c80a7b@changeid> To: Abhishek Pandit-Subedi X-Mailer: Apple Mail (2.3608.80.23.2.2) Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Abhishek, > Add new actions to add_device to allow it to set or unset a device as > wakeable. When the set wakeable and unset wakeable actions are used, the > autoconnect property is not updated and the device is not added to the > whitelist (if BR/EDR). I am currently preferring to go with Device Flags for this. See my mgmt-api.txt proposal that I just send a few minutes ago. Regards Marcel