Package: wavemon Version: 0.4.0b-11 Severity: wishlist Tags: patch Some wireless cards report signal level in RSSI (Received Signal Strength Indicator) instead of dBm. This is an arbitrary integer index, usually ranging from 0 to 100 or from 0 to 255. See /proc/net/wireless.
Unfortunatelly this is not well handled by wavemon, which expects a value in dBm, usually ranging from -110 to 20. Drawing the levels histogram, the Minimum signal level and Minimum noise level cannot be raised above -60 and this is very annoying because the histogram is compressed to the top. I suggest to raise the "item->max" from -60 to zero, both for conf->sig_min and conf->noise_min. A correct handling of RSSI levels would require certainly more work. -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.21-2-686 (SMP w/1 CPU core) Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages wavemon depends on: ii libc6 2.6.1-1+b1 GNU C Library: Shared libraries ii libncurses5 5.6+20070908-1 Shared libraries for terminal hand wavemon recommends no packages. -- no debconf information
--- wavemon-0.4.0b.orig/conf.c +++ wavemon-0.4.0b/conf.c @@ -133,7 +133,7 @@ item->v = &conf->sig_min; item->name = strdup("Minimum signal level"); item->type = t_int; - item->min = -120; item->max = -60; + item->min = -120; item->max = 0; item->inc = 1; item->unit = strdup("dBm"); item->dep = &conf->override_bounds; @@ -155,7 +155,7 @@ item->v = &conf->noise_min; item->name = strdup("Minimum noise level"); item->type = t_int; - item->min = -120; item->max = -60; + item->min = -120; item->max = 0; item->inc = 1; item->unit = strdup("dBm"); item->dep = &conf->override_bounds;