Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp2469837ybd; Thu, 27 Jun 2019 12:57:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqyJKsTZUYmzEucjZkXSGbEbexy4MAXfhqgptN9sw5AHpVCJNOt1CxekqmKPW4n7nJZmpX4X X-Received: by 2002:a63:e506:: with SMTP id r6mr5454532pgh.324.1561665434128; Thu, 27 Jun 2019 12:57:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561665434; cv=none; d=google.com; s=arc-20160816; b=unBFd5hBP6Pv6aWD94OPV7aaU2tmW60Zalhnja1XekoBvha5fJCxsW3ak6SY3NggQ7 WIgN/5VVJEk2Ii7mMpftVLFVlqXz30/Rz5Or+7K9tY3dZinaElZ3MBU54RZDyVlqOwLH ogaRCj5YRSOyGsZ9DGI5WAuh46Yef50UrKvqbNqhAO0If66VXaAjsSZXmR6CvdibWSz5 IYGktn11MxQIoml5HFs075tYMyGLd0o3JxMkqBl362/DHU4MyKpOHfnNEoh+AcyLgHAI EgIQX8JFRy9m5z6JEmfbZ6iSbiJA6sOiApk9KL2KMFe90Pu82DtBgISj//Cp7Q9NY/J3 nuIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:mail-followup-to:message-id:subject:cc:to:date:from :dkim-signature; bh=aEey46qs5ZtoQZkQRW2ywNMMwsNQlvnxMDLg9ZnZjiw=; b=OKTNJwbsxc9GOvwRB0HL4in3GNlU5DBY83vo2Mg1yqRUEpE/58EmaiF6y51hzt/mYP YJHjFrpHUI5uZV6VUzNcAtrWxFhoTVkY/cvnP6N4lwFnY18kyD8kRvpleaibGA+KFk4I 7FQ6aKavGNF7anYgbY0HPpViaFDU7RTNCw/3frTKosAIVlDGaFJUyQaRU3AXDVlRIZFS W7SkU1rRyVjAV1jCF2tIsqe3hoLiyhBFdfsbFlOUz1FR55TlQG7ra/jU9/dQ+PJGp2EP aJ8O5G8APJPjzeJS3LcLjp5aA2Clo9+ifl5c3e/sSJm4/QuOVpnn5u138nfUWrzs0oHn 8IDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@silvair-com.20150623.gappssmtp.com header.s=20150623 header.b=k2JzJbNV; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m12si50100pgn.149.2019.06.27.12.56.58; Thu, 27 Jun 2019 12:57:14 -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=@silvair-com.20150623.gappssmtp.com header.s=20150623 header.b=k2JzJbNV; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726465AbfF0T44 (ORCPT + 99 others); Thu, 27 Jun 2019 15:56:56 -0400 Received: from mail-lj1-f194.google.com ([209.85.208.194]:45189 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726476AbfF0T44 (ORCPT ); Thu, 27 Jun 2019 15:56:56 -0400 Received: by mail-lj1-f194.google.com with SMTP id m23so3578295lje.12 for ; Thu, 27 Jun 2019 12:56:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=silvair-com.20150623.gappssmtp.com; s=20150623; h=from:date:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=aEey46qs5ZtoQZkQRW2ywNMMwsNQlvnxMDLg9ZnZjiw=; b=k2JzJbNVnIKN/cTzlgT9VFoSgElGBCvodbLKsU2hnOmWYMrz6s20xpvfDis58YxkEn XUe6nkKcumjyVy32NaC2aSs5DnrZOjA24ikp/JnGpUTlbeFbiN7Io3R8CyP16JMwJgm1 /Ka6t4nXeuEYW0sj/+kO+1Jmmi/FMq/VBhwREXlNah+hyBu+OtAIAJwMCCcf7o7zTFJm rajESCuh3AyKF5pvhxDUvaZbXJsobVnIy3XXojtJ4kmA2btHCUSWj1LMiYah1yjU3xBq rIWO2kWlqIdInVaQtgvzQ+B8RKV4Wx97sbMgQ4pu0ewgmsRcTfOCuUZiI2/xI9Dh/zVT 7rQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=aEey46qs5ZtoQZkQRW2ywNMMwsNQlvnxMDLg9ZnZjiw=; b=cXWI5eL3Xbhvsf91KSk1CGxsxhSWC1UOkfb1yLAdSNSMu0ifQmh8+Pl2OdtRRxcrsg fxVMXEHHkFVrOp2y2d9RZ6fIJ/hyczFP4eWRQC6b78+qkeT6UgGkidmTSlnUFHd+2xwx n9to/J+kUx+5Ky25I/+/0hojZuWe8td+z+Pbjt70I5Ch9k9wldNUeysHCoMjJbU30jtt WvBFcr+3c5JxNfs0v+gAjnzce25dVgtlPtun1uoVB0YZKvrjoYlS1em+HFtVz4DbV0Lk krCMzGup4+KUH72yYm1ZjuCbJOqmfkyOQmNlyvGCPOSQDZpkBcJI0x0lSfiisV+HcPym 5qhA== X-Gm-Message-State: APjAAAXYq/i2e1qGufO2jjVUdIi5KOMq+QEbW8iTPL9X/0Upvm0WH/EY 5N7hqCFOlC4aT9wMZinxsKcn+w== X-Received: by 2002:a2e:6c14:: with SMTP id h20mr3859327ljc.38.1561665414378; Thu, 27 Jun 2019 12:56:54 -0700 (PDT) Received: from kynes (apn-77-112-37-101.dynamic.gprs.plus.pl. [77.112.37.101]) by smtp.gmail.com with ESMTPSA id d65sm16525lfd.72.2019.06.27.12.56.52 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 27 Jun 2019 12:56:53 -0700 (PDT) From: "=?utf-8?Q?Micha=C5=82?= Lowas-Rzechonek" X-Google-Original-From: =?utf-8?Q?Micha=C5=82?= Lowas-Rzechonek Date: Thu, 27 Jun 2019 21:56:51 +0200 To: Inga Stotland Cc: linux-bluetooth@vger.kernel.org, brian.gix@intel.com, johan.hedberg@gmail.com, luiz.dentz@gmail.com Subject: Re: [PATCH BlueZ 2/4] mesh: Fix virtual address processing Message-ID: <20190627195651.7cilfv7aswyobdk4@kynes> Mail-Followup-To: Inga Stotland , linux-bluetooth@vger.kernel.org, brian.gix@intel.com, johan.hedberg@gmail.com, luiz.dentz@gmail.com References: <20190627033320.8898-1-inga.stotland@intel.com> <20190627033320.8898-3-inga.stotland@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190627033320.8898-3-inga.stotland@intel.com> User-Agent: NeoMutt/20180716 Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Inga, On 06/26, Inga Stotland wrote: > diff --git a/mesh/model.c b/mesh/model.c > index 9fd3aac6c..219371090 100644 > --- a/mesh/model.c > +++ b/mesh/model.c > @@ -55,10 +55,10 @@ struct mesh_model { > }; > > struct mesh_virtual { > - uint32_t id; /*Identifier of internally stored addr, min val 0x10000 */ > - uint16_t ota; > + uint32_t id; /* Internal ID of a stored virtual addr, min val 0x10000 */ > uint16_t ref_cnt; > - uint8_t addr[16]; > + uint16_t v_addr; /* 16-bit virtual address, used in messages */ Maybe nitpicking, but I would call this field just 'addr'. regards -- Michał Lowas-Rzechonek Silvair http://silvair.com Jasnogórska 44, 31-358 Krakow, POLAND