diff options
author | Igor Mitsyanko <igor.mitsyanko.os@quantenna.com> | 2020-01-27 13:46:53 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2020-02-12 19:16:46 +0300 |
commit | 8b0b5f1ba9e02191aedb496abbfdae174c24c85b (patch) | |
tree | 7625a6d773349efdf5bb8350ccd23d368207a2c3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 0d18a9c0a387652c51fd78e945ab47efd8afc220 (diff) | |
download | linux-8b0b5f1ba9e02191aedb496abbfdae174c24c85b.tar.xz |
qtnfmac: cleanup alignment in firmware communication protocol
Make sure that all elements in QLINK protocol message are aligned to
4 bytes. For this purpose add necessary amount of padding bytes to
each message. Besides, add padding for non-aligned variable length
fields, e.g. SSID, so that the first byte of the next variable length
element is aligned. to 4 bytes. Finally, introduce TLV parsing helpers
to reduce boilerplate TLV parsing code.
Signed-off-by: Igor Mitsyanko <igor.mitsyanko.os@quantenna.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions