Re: [6tisch] Typeof sixtop subIE:short or long

"pat.kinney@kinneyconsultingllc.com" <pat.kinney@kinneyconsultingllc.com> Mon, 11 January 2016 16:17 UTC

Return-Path: <pat.kinney@kinneyconsultingllc.com>
X-Original-To: 6tisch@ietfa.amsl.com
Delivered-To: 6tisch@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F319D1A21C0 for <6tisch@ietfa.amsl.com>; Mon, 11 Jan 2016 08:17:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.299
X-Spam-Level:
X-Spam-Status: No, score=-1.299 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, J_CHICKENPOX_55=0.6, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=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 1_kWnrIz2qPB for <6tisch@ietfa.amsl.com>; Mon, 11 Jan 2016 08:17:50 -0800 (PST)
Received: from p3plsmtpa11-10.prod.phx3.secureserver.net (p3plsmtpa11-10.prod.phx3.secureserver.net [68.178.252.111]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 82E011A7021 for <6tisch@ietf.org>; Mon, 11 Jan 2016 08:17:49 -0800 (PST)
Received: from [10.0.1.6] ([50.158.195.176]) by p3plsmtpa11-10.prod.phx3.secureserver.net with id 4gHm1s0093opgZu01gHnJw; Mon, 11 Jan 2016 09:17:48 -0700
Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\))
Content-Type: multipart/alternative; boundary="Apple-Mail=_ADA26EEF-C883-4D5B-8859-0BE3F1352A31"
From: "pat.kinney@kinneyconsultingllc.com" <pat.kinney@kinneyconsultingllc.com>
In-Reply-To: <CAAdgstRNmSWDUkQNMgPpg_YPA-FLV3B6D5sq4jh1fHXM2j+9mQ@mail.gmail.com>
Date: Mon, 11 Jan 2016 10:17:46 -0600
Message-Id: <86A12C46-388F-4099-9347-C7EAEF123E4B@kinneyconsultingllc.com>
References: <CAAdgstRof3hn0=RRQdrpezPq930pHpKu5_qObZGkW9TdceD2KQ@mail.gmail.com> <36332723-EE88-4FAC-92F1-61B6A573CBC6@kinneyconsultingllc.com> <CAAdgstSPZ3yRjvOPD6q73h_7rpdhHEWu1TJmi+SbHVhE4rY91g@mail.gmail.com> <CAAdgstRNmSWDUkQNMgPpg_YPA-FLV3B6D5sq4jh1fHXM2j+9mQ@mail.gmail.com>
To: Tengfei Chang <tengfei.chang@gmail.com>
X-Mailer: Apple Mail (2.3112)
Archived-At: <http://mailarchive.ietf.org/arch/msg/6tisch/X-8n0glZZV19OAzmw2bh0A2Qg10>
Cc: Palattella Maria Rita <6tisch@ietf.org>, Plugtests <Plugtests.Plugtests@etsi.org>
Subject: Re: [6tisch] Typeof sixtop subIE:short or long
X-BeenThere: 6tisch@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: thejaswi Chandrashekhar <c.thejaswi@samsung.com>
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: Mon, 11 Jan 2016 16:17:53 -0000

Thank you for the figures, I agree on both, especially the second one.  The advantages of the recommended approach are: one octet shorter for case of single subtype ID and 256 available subtype ID addresses for any length.

Sincerely, Pat

On 11, Jan2016, at 9:19, Tengfei Chang <tengfei.chang@gmail.com> wrote:

Hi Pat, all,

I would like to make sure whether this format will be the right format for the plugtest and everyone will agree. The attached is the document 15-15-0939-02.

There are two options for the format we will use in the plugtest:

1. we use what defined in https://tools.ietf.org/html/draft-wang-6tisch-6top-sublayer-04 <https://tools.ietf.org/html/draft-wang-6tisch-6top-sublayer-04>, which use the format defined in 
IEEE802.15.4e-2012, section 5.2.4.3 (page 81). If we decide to use this one, we need short/ long type of the subIE.


Bits: 0-10

11-14

15

Octets: 2

32-35

36-39

40-47

Octets

Bits: 0-10

11-14

15

Payload IE Content Length

Group ID

Type (0b1)

Length

Sub-type ID

Type

Ver

Code

SFID

other field

Length 
(0x00)

Group ID (0xf)

Type (0b1)

Payload IE

Payload IE Content

Payload Termination IE



2. we use what define in document 15-15-0939-02, which use the format defined in last page of the document:
For example the 6P command defined in sublayer draft:

the payload will be:

Bits: 0-10

11-14

15

16-23

24-27

28-31

32-39

octets

Bits: 0-10

11-14

15

Payload IE Content Length

Group ID

Type (0b1)

Sub-type ID

Ver

Code

SFID

other field

Length 
(0x00)

Group ID (0xf)

Type (0b1)

Payload IE

Payload IE Content

Payload Termination IE


Do we agree on the second one?

Tengfei

On Fri, Jan 8, 2016 at 5:56 PM, Tengfei Chang <tengfei.chang@gmail.com <mailto:tengfei.chang@gmail.com>> wrote:
I see. Thanks a lot Pat for the information! I found the document you mentioned. I will update the format in the Golden Images. 

Have a good day!
Tengfei

On Fri, Jan 8, 2016 at 5:25 PM, pat.kinney@kinneyconsultingllc.com <mailto:pat.kinney@kinneyconsultingllc.com> <pat.kinney@kinneyconsultingllc.com <mailto:pat.kinney@kinneyconsultingllc.com>> wrote:
Tengfei;

The IEEE 802.15 IG 6T recommended a format for sub-IEs in document 15-15-0939-02 sent to this reflector on 30 November 2015.  The following is an excerpt from that document:
"Accordingly, the IEEE 802.15 IG 6T recommends that the IETF use an alternate scheme that restricts each Payload IE to only one sub-type ID and content, i.e. no nesting.  The advantages of this recommended scheme is that it eliminates one octet from the total Payload IE, it allows a full 256 sub-type IDs, and each sub-type length can be up to 2046 octets.”

Therefore, if 6tisch adopts the above recommendation, there would be no long or short types.


Pat

Pat Kinney
Kinney Consulting LLC
IEEE 802.15 WG vice chair, SC chair
ISA100 co-chair, ISA100.20 chair
O: +1.847.960.3715 <tel:%2B1.847.960.3715>
pat.kinney@kinneyconsultingllc.com <mailto:pat.kinney@kinneyconsultingllc.com>

On 8, Jan2016, at 10:14, Tengfei Chang <tengfei.chang@gmail.com <mailto:tengfei.chang@gmail.com>> wrote:

Hello all, 

As I mentioned on the Call, the 6top sublayer draft seems didn't  define the type of subIE used by 6P command ,long or short type?  Let me know if I missed it from the draft! Thanks you!  

Regard, 
Tengfei
_______________________________________________
6tisch mailing list
6tisch@ietf.org <mailto:6tisch@ietf.org>
https://www.ietf.org/mailman/listinfo/6tisch <https://www.ietf.org/mailman/listinfo/6tisch>









<15-15-0939-02-0000-IETF_6tisch_IE_Information.docx>