FW: Converting signal and noise values to dBm
varga.david at duvinet.hu
Sun May 6 08:37:24 EDT 2007
Does noone know the answer? I received a solution, that subtracting 256
would be fine, but it doesn't give the values displayed by iwconfig (anyway,
From: Varga Dávid [mailto:varga.david at duvinet.hu]
Sent: Thursday, April 26, 2007 3:19 PM
To: 'hostap at shmoo.com'
Subject: Converting signal and noise values to dBm
I'd like to convert the rx_stats->signal and rx_stats->noise values in the
hostap_80211_rx.c to dBm.
At the moment I use printk(KERN_DEBUG "%d %d", rx_stats->signal,
and it gives me back signal rates 180.230 and noise rates 160.170.
I tried using printk(KERN_DEBUG "%d %d",
but it still doesn't give me the negative dBm values that iwconfig does.
Could anyone help with this?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the HostAP