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. LarryTom says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Fantastic facts. Thanks a lot.

    viagra cancun viagra dogal
    buy viagra
    natural form of viagra – https://genericviagrarcp.com

    Geraldner
    DwaynenaM
    Kevinlax

  2. LarryTom says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    You actually reported this fantastically!

    women on viagra viagra being prescribed for inmate
    cheap viagra
    post haste pharmacy viagra – https://genericviagrarcp.com

    Geraldner
    DwaynenaM
    Kevinlax

  3. LarryTom says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Thanks. A lot of data!

    take cialis viagra concurrently college website and hacked and viagra
    buy generic viagra
    levitracialis generic levitra viagra – https://genericviagramsl.com

    Geraldner
    DwaynenaM
    Kevinlax

  4. LarryTom says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Thanks a lot! Plenty of facts.

    how much time viagra viagra quick tabs
    generic viagra online
    viagra purchase buy – https://genericviagramsl.com

    Geraldner
    DwaynenaM
    Kevinlax

  5. LarryTom says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Kudos! Good information!

    viagra adverse symptoms insurance for viagra
    generic viagra 100mg
    stories viagra porn – https://genericviagrarcp.com

    Geraldner
    DwaynenaM
    Kevinlax

  6. LarryTom says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    With thanks, I enjoy this!

    viagra and toporl viagra does it work
    buy viagra online
    men using viagra – https://genericviagrantx.com

    Geraldner
    DwaynenaM
    Kevinlax

  7. LarryTom says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    You stated that well!

    viagra head office toranto viagra commercial saturday night live
    viagra for women
    who manufacturers generic viagra – https://genericviagrarcp.com

    Geraldner
    DwaynenaM
    Kevinlax

  8. LarryTom says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    You suggested this very well!

    free viagra with order yang mei viagra guangzhou
    viagra pills
    search viagra viagra find generic buy – https://genericviagramsl.com

    Geraldner
    DwaynenaM
    Kevinlax

  9. LarryTom says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Truly many of useful material.

    cheap viagra cialis identify fake viagra
    viagra for sale uk
    tell me about viagra – https://genericviagrantx.com

    Geraldner
    DwaynenaM
    Kevinlax

  10. LarryTom says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Amazing knowledge. Thanks!

    direct viagra long term effects using viagra
    buy generic viagra
    buy viagra phentermine weight loss prescription – https://genericviagrarcp.com

    Geraldner
    DwaynenaM
    Kevinlax

  11. LarryTom says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Wow a good deal of beneficial facts.

    viagra delivered from uk pharmacy generic or viagra cialis
    buy generic viagra
    viagra find sites free – https://genericviagrarcp.com

    Geraldner
    DwaynenaM
    Kevinlax

  12. LarryTom says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Wonderful information. Appreciate it!

    viagra and general motors viagra without a presciption
    buy generic viagra
    cocaine viagra interaction – https://genericviagrarcp.com

    Geraldner
    DwaynenaM
    Kevinlax

  13. LarryTom says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Many thanks. I appreciate this.

    filagra viagra soft-100 chewable natual alternative to viagra
    viagra without a doctor prescription
    viagra wiki online viagra wiki url – https://genericviagrantx.com

    Geraldner
    DwaynenaM
    Kevinlax

  14. LarryTom says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Valuable tips. Many thanks!

    low blood pressure viagra warning viagra how long
    cheap viagra
    edinburgh pages find sites viagra online – https://genericviagramsl.com

    Geraldner
    DwaynenaM
    Kevinlax

  15. LarryTom says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Thanks a lot, Helpful information.

    buy viagra plus cialis for $69 viagra ill effects
    generic viagra 100mg
    viagra de ke esta hecho – https://genericviagrarcp.com

    Geraldner
    DwaynenaM
    Kevinlax

  16. LarryTom says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    You actually reported that adequately!

    viagra and lung conditions in dogs are nitrates in viagra
    generic viagra
    spyware viagra – https://genericviagrantx.com

    Geraldner
    DwaynenaM
    Kevinlax

  17. LarryTom says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Thank you! Quite a lot of forum posts!

    jelly viagras taking viagra and cialis together
    viagra without a doctors prescription
    achat libre viagra – https://genericviagramsl.com

    Geraldner
    DwaynenaM
    Kevinlax

  18. LarryTom says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Nicely put, Appreciate it.

    taking viagra and cialis together red viagra
    buy viagra
    viagra and nitrous oxide – https://genericviagrantx.com

    Geraldner
    DwaynenaM
    Kevinlax

  19. LarryTom says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Nicely put. Regards!

    hongry hawg texas viagra natural substitutes for viagra
    buy viagra
    viagra with nitroglycerin – https://genericviagrantx.com

    Geraldner
    DwaynenaM
    Kevinlax

  20. LarryTom says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Kudos. Very good stuff.

    viagra best price viagra doctor
    buy viagra
    cant get i up with viagra – https://genericviagramsl.com

    Geraldner
    DwaynenaM
    Kevinlax

  21. LarryTom says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Really a good deal of helpful tips.

    ciscount viagra viagra s ljes
    viagra for women
    were does viagra come from – https://genericviagramsl.com

    Geraldner
    DwaynenaM
    Kevinlax

  22. LarryTom says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Excellent write ups. Kudos.

    shelf life viagra viagra trial
    generic viagra online
    doctor millington viagra – https://genericviagrantx.com

    Geraldner
    DwaynenaM
    Kevinlax

  23. LarryTom says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Nicely put. Cheers!

    where to buy viagra in thanet viagra pulmonary hypertension and dogs
    buy viagra
    can viagra help with zoloft effects – https://genericviagramsl.com

    Geraldner
    DwaynenaM
    Kevinlax

  24. LarryTom says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Thanks a lot, I appreciate it!

    viagra strength using viagra for canines
    viagra without a doctors prescription
    buying viagra online – https://genericviagrantx.com

    Geraldner
    DwaynenaM
    Kevinlax

  25. LarryTom says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Wow a lot of good facts!

    apcalis levitra viagra low priced viagra
    viagra generic
    buy viagra while overseas – https://genericviagramsl.com

    Geraldner
    DwaynenaM
    Kevinlax

  26. LarryTom says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Regards, A lot of posts!

    health forums viagra without prescription where can i buy cheap viagra
    buy viagra
    moo moo edinburgh viagra – https://genericviagrantx.com

    Geraldner
    DwaynenaM
    Kevinlax

  27. LarryTom says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Thanks a lot. A lot of forum posts.

    save up to 30 on viagra viagra free find search sites
    viagra without a doctor prescription
    dvt and viagra – https://genericviagrantx.com

    Geraldner
    DwaynenaM
    Kevinlax

  28. LarryTom says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    You definitely made the point.

    discount generic viagra blue pill viagra hepatitis
    viagra generic
    viagra hard-on – https://genericviagramsl.com

    Geraldner
    DwaynenaM
    Kevinlax

  29. LarryTom says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Reliable stuff. Many thanks!

    viagra experiences comments cost of cialis soft vs viagra
    generic viagra
    viagra in drink – https://genericviagramsl.com

    Geraldner
    DwaynenaM
    Kevinlax

  30. LarryTom says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Amazing many of valuable knowledge.

    side effects of snorting viagra canadian pharmacies online viagra
    viagra online
    viagra slutload – https://genericviagramsl.com

    Geraldner
    DwaynenaM
    Kevinlax

  31. LarryTom says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Good advice. Cheers.

    viagra manchester boots viagra come in liquid form
    viagra without a doctor prescription
    viagra and ritalin – https://genericviagrarcp.com

    Geraldner
    DwaynenaM
    Kevinlax

  32. LarryTom says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Regards! Terrific stuff!

    viagra overnight get viagra cheapest viagra viagra cream
    buy viagra
    valium viagra interaction – https://genericviagramsl.com

    Geraldner
    DwaynenaM
    Kevinlax

  33. LarryTom says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Seriously quite a lot of wonderful info!

    hydrochlorothiazide with viagra viagra blindness lawsuit news
    generic viagra online
    combine levitra viagra – https://genericviagrarcp.com

    Geraldner
    DwaynenaM
    Kevinlax

  34. LarryTom says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Nicely put. Appreciate it!

    buy viagra soft online similar drugs to viagra
    viagra 100mg
    pfiser free viagra – https://genericviagrarcp.com

    Geraldner
    DwaynenaM
    Kevinlax

  35. LarryTom says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Appreciate it! An abundance of tips!

    viagra pen viagra cialis compare
    viagra generic
    viagra bangkok – https://genericviagrarcp.com

    Geraldner
    DwaynenaM
    Kevinlax

  36. LarryTom says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    You actually expressed that adequately!

    viagra fix-a-flat viagra order cheap iframe
    viagra online
    cialis levitra strong strong viagra – https://genericviagramsl.com

    Geraldner
    DwaynenaM
    Kevinlax

  37. LarryTom says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Seriously all kinds of helpful tips!

    viagra and online pharmacy viagra find sites search computer
    viagra 100mg
    viagra pounding milf – https://genericviagramsl.com

    Geraldner
    DwaynenaM
    Kevinlax

  38. LarryTom says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Awesome material, Thank you!

    distortion viagra physicians who prescribe viagra in houston
    generic viagra
    personalized viagra gifts – https://genericviagrarcp.com

    Geraldner
    DwaynenaM
    Kevinlax

  39. LarryTom says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    You said it adequately..

    viagra when to take long term side affects of viagra
    buy viagra online
    viagra et al – https://genericviagrarcp.com

    Geraldner
    DwaynenaM
    Kevinlax

  40. LarryTom says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Seriously tons of useful data.

    water melon viagra best prices on genuine pfizer viagra
    viagra pills
    viagra erection after orgasim – https://genericviagrarcp.com

    Geraldner
    DwaynenaM
    Kevinlax

  41. LarryTom says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Amazing material, With thanks!

    online viagra utah viagra and nitric oxide
    generic viagra
    blue tint viagra – https://genericviagramsl.com

    Geraldner
    DwaynenaM
    Kevinlax

  42. LarryTom says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.
  43. LarryTom says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Nicely put. Thank you.

    best offer diet pill phentermine viagra making the most of viagra
    viagra generic
    reputable viagra – https://genericviagrarcp.com

    Geraldner
    DwaynenaM
    Kevinlax

  44. LarryTom says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Fine advice. With thanks.

    life of viagra viagra require a prescription
    viagra generic
    edinburgh uk viagra cfm moo tid – https://genericviagramsl.com

    Geraldner
    DwaynenaM
    Kevinlax

  45. LarryTom says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Wonderful knowledge. Regards.

    online pharmacy pharmacy viagra buy now viagra
    viagra for sale uk
    discreet viagra – https://genericviagramsl.com

    Geraldner
    DwaynenaM
    Kevinlax

  46. LarryTom says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    You actually explained it superbly.

    optional health care viagra abortion pictures of mens penis on viagra
    viagra for sale uk
    name for viagra – https://genericviagrantx.com

    Geraldner
    DwaynenaM
    Kevinlax

  47. LarryTom says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Truly loads of wonderful info!

    scam indian viagra imported from dubai half price pharmacy viagra
    viagra pills
    how to take viagra sublingual – https://genericviagramsl.com

    Geraldner
    DwaynenaM
    Kevinlax

  48. LarryTom says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    You said it very well.!

    quel dose de viagra viagra adverse reactions
    viagra online
    viagra port vila vanuatu – https://genericviagrarcp.com

    Geraldner
    DwaynenaM
    Kevinlax

  49. LarryTom says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.
  50. LarryTom says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Lovely info. Cheers.

    does viagra delay orgasms kamagra generic viagra soft flavored 100
    viagra for sale uk
    buy taladafil viagra – https://genericviagrarcp.com

    Geraldner
    DwaynenaM
    Kevinlax

Leave a Reply

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