mac80211_hwsim: Incorporate txpower into rssi
authorBlaise Gassend <blaise@willowgarage.com>
Thu, 28 Oct 2010 09:01:24 +0000 (02:01 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 15 Nov 2010 18:25:28 +0000 (13:25 -0500)
Up to now mac80211_hwsim has been reporting an rssi of -50. This patch
improves the model slightly by returning txpower-50. This makes it
easy to stimulate tests that need to see a varying rssi.

Signed-off-by: Blaise Gassend <blaise@willowgarage.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

No differences found