]> git.karo-electronics.de Git - linux-beck.git/commit
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)
commitbdd7bd16439975133d36bcd7c9c489302a114525
tree644d22c32ae063af6a17063733b1a0d4ad30ec9c
parent19999792d2889350611ba9e346d6a2924959dc2d
mac80211_hwsim: Incorporate txpower into rssi

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>
drivers/net/wireless/mac80211_hwsim.c