Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 2483ada3 authored by Dhananjay Kumar's avatar Dhananjay Kumar Committed by Gerrit - the friendly Code Review server
Browse files

hal: fix fragment size calculation for compressed offload usecase

Compress offload fragment size is using duration_us provided in
offload info even if its set to -1, leading to incorrect and smaller
value which in turns results in higher power consumption.
Update check for duration us to exclude invalid values and use it for
calculating fragment size only if its within specified range.

Change-Id: Ib134a67d95fe663f5f77f688469bee1bf0ce1708
parent c0905aab
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment