Correctly calculate absolute RX signal strength and use relative RX signal
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Tue, 6 Feb 2007 14:33:39 +0000 (14:33 +0000)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Tue, 6 Feb 2007 14:33:39 +0000 (14:33 +0000)
commit137f4aa32ab8148f4f16c49ad85b54084d1a385c
tree65124779974df6d298936753bff7a3ac57bcb131
parent3b390d5702ecee600405b523d91220f311acea27
Correctly calculate absolute RX signal strength and use relative RX signal
strength (relative to noise floor) as RSSI.  This makes the signal of node
reported by ifconfig(8) consistent with reality, i.e. weaker signal, lower
RSSI.

Calculation of absolute RX signal strength is adapted from Linux RT73 driver.
sys/dev/netif/rum/if_rum.c
sys/dev/netif/rum/if_rumreg.h