]> git.baikalelectronics.ru Git - kernel.git/commit
carl9170: fix noise dBm conversion
authorChristian Lamparter <chunkeey@googlemail.com>
Fri, 17 Sep 2010 20:22:50 +0000 (22:22 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 21 Sep 2010 15:05:20 +0000 (11:05 -0400)
commitb08fb3883ca3d5f4284cde0a5d3fd88dde216621
tree6900ca09d6309e2e0621e1ab7ff405f5ab959763
parent05998c94a91681fcfd6f9b1eb961eb1eb3e6d295
carl9170: fix noise dBm conversion

Ever since carl9170 gained support to read the noisefloor,
the reported noisefloor level was pretty poor.

Initially I assumed that something was wrong in the PHY
setup and it would be impossible to fix without any
guidances. But this was not the case. In fact the nf
readings were correct and the thing that was broken
was the "simple" sign extension code!

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/carl9170/phy.c