bcm43xx: New feature: Injection of TX queue overflows
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.
Signature · 1 line
Greetings Michael.