Networking Forums

Networking Forums > Wireless Networking > Wireless Networks > Vista Wifi API - Querying RSSI value using WlanQueryInterface?

Reply
Thread Tools Display Modes

Vista Wifi API - Querying RSSI value using WlanQueryInterface?

 
 
WLAN
Guest
Posts: n/a

 
      06-14-2007, 03:25 AM
Hello ALL,

I am writing a site survey application using wifi api supported by Windows
Vista. I want to show current wireless connection attributes like SSID,
BSSID, Signal Strength(dBm) etc.

For querying all the above values, I am using WlanQueryInterface() with
wlan_intf_opcode_current_Connection opcode. This returns SSID, BSSID and
Signal Quality in percentage.

How do I get signal strength value in dBm? WiFi API supports another opcode
called wlan_intf_opcode_rssi which returns rssi values. I am facing some
difficulties for this opcode. For broadcom adapter, it's returning dBm values
(-23, -65, -43 etc). But for cisco adapter, it's giving postiive values (23,
30, 32 etc). I think for cisco it's giving original rssi values and not dBm
values.

So How do I convert this value into dBm?

or

Is there anyway to convert signal strength in percentage to dBm?

Any idea is welcome.


 
Reply With Quote
 
 
 
 
Pavel A.
Guest
Posts: n/a

 
      06-15-2007, 02:05 PM
Hi,

Signal quality and strength are two different independent parameters.
RSSI is easy to measure, but dbm numbers are not understandable by end users, and
not always correlate with the actual signal quality.
For example one can have very weak signal with high quality, and strong
signal with high interference, thus poor quality.

The signal quality is a estimation to give a simple, user friendly percentage number.
Until Vista, this estimation was done by each vendor's WLAN software.
I don't have the sources right now, but it seems that Vista uses the quality value
provided by the device driver, if available. Otherwise it uses a simple formula to
derive the quality from RSSI.
This can explain why you get negative values for qualiy with some drivers,
it is bug either in the driver or Vista.

The bottom line, you can't directly convert between RSSI and quality, they are
independent. Some formulas for RSSI to percentage conversion can be found in
internet, but they are either device specific, or too simple and wrong.

Hope somebody has Vista docum, or wireless driver source handy, and can correct me.

Regards,
--PA



"WLAN" <(E-Mail Removed)> wrote in message news:279BD898-492D-4778-AA91-(E-Mail Removed)...
> Hello ALL,
>
> I am writing a site survey application using wifi api supported by Windows
> Vista. I want to show current wireless connection attributes like SSID,
> BSSID, Signal Strength(dBm) etc.
>
> For querying all the above values, I am using WlanQueryInterface() with
> wlan_intf_opcode_current_Connection opcode. This returns SSID, BSSID and
> Signal Quality in percentage.
>
> How do I get signal strength value in dBm? WiFi API supports another opcode
> called wlan_intf_opcode_rssi which returns rssi values. I am facing some
> difficulties for this opcode. For broadcom adapter, it's returning dBm values
> (-23, -65, -43 etc). But for cisco adapter, it's giving postiive values (23,
> 30, 32 etc). I think for cisco it's giving original rssi values and not dBm
> values.
>
> So How do I convert this value into dBm?
>
> or
>
> Is there anyway to convert signal strength in percentage to dBm?
>
> Any idea is welcome.
>
>



 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
WiFi Vista Not Working David F Wireless Networks 7 11-14-2008 10:32 AM
ASUS P5B wifi AP under vista help!!!! terwaan Wireless Internet 1 11-27-2007 07:14 AM
WiFi in Vista Veerle Wireless Internet 1 11-19-2007 05:23 PM
Querying Belkin Router for WAN IP Michael McCarthy Broadband 1 02-18-2004 08:45 PM
Querying the WAN IP Address of a Linksys Router wren mott Windows Networking 2 01-14-2004 06:45 PM



1 2 3 4 5 6 7 8 9 10 11