Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1448245ybt; Thu, 18 Jun 2020 08:55:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyNNZt/kDurNkDkyU3afIESVzZbSWXj6xIpsY2q9p003psbKEtsGS483DBw1RPiuApQ2MQA X-Received: by 2002:a17:906:8488:: with SMTP id m8mr4751339ejx.236.1592495732461; Thu, 18 Jun 2020 08:55:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592495732; cv=none; d=google.com; s=arc-20160816; b=XHYApOq24ePjeef9PLaduv60Td+wwsaXsYT6gQcl7TO4oZm3ijEGXHzs98ptHVCnQ/ 3iibmXCX5JbN3IbRkP0Ba/Jk7qA0hnWkptXr5jEImatCAf1yXGkVjSy4MNPCzKHMPU0D H6KREnvngn7XZ8WugPZUx4JY9vg6TmY4HHO0mIXIOOGlQqTYzIW3TKoqxBS9BxPB4IkM jJAa3aIalN4sfilKLsIbZfSAllyvyzrHWoo0zjxVOf+3fe8y+yn5NHBT/oHRZe/vKuh4 wtW/sp9yCtwfjglqlCytetZ9Ybz+gliDH/BJxUlxE5mGooQe5BZFeTKbzwGrgzYGN7Sj 7Drw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:from:date:dkim-signature; bh=E7+l03fsBHCYz8VsMiL0F/uUy+gdwbJV4YORJA1NV58=; b=t6zXxyAxZlvoXD3Pp1GGNtN0Fp9tlEg8RsrJktMPTpUXvmWIp3mlfOacJ0iZRsOt/5 ezlttLQ7oPclS9OSWXK8pUyeD3kGlIHOZ3dlufGiUibInpy4/c6MKGU1rEE/v/sPHBDO XxLbHv8cI4ivMFgS1KSskBPEjBvxAsNNRZ8QlMzpK2EknF7QxRUBhbgp53SmuNB8Ps2u CkCHyKdLpzmhe3GSqMufCOE2xWoM9oyXv3sVs+IauUxhFJDGxnsjvSHpX+QeS7561aIz WeDwQMM8U2Ak/qzUqeEEAwgohHJh311ccfZwMd4DJ74FjkGh1dgEqZokdbnZwjOgjjKl 5fCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@silvair-com.20150623.gappssmtp.com header.s=20150623 header.b=gi5PeLgb; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k12si2241013edi.198.2020.06.18.08.55.07; Thu, 18 Jun 2020 08:55:32 -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=@silvair-com.20150623.gappssmtp.com header.s=20150623 header.b=gi5PeLgb; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728336AbgFRPyS (ORCPT + 99 others); Thu, 18 Jun 2020 11:54:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40172 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728090AbgFRPyS (ORCPT ); Thu, 18 Jun 2020 11:54:18 -0400 Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DF72BC06174E for ; Thu, 18 Jun 2020 08:54:17 -0700 (PDT) Received: by mail-lf1-x129.google.com with SMTP id t74so3786665lff.2 for ; Thu, 18 Jun 2020 08:54:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=silvair-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=E7+l03fsBHCYz8VsMiL0F/uUy+gdwbJV4YORJA1NV58=; b=gi5PeLgbguTHZLL+aZpArO2k+fWJXPZrYxYlVQbEt12jJzFYMbKTlKbgzo0/6Iwurj bqeJn0IUs/gqI297WBAnZ5SgIPB/5jq224SyVPXgLr+H8d5AyEC2w+cEzDtuA5CfTn4G dkM3vojgPx/ItFjnQ7WOpTPNBk7jug+vy3KP3NG1EuXsvb5T3Uhrpb8xRbhC/uz6T8h7 4VwmR+LFiahv//buqfFy97oyNnqE1RbTxwWve73bDSvAU1KFuoTj7mzMFeil63yq1rMe 0w9HmSURnGWRYuNOHG3eQ50Cu/+bDkEsWU6TLP1CS2E6t9xpv3kDgey+2KP+4PaOsRNS hU7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :content-transfer-encoding:in-reply-to; bh=E7+l03fsBHCYz8VsMiL0F/uUy+gdwbJV4YORJA1NV58=; b=K2UrH83a5mr3BwOShnpIzMS3lnAhSaH6F1nQrX1YoU3eqSoOzzVaLQ0ZgGbHvv7GUS PC28jbNVXD0f8Tz3aGvwrYvhKJFm2f63hsYLsUE0CsRocIdJBhxUI/18iRNobU/6xEdd Ri+5Foxi4cKgBwNgoAL2nUJR6TwaR7p4uyhmQ7VPr+3f2fE5CNgHXf1BsnmOOomIR6I+ LKZ6Xk/AwXhgbubXqcLHI+DPfcjXDV7TarGvawlEqqKrgzoTb3on5BFLqrpxrknNPO9n eKCc6Mys2om3FAbky24MlTQt2y1q23y/oTpWhFguhPK9vsZLanNDZT7rnG8qp2YcMI/+ AGRw== X-Gm-Message-State: AOAM531KcUcQKPYPun6ygfE8w4R+f4xWvFiBSY/1qiID+i2jxrFoyni8 Cwr3eEUNCEyt9xUV6dTFaTgy5g== X-Received: by 2002:a19:4945:: with SMTP id l5mr2751845lfj.12.1592495654592; Thu, 18 Jun 2020 08:54:14 -0700 (PDT) Received: from kynes ([217.153.94.18]) by smtp.gmail.com with ESMTPSA id r17sm804544ljd.0.2020.06.18.08.54.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jun 2020 08:54:13 -0700 (PDT) Date: Thu, 18 Jun 2020 17:54:11 +0200 From: "michal.lowas-rzechonek@silvair.com" To: "Gix, Brian" Cc: "linux-bluetooth@vger.kernel.org" , "Stotland, Inga" Subject: Re: [PATCH BlueZ v2] mesh: Add deferral of Attach() and Leave() if busy Message-ID: <20200618155411.coomela7gawizxxl@kynes> Mail-Followup-To: "Gix, Brian" , "linux-bluetooth@vger.kernel.org" , "Stotland, Inga" References: <20200616181436.50319-1-brian.gix@intel.com> <20200618154325.eaudqfy4inbjl7oy@kynes> <12a59828baabec5621917d283e03338d796715f3.camel@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <12a59828baabec5621917d283e03338d796715f3.camel@intel.com> Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Brian, On 06/18, Gix, Brian wrote: > I am using the user_data for the Attach and Leave call (which the dbus > system always passes as NULL) as the indication that the timed > deferral call is just that... Otherwise if we *never* get the > JoinComplete response, we will forever loop repeatedly re-deferring > the Attach/Leave. Ah, right. I missed that part. Thanks. -- Michał Lowas-Rzechonek Silvair http://silvair.com Jasnogórska 44, 31-358 Krakow, POLAND