diff options
author | Zhang Changzhong <zhangchangzhong@huawei.com> | 2020-08-05 06:50:25 +0300 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2020-08-15 12:12:58 +0300 |
commit | 0ae18a82686f9b9965a8ce0dd81371871b306ffe (patch) | |
tree | c7c9ee5d7a422183dedcd4e6b3c6f6941cdff7d2 /drivers/net/ieee802154/atusb.c | |
parent | 2b8b2e31555cf55ba3680fb28e2b382e168d7ea1 (diff) | |
download | linux-0ae18a82686f9b9965a8ce0dd81371871b306ffe.tar.xz |
can: j1939: add rxtimer for multipacket broadcast session
According to SAE J1939/21 (Chapter 5.12.3 and APPENDIX C), for transmit side
the required time interval between packets of a multipacket broadcast message
is 50 to 200 ms, the responder shall use a timeout of 250ms (provides margin
allowing for the maximumm spacing of 200ms). For receive side a timeout will
occur when a time of greater than 750 ms elapsed between two message packets
when more packets were expected.
So this patch fix and add rxtimer for multipacket broadcast session.
Fixes: 9d71dd0c7009 ("can: add support of SAE J1939 protocol")
Signed-off-by: Zhang Changzhong <zhangchangzhong@huawei.com>
Link: https://lore.kernel.org/r/1596599425-5534-5-git-send-email-zhangchangzhong@huawei.com
Acked-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/net/ieee802154/atusb.c')
0 files changed, 0 insertions, 0 deletions