]> git.baikalelectronics.ru Git - kernel.git/commit
ath6kl: silence "invalid rate" warning
authorKalle Valo <kvalo@qca.qualcomm.com>
Tue, 27 Sep 2011 20:33:28 +0000 (23:33 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 28 Sep 2011 16:03:47 +0000 (19:03 +0300)
commit84829a01162d2df98c2f64eedfc7fa59995d8689
treedda46b7616fe1866d1efa07fc5cee5330be7e783
parent2775017f69b210cd46b5094eb4644aa1a69c90e8
ath6kl: silence "invalid rate" warning

For some reason firmware is sending invalid rates when we try to
query current bitrate from ath6kl_get_station() and a warning is issued:

[ 3810.415720] ath6kl: invalid rate: 1935633515
[ 3811.105493] ath6kl: invalid rate: 1935633515
[ 3811.556063] ath6kl: invalid rate: 1935633515

As the warning happens way too often, convert the warning to a debug
message once we have a proper fix. But to make it easy to follow
how often the problem appears, add a debugfs to print
various statistics about workarounds and make this issue the first WAR.

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/cfg80211.c
drivers/net/wireless/ath/ath6kl/core.h
drivers/net/wireless/ath/ath6kl/debug.c
drivers/net/wireless/ath/ath6kl/debug.h