Re: Getting the Received Signal Strength using the Native Wifi (Vista)

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance




"Hector" <hector@xxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:u3Aovt14GHA.2208@xxxxxxxxxxxxxxxxxxxxxxx
Pavel A. wrote:
"Hector" wrote:

Hello,
I'm having trouble getting the signal strength from a wireless network in a way that matches the built-in vista (build 5728)
signal strenght indicator.
The way I do it, is by calling WlanGetAvailableNetworkList and then retrieving the wlanSignalQuality member from the
available network structures returned.
While I get a value of 100 (max value, as per the API) Vista reports the connection to be "Fair" (or 2 bars).
Which method does vista use to get the measure of signal strenght? or what am I doing wrong?


You are mixing signal strength (RSSI) and quality. These are two diferent things. WlanGetAvailableNetworkList prefers the
quality because it makes more sense to the user. RSSI is in WLAN_BSS_ENTRY structures; call WlanGetNetworkBssList to get
them.

Regards,
--PA


Hi,
Thanks for your answer. I thought that it could be a semantics issue, although, wouldn't then "linkQuality" be a better name
than "signalQuality" for the member of the available networks structure?

I also used RSSI from WLAN_BSS_ENTRY to try to measure signal strength, but isn't the RSSI number quantified differently for
different wlan chipsets? Then, how does Vista convert from the RSSI value to a signal strength rating?

Thanks again,

Hector U.

May be... anyway, signal level is not directly connected to quality.
You can have very good quality (and data rate) with low signal energy,
and very strong signal with high interference => bad data rate.
AFAIK there is no standard way to convert RSSI to human readable meter,
every vendor rolls their own. Some have conversion tables in their documentation.

Regards,
--PA


.



Relevant Pages

  • Re: Getting the Received Signal Strength using the Native Wifi (Vista)
    ... I'm having trouble getting the signal strength from a wireless network in a way that matches the built-in vista signal strenght indicator. ... RSSI is in WLAN_BSS_ENTRY structures; ...
    (microsoft.public.win32.programmer.networks)
  • ATH rate and rssi considerations
    ... I understand the difference between FBSD v.6 and v.7 regarding the RSSI value ... displayed by `ifconfig ath list stat` on a machine running ath as hostap and ... signal strength and the noise level. ... or displaying S:N which than would be much more useful on an AP and making ...
    (freebsd-current)
  • Re: ports/net/e169-stats (was: UMTS Huawei monitor)
    ... running/moving/live graph presentation of signal strength and data ... transfer done in ASCII, ... know why cut&paste changed this) is a scaled representation of the RSSI ... Matthias Apitz ...
    (freebsd-net)
  • Re: OID_802_11_RSSI vs OID_802_11_BSSID_LIST
    ... my NIC (D-Link AirPlus DWLG650+). ... > When I use the first one I get the signal strength in dBm from the ... > Reading some previous posts I've found one called "How to convert RSSI ...
    (microsoft.public.development.device.drivers)
  • Re: Atheros driver and radiotap reliability
    ... > I'm trying to get an accurate measurement of signal strength (preferably ... > in dBm) on a per-packet basis between two atheros cards that I have. ... > tells it is the correct signal signal strength, but not to trust it until the ... The radiotap header includes the rssi returned by the hardware for rx'd ...
    (freebsd-hackers)