Re: [lp-wan] Flow validation in ACK-on-error Mode

Olivier Gimenez <ogimenez@semtech.com> Mon, 23 September 2019 11:14 UTC

Return-Path: <ogimenez@semtech.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 E614E120073 for <lp-wan@ietfa.amsl.com>; Mon, 23 Sep 2019 04:14:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.927
X-Spam-Level:
X-Spam-Status: No, score=-1.927 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.026, SPF_PASS=-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 qaCFPO-w3LEc for <lp-wan@ietfa.amsl.com>; Mon, 23 Sep 2019 04:14:55 -0700 (PDT)
Received: from mail1.bemta23.messagelabs.com (mail1.bemta23.messagelabs.com [67.219.246.214]) (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 01E91120807 for <lp-wan@ietf.org>; Mon, 23 Sep 2019 04:14:54 -0700 (PDT)
Received: from [67.219.246.197] (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256 bits)) by server-2.bemta.az-c.us-east-1.aws.symcld.net id EC/01-29558-D29A88D5; Mon, 23 Sep 2019 11:14:53 +0000
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrCJsWRWlGSWpSXmKPExsXiofbjua7Oyo5 YgxdzdC0O/j7NbtF7exajxZtZ9hY3Jq9js1j55hezA6vHjPXrmT12zrrL7rFkyU8mj32v/rJ4 PP2QGcAaxZqZl5RfkcCa8evbLJaCP+tZKrb9u8n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AAA=
X-Env-Sender: ogimenez@semtech.com
X-Msg-Ref: server-26.tower-405.messagelabs.com!1569237292!539868!1
X-Originating-IP: [72.38.248.231]
X-SYMC-ESS-Client-Auth: outbound-route-from=pass
X-StarScan-Received:
X-StarScan-Version: 9.43.12; banners=semtech.com,-,-
X-VirusChecked: Checked
Received: (qmail 14630 invoked from network); 23 Sep 2019 11:14:52 -0000
Received: from s72-38-248-231.static.datacom.cgocable.net (HELO ca01exedge1.semnet.dom) (72.38.248.231) by server-26.tower-405.messagelabs.com with ECDHE-RSA-AES256-SHA384 encrypted SMTP; 23 Sep 2019 11:14:52 -0000
Received: from CA01MAIL1.semnet.dom (10.2.50.40) by ca01exedge1.semnet.dom (192.168.34.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1034.26; Mon, 23 Sep 2019 07:14:48 -0400
Received: from ca01mail2.semnet.dom (10.2.50.41) by CA01MAIL1.semnet.dom (10.2.50.40) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1034.26; Mon, 23 Sep 2019 07:14:50 -0400
Received: from ca01mail2.semnet.dom ([fe80::fdc8:c457:b09e:605d]) by ca01mail2.semnet.dom ([fe80::fdc8:c457:b09e:605d%22]) with mapi id 15.01.1034.026; Mon, 23 Sep 2019 07:14:50 -0400
From: Olivier Gimenez <ogimenez@semtech.com>
To: Rodrigo Muñoz <rodrigo.munoz.lara@gmail.com>
CC: "lp-wan@ietf.org" <lp-wan@ietf.org>, Sandra Cespedes <scespedes@ing.uchile.cl>, Juan Carlos Zuniga <juancarlos.zuniga@sigfox.com>, "ivaylo@ackl.io" <ivaylo@ackl.io>
Thread-Topic: [lp-wan] Flow validation in ACK-on-error Mode
Thread-Index: AQHVbJ0IcTLjRQ4+p0GYak2DPdk9facuuzgAgABA5QCAADZTAIAC7cMAgAAHxQCABvveIA==
Date: Mon, 23 Sep 2019 11:14:50 +0000
Message-ID: <4f03d8a4eada4ac39aaf9af2fa3c0767@semtech.com>
References: <CALJ+G3WJxOmNjOz1jOV-G50G5L_bqV3BgHqvwM2VcPEnk4bQ6w@mail.gmail.com> <DBBPR08MB47575AE3E01C023A75C6621C898C0@DBBPR08MB4757.eurprd08.prod.outlook.com> <CALJ+G3XgZaV1vHHMZsSRLiZdqd0mYvG0GRP7GCc7yMFSjN4npw@mail.gmail.com> <DBBPR08MB47577AE9F13E27540B081351898C0@DBBPR08MB4757.eurprd08.prod.outlook.com> <CALJ+G3Xv93nNAw489kdFp-RmcREVnto0LdnoC7Ozt9EfJDAn+A@mail.gmail.com> <DBBPR08MB47573589DD193B036910C749898E0@DBBPR08MB4757.eurprd08.prod.outlook.com>
In-Reply-To: <DBBPR08MB47573589DD193B036910C749898E0@DBBPR08MB4757.eurprd08.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
x-dg-ref: PG1ldGE+PGF0IG5tPSJhY2tvbmVycm9yLnBuZyIgcD0iYzpcdXNlcnNcb2dpbWVuZXpcZGVza3RvcFx0ZW1wXGFja29uZXJyb3IucG5nIiBzej0iNTE0NDMiIHQ9IjEzMjEzNzEwNjQzMDI0MzEwMCIgaD0iWnArQjN4bjJrQjNCV3Rhd3AyR1hZdEM0dkY0PSIgaWQ9IiIgYmw9IjAiIGJvPSIwIi8+PGF0IG5tPSJib2R5LnR4dCIgcD0iYzpcdXNlcnNcb2dpbWVuZXpcYXBwZGF0YVxyb2FtaW5nXDA5ZDg0OWI2LTMyZDMtNGE0MC04NWVlLTZiODRiYTI5ZTM1Ylxtc2dzXG1zZy01N2FjNTE2ZC1kZGYzLTExZTktYjYwZS1lNGIzMTg2NjNlZTFcYW1lLXRlc3RcNTdhYzUxNmUtZGRmMy0xMWU5LWI2MGUtZTRiMzE4NjYzZWUxYm9keS50eHQiIHN6PSIxMzAxIiB0PSIxMzIxMzcxMDg4NjczNDY5NDIiIGg9InFmWi9HYTYvTzlhZWdXS045Yy9mSU5oVk5FRT0iIGlkPSIiIGJsPSIwIiBibz0iMSIvPjwvbWV0YT4=
x-dg-rorf: true
x-originating-ip: [10.144.16.33]
Content-Type: multipart/mixed; boundary="_002_4f03d8a4eada4ac39aaf9af2fa3c0767semtechcom_"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/lp-wan/If7T5UzDpJnSrnG7l-1ItnTdpzQ>
Subject: Re: [lp-wan] Flow validation in ACK-on-error Mode
X-BeenThere: lp-wan@ietf.org
X-Mailman-Version: 2.1.29
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: Mon, 23 Sep 2019 11:14:58 -0000

Hi Rodrigo,

From what I understand the second image your question is: “How does the transmitter knows when to send the All-1 SCHC message” ?
In LoRaWAN class A there is no way to initiate communication from the network, device has to send an uplink so it can open RX windows.

So the device can send the All-1 as soon as RX1, RX2 widows are over without downlink. Please see attached picture

I propose to change the following sentence of §5.1.1, it is clearer for you ?

> At the end of a window or a
> fragmentation session, corresponding ACK(s) is (are) transmitted
> by the network gateway (LoRaWAN application server) in the RX1 or
> RX2 receive slot of end-device.  If this ACK is not received the
> end-device sends an all-0 (or an all-1) fragment with no payload
> to request an SCHC ACK retransmission.

to

> At the end of a window or a
> fragmentation session, corresponding ACK(s) is (are) transmitted
> by the network gateway (LoRaWAN application server) in the RX1 or
> RX2 receive slot of end-device.  If this ACK is not received *by* the
> end-device *at the end of its RX windows, it* sends an all-0 (or an all-1) fragment with no payload
> to request an SCHC ACK retransmission.

To view our privacy policy, including the types of personal information we collect, process and share, and the rights and options you have in this respect, see www.semtech.com/legal.