[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <24c3daa5-8243-0b80-9f4c-aa5883cb75da@huawei.com>
Date: Fri, 7 Aug 2020 17:36:38 +0800
From: Zhang Changzhong <zhangchangzhong@...wei.com>
To: Oleksij Rempel <o.rempel@...gutronix.de>
CC: <robin@...tonic.nl>, <linux@...pel-privat.de>,
<kernel@...gutronix.de>, <socketcan@...tkopp.net>,
<mkl@...gutronix.de>, <davem@...emloft.net>, <kuba@...nel.org>,
<netdev@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<linux-can@...r.kernel.org>
Subject: Re: [PATCH net 0/4] support multipacket broadcast message
Hi Oleksij,
We have tested this j1939 stack according to SAE J1939-21. It works fine for
most cases, but when we test multipacket broadcast message function we found
the receiver can't receive those packets.
You can reproduce on CAN bus or vcan, for vcan case use cangw to connect vcan0
and vcan1:
sudo cangw -A -s vcan0 -d vcan1 -e
sudo cangw -A -s vcan1 -d vcan0 -e
To reproduce it use following commands:
testj1939 -B -r vcan1:0x90 &
testj1939 -B -s20 vcan0:0x80 :,0x12300
Besides, candump receives correct packets while testj1939 receives nothing.
Regards,
Zhang Changzhong
On 2020/8/7 0:10, Oleksij Rempel wrote:
> Hello,
>
> Thank you for your patches! Currently I'm busy, but I'll take a look at it as
> soon possible.
>
> btw. can you tell me about more of your use case/work. I would like to
> have some feedback about this stack. You can write a personal message,
> if it is not for public.
>
> On Wed, Aug 05, 2020 at 11:50:21AM +0800, Zhang Changzhong wrote:
>> Zhang Changzhong (4):
>> can: j1939: fix support for multipacket broadcast message
>> can: j1939: cancel rxtimer on multipacket broadcast session complete
>> can: j1939: abort multipacket broadcast session when timeout occurs
>> can: j1939: add rxtimer for multipacket broadcast session
>>
>> net/can/j1939/transport.c | 48 +++++++++++++++++++++++++++++++++++------------
>> 1 file changed, 36 insertions(+), 12 deletions(-)
>
> Regards,
> Oleksij
>
Powered by blists - more mailing lists