signal column calculation

Having a problem? Ask for help here.
Post Reply
proj964
Junior Member
Posts: 18
Joined: Tue Aug 13, 2013 9:21 am

signal column calculation

Post by proj964 »

hi,
i was trying to square the microsoft formula for signal vs vistumbler. wondered what algorithm you used in the calculation? here is the reference i found:
http://stackoverflow.com/questions/1579 ... o-rssi-dbm
User avatar
ACalcutt
Vistumbler / TechIdiots Admin
Vistumbler / TechIdiots Admin
Posts: 1302
Joined: Sun Oct 21, 2007 6:50 pm
Location: Rutland, MA
Contact:

Re: signal column calculation

Post by ACalcutt »

In the current version of vistumbler (v10.3 and above), Native wifi mode has been made default and RSSI and Signal value are pulled right from the native wifi api. Native wifi uses 'uLinkQuality' for Signal and 'lRssi' for RSSI (see here for descriptions)

If you are using a older version of vistumber or you have native wifi mode off (Options --> Use Native wifi (unchecked)) then I used the following formulas to get an estimated RSSI value from signal % value

Code: Select all

Dim $dBmMaxSignal = '-30'
Dim $dBmDissociationSignal = '-85'

Func _SignalPercentToDb($InSig);Estimated value
	$dBm = ((($dBmMaxSignal - $dBmDissociationSignal) * $InSig) - (20 * $dBmMaxSignal) + (100 * $dBmDissociationSignal)) / 80
	Return (Round($dBm))
EndFunc   ;==>_SignalPercentToDb

Func _DbToSignalPercent($InDB);Estimated value
	$SIG = 100 - 80 * ($dBmMaxSignal - $InDB) / ($dBmMaxSignal - $dBmDissociationSignal)
	If $SIG < 0 Then $SIG = 0
	Return (Round($SIG))
EndFunc   ;==>_DbToSignalPercent
EDIT: The formulas mentioned were originally based off the following
http://www.ces.clemson.edu/linux/dbm-rssi.shtml
proj964
Junior Member
Posts: 18
Joined: Tue Aug 13, 2013 9:21 am

Re: signal column calculation

Post by proj964 »

I have native wifi mode selected, so i sent ms a note asking for an explanation...jon
Post Reply