Commit Graph

6 Commits

Author SHA1 Message Date
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