Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2027149ybb; Thu, 26 Mar 2020 19:59:57 -0700 (PDT) X-Google-Smtp-Source: ADFU+vu/5CBEw5ML1Ywy1xVOZ/FTzKa09zkd+2aODGnsEEZi4zpp5mmQIWsBLAbyDIToPe2QfYcg X-Received: by 2002:aca:4286:: with SMTP id p128mr2493525oia.29.1585277997139; Thu, 26 Mar 2020 19:59:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585277997; cv=none; d=google.com; s=arc-20160816; b=aqK/bKBvQYeYPq/MiEAQAbJr6ejYawaI+ELy+mdiHRpQCDFBMR4Sk5P0EXZSYJnDiE UlsrLxKuL+UOtnTxrE8ZsjlHOMDOL1kZE8++nEHxzmXyWhTLreuJnFjMqExj+CPrN1Kz VM6JvBe6qeiBWBxkw33uHeTbG1cwbymMUhFNeZHAXvpFnLRyd6U7ePRsbsFXoIt/ksQ6 Tk7yAeia5fR+TuKQhB+fj7HeaxCDEzKBAc3wtoHHpDPBhHp+pcqvtjv1M5JXmy3ELPZK FNbPBOF9mMuWQG+SeRUnX24Hwcz1a0lLWTwwpmjenF4qjvqVYZQuzWpswvCB395ktXta i7FQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=efTQZuBY/BdGfCfIti/x+eiTAFDqkj9PxcQRTVTmyvU=; b=Rdq2ZL9OOPBnUYS9VWaX0C7mK0qPZtC9hVa5yVWYxk7nkPl4FL6ekXlLIk92SoO+G/ NLkelIU0Le0VIVSw9TEK8EuurPF3afEcScFBzjcRDsi8LscQvuFj4yzc+mOZY5f/gFJt KOFrTaZi6UoSfqhLREUOO8TmKMqINRaXps9a03OJ8t+7Z1LqACqISve86a18ZezfXIlS RTkzSE2ZkCX0Y5BKLipsOlkM9oD3SaXMDePRmW7ocea8v/MnpyWgn1YweSHLo9YBJlxh Z13tuRUBfnhfmoQpfX+lyou9emZ+dwqMO3AVCjpUfJACQPwrc6GIH1U3NS+Br4kH0u5d TqZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=PN5kNO2Y; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w6si1831132ool.11.2020.03.26.19.59.29; Thu, 26 Mar 2020 19:59:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=PN5kNO2Y; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727446AbgC0C71 (ORCPT + 99 others); Thu, 26 Mar 2020 22:59:27 -0400 Received: from mail-vk1-f194.google.com ([209.85.221.194]:33599 "EHLO mail-vk1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726496AbgC0C70 (ORCPT ); Thu, 26 Mar 2020 22:59:26 -0400 Received: by mail-vk1-f194.google.com with SMTP id f63so2326956vkh.0 for ; Thu, 26 Mar 2020 19:59:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=efTQZuBY/BdGfCfIti/x+eiTAFDqkj9PxcQRTVTmyvU=; b=PN5kNO2Y7Hatz8rIRcoPnXIU8mrZax4gEuaM4gYGUvAR0T+yaNwxlUB4HxBPh8/tJD QlaJ57p+hjcFxR3Hce0XwoA+X/KiThWplYxgAGee7iJHAFxDwY2d0ahgVf7D6aC4uXWd 8u7hA7WRnVXCv44NGJxiFFZWUulBbnxQe1yXk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=efTQZuBY/BdGfCfIti/x+eiTAFDqkj9PxcQRTVTmyvU=; b=EJ3rP6JzprcysMMDpZ6gziTyWuOpor92+kSRlRTZfGTTDX+qTwpeaAcGR1n7S9zDlj 4NO4HyvBZwlH192oxoHm6E1oXKVBqdZUOYLPulwAJXi3y1NC4OlbOEXGhSt9XWw5/wFP KXUn5N0LtXOuUScVHAHfjJbC+TxwOZFkuOLMgXujymtsKuIhLzMPqNDOBybaQwBuxIXF Q/UnWseopU2VmMg/7c2KAviuisbgTO0l29OPBl4Xkx+eSXZ+GoxhDxjZarPiaA1JqBUc 5nDSaywJr1PU2pNuMjAcMG78Qki28Sta6HkLAQcRBybxSHtQS/h1VBbwuRRcA9H0muUd 3Mqw== X-Gm-Message-State: ANhLgQ2dLcyby5K4g22QaWHtmeYjsQW7nszPcKMqf9O+3X/nKAEnpfW7 ++HDMKeiovN5yvb+G6HXrVKdWUT1+asP1TV8JU1Ziw== X-Received: by 2002:a1f:2706:: with SMTP id n6mr4191470vkn.88.1585277964583; Thu, 26 Mar 2020 19:59:24 -0700 (PDT) MIME-Version: 1.0 References: <20200326054517.71462-1-abhishekpandit@chromium.org> In-Reply-To: <20200326054517.71462-1-abhishekpandit@chromium.org> From: Abhishek Pandit-Subedi Date: Thu, 26 Mar 2020 19:59:11 -0700 Message-ID: Subject: Re: [PATCH v2 0/1] Bluetooth: Add actions to set wakeable in add device To: Marcel Holtmann Cc: Bluez mailing list , ChromeOS Bluetooth Upstreaming , "David S. Miller" , Johan Hedberg , netdev , LKML , Jakub Kicinski Content-Type: text/plain; charset="UTF-8" Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Marcel, Does this look ok? I'm working on the accompanying Bluez changes as well and will send a new patch if the mgmt changes look ok. Thanks Abhishek On Wed, Mar 25, 2020 at 10:45 PM Abhishek Pandit-Subedi wrote: > > > Hi Marcel, > > As suggested, I've updated add device to accept action 0x3 and 0x4 to > set and remove the wakeable property. > > Thanks > Abhishek > > > Changes in v2: > * Added missing goto unlock > > Abhishek Pandit-Subedi (1): > Bluetooth: Update add_device with wakeable actions > > net/bluetooth/mgmt.c | 57 ++++++++++++++++++++++++++++++++++++-------- > 1 file changed, 47 insertions(+), 10 deletions(-) > > -- > 2.25.1.696.g5e7596f4ac-goog >