diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2006-06-29 22:48:59 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2006-07-10 14:19:41 -0400 |
commit | 4221f980a4931364be7ffd81c4f16784990f6f8b (patch) | |
tree | ab7f3b768a28ff306c95a8dac6c9a7e0182a8da3 /drivers/net/wireless/bcm43xx/bcm43xx_xmit.c | |
parent | 2087da5dc12c497123d5fb8949ceed9021b673ec (diff) |
[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>
Diffstat (limited to 'drivers/net/wireless/bcm43xx/bcm43xx_xmit.c')
0 files changed, 0 insertions, 0 deletions