[6tisch] Benjamin Kaduk's Discuss on draft-ietf-6tisch-architecture-24: (with DISCUSS and COMMENT)

Tero Kivinen <kivinen@iki.fi> Thu, 08 August 2019 21:58 UTC

Return-Path: <kivinen@iki.fi>
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 1CDD61200A3; Thu, 8 Aug 2019 14:58:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.581
X-Spam-Level: *
X-Spam-Status: No, score=1.581 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, GB_SUMOF=5, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_NEUTRAL=0.779, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
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 1VHzlMJqwYVo; Thu, 8 Aug 2019 14:58:23 -0700 (PDT)
Received: from mail.kivinen.iki.fi (fireball.acr.fi [83.145.195.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C8EFF12002F; Thu, 8 Aug 2019 14:58:22 -0700 (PDT)
Received: from fireball.acr.fi (localhost [127.0.0.1]) by mail.kivinen.iki.fi (8.15.2/8.15.2) with ESMTPS id x78Lw8MJ007857 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 9 Aug 2019 00:58:08 +0300 (EEST)
Received: (from kivinen@localhost) by fireball.acr.fi (8.15.2/8.14.8/Submit) id x78Lw8I2016363; Fri, 9 Aug 2019 00:58:08 +0300 (EEST)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Message-ID: <23884.39664.259560.559115@fireball.acr.fi>
Date: Fri, 09 Aug 2019 00:58:08 +0300
From: Tero Kivinen <kivinen@iki.fi>
To: Benjamin Kaduk <kaduk@mit.edu>
Cc: The IESG <iesg@ietf.org>, shwetha.bhandari@gmail.com, 6tisch@ietf.org, 6tisch-chairs@ietf.org, draft-ietf-6tisch-architecture@ietf.org
In-Reply-To: <156523675061.8257.3166819796531461415.idtracker@ietfa.amsl.com>
References: <156523675061.8257.3166819796531461415.idtracker@ietfa.amsl.com>
X-Mailer: VM 8.2.0b under 25.1.1 (x86_64--netbsd)
X-Edit-Time: 17 min
X-Total-Time: 17 min
Archived-At: <https://mailarchive.ietf.org/arch/msg/6tisch/T41Lb4By4PiwvWp2pmhN_RPRQYI>
Subject: [6tisch] Benjamin Kaduk's Discuss on draft-ietf-6tisch-architecture-24: (with DISCUSS and COMMENT)
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: Thu, 08 Aug 2019 21:58:25 -0000

Benjamin Kaduk via Datatracker writes:
> ----------------------------------------------------------------------
> DISCUSS:
> ----------------------------------------------------------------------
> 
> Section 4.3.4 asserts:
> 
>    [...]                                      We'll note that the Join
>    Priority is now specified between 0 and 0x3F leaving 2 bits in the
>    octet unused in the IEEE Std. 802.15.4e specification.  After
>    consultation with IEEE authors, it was asserted that 6TiSCH can make
>    a full use of the octet to carry an integer value up to 0xFF.
> 
> I'm extremely reluctant to publish this text in the IETF stream without
> a citation.

IEEE Std 802.15.4-2015 says:

----------------------------------------------------------------------
7.4.4.2 TSCH Synchronization IE

The TSCH Synchronization IE Content field shall be formatted as
illustrated in Figure 7-50.

          +-------------+---------------+
	  |  Octets: 5  |       1       |
          +-------------+---------------+
	  |     ASN     |  Join Metric  |
          +-------------+---------------+

     Figure 7-50 -- TSCH Synchronization IE Content field format
	   
The ASN field contains the ASN corresponding to the timeslot in which
the enhanced beacon is sent. The ASN is used as the Frame Counter for
security operations if enabled.

The Join Metric field is an unsigned integer and shall be set to
macJoinMetric.
----------------------------------------------------------------------

And

----------------------------------------------------------------------

Section 8.4.2.2 TSCH-specific MAC PIB attributes

...

       Table 8-83 -- TSCH-specific MAC PIB attributes

Attribute	Type     Range       Description                     Default
...
macJoinMetric	Integer	 0x00–0xff   The sum of one and the	     1
			 	     value of the Join Metric
				     field from the TSCH
			 	     Synchronization IE, 7.4.4.2,
			 	     received in the Enhanced Beacon
			 	     frame used by the device
				     joining the network. If the
				     device is the an endpoint, the
				     value shall be set to zero.

----------------------------------------------------------------------

So it is very clear that Join Metric can be any number between
0x00-0xff. 

>    scheduled cell:  A cell which is assigned a neighbor MAC address
>                (broadcast address is also possible), and one or more of
>                the following flags: TX, RX, shared, timeskeeping.  A
> 
> "timeskeeping" does not seem to be defined anywhere.

Timekeeping comes from the IEEE Std 802.15.4-2015 Section 7.4.4.3 TSCH
Slotframe and Link IE:

----------------------------------------------------------------------
   The Timekeeping field shall be set to one if the link is to be used
   for clock synchronization and shall be set to zero otherwise. RX
   links shall have the Timekeeping field set to one.
-- 
kivinen@iki.fi