Hello, Jean! I'm converting Orinoco to the dBm reporting, and it turns out that the best signal iwconfig will report is -1dBm (0.8mW). This would happen if qual->level has its highest value of 255. Please see this code from wireless_tools.29.pre10:
len = snprintf(buffer, buflen, "Signal level%c%d dBm ", qual->updated & IW_QUAL_LEVEL_UPDATED ? '=' : ':', qual->level - 0x100); With most cards transmitting at 100mW and some going as high as 500mW, it's not unreasonable to expect that the received signal may exceed 1mW for closely located receivers with good antennas. I have seen HostAP reporting as much as 3mW through the proc filesystem! Wouldn't it be better to put the cutoff at a higher value? The simplest approach would be to treat qual->level and qual->noise as signed char, which would put the cutoff and 127dBm. 500 gigawatts should be enough for everyone :-) -- Regards, Pavel Roskin - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html