[PATCH] bcm43xx: improved statistics
authorLarry Finger <Larry.Finger@lwfinger.net>
Fri, 30 Jun 2006 03:48:59 +0000 (22:48 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 10 Jul 2006 18:19:41 +0000 (14:19 -0400)
commit4221f980a4931364be7ffd81c4f16784990f6f8b
treeab7f3b768a28ff306c95a8dac6c9a7e0182a8da3
parent2087da5dc12c497123d5fb8949ceed9021b673ec
[PATCH] bcm43xx: improved statistics

This patch improves the statistics returned from
bcm43xx_get_wireless_stats. The signal level comes from smoothing the
"rssi" value returned by the firmware after it is converted into a
dBm value by the driver. The quality value is a hack derived from the
smoothed level and an assumed RX_POWER_MAX of -10 dBM. The noise value
is still the one calculated from the clean-room formula. On my system,
this is roughly -65 dBm, which seems too high.

The revised version uses the ieee80211 spinlock to protect traversing
of the network list.

Signed-Off-By: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/bcm43xx/bcm43xx_wx.c
This page took 0.024925 seconds and 5 git commands to generate.