RE: presume-ack option exact meaning

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

 



> Does it actually send an ACK to the bus or ignore the missing ACK?

The controller sends the ACK to the bus.


> | Setting the introduced flag via netlink should make CAN controller

> | perform a successful transmission, even if there is no acknowledgement

> | (dominant ACK bit) received.


> Does that answer your question?

This partially answers my question because in this case, the ACK is still transmitted.

-- Stéphane










            De: Marc Kleine-Budde
Envoyé: Vendredi 04 novembre 2022 12:03
À: Stéphane Grosjean
Cc: linux-can@xxxxxxxxxxxxxxx
Objet: Re: presume-ack option exact meaning




On 04.11.2022 10:56:16, Stéphane Grosjean wrote:

> Hello all,

>

> I have searched the net, but I can't find a clear explanation of what

> the "presume-ack" option available in socket-can is.

>

> Some PEAK-System devices offer an option called "self-ack" which

> allows the controller sending the frame to also send the ACK itself.



Does it actually send an ACK to the bus or ignore the missing ACK?



> Does this behavior correspond to what the "presume-ack" option should

> enable?

>

> Thank you all for your help and regards,



In



| https://lore.kernel.org/all/1404934273-19233-3-git-send-email-nebaruzdin@xxxxxxxxx



Nikita Edward Baruzdin writes:



| Most CAN controllers have a support for ignoring ACK absence. Some of

| them refer to this feature as a self test mode (e. g. SJA1000) and some

| include it as a part of a loopback mode (e. g. MCP2510).

|

| Setting the introduced flag via netlink should make CAN controller

| perform a successful transmission, even if there is no acknowledgement

| (dominant ACK bit) received.



Does that answer your question?



Marc



--

Pengutronix e.K.                 | Marc Kleine-Budde           |

Embedded Linux                   | https://www.pengutronix.de  |

Vertretung West/Dortmund         | Phone: +49-231-2826-924     |

Amtsgericht Hildesheim, HRA 2686 | Fax:   +49-5121-206917-5555 |


--
PEAK-System Technik GmbH
Sitz der Gesellschaft Darmstadt - HRB 9183
Geschaeftsfuehrung: Alexander Gach / Uwe Wilhelm
Unsere Datenschutzerklaerung mit wichtigen Hinweisen
zur Behandlung personenbezogener Daten finden Sie unter
www.peak-system.com/Datenschutz.483.0.html




[Index of Archives]     [Automotive Discussions]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [CAN Bus]

  Powered by Linux