]> bbs.cooldavid.org Git - net-next-2.6.git/commit
Staging: wlags49_h2: fix up signal levels
authorHenk de Groot <henk.de.groot@hetnet.nl>
Sun, 6 Dec 2009 20:29:31 +0000 (21:29 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Dec 2009 20:23:23 +0000 (12:23 -0800)
commite81589a70c9dbee888cce16e8bdfdc993299dc3f
treeac5f92d18a989242fe2bf4c0f832b543b466c41e
parentd0f2cc5aea14a4dfd342616faade05b75cb6c309
Staging: wlags49_h2: fix up signal levels

Adjusts the signal levels reported by the wlags49_h2 and wlags49_h25 staging
drivers. With the constants supplied by Agere the signal levels are always
poor, even in close proximity to the AP. The signals are now measured with
a real device. 100% for close proximity to the AP, 0% for the noice floor.
Now the levels shown by the NetworkManager gauge make sense.

Some magic numbers in the related code are replaced by the correct constants
from the wireless extension interface (wireless.h). Also the flag IW_QUAL_DBM
is now set, as specified in the wireless.h header file.

Signed-off-by: Henk de Groot <pe1dnn@amsat.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/wlags49_h2/wl_if.h
drivers/staging/wlags49_h2/wl_wext.c