[mc1322x] [PATCH 0/4] 6lowhack patches

Mariano Alvira mar at devl.org
Mon Mar 29 19:52:25 EDT 2010


The following set of patches implement enough 6lowpan in linux to work with contik motes.

Tested against a mote running udp-client, a socat udpserver on linux,
and pinging the mote from linux at the same time. The Linux ipv6
statck receives the uncompressed frames and performs ND
sucessfully. RS/RA hasn't been tested. Stability seems good.

Many of these changes are fixes to the linux drivers and should
probably be cleaned up and pushed upstream.  Notably, I try to fix up
bad states and move on instead of bugging out. I also check and
prevent the xmit block buffer from overflowing. This also fixes if the
shortid = 0xffff then broadcast packets should be marked as such and
not as PACKET_HOST.

Take a look and please comment! 

-Mar.

Mariano Alvira (4):
  Jon's lowpan hack patch
  this forces a header that contiki is expecting.
  pass data up to ipv6
  handle cases with the linux driver is out of sync with the serial    
    radio device (can happen for a lot of reasons)

 drivers/ieee802154/serial.c |   38 +++++++++++-------
 net/mac802154/dev.c         |   93 ++++++++++++++++++++++--------------------
 2 files changed, 72 insertions(+), 59 deletions(-)




More information about the mc1322x mailing list