[rt2x00-users] rt2800pci SoC
Benoit PAPILLAULT
benoit.papillault at free.fr
Sat Mar 20 18:12:56 UTC 2010
Helmut Schaa a écrit :
>
> So, I've checked the TX descriptors for rt2800pci but couldn't find any
> obvious problems. However, I only had a quick look and it might still be
> a problem with the tx descriptors that is less obvious.
>
> Helmut
>
Did you check that the next TX descriptor is set to 0 ?
@@ -466,6 +483,12 @@ static void rt2800usb_write_tx_desc(struct
rt2x00_dev *rt2x00dev,
rt2x00_set_field32(&word, TXINFO_W0_USB_DMA_TX_BURST,
test_bit(ENTRY_TXD_BURST, &txdesc->flags));
rt2x00_desc_write(txi, 0, word);
+
+ /*
+ * Initialize next TX descriptor (empty)
+ */
+ txi = (__le32 *)(skbdesc->desc + TXINFO_DESC_SIZE + tx_pkt_len);
+ rt2x00_desc_write(txi, 0, 0);
}
Regards,
Benoit
More information about the users
mailing list