Package: wavemon
Version: 0.4.0b-9
Severity: normal

wavemon does not handle dBm values in /proc/net/wireless as displayed
when IW_QUAL_DBM is set by the driver.

/proc/net/wireless when IW_QUAL_DBM is not set:

--8<---
Inter-| sta-|   Quality        |   Discarded packets               | Missed | 
WE face | tus | link level noise |  nwid  crypt   frag  retry   misc | beacon | 
20
  ath0: 0004   73.  238.  165.    1646      0      0      0      0        0
--8<---

wavemon handles this and subtracts 0x100 to get the dBm values.

/proc/net/wireless when IW_QUAL_DBM is set:
--8<---
Inter-| sta-|   Quality        |   Discarded packets               | Missed | 
WE face | tus | link level noise |  nwid  crypt   frag  retry   misc | beacon | 
20
  ath0: 0004   75.  -21.  -96.     692      0      0      0      0        0
--8<---

wavemon does not handle this and still subtracts 0x100 leading to
wrong values like "signal level: -277 dBm" and "noise level: -352 dBm"
in this case.

elmar

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i586)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-486
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages wavemon depends on:
ii  libc6                       2.3.6.ds1-13 GNU C Library: Shared libraries
ii  libncurses5                 5.5-5        Shared libraries for terminal hand

wavemon recommends no packages.

-- no debconf information

-- 

 .'"`.                                                            /"\
| :' :   Elmar Hoffmann <[EMAIL PROTECTED]>    ASCII Ribbon Campaign  \ /
`. `'    GPG key available via pgp.net        against HTML email   X
  `-                                                    & vCards  / \

Attachment: signature.asc
Description: Digital signature

Reply via email to