rohc team mailing list archive
Mailing list archive
Re: [Question #187649]: Decompressor NACK feedback
Question #187649 on rohc changed:
Status: Open => Answered
Didier Barvaux proposed the following answer:
> first of all thanks for the library.
You're welcome :)
> I try to run some tests with RoHC and would like to modify the k and n values for the
> NACK feedback from the decompressor (section 5.3.2).
> For my understanding you currently create a ratio of the decompression failure (okval,
> curval, maxval) but independent from the state of the decompressor, right?
You're right. I gave an explanation of the algorithm in response to question #181462:
I also opened a bug to better describe the algorithm. See bug #902465.
> Is it possible to convert the 'k_1 out of n_1' values to your ratio calculation?
I think it is not possible with the current code. It does not conform to RFC.
I added a note in bug #902465 to mention that the current algo is wrong.
The nearest solution with the current algorithm is to set okval=errval=1 and
maxval=k_1. It won't give you "k_1 out of n_1", but an ratio of sucesses/failures
since the beginning of the stream.
You can however change the code to better match RFC 3095. It should be quite
straight (I may provide some support if you need). Contributions for better
conformance with RFCs are welcome!
You received this question notification because you are a member of ROHC
Team, which is an answer contact for rohc.