Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp673447ybg; Wed, 10 Jun 2020 10:33:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxkWPeHhoP0WeI+STcymlGZrKUlYrgtOClT4X9x/p214NvkEbs541LYCH2krIjLO5FyCfua X-Received: by 2002:aa7:c486:: with SMTP id m6mr3546292edq.234.1591810422021; Wed, 10 Jun 2020 10:33:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591810422; cv=none; d=google.com; s=arc-20160816; b=AnKu7Ja/MbtbwrujOLEMcg5chHuUaDbl2Mia5SylQ9rMQpZNZPMApymCgtI4eoldf3 d0s4eBbEaeYR/+cyWSTFCKL/uHa4jrToK3xQcMfE1rremgCrPUOKjq2tYmzGgph9Uq/t 9LxJrqpWwPeCou3LDIZjdbt89dC/SL8YLThPm0ByE1pibEwzufA9BgVrCKNxnNTGcwi9 rR3d6MKGyfTZd8FqvfAWUJCPbYfIubAZ6LkV4G0bTFprKgQBVliEcEuSSxLzYq2wUeoN eEuPH+Sbvyf+TJokAYXle07RfiXy95kwHs6gy6yHL/MfQYRkyqZ/tpMSRJ4p6TYPQOuw 6kWA== 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=ndxJ2dUG7tcQpwf9b8QyaY0jspcb89QKZoq+HINk/ZA=; b=av2TSrjBUfvvCrpOtiqYgCQVRKi8f5OqNxFOlB0Apx1PDAn/fUFE9xCIUssyaZ4LNJ Bj54sLgzfVyx1zxrFN0uYrECY4geyKyoKILzo07bJi7Q6XJBBs3GcVjRw9FjiNza0bnU d8LKAkqffafMt6wVeRjo/jvG/r0ORLdmhPUlGDSmBxn6xVrcG5aARNMyCKO+2vGO5i7U aUFCmkkUiDvH+qg/iR89swjonZyJ2Zv38mgbimAe2nNFy15LJwZkLQ/rMcCb7pr/WYIe 5eWd9xKHousdpgqpQdvsD3akLr2CBYFgcWDV62+f+9UqvCUxorFN8kRxD62XWz2t4pUb WdQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=JX0IbVHC; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id j25si395854ejs.86.2020.06.10.10.33.16; Wed, 10 Jun 2020 10:33:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=JX0IbVHC; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 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 S1726620AbgFJRbx (ORCPT + 99 others); Wed, 10 Jun 2020 13:31:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35476 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726157AbgFJRbw (ORCPT ); Wed, 10 Jun 2020 13:31:52 -0400 Received: from mail-vk1-xa44.google.com (mail-vk1-xa44.google.com [IPv6:2607:f8b0:4864:20::a44]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2CE66C03E96B for ; Wed, 10 Jun 2020 10:31:52 -0700 (PDT) Received: by mail-vk1-xa44.google.com with SMTP id i1so780938vkp.8 for ; Wed, 10 Jun 2020 10:31:52 -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=ndxJ2dUG7tcQpwf9b8QyaY0jspcb89QKZoq+HINk/ZA=; b=JX0IbVHCvLJ/Prz30N/rwWhjOFgrM9ss4p3zsT7TInCT41bUgTmRfrf+UeTpU6QLID xrDoCDSG7Qa19K9diMRXXwq1AvlBnT/Llb2dlRL/5WTNXOKOX3C0Anqr3kh2puq7UA1G UKWgSjr42Gz7x9Zph2SK4EeIzjSwRDE1NMC9o= 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=ndxJ2dUG7tcQpwf9b8QyaY0jspcb89QKZoq+HINk/ZA=; b=Ckrka5wTGsOmql+bMhZiTxd2V6wxwMU9B/loj7heixeNwP+USYiuUrbtt2m3yLH2DD g6cPKMdoLL6Mz5fNBNnxAiTnkEIx7yRI7TwidVWzbWv/I7XERJTyoDQSja2/j9GefDWY vkMlT4i3OVFjXVY71ntOzJokpOzo+Q1LPa0uAZrsaDDhgQqe+eTk5cpAcV91xLs6KcCs HZILAvpO3kEEzq/Hl2XxCkpbZR/S1dwO6cY1iz775O5aKS/WuSWSTNPV6Wr9XxOit/0M +aE2+xbimoP+ZIQYgxNuxTDmVSIdLBwvotXec/fexn8aJjNLHhoMDWWUjwyLD/EyHF10 VGeg== X-Gm-Message-State: AOAM531U2rabHxDzehaFKgi2MAwyugHSu0dWH8yO0PbrSATwPYXwllhl P7zjsyfZ/ai0YdsYj3msKQ6dNuLrdyIfrNDpdV0nQLIsiTE= X-Received: by 2002:a1f:9946:: with SMTP id b67mr2509353vke.100.1591810311173; Wed, 10 Jun 2020 10:31:51 -0700 (PDT) MIME-Version: 1.0 References: <20200406180331.891822-1-marcel@holtmann.org> <8FE42946-ED27-4F9F-8F30-2744D0AC2AB0@holtmann.org> In-Reply-To: <8FE42946-ED27-4F9F-8F30-2744D0AC2AB0@holtmann.org> From: Abhishek Pandit-Subedi Date: Wed, 10 Jun 2020 10:31:39 -0700 Message-ID: Subject: Re: [PATCH] doc: Add commands and event for handling device flags To: Marcel Holtmann Cc: Bluez mailing list 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 Thanks Marcel. Do you want to handle the implementation in the kernel or shall I send up a patch? Abhishek On Wed, Jun 10, 2020 at 10:23 AM Marcel Holtmann wrote: > > Hi Abhishek, > > > Coming back to this device flags idea, I think I would prefer the > > original design over adding new management commands for each flag. > > Bluez will just have to maintain the current flags and pending flags > > (i.e. mgmt call) to decide when to emit property changed events for > > the device WakeAllowed property. > > > > 0x0049 and 0x004A are now taken for experimental features but you have > > my reviewed-by for the next available values for the original patch. > > I updated the patch and applied it. > > Regards > > Marcel >