I have been debugging customer reported timeout and loss of communication and I have relaized that I don't have such a lossy environment available in the lab. To speed up debugging I have written frame corruption simulator which will allow me to totally loose specific types of packets. I have been mostly using it with the mask 0x5000 which drops some EAPOL and deauthentication frames. This way I was able to test better timeouts and fail paths. At the moment only management, null function and EAPOL frames are supported. One can add more if necessary. Wojciech Dubowik (1): ath9k: Add frame corruption simulator drivers/net/wireless/ath/ath9k/Kconfig | 15 +++++ drivers/net/wireless/ath/ath9k/ath9k.h | 7 +++ drivers/net/wireless/ath/ath9k/debug.c | 49 +++++++++++++++ drivers/net/wireless/ath/ath9k/xmit.c | 106 +++++++++++++++++++++++++++++++++ 4 files changed, 177 insertions(+) -- 2.7.4