diff options
author | Alexander Aring <aahringo@redhat.com> | 2022-09-05 22:34:12 +0200 |
---|---|---|
committer | Stefan Schmidt <stefan@datenfreihafen.org> | 2022-10-12 19:43:20 +0200 |
commit | f8be91fbfc7dd2d69762d510cc29c3b52d3ef4db (patch) | |
tree | 2ce23f3a9d0320a2e810b2c2afc06f67e698ebf5 /lib/logic_iomem.c | |
parent | net: mac802154: Avoid displaying misleading debug information (diff) | |
download | linux-f8be91fbfc7dd2d69762d510cc29c3b52d3ef4db.tar.xz linux-f8be91fbfc7dd2d69762d510cc29c3b52d3ef4db.zip |
ieee802154: atusb: add support for trac feature
This patch adds support for reading the trac register if atusb firmware
reports tx done. There is currently a feature to compare a sequence
number, if the payload is 1 it tells the driver only the sequence number
is available if it's two there is additional the trac status register as
payload.
Currently the atusb_in_good() function determines if it's a tx done or
rx done if according the payload length. This patch is doing the same
and assumes this behaviour.
Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/r/20220905203412.1322947-10-miquel.raynal@bootlin.com
Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
Diffstat (limited to 'lib/logic_iomem.c')
0 files changed, 0 insertions, 0 deletions