summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorZhang Changzhong <zhangchangzhong@huawei.com>2020-08-05 11:50:25 +0800
committerMarc Kleine-Budde <mkl@pengutronix.de>2020-08-15 11:12:58 +0200
commit0ae18a82686f9b9965a8ce0dd81371871b306ffe (patch)
treec7c9ee5d7a422183dedcd4e6b3c6f6941cdff7d2 /tools
parent2b8b2e31555cf55ba3680fb28e2b382e168d7ea1 (diff)
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 'tools')
0 files changed, 0 insertions, 0 deletions