Re: [PATCH atusb/fw 2/2] atusb: fw: Provide TRAC status

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Mon, Sep 5, 2022 at 4:43 PM Miquel Raynal <miquel.raynal@xxxxxxxxxxx> wrote:
>
> From: Alexander Aring <aahringo@xxxxxxxxxx>
>
> Upon Tx done condition, returning the sequence number is useful but we
> might also return the TRAC value which is needed to ensure that the
> packet we sent got ACKed. The TRAC register just needs to be read when
> the TRX_END interrupt fires.
>
> We then need to send this information as part of the status
> message. First byte remains the sequence number for ensuring backward
> compatibility and a second byte is added to forward the TRAC register
> status.
>
> Signed-off-by: Alexander Aring <aahringo@xxxxxxxxxx>
> [Miquel Raynal: Moved the data array out of the stack, wrote commit log]
> Signed-off-by: Miquel Raynal <miquel.raynal@xxxxxxxxxxx>

I sent another patch v2, it should also fix a race see commit msg
regarding RX_AACK_ON. May you can fast test it and feel welcome to
resubmit it as a patch.
This patch has a lot of generated/compiled files added and I think it
was an accident.

- Alex




[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux