[mc1322x] Extra two bytes on xmit
Jon Smirl
jonsmirl at gmail.com
Wed Nov 18 18:41:58 EST 2009
When I change len + 4 to len + 2, the RS (solicitation) packets are
correct and the router responds with RA.
Why is this +4?
/* set dma tx pointer to the payload */
/* and set the tx len */
reg32(MACA_TXLEN) = (uint32_t)(len+2);
reg32(MACA_DMATX) = (uint32_t)tx_buf;
reg32(MACA_DMARX) = (uint32_t)rx_buf;
reg32(MACA_TMREN) = 0;
We aren't hearing the RAs when they come back.
--
Jon Smirl
jonsmirl at gmail.com
More information about the mc1322x
mailing list