Re: [rohc] RFC4815 no TS bits

Carl Knutsson <carl.knutsson@effnet.com> Thu, 04 February 2010 09:02 UTC

Return-Path: <carl.knutsson@effnet.com>
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 A206D3A6A58 for <rohc@core3.amsl.com>; Thu, 4 Feb 2010 01:02:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
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 dpMcM8NGUSJ2 for <rohc@core3.amsl.com>; Thu, 4 Feb 2010 01:02:39 -0800 (PST)
Received: from lists.levonline.com (lists.levonline.com [217.70.33.37]) by core3.amsl.com (Postfix) with ESMTP id A69D83A6A69 for <rohc@ietf.org>; Thu, 4 Feb 2010 01:02:39 -0800 (PST)
Received: from localhost (localhost.localdomain [127.0.0.1]) by lists.levonline.com (Postfix) with ESMTP id AF0BA29C20B; Thu, 4 Feb 2010 10:03:23 +0100 (CET)
X-Virus-Scanned: By http://levonline.com - free virus scanning for all customers
Received: from lists.levonline.com ([127.0.0.1]) by localhost (lists.levonline.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6EMLtoNWBNfX; Thu, 4 Feb 2010 10:03:21 +0100 (CET)
Received: from truck2.fordonnet.levonline.com (gw-uu-virtual.levonline.com [217.70.32.2]) by lists.levonline.com (Postfix) with ESMTP id 92BD129C23A; Thu, 4 Feb 2010 10:03:21 +0100 (CET)
Received: from [192.168.101.21] (c-b10171d5.04-205-6c756c1.cust.bredbandsbolaget.se [213.113.1.177]) (authenticated bits=0) by truck2.fordonnet.levonline.com (8.12.11.20060308/8.12.11) with ESMTP id o1493FHg021324 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 4 Feb 2010 10:03:21 +0100
Message-ID: <4B6A8BE7.8060701@effnet.com>
Date: Thu, 04 Feb 2010 09:57:11 +0100
From: Carl Knutsson <carl.knutsson@effnet.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Jer-ming Lin <cs202050@csie.ncu.edu.tw>
References: <20100203210741.gfnig61ao84wsgo0@webmail.csie.ncu.edu.tw>
In-Reply-To: <20100203210741.gfnig61ao84wsgo0@webmail.csie.ncu.edu.tw>
X-Enigmail-Version: 0.95.7
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Cc: rohc@ietf.org
Subject: Re: [rohc] RFC4815 no TS bits
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: Thu, 04 Feb 2010 09:02:40 -0000

Jer-ming,

Jer-ming Lin wrote:
> Dear ROHCer,
> 
>     In the RFC4815 4.2 "When no TS bits are received in the compressed
> header, the scaled TS value is reconstructed assuming a linear
> extrapolation from the SN, i.e., delta_TS = delta_SN * default-slope,
> where delta_SN and delta_TS are both signed integers."
> 
>     Does that mean the decompressor must receive at least one scaled TS
> before get no-TS bits? How about absolute TS or unscaled TS? 

No, at minimum it must have received TS_STRIDE (default-slope in this
text) and 32 bits (unscaled) TS, for example an in IR packet.

>                                                               Since the
> decompressor can derive the scaled TS directly when it gets the unscaled
> TS, the compressor can send several unscaled TS to establish the
> TS_STRIDE and the relationship of delta_TS. Is that right?
> 

No, the compressor must first establish the TS_STRIDE by sending it
as-is together with unscaled TS. From those two values, TS_SCALED and
TS_OFFSET can be derived and used for later for compression.

cheers,

/Calle