Historical ath9k-devel archives
 help / color / mirror / Atom feed
* [ath9k-devel] How can i distinguish TXOK and TXDESC interupts
@ 2012-06-18  3:57 lastnoname
  0 siblings, 0 replies; only message in thread
From: lastnoname @ 2012-06-18  3:57 UTC (permalink / raw)
  To: ath9k-devel

The get_isr function combines the AR_ISR_TXOK ,AR_ISR_TXERR , AR_ISR_TXEOL and AR_ISR_TXDESC interrupts as a ATH9K_INT_TX mask. so I cannot get the actual interrupts from the get_isr  function. 
I tried to destinguish the interrupts AR_ISR_TXOK ,AR_ISR_TXERR , AR_ISR_TXEOL and AR_ISR_TXDESC. I've tried to read the AR_ISR_S0 and AR_ISR_S1 registers, and  found that the AR_ISR_TXOK interrupt always appears togerther with the AR_ISR_TXDESC interrupt, though the AR_IMR,AR_IMR_S0 and AR_IMR_S1 interrupt related bits are set. I have no idea how to distinguish the time when the frame is being transmitted(AR_ISR_TXDESC interrupt theoretically)  and when the frame is acked (AR_ISR_TXOK interrupt theoretically).  I just want to measure the time delay between such two events. 
So, How can i distinguish TXOK and TXDESC interupts?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20120618/108d025a/attachment.htm 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-06-18  3:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-18  3:57 [ath9k-devel] How can i distinguish TXOK and TXDESC interupts lastnoname

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox