← Back to team overview

rohc team mailing list archive

Re: [Question #181462]: about feedback curr

 

Question #181462 on rohc changed:
https://answers.launchpad.net/rohc/+question/181462

    Status: Open => Answered

Didier Barvaux proposed the following answer:
Hello,

The "feedback curr" trace represents a sort of ratio of decompression failures over decompression successes:
 - Every time the decompressor succeeds to decompress a packet, it removes
   "okval" from "curval".
 - Every time the decompressor fails to decompress a packet, it adds "errval" to
   "curval". If "curval" is greater than "maxval" and the decompressor is not in
   undirectional mode, then a Negative ACK (NACK) is transmitted to the compressor.
 - Every time the decompressor processes a packet (ie. both success or failure),
   it compares 'curval' to 'maxval'.

Does it clarify the situation?

The names of variables (curval/errval/okval/maxval) were badly chosen. And the overall
algorithm is not documented. One task more to add to the TODO list I think :-)

Regards,
Didier

-- 
You received this question notification because you are a member of ROHC
Team, which is an answer contact for rohc.