Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1376173ybb; Wed, 25 Mar 2020 22:45:41 -0700 (PDT) X-Google-Smtp-Source: ADFU+vuNmGEgXBgs43gGEpwCgOxh9c6dvT2Ukc1phZFlT3hpxgTDcX4o566IFQ7Gjr6uDAT7f41K X-Received: by 2002:a05:6830:1e10:: with SMTP id s16mr5126472otr.222.1585201540967; Wed, 25 Mar 2020 22:45:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585201540; cv=none; d=google.com; s=arc-20160816; b=cvoXWfeL3n/5QnwqW7lQwpMd10Ai4iUd233uZ4PZM7N9YaZeyrTHugdfoxa1hJZRv1 VmXWJZ90wVjkTog8ViHH8alNQIJNb++wgp2vCo4OkXxP4lQFATlLopnFbsspgHfElm51 dY6zv3zP5hpXF5eF/bu5dETH1GLfFTN4b9kK1UbU2FHmGAtKyWT/pIcNvsKkXPt7sOUK lBcmMzznzbEKDpLo6tdOACclAjX7udM/r9CAMhXkNds58JQoUJSoHWuHFUlQTBE410mp H4mXpJPLKdmei8fl2SyE8WrCN7BUfSRuVaE+Mb2hZQP6YBHVQP/S36DOZGTGBkXjIUUb TFsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=bP9A1YZQDo91LDYo/6KoY0c2wBmpDuHg+6Vks+B9y90=; b=c4LskuelqDCDENvXOT/psoGfsgJfl9w5WB2Ki/mazd8dy1mphqo6u0By3PduDduSz+ YKYcaiZBIRkK3K/mdHcojSMX6ffIpxnHZUFIn+/YRWv0Ve937YBxp3DI60bjrKsMyrnv TaSBLny3in/FK9kOtXjKFKSxRqBQdO1IMmw3EQhYw1PQDZKCkJEFj3iNIU+1ozVXH5Tm cF6s4Qrw/K0+sl9/HoFnD7x1P38CUO4S3zAjZfxWO8xcY+j7mWLsDvLghZ0d39zn3Eni HPoZpqj5bDuXi/Ml57FVZfOvM9WVcKgyvbV4BWO4YpIcMM068ZWhOEPAuzZG2Mp3jya+ tE7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="XC6J2i/F"; 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 o8si590133oig.189.2020.03.25.22.45.28; Wed, 25 Mar 2020 22:45:40 -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="XC6J2i/F"; 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 S1726338AbgCZFpX (ORCPT + 99 others); Thu, 26 Mar 2020 01:45:23 -0400 Received: from mail-pf1-f178.google.com ([209.85.210.178]:35763 "EHLO mail-pf1-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726138AbgCZFpX (ORCPT ); Thu, 26 Mar 2020 01:45:23 -0400 Received: by mail-pf1-f178.google.com with SMTP id u68so2246676pfb.2 for ; Wed, 25 Mar 2020 22:45:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=bP9A1YZQDo91LDYo/6KoY0c2wBmpDuHg+6Vks+B9y90=; b=XC6J2i/F0WRhw9aQeuGQ/abxXmpETM+76JaP3zU0LH2dA8EVb4SkfS5+OE7Y9X3UhO 13DhHAikYxzxifdgGQE/6pidn+E3YVBHiYs4iWfF/HzeULzHQvAEGIqcd+sAVIm20Ymb 0X/YTYTrhpFgddL0Serq3mb7y/GuPQYa7f0M0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=bP9A1YZQDo91LDYo/6KoY0c2wBmpDuHg+6Vks+B9y90=; b=gKcM1+OM5lNOzIPug/B55J+1oVS2f4hNwWLwoBAGHn+yGYdYRsI60FmOIf2yCDRu85 IqCUNkSjm9n1XvENfVJHa+qSjlC2upvhf/N2zOlxq857LvkBkhzHTTa1UauZILS7dVcU rW8/4GI30ZTwQmG7Eb/FNaG9/TmetO/f3R4Q2shzY0zP+K3306O78DIZfjmhrrCpDuSM a+ZpzhcshScyLtg8qPr1cV4wgcxEFyFCYO5ttekSVNClZLzfF2ZI4yS+eP7+YkmF3eU2 QNsbok/e52nPo2+4Eh/HxwdAmcuaXppUyZBIAbviOPSuHuVG9x8fspmkofvuA59Uzghn L3Bw== X-Gm-Message-State: ANhLgQ1+sWP9TLjRUG8Uhm4xamiDswRUpUwrTEqNSUikB3FYNz+mGmPv PZvVFbtm0Ihke+Po/q3LFN9DwQ== X-Received: by 2002:a63:cc43:: with SMTP id q3mr6947155pgi.63.1585201521752; Wed, 25 Mar 2020 22:45:21 -0700 (PDT) Received: from apsdesk.mtv.corp.google.com ([2620:15c:202:1:e09a:8d06:a338:aafb]) by smtp.gmail.com with ESMTPSA id d1sm727302pfc.3.2020.03.25.22.45.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Mar 2020 22:45:21 -0700 (PDT) From: Abhishek Pandit-Subedi To: marcel@holtmann.org Cc: linux-bluetooth@vger.kernel.org, chromeos-bluetooth-upstreaming@chromium.org, Abhishek Pandit-Subedi , "David S. Miller" , Johan Hedberg , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Jakub Kicinski Subject: [PATCH v2 0/1] Bluetooth: Add actions to set wakeable in add device Date: Wed, 25 Mar 2020 22:45:16 -0700 Message-Id: <20200326054517.71462-1-abhishekpandit@chromium.org> X-Mailer: git-send-email 2.25.1.696.g5e7596f4ac-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org 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