Benoît Thébaudeau
14db3382af
csma: Initialize sequence number with random value
...
According to IEEE 802.15.4 (§5.1.6.1, §6.4.2), the MAC sequence numbers should
be initialized to random values. This was already the case in
framer-802154.c:create(), but not in csma.c:send_packet(), sometimes causing
false detections of duplicate MAC-layer packets in other devices when a device
was restarted too quickly. This patch decreases the probability of such an
event.
Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com >
2013-11-25 13:01:11 +01:00
..
2013-11-25 13:01:11 +01:00
2013-11-19 08:21:53 +01:00
2013-11-24 15:17:52 +01:00
2012-10-26 15:54:49 +02:00
2012-10-26 15:54:49 +02:00
2013-11-24 11:02:35 +01:00
2013-11-18 00:55:57 +01:00
2013-11-18 00:55:57 +01:00
2012-11-25 12:05:00 +01:00
2012-10-26 15:54:49 +02:00
2012-11-27 23:04:32 +01:00
2012-10-26 15:54:49 +02:00
2012-10-26 15:54:49 +02:00
2012-10-26 15:54:49 +02:00
2013-02-10 15:41:34 +01:00
2012-10-26 15:54:49 +02:00
2012-10-26 15:54:49 +02:00
2012-10-26 15:54:49 +02:00
2013-09-09 21:35:51 +02:00
2013-03-10 11:40:08 -07:00
2012-10-26 15:54:49 +02:00
2013-11-22 15:12:02 +01:00
2013-11-22 15:10:44 +01:00
2012-11-27 23:04:32 +01:00
2012-11-27 23:04:32 +01:00
2012-10-26 15:54:49 +02:00
2012-10-26 15:54:49 +02:00
2013-11-18 00:55:57 +01:00
2013-11-18 00:55:57 +01:00
2012-10-26 15:54:49 +02:00
2012-10-26 15:54:49 +02:00
2012-10-26 15:54:49 +02:00
2012-10-26 15:54:49 +02:00
2012-10-26 15:54:49 +02:00
2013-11-22 08:16:05 +02:00
2012-10-26 15:54:49 +02:00
2013-03-10 11:39:11 -07:00
2013-03-10 11:39:11 -07:00
2013-08-19 17:48:31 +02:00
2012-10-26 15:54:49 +02:00
2013-11-18 00:55:57 +01:00
2013-11-18 00:55:57 +01:00
2013-11-18 00:55:57 +01:00
2013-09-09 20:48:11 -04:00
2013-08-19 17:48:30 +02:00
2013-08-19 17:48:30 +02:00
2013-03-18 09:45:30 +01:00
2012-10-26 15:54:49 +02:00
2012-10-26 15:54:49 +02:00
2012-10-26 15:54:49 +02:00
2013-03-25 20:13:15 -07:00
2012-02-17 22:45:13 +00:00
2013-11-18 00:55:57 +01:00
2013-07-02 14:43:53 +02:00
2012-10-26 15:54:49 +02:00
2012-10-26 15:54:49 +02:00
2013-11-24 11:02:35 +01:00
2012-10-26 15:54:49 +02:00
2010-10-28 15:42:56 +00:00
2010-10-28 15:42:56 +00:00
2012-11-27 23:04:33 +01:00
2012-10-26 15:54:49 +02:00
2013-03-18 11:22:08 +01:00
2012-10-26 15:54:49 +02:00
2013-09-05 20:37:01 +03:00
2013-03-18 09:45:30 +01:00
2013-05-15 16:25:34 +02:00
2013-02-03 23:04:41 +01:00
2013-09-11 18:30:31 +03:00