p54: Add quality output to iwlist and iwconfig
authorLarry.Finger@lwfinger.net <Larry.Finger@lwfinger.net>
Mon, 30 Jun 2008 15:39:49 +0000 (10:39 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 2 Jul 2008 19:48:34 +0000 (15:48 -0400)
commit18d7260527ce7c0d0a177afdf92d8f868f50b067
tree290bbb499b871df1a227c10a40af814b076c6d74
parentf4ea83dd743d3e1bec8fdf954ac911c6b12ae87a
p54: Add quality output to iwlist and iwconfig

The p54 driver family reports a quality of 0 in iwconfig and iwlist
output. This patch calculates a quality number as a percentage of the
rssi to the maximum signal of 127 reported as the maximum signal.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/p54/p54common.c