Reset

Asked by regulararmy

Hello Didier,
        In 3GPP TS 36.323, it states: "when upper layers request a PDCP re_establishment, it should reset the header compression protocol for uplink or downlink (if configured). " so ,I want to ask you, are there API functions for resetting in you lib, which functions, Thank you very much.

Regards,
regulararmy

Question information

Language:
English Edit question
Status:
Solved
For:
rohc Edit question
Assignee:
No assignee Edit question
Solved by:
Didier Barvaux
Solved:
Last query:
Last reply:

This question was reopened

Revision history for this message
regulararmy (regulararmy) said :
#1

In a wed page, I see there are some features for your lib, one of features is " context Reset" , which functions are related to the "context reset", Thank you.

Revision history for this message
Didier Barvaux (didier-barvaux) said :
#2

Hello,

Yes, you can reset compression contexts: http://rohc-lib.org/doc/rohc-doc-1.6.0/group__rohc__comp.html#gaff46258f600f27821e05fe6b69eaf976

Regards,
Didier

Revision history for this message
regulararmy (regulararmy) said :
#3

Thanks Didier Barvaux, that solved my question.

Revision history for this message
regulararmy (regulararmy) said :
#4

However, when in a PDCP re_establishment, I called the rohc_comp_force_contexts_reinit (struct rohc_comp *const comp), it did not work well, each PDCP re_establishment make the "ping" time out whatever you use the function rohc_comp_force_contexts_reinit or not. So, do you know the reasons,maybe the decompressor should also reinit the context ? Thank you.

Revision history for this message
Best Didier Barvaux (didier-barvaux) said :
#5

Hello,

I don't know the reason. Please check that the compressor starts to send IR packets after
calling the rohc_comp_force_contexts_reinit() function. The decompressor does not need
any re-initialisation, all it needs is IR packets coming from the compressor.

Regards,
Didier

Revision history for this message
regulararmy (regulararmy) said :
#6

Thanks Didier Barvaux, that solved my question.