[PATCH] Re allocate the RX DMA buffer to avoid skb conflict Handle all RX packets in the DMA ring buffer

Eugene Krasnikov k.eugene.e at gmail.com
Tue May 28 02:55:49 EDT 2013


> In my testing, the irq_tx_complete90 will not be triggered after TX
> fire, but the TX status has to be
> clear in order to continue TX, then it just moved to RX handle to as a
> workaround to fix this issue.
>
> That is indeed need be move to TX handler when we get the irq_tx_complete works

irq_tx_complete is not generated because it's disabled completely
right now. That is also one of the reasons why we a leaking memory as
Pontus stated before.
Do not think it's a good workaround because there can be a situation
when there is no RX packets. Let's better implement a proper TX
handling first.

> but will not include in this patch. what your opinion?

Let's split it in couple of patches:
1) Implement tx_comp status
2) Fix dmamap/unmap
3) Process more then one RX packet per interrupt
4) Refill RX skb
5) Clear channel status register

How about that?

--
Best regards,
Eugene



More information about the wcn36xx mailing list