mac80211: add command to get current rssi
authorVictor Goldenshtein <victorg@ti.com>
Thu, 21 Jun 2012 07:56:46 +0000 (10:56 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 21 Jun 2012 14:42:17 +0000 (16:42 +0200)
commit66572cfc30a4b764150c83ee5d842a3ce17991c9
tree3b344b9c986b55f77b4652fd46ce2dad9138ea31
parent0f6b3f597daab2254614e2773e322e73fb1b6f4b
mac80211: add command to get current rssi

Get current rssi (in dBm) from the driver/FW.

Instead of reporting the signal received in the last
rx packet, which might be inaccurate if rx traffic is
low and beacon filtering is enabled, get the signal
from the driver/FW.

Signed-off-by: Victor Goldenshtein <victorg@ti.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/mac80211.h
net/mac80211/cfg.c
net/mac80211/driver-ops.h
net/mac80211/driver-trace.h