Search Linux Wireless

bcm43xx: New feature: Injection of TX queue overflows

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
-
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux