orinoco: indicate it is using dBm in wireless_stats and spy
authorAndrey Borzenkov <arvidjaar@mail.ru>
Sat, 15 Nov 2008 14:15:09 +0000 (17:15 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 26 Nov 2008 14:47:18 +0000 (09:47 -0500)
commitf941f8590c06c6b1a77c4b5a5df59f39a3c7d1e9
tree75613cb3695f75ef7c83201caf40dcefff75ea67
parent8eb41c93685318d177276d1819915571aca7ebb1
orinoco: indicate it is using dBm in wireless_stats and spy

Since WE7 /proc/net/wireless checks whether level and noise  are in dBm
and shows them accordingly. Indicate that we return signal and noice
levels in dBm.

Before:
Inter-| sta-|   Quality        |   Discarded packets               | Missed | WE
 face | tus | link level noise |  nwid  crypt   frag  retry   misc | beacon | 22
  eth1: 0000   65.  219.  165.       0      0    148     41      0        0

After:
Inter-| sta-|   Quality        |   Discarded packets               | Missed | WE
 face | tus | link level noise |  nwid  crypt   frag  retry   misc | beacon | 22
  eth1: 0000   65.  -37.  -91.       0      0      0      0      0        0

While at it, replace raw numbers with appropriate macro.

Signed-off-by: Andrey Borzenkov <arvidjaar@mail.ru>
Signed-off-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/orinoco/orinoco.c