Converting signal and noise values to dBm
Thu Apr 26 06:19:02 PDT 2007
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