[PATCH] zd1211rw: Fix of signal strength and quality measurement
authorUlrich Kunitz <kune@deine-taler.de>
Tue, 29 Aug 2006 22:50:29 +0000 (23:50 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 11 Sep 2006 20:11:08 +0000 (16:11 -0400)
commitdb888aed7e83559d61cff04bf002d0fb80ecbfa7
tree4c8795f5924ce440ddc79cf0e2d7ae25d633d5ad
parent38f5745c5a90641079fd5b48600ae63f7ab6edcd
[PATCH] zd1211rw: Fix of signal strength and quality measurement

Caused by a documentation issue I mixed up fields of the zd_status
structure. This patch fixes it and improves also the average
computation, which is now using only measurements of packets sent
by the access point.

Signed-off-by: Ulrich Kunitz <kune@deine-taler.de>
Signed-off-by: Daniel Drake <dsd@gentoo.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/zd1211rw/zd_chip.c
drivers/net/wireless/zd1211rw/zd_mac.c
drivers/net/wireless/zd1211rw/zd_mac.h