Get signal / Noise power

Live forum: http://rt2x00.serialmonkey.com/viewtopic.php?t=4538

BinarY

04-01-2008 16:36:26

Hello!

I want to get the signal and noise power from an user application like it appear it iwconfig. I've seen some number related to it in /proc/net/wireless but they are not in dBm. Does some one know how to convert those numbers in dBm ?
Otherwise is there a possibility to get those value trough ioctrl() ?

Tank's to anyone that can help me )

Antoine

Spy84464

06-01-2008 18:29:47

Hello,
Actually, the values reported by "/proc/net/wireless" and "iwconfig" are the same, just subtract 256 to the level and noise values from "/proc/net/wireless".
You can also get them through an ioctl call.

Regards,
Romain