Merge "hal: add wma offload duration check"