commit | 0aed42f2eeb8628f10eb8a8f7491bc3873ede5f3 | [log] [tgz] |
---|---|---|
author | Dawid Niedzwiecki <dawidn@google.com> | Wed Oct 25 12:22:04 2023 +0200 |
committer | Maureen Helm <maureen.helm@analog.com> | Fri Oct 27 13:26:00 2023 -0500 |
tree | ccb7059b4cc4f7c13c89bb894aba6ee98b52be24 | |
parent | d0961756a62aa45b6f630f7e0a10fdf458360572 [diff] |
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: Dawid Niedzwiecki <dawidn@google.com>