Re: [6tisch] WGLC on draft-ietf-6tisch-msf-09

Tengfei Chang <tengfei.chang@gmail.com> Fri, 13 December 2019 11:06 UTC

Return-Path: <tengfei.chang@gmail.com>
X-Original-To: 6tisch@ietfa.amsl.com
Delivered-To: 6tisch@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B847812009C for <6tisch@ietfa.amsl.com>; Fri, 13 Dec 2019 03:06:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.997
X-Spam-Level:
X-Spam-Status: No, score=-1.997 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oK7TkbOrKiYb for <6tisch@ietfa.amsl.com>; Fri, 13 Dec 2019 03:06:36 -0800 (PST)
Received: from mail-pj1-x1029.google.com (mail-pj1-x1029.google.com [IPv6:2607:f8b0:4864:20::1029]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B679D120047 for <6tisch@ietf.org>; Fri, 13 Dec 2019 03:06:36 -0800 (PST)
Received: by mail-pj1-x1029.google.com with SMTP id r11so1046565pjp.12 for <6tisch@ietf.org>; Fri, 13 Dec 2019 03:06:36 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=rFmRtGau1f7CtPl/UC6HvRVvgYiOmlL+i19IW/c9iek=; b=GVU4NrzjsVqINLk44uE0i3zf3IzPCM+g9Q5YV4gg0K9vgfFqhDsK0qxbvLNLQZugyw oMkFvB87jj6Qs+L5EaSOn3hZE3bsWLOLpiwbklvwsml4XSDysK4boy4HV4a3uIqzQHSu SlPA3czWZCldl+eHq49GCuAngRPLoZ4l/DFkhJz1seCHU3pykqmwlMRZllyvDUWgWQw0 JhJqpjf7t/o71UtGz8s6h+pKsCucGuZAdjSbYCYA9mpAywzO2NDSgfqHYGmlIFNiI35P nfvr4IT3AXir6+Yb8eQB/4v84yz1NqP1UCXhDt7DfXlYGroGR2fqWn2RHJyIVLOlUCx4 WIjA==
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=rFmRtGau1f7CtPl/UC6HvRVvgYiOmlL+i19IW/c9iek=; b=idPma++fUpLWfj5aNdFhweSQEaHKptWdXzvroPATM3ezTGu0kFHHN8L5r9AFcwMNwF WRJMCGy1QjQUOp4dEFgaqj/LU/tUWuPDnJP8Tg1F59ni228PkDamyaREPtzcLrpvCLcE o+lsOXqHENZzvhEmDpFLvx9ExykPlp2TKfOqeOlIIGlxswxq7kCvcfL786pi7FSUzcWf wp+skJLD10qjd4kt97LveRkhqP3VdhzmZjW3vMU0hByICjSQkRps9SBShz2UhmRrkUr3 XvuVJkRgysY4GMWGELhNfW6mjlFt8CEdDtr/Fmojy3S2vUlPCjvpXoOTUGsTFLvlONLX tS1Q==
X-Gm-Message-State: APjAAAXn6at5Ji1j/coqNZB+Kl8Uf2n7JEbK+LT9dwDF7q3l0o6TpuZS JAt7CKIzySv74ZLBXdU8e4INN+IHbyrPPs1HzD8=
X-Google-Smtp-Source: APXvYqxjNwf7S0lUyX9PbR4m8XT0QwVjQcYKTFncL6XDVI8h9QiWSinQFnDt/cWiS/ViMES5U1OTnr5XkmxthqBBm38=
X-Received: by 2002:a17:902:322:: with SMTP id 31mr15342846pld.244.1576235195972; Fri, 13 Dec 2019 03:06:35 -0800 (PST)
MIME-Version: 1.0
References: <CAAdgstQS9xAtemffNY0NBA3n54rVU7vAN5f1wkWQOeD5sT4LSg@mail.gmail.com> <bfe7441c-c64b-ffea-c523-b29f387b267b@inria.fr> <-uiqdrrsjg31sdjksn1zgvki8c7kyva-wr8j14-3t84i8a2k9yk-wcvbi47ffuj7-oxvqzo-8ap9zptj9wve-flkv7mh54dm1-cfcugi-gc0trm-6gwnqdve2gcygnaih0-v2g1zxg1jmk8-i7ywds1srikj.1576227474507@email.android.com>
In-Reply-To: <-uiqdrrsjg31sdjksn1zgvki8c7kyva-wr8j14-3t84i8a2k9yk-wcvbi47ffuj7-oxvqzo-8ap9zptj9wve-flkv7mh54dm1-cfcugi-gc0trm-6gwnqdve2gcygnaih0-v2g1zxg1jmk8-i7ywds1srikj.1576227474507@email.android.com>
From: Tengfei Chang <tengfei.chang@gmail.com>
Date: Fri, 13 Dec 2019 12:06:24 +0100
Message-ID: <CAAdgstTm3CXqVAMpbeZ2XJRPLr74vO2x9aK4+0RnuO+74BgpKQ@mail.gmail.com>
To: Yasuyuki Tanaka <yasuyuki.tanaka@inria.fr>
Cc: "6tisch@ietf.org" <6tisch@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000f04213059993da90"
Archived-At: <https://mailarchive.ietf.org/arch/msg/6tisch/piIrGrGE6UWVCNXOJE73mFFfUrw>
Subject: Re: [6tisch] WGLC on draft-ietf-6tisch-msf-09
X-BeenThere: 6tisch@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Discuss link layer model for Deterministic IPv6 over the TSCH mode of IEEE 802.15.4e, and impacts on RPL and 6LoWPAN such as resource allocation" <6tisch.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/6tisch>, <mailto:6tisch-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/6tisch/>
List-Post: <mailto:6tisch@ietf.org>
List-Help: <mailto:6tisch-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/6tisch>, <mailto:6tisch-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Dec 2019 11:06:40 -0000

Yatch,

>    2.  For example, when MAX_NUMTX is set to 256, from NumTx=255 and
--> "..., when MAX_NUMTX is set to 255, ..."

For the whole sentence,

*"when NumTx reaches MAX_NUMTX, both NumTx and NumTxAck MUST be divided by
2*
*For example, when MAX_NUMTX is set to 256, from NumTx=255 and
NumTxAck=127, the counters become NumTx=128 and NumTxAck=64 if one frame is
sent to the parent with an Acknowledgment received."*

In this case, MAX_NUMTX should be set to 256.

Even NumTx is recommended to use 1 byte later,  when comparing NumTx and
MAX_NUMTX, a casting can be applied and doesn't break 1 byte storage of
NumTx.

Tengfei

On Fri, Dec 13, 2019 at 9:57 AM Tengfei Chang <tengfei.chang@gmail.com>
wrote:

> Thanks Yatch!  I will have those comments integrated into next version.
>
>
>
> -------- Original message --------
> From: Yasuyuki Tanaka <yasuyuki.tanaka@inria.fr>
> Date: Fri, Dec 13, 2019, 12:01 AM
> To: Tengfei Chang <tengfei.chang@gmail.com>
> Cc: 6tisch@ietf.org, yasuyuki.tanaka@inria.fr
> Subject: Re: [6tisch] WGLC on draft-ietf-6tisch-msf-09
>
> Hi Tengfei,
>
> Thank you for the updates. The new version addresses my comments. Here
> are a couple of trivial comments:
>
> > (Section 5.1)
> >    The node MUST maintain the following counters for the selected parent
> >    on both negotiated Tx and Rx cells:
>
> To my understanding, we have separate pairs of NumCellsElapsed and
> NumCellsUsed for the negotiated TX cell and the negotiated RX cell. It
> would be better to modify the sentence a little bit like:
>
> --> "The node MUST maintain the following counters for each of the
> negotiated Tx cells, and the negotiated RX cells, that are scheduled
> with the selected parent."
>
> > (Section 5.3)
> >    2.  For example, when MAX_NUMTX is set to 256, from NumTx=255 and
>
> --> "..., when MAX_NUMTX is set to 255, ..."
>
> Best,
> Yatch
>
>

-- 
——————————————————————————————————————

Dr. Tengfei, Chang
Postdoctoral Research Engineer, Inria

www.tchang.org/
——————————————————————————————————————