Re: [rohc] CRC correction algorithms in ROHCv2
Klaus Warnke <klaus.warnke@acticom.de> Wed, 06 January 2010 11:50 UTC
Return-Path: <klaus.warnke@acticom.de>
X-Original-To: rohc@core3.amsl.com
Delivered-To: rohc@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix)
with ESMTP id 671393A6874 for <rohc@core3.amsl.com>;
Wed, 6 Jan 2010 03:50:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.11
X-Spam-Level:
X-Spam-Status: No,
score=-1.11 tagged_above=-999 required=5 tests=[BAYES_05=-1.11]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com
[127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cKFgUaux70Co for
<rohc@core3.amsl.com>; Wed, 6 Jan 2010 03:49:59 -0800 (PST)
Received: from mail.acticom-networks.com (mail.acticom-networks.com
[87.106.254.214]) by core3.amsl.com (Postfix) with ESMTP id 0F7E23A68ED for
<rohc@ietf.org>; Wed, 6 Jan 2010 03:49:35 -0800 (PST)
Received: from localhost (localhost.localdomain [127.0.0.1]) by
mail.acticom-networks.com (Postfix) with ESMTP id 378B91C00426;
Wed, 6 Jan 2010 12:49:33 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at acticom-networks.com
Received: from mail.acticom-networks.com ([127.0.0.1]) by localhost
(mail.acticom-networks.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP
id hsGYYGhN7lDt; Wed, 6 Jan 2010 12:49:32 +0100 (CET)
Received: from godfather.bln.acticom.de (mail.oosoft.net [212.99.204.33]) by
mail.acticom-networks.com (Postfix) with ESMTP id 3D4F61C00423;
Wed, 6 Jan 2010 12:49:32 +0100 (CET)
Received: from localhost (localhost [127.0.0.1]) by godfather.bln.acticom.de
(Postfix) with ESMTP id D5207F3ADA; Wed, 6 Jan 2010 12:49:30 +0100 (CET)
X-Virus-Scanned: amavisd-new at bln.acticom.de
Received: from godfather.bln.acticom.de ([127.0.0.1]) by localhost
(godfather.bln.acticom.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP
id 7uG4AMKTUjaM; Wed, 6 Jan 2010 12:49:17 +0100 (CET)
Received: from TORNADO.acticom.de (tornado.bln.acticom.de [192.168.33.27]) by
godfather.bln.acticom.de (Postfix) with ESMTP id 1E0A1F3AA8;
Wed, 6 Jan 2010 12:49:17 +0100 (CET)
Date: Wed, 06 Jan 2010 12:49:16 +0100
Message-ID: <uocl7zc5f.wl%klaus.warnke@acticom.de>
From: Klaus Warnke <klaus.warnke@acticom.de>
To: Anil Maguluri <Anil.Maguluri@lntinfotech.com>
In-Reply-To: <AF0985D076EB244693F2CCD71AAB10BCAB5705CF@BLRINMSMBX01.bglrodc.lntinfotech.com>
References: <AF0985D076EB244693F2CCD71AAB10BCAB5705CF@BLRINMSMBX01.bglrodc.lntinfotech.com>
User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.6
(Marutamachi) APEL/10.7 Emacs/22.2 (i386-mingw-nt6.0.6002) MULE/5.0 (SAKAKI)
MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka")
Content-Type: text/plain; charset=US-ASCII
Cc: "rohc@ietf.org" <rohc@ietf.org>,
"anilmaguluri@gmail.com" <anilmaguluri@gmail.com>
Subject: Re: [rohc] CRC correction algorithms in ROHCv2
X-BeenThere: rohc@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Robust Header Compression <rohc.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/rohc>,
<mailto:rohc-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/rohc>
List-Post: <mailto:rohc@ietf.org>
List-Help: <mailto:rohc-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rohc>,
<mailto:rohc-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 06 Jan 2010 11:50:05 -0000
Hi Anil, > Is CRC Correction algorithms are used in ROHCv2? It is not forbidden, but it is not required. "may attempt corrective or repair measures" But remember: Maybe the CRC value is damaged, not the header... I think, you can not reapir the packet, but you can reapir the context. If you assume, a previous packet was damaged, but the CRC check did not catched the error due to its limited length. Then the context is damaged, but the current packet and CRC is correct. Then you can roll back the last context updated and try again with the current packet. This makes sense, if you receive three subsequent packets with an CRC error. In such case, a context damaged can be assumed. And remember from 4995, 5.3.1.2. 3-bit CRC in Compressed Headers: > Therefore, compressed headers carrying a 3-bit CRC are normally not > suitable to perform context repairs at the decompressor; You can develop a CRC repair mechanism, if you want. It is only important, that the CRC verification succeeds after reapir. > If yes, where did they mentioned the procedures? No, but maybe you use the repair mechanism from 3095? "5.3.2.2.5. Repair of incorrect SN updates" br Klaus At Mon, 21 Dec 2009 14:54:15 +0530, Anil Maguluri wrote: > Hi All, > > Please clarify whether my understanding is right or not. As per my > understanding, there is no need of CRC Correction algorithms in > ROHCv2 because every packet has CRC in ROHCv2. As you know the CRC > Correction algorithms are clearly mentioned in ROHCv1 (RFC 3095). > > But, the RFC 5225 has the below information: > "6.4. Reconstruction and Verification Validation of the IR header > (8-bit CRC) The decompressor MUST always validate the integrity of > the IR header using the 8-bit CRC carried within the IR header. When > the header is validated, the decompressor updates the context with > the information in the IR header. Otherwise, if the IR cannot be > validated, the context MUST NOT be updated and the IR header MUST > NOT be delivered to upper layers. > > Verification of CO headers (3-bit CRC or 7-bit CRC) > The decompressor MUST always verify the decompression of a CO header > using the CRC carried within the compressed header. When the > decompression is verified and successful, the decompressor updates > the context with the information received in the CO header; > otherwise, if the reconstructed header fails the CRC verification, > these updates MUST NOT be performed. > > A packet for which the decompression attempt cannot be verified > using the CRC MUST NOT be delivered to upper layers. > > Decompressor implementations may attempt corrective or repair > measures on CO headers prior to performing the above actions, and > the result of any decompression attempt MUST be verified using the > CRC." > > Please clarify the below queries. > Is CRC Correction algorithms are used in ROHCv2? > If yes, where did they mentioned the procedures? > > Thanks for your support. > > Regards, > Anil Kumar Maguluri
- [rohc] CRC correction algorithms in ROHCv2 Anil Maguluri
- Re: [rohc] CRC correction algorithms in ROHCv2 Klaus Warnke