Commit graph

28 commits

Author SHA1 Message Date
Mariano Alvira 2aa76aaacd init_phy was doing phy initialization and maca reset. maca_reset was
doing nothing useful. This patch factors init_phy and rewrites
maca_reset.
2010-03-16 10:31:35 -04:00
Mariano Alvira 07e6b65182 fix up long types in printfs
from Clive Stubbings.
2010-03-15 07:24:48 -04:00
Mariano Alvira fecb5e7bdb many warning cleanups.
Contributed by Clive Stubbings.
2010-03-13 07:30:47 -05:00
Mariano Alvira a61deb78f4 add a way to disable FCS checking. 2010-03-11 15:18:29 -05:00
Mariano Alvira 3cd4bf5768 clear the offset when freeing a packet 2010-03-10 17:59:04 -05:00
Mariano Alvira a5f8b58e07 debug PRINTF fixes 2010-03-10 15:35:13 -05:00
Mariano Alvira ecebd094bf fix radio_off for interrupts 2010-03-10 15:35:04 -05:00
Mariano Alvira db145ed8a4 removed some stale comments 2010-03-08 18:45:26 -05:00
Mariano Alvira ea2646e5ec implement rx callback 2010-03-08 18:12:31 -05:00
Mariano Alvira 8b73c61175 change the receive timeout to be 32 large packets 2010-03-08 17:39:04 -05:00
Mariano Alvira 761d2c4cbf handle case when buffers are full and we need to transmit.
this is a problem because there won't be a buffer available for the
acknowledgment. In this case use the dummy_ack packet which is always
free for this purpose.
2010-03-08 17:37:35 -05:00
Mariano Alvira 06e3e0b207 add maca_init()
changed tests to use it.
2010-03-08 14:49:31 -05:00
Mariano Alvira 571861c6ea post_receive still needs to timeout if it can't find any free
bufferes.
2010-03-08 12:29:49 -05:00
Mariano Alvira 2a07cbe665 enabled softclk timeouts
fixed post interleaving problem

fixed interrupts in ResumeMACASync.

This seems quite solid now.
2010-03-08 12:03:20 -05:00
Mariano Alvira d3f6ef07f2 sort out the length details. 2010-03-07 18:48:47 -05:00
Mariano Alvira a04a69480b add the 4 byte preamble 2010-03-07 17:07:54 -05:00
Mariano Alvira 024448e65e add an offset to packet_t to compensate for the added length byte on
reception
2010-03-07 17:04:30 -05:00
Mariano Alvira 667b238148 rftest-tx and refine post_tx for fast transmission 2010-03-07 16:49:57 -05:00
Mariano Alvira 0dac24e1eb this is pretty close to working together. 2010-03-06 19:54:55 -05:00
Mariano Alvira e8550f26ba this receive seems to work well.
It has checksum errors at 123 byte payloads, but this was tested with
the old rftest-tx --- so the transmit side could be the problem.
2010-03-06 19:14:55 -05:00
Mariano Alvira f5391e88dc commented the data indication printf 2010-03-06 18:50:47 -05:00
Mariano Alvira 2d68c30934 this receive works 2010-03-06 18:48:13 -05:00
Mariano Alvira 0f400b4341 lots of fixes.
major fix is adding a completion counter based on packet length to
restart the MACA when it freezes on transmit.
2010-03-06 17:58:49 -05:00
Mariano Alvira 5c20312744 this does 127 B packets as fast as possible (with these settings).
Transmitts are every 5.8ms and are 4.48ms long
2010-03-05 19:25:38 -05:00
Mariano Alvira 8e3c2a8622 added locking and interrupt disables.
transmit looks pretty good.
2010-03-05 17:06:08 -05:00
Mariano Alvira 5bda57ed39 progress on maca overhaul 2010-03-04 18:52:42 -05:00
Mariano Alvira 4b22b25e38 changed maca.c over to printf 2010-03-02 18:23:23 -05:00
Mariano Alvira d5b20ddce5 renamed libmc1322x to lib 2010-03-02 09:51:58 -05:00
Renamed from libmc1322x/maca.c (Browse further)