rohc team mailing list archive
-
rohc team
-
Mailing list archive
-
Message #02265
Re: Back to rohc_comp_set_periodic_refreshes_time
Yakir,
> Tried now to use the time refreshes for my broadcast ROHC_U_MODE
> pairs. Here is how I init it,
>
> + if (ROHC_U_MODE == mode) /* for broadcast contexts */
> + {
> + if (!rohc_comp_set_features(*comp,
> ROHC_COMP_FEATURE_TIME_BASED_REFRESHES))
> + {
> + debug_print_err(ROHC_CMS_DEBUG_STR, debug_cms, "Failed to
> set compressor features!\n");
> + goto destroy_comp;
> + }
> +
> + if (!rohc_comp_set_periodic_refreshes_time(*comp,
> ROHC_REFRESH_TO_IR_MS, ROHC_REFRESH_TO_FO_MS))
> + {
> + debug_print_err(ROHC_CMS_DEBUG_STR, debug_cms, "Failed to
> refresh time configuration!\n");
> + goto destroy_comp;
> + }
> + }
>
> Looks that when I enable this feature, it clashes with my kernel (in
> particular, crying about TI switch driver function).
> [...]
>
> There is something about how this one works that my solution doesn’t
> like…
Are you using the 2.1.0 version? There is known bug for the
kernel on that part. Please upgrade to the latest git version of the
2.1.x branch (there is no version 2.1.1 released yet) or to the next
major release 2.2.0.
Regards,
Didier
References