More WiFi Madness

Last time we were left with a question:  if RSSI is a measure of signal strength, and if link quality is a measure of the signal-to-noise, and if Windows provides a standard formula for converting link quality to dB, why does the Amped Wireless adapter report an RSSI value (dBm) that is lower than the signal-to-noise ratio?  We can’t have negative noise, can we?  (It seems some manufacturers might think we can.)

You may recall that this investigation started when a customer reported that an app that I’d written was reporting signal strengths about 10dB lower than those reported by InSSIDer Office.  I eventually realized that they seem to be reporting an RSSI value calculated from the link quality reading reported by Windows, whereas I was reporting the actual RSSI value.  This leaves us with a very important question:  which value matches the actual received signal strength.

It turns out that measuring signal strengths with most wifi equipment can be difficult.  The wifi spectrum is very crowded, making it difficult to directly measure signals over the air.  Wifi is bursty and your signal is interleaved with all your neighbors transmitting on the same channel.  How can you be sure you’re really measuring the right thing?

The obvious answer is to measure your signal on the bench, cabling your equipment together to keep out unwanted interference.  Unfortunately this doesn’t always work very well in practice because most wifi radios (and especially this Amped Wireless USB adapter) are not well shielded and signals leak in like you wouldn’t believe.  The last time I did this I had to put the receiver in a shielded box about 50 feet down the hall and connect it to the transmitter with a high-quality cable just so it wouldn’t pick up the stray signal radiated out of the case rather than the connector.

I happen to live in a forested rural area with very few neighbors, and this really simplified things because the only signal I see on wifi channel 1 is from my home access point.  I first recorded the signal strength as reported by my app and by InSSIDer Office (-58 dBm vs -50 dBm), and then I measured it directly with a Tektronix RSA306 Real-Time Spectrum Analyzer.  I was careful to mount the antenna and cable in place so it wouldn’t move when switching between the Amped Wireless radio and the spectrum analyzer.  (A slight change can make a big difference in received signal strength, as can variations in the environment.)  After repeating the measurement several times I determined that the actual received signal strength at the antenna was -57 dBm.  After repeating this whole experiment with a few different signal strengths I convinced myself that the RSSI value reported by the Amped Wireless adapter is a better measure of signal strength than the calculation from link quality.

So why do some applications use link quality instead?

It turns out there’s another Windows Native Wifi call that returns signal strength for the currently connected network: WlanQueryInterface().  One of the options you can pass to this routine is wlan_intf_opcode_rssi, which returns an RSSI value for the specified interface.  Unfortunately, different wifi adapters return different values for this call.  I’ve seen some adapters/drivers that return dBm, some that return 0 – 100, and some return other ranges.  This variation makes this RSSI value difficult to use.

In the course of this investigation I’ve learned that the Intel adapter in the laptop I’m using to write this post returns values from 0 to about 100, where the conversion to dBm appears to be approximately -95 + rssi.  The Realtek driver for the Amped Wireless card on Windows 10 returns values from 0 to 255, and the conversion to dBm seems to be treating this value as a signed byte (-128 to 127) and adding -50.  I seem to recall some older Cisco radios returned 0 – 100 but require a table lookup to convert to dBm.  In my experience none of these conversions are documented, other than the occasional obscure research paper or mapping table that pops up in deep, dark corners of the internet.  With all this variation it’s no wonder that developers would rather use link quality to approximate signal strength, which all radios seem to report with a reasonable consistency.  That way their application works reasonably well with all wifi adapters.

Now back to the original question:  why is the signal strength reported by RSSI 10 dB lower than that calculated from the link quality, which we’ve assumed to be a measure of signal-to-noise?

My current theory is that manufacturers are playing a bit of a game with this value.  Let’s say someone comes out with a new wifi adapter that has an low-noise amplifier (LNA) in the front end.  This will improve the receiver sensitivity, allowing it to receive weaker signals than other adapters without an LNA.  So they would naturally want to differentiate their product by reporting a higher link quality number.  After all, if a -90 dBm signal can barely be decoded by a normal card, but their adapter can receive signals all the way down to -100 dBm, their reported link quality should be 10 dB better, right?  We can’t really fault them for this reasoning, because the quality of their link would really be better than the other card.  The problem really stems from Microsoft claiming a conversion between link quality and dBm, and that’s not the manufacturer’s fault, eh?

This entry was posted in Uncategorized. Bookmark the permalink.

0 Responses to More WiFi Madness

  1. ErnestoGom says:
    Your comment is awaiting moderation.

    Seriously all kinds of superb material.

    where to buy viagra forum viagra fertility
    buy generic viagra
    generics mexico viagra – https://genericviagramsl.com

    KeithRAR
    RichardSlini
    ErnestoGom

  2. ErnestoGom says:
    Your comment is awaiting moderation.

    Cheers. Wonderful information!

    attack on contact list viagra how long do viagra last
    viagra online
    key acquisto viagra – https://genericviagrantx.com

    KeithRAR
    RichardSlini
    ErnestoGom

  3. ErnestoGom says:
    Your comment is awaiting moderation.

    Wow all kinds of excellent advice!

    vicodin viagra cialis sildenafil viagra
    buy viagra online
    poland viagra without prescription – https://genericviagrantx.com

    KeithRAR
    RichardSlini
    ErnestoGom

  4. ErnestoGom says:
    Your comment is awaiting moderation.

    Amazing all kinds of good advice.

    what about generic viagra pwdered viagra
    viagra 100mg
    daili viagra free enewsletter – https://genericviagramsl.com

    KeithRAR
    RichardSlini
    ErnestoGom

  5. ErnestoGom says:
    Your comment is awaiting moderation.

    Regards, Plenty of facts!

    viagra find edinburgh viagra selges
    viagra online
    similar to viagra – https://genericviagrantx.com

    KeithRAR
    RichardSlini
    ErnestoGom

  6. ErnestoGom says:
    Your comment is awaiting moderation.

    Cheers! I appreciate it.

    viagra cialis prescription online john hargrave viagra
    generic viagra 100mg
    babys lungs and viagra – https://genericviagramsl.com

    KeithRAR
    RichardSlini
    ErnestoGom

  7. ErnestoGom says:
    Your comment is awaiting moderation.

    You said it adequately..

    propafenone and viagra cialis viagra official web site
    buy viagra
    viagra spokespersons – https://genericviagrarcp.com

    KeithRAR
    RichardSlini
    ErnestoGom

  8. ErnestoGom says:
    Your comment is awaiting moderation.

    Regards, Numerous forum posts.

    chocolate viagra for women what women say about viagra
    generic viagra 100mg
    viagra prescription medication – https://genericviagramsl.com

    KeithRAR
    RichardSlini
    ErnestoGom

  9. ErnestoGom says:
    Your comment is awaiting moderation.

    Many thanks. A good amount of info!

    could viagra help men achieve orgasm viagra fast delivery
    generic viagra 100mg
    viagra online india – https://genericviagrarcp.com

    KeithRAR
    RichardSlini
    ErnestoGom

  10. ErnestoGom says:
    Your comment is awaiting moderation.

    Thanks. Lots of postings.

    buy viagra order viagra find viagra free online pages edinburgh
    viagra 100mg
    provigro vs viagra – https://genericviagramsl.com

    KeithRAR
    RichardSlini
    ErnestoGom

  11. ErnestoGom says:
    Your comment is awaiting moderation.

    Thanks! Ample tips!

    viagra vs prevacid adult sites charles linskaill find viagra
    cheap viagra
    giant viagra pill – https://genericviagramsl.com

    KeithRAR
    RichardSlini
    ErnestoGom

  12. ErnestoGom says:
    Your comment is awaiting moderation.

    Seriously loads of excellent knowledge!

    2cialis levitra sales viagra advertisement for viagra
    viagra online
    viagra in the uk – https://genericviagrarcp.com

    KeithRAR
    RichardSlini
    ErnestoGom

  13. ErnestoGom says:
    Your comment is awaiting moderation.

    Nicely put, Many thanks.

    does viagra help women viagra approved 1998
    generic viagra online
    i been using viagra everyday – https://genericviagrantx.com

    KeithRAR
    RichardSlini
    ErnestoGom

  14. ErnestoGom says:
    Your comment is awaiting moderation.

    Kudos. I appreciate this!

    buy n viagra purchase viagra medication
    generic viagra
    aphrodisiac new women viagra – https://genericviagrarcp.com

    KeithRAR
    RichardSlini
    ErnestoGom

  15. ErnestoGom says:
    Your comment is awaiting moderation.

    You have made your position very effectively..

    viagra drink recipe free viagra samples online
    viagra for women
    viagra scam – https://genericviagrarcp.com

    KeithRAR
    RichardSlini
    ErnestoGom

  16. ErnestoGom says:
    Your comment is awaiting moderation.

    Cheers, Awesome information.

    viagra riddim mix animal viagra
    buy viagra online
    viagra ecstasy tablets pills – https://genericviagramsl.com

    KeithRAR
    RichardSlini
    ErnestoGom

  17. ErnestoGom says:
    Your comment is awaiting moderation.

    You actually reported this perfectly.

    cialis levitra sale viagra viagra h omepage
    generic viagra
    viagra generic usa – https://genericviagrarcp.com

    KeithRAR
    RichardSlini
    ErnestoGom

  18. ErnestoGom says:
    Your comment is awaiting moderation.

    Nicely put. With thanks.

    enhancing the viagra experience generic viagra 25mg
    viagra for sale uk
    viagra cheap price – https://genericviagrarcp.com

    KeithRAR
    RichardSlini
    ErnestoGom

  19. ErnestoGom says:
    Your comment is awaiting moderation.

    Nicely put, Kudos.

    viagra 9.99 cheap viagra on line
    viagra generic
    viagra package insert – https://genericviagrarcp.com

    KeithRAR
    RichardSlini
    ErnestoGom

  20. ErnestoGom says:
    Your comment is awaiting moderation.

    Terrific facts, Kudos!

    uk biggest viagra gang viagra 100mg 90 pills
    generic viagra 100mg
    oysters spiked viagra – https://genericviagrarcp.com

    KeithRAR
    RichardSlini
    ErnestoGom

  21. ErnestoGom says:
    Your comment is awaiting moderation.

    You actually reported this well!

    viagra teenager homopathic viagra
    buy viagra
    intravenous viagra – https://genericviagrantx.com

    KeithRAR
    RichardSlini
    ErnestoGom

  22. ErnestoGom says:
    Your comment is awaiting moderation.
  23. ErnestoGom says:
    Your comment is awaiting moderation.

    You actually stated that terrifically.

    watermellon rind viagra viagra cealis
    viagra 100mg
    viagra falls doctor band – https://genericviagrantx.com

    KeithRAR
    RichardSlini
    ErnestoGom

  24. ErnestoGom says:
    Your comment is awaiting moderation.

    You stated this very well.

    sydney australia legal viagra quel dose de viagra
    buy viagra
    can you use viagra with cialis – https://genericviagrarcp.com

    KeithRAR
    RichardSlini
    ErnestoGom

  25. ErnestoGom says:
    Your comment is awaiting moderation.

    Wow a good deal of great material.

    average viagra proce viagra for hard erection
    generic viagra online
    viagra delivery – https://genericviagramsl.com

    KeithRAR
    RichardSlini
    ErnestoGom

  26. ErnestoGom says:
    Your comment is awaiting moderation.

    Perfectly expressed of course. .

    how to stop viagra email spam viagra makes you blind
    cheap viagra
    key bestellen viagra – https://genericviagrarcp.com

    KeithRAR
    RichardSlini
    ErnestoGom

  27. ErnestoGom says:
    Your comment is awaiting moderation.

    Valuable facts. Cheers.

    feamal viagra uk buy viagra online uk
    generic viagra 100mg
    viagra cheap online rx – https://genericviagramsl.com

    KeithRAR
    RichardSlini
    ErnestoGom

  28. ErnestoGom says:
    Your comment is awaiting moderation.

    Thank you. Numerous content!

    viagra project for how viagra affect women
    buy viagra online
    viagra title object object – https://genericviagrarcp.com

    KeithRAR
    RichardSlini
    ErnestoGom

  29. ErnestoGom says:
    Your comment is awaiting moderation.

    Kudos, Very good information.

    comparison viagra levitra cialis my dog ate a viagra
    viagra 100mg
    viagra cialis levitra online candian – https://genericviagramsl.com

    KeithRAR
    RichardSlini
    ErnestoGom

  30. ErnestoGom says:
    Your comment is awaiting moderation.

    Really a good deal of excellent information!

    viagras ad campaign with smiling bob 100 mg viagra us pharmacy
    viagra for sale uk
    what’s in viagra – https://genericviagrantx.com

    KeithRAR
    RichardSlini
    ErnestoGom

  31. ErnestoGom says:
    Your comment is awaiting moderation.

    Kudos! I like this!

    free viagra samples effects of 150mg of viagra
    viagra 100mg
    imformation on viagra – https://genericviagramsl.com

    KeithRAR
    RichardSlini
    ErnestoGom

  32. ErnestoGom says:
    Your comment is awaiting moderation.

    Wow loads of useful tips!

    discount viagra pills viagra supplies
    viagra 100mg
    viagra oysters – https://genericviagrarcp.com

    KeithRAR
    RichardSlini
    ErnestoGom

  33. ErnestoGom says:
    Your comment is awaiting moderation.

    This is nicely put. .

    find search 76k cialis viagra pages coumadin vs viagra
    viagra for women
    kamagra viagra oral jelly – https://genericviagramsl.com

    KeithRAR
    RichardSlini
    ErnestoGom

  34. ErnestoGom says:
    Your comment is awaiting moderation.

    This is nicely put. .

    chewable viagra from india viagra safety information
    cheap viagra
    viagra slogan – https://genericviagramsl.com

    KeithRAR
    RichardSlini
    ErnestoGom

  35. ErnestoGom says:
    Your comment is awaiting moderation.

    You reported this adequately!

    teen death viagra viagra interaction clonidine hcl
    generic viagra 100mg
    viagra phuket – https://genericviagramsl.com

    KeithRAR
    RichardSlini
    ErnestoGom

  36. ErnestoGom says:
    Your comment is awaiting moderation.

    You made your stand quite effectively!!

    herbal viagra in stores topamax viagra
    generic viagra 100mg
    viagra and general motors – https://genericviagrarcp.com

    KeithRAR
    RichardSlini
    ErnestoGom

  37. ErnestoGom says:
    Your comment is awaiting moderation.

    You actually suggested this fantastically.

    viagra stories real peoples experiences pharmacy research on copd and viagra
    viagra generic
    buy low price viagra – https://genericviagrantx.com

    KeithRAR
    RichardSlini
    ErnestoGom

  38. ErnestoGom says:
    Your comment is awaiting moderation.

    Valuable posts. With thanks.

    generic viagra online review closest thing to viagra
    viagra generic
    can viagra be applied topically – https://genericviagramsl.com

    KeithRAR
    RichardSlini
    ErnestoGom

  39. ErnestoGom says:
    Your comment is awaiting moderation.

    Very well spoken of course! .

    kamagra generic viagra soft flavored 100 organic viagra alternative
    viagra for women
    best price viagra – https://genericviagrantx.com

    KeithRAR
    RichardSlini
    ErnestoGom

  40. ErnestoGom says:
    Your comment is awaiting moderation.

    Kudos, Lots of postings!

    dose viagra do to a girl ingrediants in viagra
    viagra online
    online viagra drugs trial packs – https://genericviagrantx.com

    KeithRAR
    RichardSlini
    ErnestoGom

  41. ErnestoGom says:
    Your comment is awaiting moderation.

    Wow lots of awesome advice!

    viagra like strips viagra lib
    generic viagra 100mg
    cialis uprima viagra – https://genericviagramsl.com

    KeithRAR
    RichardSlini
    ErnestoGom

  42. ErnestoGom says:
    Your comment is awaiting moderation.

    You definitely made the point.

    is viagra from india safe wine bottle opener tablet viagra
    viagra generic
    viagra pay after delivery – https://genericviagramsl.com

    KeithRAR
    RichardSlini
    ErnestoGom

  43. ErnestoGom says:
    Your comment is awaiting moderation.

    Truly loads of fantastic material!

    viagra online shop online approval before and after photos using viagra
    cheap viagra
    viagra in uk – https://genericviagramsl.com

    KeithRAR
    RichardSlini
    ErnestoGom

  44. ErnestoGom says:
    Your comment is awaiting moderation.

    Amazing content, Thank you!

    generic viagra companies viagra under the tongue
    viagra for sale uk
    cialis with 4 free viagra – https://genericviagrarcp.com

    KeithRAR
    RichardSlini
    ErnestoGom

  45. ErnestoGom says:
    Your comment is awaiting moderation.

    Wonderful material. Thanks!

    viagra 100 brand name viagra rxs
    generic viagra online
    keyword order viagra – https://genericviagramsl.com

    KeithRAR
    RichardSlini
    ErnestoGom

  46. ErnestoGom says:
    Your comment is awaiting moderation.

    Nicely put, Many thanks!

    eating and the effect of viagra is viagra affected by grapefruit juice
    buy generic viagra
    viagra overnight deliver western union – https://genericviagramsl.com

    KeithRAR
    RichardSlini
    ErnestoGom

  47. ErnestoGom says:
    Your comment is awaiting moderation.
  48. ErnestoGom says:
    Your comment is awaiting moderation.

    You actually explained this exceptionally well.

    cheap viagra 100mg viagra for dickhead
    viagra online
    jelly viagra – https://genericviagrantx.com

    KeithRAR
    RichardSlini
    ErnestoGom

  49. ErnestoGom says:
    Your comment is awaiting moderation.

    Valuable material. Thanks a lot!

    generic link viagra com zenegra viagra safety
    viagra for women
    diabetes and viagra – https://genericviagrantx.com

    KeithRAR
    RichardSlini
    ErnestoGom

  50. ErnestoGom says:
    Your comment is awaiting moderation.

    Thank you, Valuable stuff!

    900 milligrams of viagra viagra for sale in the uk
    viagra 100mg
    reasons viagra might not work – https://genericviagramsl.com

    KeithRAR
    RichardSlini
    ErnestoGom

  51. ErnestoGom says:
    Your comment is awaiting moderation.

    You explained this very well.

    viagra lily generic viagra overnight deliver western union
    generic viagra 100mg
    user reports on super viagra – https://genericviagrarcp.com

    KeithRAR
    RichardSlini
    ErnestoGom

Leave a Reply

Your email address will not be published. Required fields are marked *