[lp-wan] Fw: re-order header field request

"weigengyu" <weigengyu@vip.sina.com> Wed, 21 June 2017 02:45 UTC

Return-Path: <weigengyu@vip.sina.com>
X-Original-To: lp-wan@ietfa.amsl.com
Delivered-To: lp-wan@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 66FD01293E3 for <lp-wan@ietfa.amsl.com>; Tue, 20 Jun 2017 19:45:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.919
X-Spam-Level:
X-Spam-Status: No, score=-1.919 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham 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 1Ldu3dOQHrrr for <lp-wan@ietfa.amsl.com>; Tue, 20 Jun 2017 19:45:13 -0700 (PDT)
Received: from smtp-6-47.vip.sina.com.cn (r3-68.sinamail.sina.com.cn [202.108.3.68]) by ietfa.amsl.com (Postfix) with SMTP id 8744C126B6E for <lp-wan@ietf.org>; Tue, 20 Jun 2017 19:45:12 -0700 (PDT)
Received: from unknown (HELO WeiGengyuPC)([114.255.40.41]) by vip.sina.com with ESMTP 21 Jun 2017 10:45:06 +0800 (CST)
X-Sender: weigengyu@vip.sina.com
X-Auth-ID: weigengyu@vip.sina.com
X-SMAIL-MID: 621395278649
Message-ID: <C8B9D93DC0B0408FB918C7A6D0892CF1@WeiGengyuPC>
From: weigengyu <weigengyu@vip.sina.com>
To: lp-wan@ietf.org
Date: Wed, 21 Jun 2017 10:45:05 +0800
MIME-Version: 1.0
Content-Type: text/plain; format="flowed"; charset="utf-8"; reply-type="response"
Content-Transfer-Encoding: 8bit
X-Priority: 3
X-MSMail-Priority: Normal
Importance: Normal
X-Mailer: Microsoft Windows Live Mail 16.4.3528.331
X-MimeOLE: Produced By Microsoft MimeOLE V16.4.3528.331
Archived-At: <https://mailarchive.ietf.org/arch/msg/lp-wan/9QqDE0Sqo_QCz8PiPG_KJ64Fexg>
Subject: [lp-wan] Fw: re-order header field request
X-BeenThere: lp-wan@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "Low-Power Wide Area Networking \(LP-WAN\), also known as LPWA or Low-Rate WAN \(LR-WAN\)" <lp-wan.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/lp-wan>, <mailto:lp-wan-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/lp-wan/>
List-Post: <mailto:lp-wan@ietf.org>
List-Help: <mailto:lp-wan-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lp-wan>, <mailto:lp-wan-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 21 Jun 2017 02:45:17 -0000

Hi,

There is a question about Format in
draft-ietf-lpwan-ipv6-static-context-hc-04.

> So I think,  we need to maintain same order on all fragment headers.
> existing;
>       <------------ R ---------->
>                           <--T--> 1 <--N-->
>                +-- ... --+- ... -+-+- ... -+
>                | Rule ID | DTag  |W|  CFN  |
>                +-- ... --+- ... -+-+- ... -+
>
> shall be;
>      <------------ R ---------->
>                           <--T--> <--N--> 1
>                +-- ... --+- ... -+- ... -+-+
>                | Rule ID | DTag  |  CFN  |W|
>                +-- ... --+- ... -+- ... -+-+
>
> and for the last fragment
>    <------------ R ---------->
>                           <--T--> <--N-->
>                +-- ... --+- ... -+- ... -+-+
>                | Rule ID | DTag  |  CFN  |MIC
>                +-- ... --+- ... -+- ... -+-+
>
> what do you think?
>

Why each successive fragment must contain a Rule ID?

It is known that the DTag is used as an indication of fragments belonged to
the same IPv6 packet.
A Rule ID in the first fragement can be passed to the receiver how to do HC
compression,
but the successive fragments containing a Rule ID just send a redundent
information to the receiver.
Right?

Regards,

Gengyu WEI
Network Technology Center
School of Computer
Beijing University of Posts and Telecommunications
-----原始邮件----- 
From: Carles Gomez Montenegro
Sent: Wednesday, June 21, 2017 12:01 AM
To: Arun
Cc: lp-wan ; Laurent Toutain ; Ana Minaburo
Subject: Re: [lp-wan] re-order header field request


Hi Arun,

Thanks for pointing this out.

Your proposal seems fine to me, except for the (possibly minor) detail
that in your proposal "R" would comprise a number of header fields for the
last fragment that would be different from the number of fields in
previous fragments.

Maybe we could also consider another solution: adding the W bit in the
header of the last fragment of the packet.

I haven't found examples of scenarios where the W bit is actually needed
in the last fragment (i.e. fragment with "all ones" CFN). However, I'm
wondering if there is an actual benefit or a related use case that may
require *not* having a W bit in the last fragment header. (If anyone has
any in mind, please chime in!)

On the other hand, if we have the W bit also in the last fragment header,
header format will be more uniform across all fragments.

Thoughts?

Cheers,

Carles




> Hi all,
> Absence of window bit in the last fragment of the packet makes it tricky
> to unmarshall the header at the receiver.
> As I see it, the receiver up front shall know the length of the CFN
> field depending on the Window size configured but doesn't know to
> anticipate the last fragment unless indicated by CFN.
> So I think,  we need to maintain same order on all fragment headers.
>
> existing;
>
>       <------------ R ---------->
>                           <--T--> 1 <--N-->
>                +-- ... --+- ... -+-+- ... -+
>                | Rule ID | DTag  |W|  CFN  |
>                +-- ... --+- ... -+-+- ... -+
>
> shall be;
>      <------------ R ---------->
>                           <--T--> <--N--> 1
>                +-- ... --+- ... -+- ... -+-+
>                | Rule ID | DTag  |  CFN  |W|
>                +-- ... --+- ... -+- ... -+-+
>
> and for the last fragment
>    <------------ R ---------->
>                           <--T--> <--N-->
>                +-- ... --+- ... -+- ... -+-+
>                | Rule ID | DTag  |  CFN  |MIC
>                +-- ... --+- ... -+- ... -+-+
>
>
> what do you think?
>
>
> thanks,
> Arun
>
> _______________________________________________
> lp-wan mailing list
> lp-wan@ietf.org
> https://www.ietf.org/mailman/listinfo/lp-wan
>


_______________________________________________
lp-wan mailing list
lp-wan@ietf.org
https://www.ietf.org/mailman/listinfo/lp-wan