Hello all, after adding 6lowpan fragmentation support I noticed one interesting issue. As I understand I'm the first who tries to send several packets continuously. So in this case there is a big packets lost statistics and chip goes mad:
... at86rf230_xmit error: -16 at86rf230_state unexpected state change: 255, asked for 4 at86rf230_xmit error: -16 at86rf230_state unexpected state change: 255, asked for 4 ... Also I observed another error messages, but currently I have no log. The following hack helps to avoid this problem: diff --git a/drivers/ieee802154/at86rf230.c b/drivers/ieee802154/at86rf230.c index 769504c..6cbe913 100644 --- a/drivers/ieee802154/at86rf230.c +++ b/drivers/ieee802154/at86rf230.c @@ -399,6 +399,8 @@ at86rf230_xmit(struct ieee802154_dev *dev, struct sk_buff *skb) if (rc) goto err_rx; + mdelay(20); + if (gpio_is_valid(lp->slp_tr)) { gpio_set_value(lp->slp_tr, 1); udelay(80); /* > 62.5 */ ------------------------------------------------------------------------------ RSA® Conference 2012 Save $700 by Nov 18 Register now! http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Linux-zigbee-devel mailing list Linux-zigbee-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel