linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* bcm43xx: New feature: Injection of TX queue overflows
@ 2007-06-02 21:21 Michael Buesch
  0 siblings, 0 replies; only message in thread
From: Michael Buesch @ 2007-06-02 21:21 UTC (permalink / raw)
  To: linux-wireless; +Cc: Jiri Benc, Michael Wu

I added a feature to my tree that makes it possible to
conveniently inject a simulated TX queue overflow every
second. This could be used to test code in the stack
that's handling this rare event that almost never happens
in the real world (with sane hardware, at least :) )

http://bu3sch.de/gitweb?p=wireless-dev.git;a=commitdiff;h=3dd01baded24ff2d35bb0e5dac5dd2d90932f926

You need to compile bcm43xx-mac80211 with debugging support.
The injection is enabled at runtime through debugfs
by doing:
echo 1 >/debug/bcm43xx_mac80211/phyX/debug_dmaoverflow

It prints a debugging message to dmesg every time it
injects a fault.

-- 
Greetings Michael.

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

only message in thread, other threads:[~2007-06-02 21:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-02 21:21 bcm43xx: New feature: Injection of TX queue overflows Michael Buesch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).