]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit63ef0a9e127095391f46d9f12a06f89f39ddfbd3
tree3b344b9c986b55f77b4652fd46ce2dad9138ea31
parente4be0e9bb8924f9a1b22451589ec2a4f962c2884
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