• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Low Power RF & Wireless Connectivity » WLAN Applications Forum » WiFi Power and Noise level reading from WL1271- TiWiR2
Share
Low Power RF & Wireless Connectivity
  • Forums
  • Announcements
  • Files
  • E2E Wiki
Options
  • Subscribe via RSS

Forums

WiFi Power and Noise level reading from WL1271- TiWiR2

This question is answered
George Heston
Posted by George Heston
on Jun 21 2012 10:41 AM
Prodigy40 points

Issue:

We are using LSR TiWi-R2 module with WL1271 chip. The module performs correctly as WLAN interface under Linux. When we ready signal power level for all access points in the area, thoses the closest show no mor ethan -45 dB level with constant fluctuations to -65db or even -85 dB. These readings are off by -20 dB from other Wifi receivers ( Laptops with Windows) and even when reading with specialized WLAN test software.

We followed teh calibration procedure provided by LSR/TI to no change.

Question:

We would like to read noise power level but full data sheet for this device is not available and we do nto knwo which register may have this value.

Help on both questions will be appreciated

 

 

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Eyal a
    Posted by Eyal a
    on Jun 25 2012 08:14 AM
    Genius9240 points

    HI,

    which WLAN driver are you using? also what commant did you use to measure the Recive Power?

    please note that -45dbm is the max power you will see and that is set by SW.

    Regards,

    Eyal

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • George Heston
    Posted by George Heston
    on Jun 29 2012 07:41 AM
    Prodigy40 points

    Thanks for the reply.  Do you have information how where to read from the noise power level?

    Here are our answers:

     

     We're using kernel 2.6.39 with WL12xx driver (WL1271).

     

     http://linuxwireless.org/en/users/Drivers/wl12xx

     

     To measure received power we're using wpa_supplicant with nl80211  driver

     

     http://wireless.kernel.org/en/users/Documentation/wpa_supplicant

     http://wireless.kernel.org/en/developers/Documentation/nl80211

     

     this is the commands we use:

     

     wpa_supplicant -iwlan0 -Dnl80211 -c/etc/wpa_supplicant.conf -B  wpa_cli scan  wpa_cli scan_results

     

     we tried also

     

     iwlist wlan0 scanning

     

     instead of wpa_supplicant, but the results remained the same and are  still unstable and uncorrect.

     

     If we use wext driver (not nl80211):

     wpa_supplicant -iwlan0 -Dwext -c/etc/wpa_supplicant.conf -B

     

     we got really strange results with positive received power:

     

     bssid / frequency / signal level / flags / ssid

     58:6d:8f:f7:17:ee       2422    211    

     [WPA-PSK-TKIP][WPA2-PSK-CCMP][ESS]      priv_network1

     00:24:d1:7a:2e:6e       2412    191    

     [WPA-PSK-TKIP+CCMP][WPA2-PSK-TKIP+CCMP][ESS]    priv_network2

     d8:5d:4c:a9:d3:48       2437    175     [WPA2-PSK-CCMP-preauth][ESS]   

     priv_network4

     00:24:d1:78:f4:7f       2412    169    

     [WPA-PSK-TKIP+CCMP][WPA2-PSK-TKIP+CCMP][ESS]    priv_network3

     

     "please note that -45dbm is the max power you will see and that is set  by SW"

     

     How can we change this max power limit? Our received power level seems  to fluctuate only when network has the real value over that.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Eyal Reizer
    Posted by Eyal Reizer
    on Jul 05 2012 01:22 AM
    Intellectual1165 points

    Hi,

    For WL127x (unlike wl128x) the rssi level is indeed limited by -45dBm.

    Which firmware version number is printed when you bring the driver up?

    On some previous FW versions, there were some problems with fluctuations.

    Best Regards,

    Eyal Reizer

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • George Heston
    Posted by George Heston
    on Jul 06 2012 09:39 AM
    Verified Answer
    Verified by George Heston
    Prodigy40 points

     We're using wl1271 firmware:

     wl1271-fw-2.bin   wl1271-fw-ap.bin  wl1271-fw.bin     wl1271-nvs.bin

     

     Downloaded from:

     http://kernel.org/pub/scm/linux/kernel/git/firmware/

     

     When we bring the driver up we receive:

     [ 1641.262695] wl1271: down

     [ 1641.271179] wl1271: unloaded

     [ 1644.848937] wl1271_sdio mmc1:0001:2: wlan0: Features changed:

     0x00004800 -> 0x00004000

     [ 1644.849517] wl1271: loaded

     [ 1644.849517] wl1271: initialized

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Eyal Reizer
    Posted by Eyal Reizer
    on Jul 08 2012 10:05 AM
    Verified Answer
    Verified by George Heston
    Intellectual1165 points

    Hi,

     

    When you do ifconfig wlan0 up you are expected to see a message indicating that the firmware booted and a print of the fimware version (6.x.x.x)

    Anyway for the latest officila TI release (called R5_18) this flunctuation issue should be fixed.

    Please refer to the following location for getting a build script which fetches and builds all the components related to this rlease

    http://processors.wiki.ti.com/index.php/OMAP_Wireless_Connectivity_mac80211_WLAN_build_scripts

     

    In this link click the "WLAN build Script (R5.00.18)" link which will download the build script zip for you.

    You can use this build script for fetching and building all the wlan related components (compat, firmware, hostap, wpa_supplicant...) into your target file system.

    Specifically for the firmware you would notice that it is fetched from the following git:

    git://github.com/TI-OpenLink/ti-utils.git

    under the fimware directory.

     

    Anyway it is better to use all the components from this latest release, so you might better run the script "as is" and let it get all the components for you.

     

    Best Regards,

    Eyal Reizer

     

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • George Heston
    Posted by George Heston
    on Jul 10 2012 04:01 AM
    Verified Answer
    Verified by George Heston
    Prodigy40 points

    The new driver version works. Now the signal level is stable. Thanks.

    Now, we have 3 issues to resolve:

    1. Still we have no idea where to read form the noise signal level. We see that other WiFi NIC's provide this info somehow. In digital signal processing domain this could be done by taking FFT of the relevant spectrum and filtering WiFi signals. Since TI does not provide detail data sheet of WL1271 we have no cluse how this could be done.

    2. We would like the WL1271 recognize the Access Point radio type b, g, or n. Where to get this information from?

    Looking forward to answers to these 2 questions.

    George Heston

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Eyal Reizer
    Posted by Eyal Reizer
    on Jul 11 2012 02:26 AM
    Intellectual1165 points

    Hi,

    1. The RSSI range of Wilink6 is between -45dbm to -95dbm. There is no other way to express the energy of WLAN package.

     

    2. You can use "iw wlan0 link" for getting the link information which also indicates whether you are connected to an 11n ap or a legacy b/g ap.

    The relevant field is the "tx bitrate:" field.

     

    Best Regards,

    Eyal Reizer

     

     

    You can refer to the following link:

    http://linuxwireless.org/en/users/Documentation/iw

     

     

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use