Merge "hal: Add support for buffer duration in offload usecase"