Commit graph

26 commits

Author SHA1 Message Date
kkrentz 4493783ce9 'free_packet' in csma.c conflicted with 'free_packet' in maca.c 2014-08-04 01:09:57 -07:00
Mariano Alvira ad55ccdec4 add working routines to turn the mc1322x radio on and off 2013-02-03 14:48:38 -05:00
Mariano Alvira a53e653bbf Receive packets in a dummy_rx when the maca packet pool is
empty. These packets get dropped.
2013-01-06 15:12:07 -05:00
Mariano Alvira b3bb3ff53d fix very incorrect insert_at_rx_head; the bugged version would make
the rest of the rx list dangling.

this is used to insert the ack packet needed by the upper layers in
the netstack.
2012-12-02 14:25:39 -05:00
Mariano Alvira 2c9a538582 Merge branch 'master' of git://git.devl.org/git/malvira/libmc1322x into bump-libmc1322x
bump libmc1322x to 7bee48243c

Conflicts:
	cpu/mc1322x/board/Makefile.board
	cpu/mc1322x/lib/include/uart.h
	cpu/mc1322x/lib/uart1.c
	cpu/mc1322x/lib/uart2.c
	cpu/mc1322x/src/default_lowlevel.c
2012-11-18 18:27:39 -05:00
Laurent Deru 56914963ef Reactivate flash protection after maca init 2012-05-09 10:24:38 -04:00
Mariano Alvira 2b9f4e8fed Merge branch 'master' of git://git.devl.org/git/malvira/libmc1322x 2011-08-01 19:50:46 -04:00
Mariano Alvira 33b32c61e9 Only insert an ack packet if the ack request bit is set 2011-06-01 13:47:05 -04:00
Mariano Alvira 724bcbd2d3 Merge remote branch 'libmc1322x/master'
Conflicts:
	cpu/mc1322x/src/default_lowlevel.c
2011-05-14 21:19:47 -04:00
Mariano Alvira 0a2b86456b add option to insert an ack packet on autoack 2011-05-08 09:50:57 -04:00
Mariano Alvira 65671c66c6 turn on insert ack packet by default 2011-05-08 09:50:57 -04:00
Mariano Alvira d80449244d Merge remote branch 'libmc1322x/master' 2011-04-20 21:23:47 -04:00
Mariano Alvira 59d7fad746 Merge remote branch 'libmc1322x/master' 2011-03-11 16:28:14 -05:00
Mariano Alvira a1ae79307b mc1322x: remove auto reception mode as it appears to be the cause of
the periodic autoack checksum errors. removing auto mode doesn't seem
to create any performance issue.
2011-03-11 06:28:47 -05:00
dak664 bb574fd1e2 Don't create an object directory if target does not exist 2011-03-10 14:59:21 -05:00
Mariano Alvira 5208aa14ea mc1322x: remove auto reception mode as it appears to be the cause of
the periodic autoack checksum errors. removing auto mode doesn't seem
to create any performance issue.
2011-03-08 15:36:53 -05:00
Mariano Alvira 07f77b02eb Merge remote branch 'libmc1322x/master' 2011-02-18 12:38:30 -05:00
Mariano Alvira 2e331b51e8 Merge remote branch 'libmc1322x/master' into update-libmc1322x
Conflicts:
	cpu/mc1322x/COPYING
2011-02-17 14:41:47 -05:00
Mariano Alvira 7cdfbb0947 remove cvs keywords from cpu/mc1322x 2011-02-17 14:36:55 -05:00
maralvira ca098db611 fix a race condition regarding advancement of the softclock. Without
this, the advancment would fail to trigger a tx cycle
occasionally. This would cause the packet to get deferred until the
next expiration of the softclock.
2011-01-17 15:49:17 +00:00
maralvira f1fede7090 get LQI of received packets 2010-11-07 14:06:57 +00:00
maralvira df9d43ab83 increase the reception time now that tx_packet will advance the timer
as necessary.
2010-07-28 18:49:34 +00:00
maralvira a3b9c2adb0 in tx_packet, force an interrupt if the maca isn't doing anything so
that the transmit starts. Or if the maca is in a reception cycle,
advance the softclock timeout to now so that transmission starts as
soon as possible (immediately if a packet isn't being received or
right after reception finishes).
2010-07-28 18:48:03 +00:00
maralvira 593a50c38f make the debug prints in check_maca more specific 2010-07-28 18:47:35 +00:00
maralvira 422d05003f use 32 packets in the pool by default 2010-07-28 18:47:05 +00:00
maralvira 419906a769 initial mc1322x commit
based on commit aac3a355451d899f02737f2907af8c874ee4feba of

git://git.devl.org/git/malvira/contiki-mc1322x.git
2010-06-10 14:55:39 +00:00