Commit graph

7 commits

Author SHA1 Message Date
Mariano Alvira 2a75a4a5df this fixes a major problem with the maca_process
Before it didn't do process_poll like it should and would add events
out of turn and mess up the event processor --- that would cause the
button to stop working after the unhandled events exceeded a max
number

this fixes maca_process to do a process_poll as it should. now the
button works fine and so does the radio.
2011-02-03 18:09:51 -05:00
maralvira 3b515587c5 change how prepare and transmit work --- Contiki expects to call
prepare once and then transmit many times to repeat the same packet
over and over. This didn't work like that, but now it does.
2010-11-07 20:07:42 +00:00
maralvira e029fa8da0 fix defines for raw mode 2010-11-07 18:34:52 +00:00
maralvira 1cb0762bd0 Don't post from an interrupt context --- this resulted in process
corruption if a packet was received at the wrong time.

The maca_thread now just PAUSEs and checks rx_head instead of waiting
for a data event to be posted.
2010-09-13 14:15:58 +00:00
maralvira 9a7a2742b3 remove bad call to maca_on()
maca_on() resets the maca and phy, takes a long time, and clobbers any
packet that is currently being transmitted or received. It doesn't
belong in prepare and was the source of a lot of latency and bad
packet transmissions.

Make sure the maca is on somewhere else.
2010-07-28 18:48:51 +00:00
adamdunkels 3fa8ffda1a Moved the modules packetbuf, queuebuf, and packetqueue from net/rime to net/, since they are not Rime-specific 2010-06-14 19:19:16 +00:00
maralvira 1145fa9ba9 initial mc1322x commit
based on commit aac3a355451d899f02737f2907af8c874ee4feba of

git://git.devl.org/git/malvira/contiki-mc1322x.git
2010-06-09 14:43:22 +00:00