Skip to content
Commit 0aed42f2 authored by Dawid Niedzwiecki's avatar Dawid Niedzwiecki Committed by Maureen Helm
Browse files

mgmt: ec_host_cmd: improve handling buffer sizes



Add the len_max rx structure member to indicate maximum number of bytes
possible to receive. It is needed to send information about our protocol
parameters to host.

Also, limit the maximum size of request/responses for backends that uses
buffers provided by the handler.

Signed-off-by: default avatarDawid Niedzwiecki <dawidn@google.com>
parent d0961756
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment