• 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 » WL12xx: Managed/Ad-Hoc Modes doesn't work in Open Mode
Share
Low Power RF & Wireless Connectivity
  • Forums
  • Announcements
  • Files
  • E2E Wiki
Options
  • Subscribe via RSS

Forums

WL12xx: Managed/Ad-Hoc Modes doesn't work in Open Mode

This question is answered
Girish Buhalli
Posted by Girish Buhalli
on Apr 09 2012 10:19 AM
Prodigy240 points
wl1271_log.txt

With latest Compat wireless package (2012-04-034 and firmware Rev 6.3.7.0.105 ) I am able to successfully calibrate and nvs file sucessfully.

However, I am not able to connect to any device. there is crash in the modules. However I am able to do the scan operation successfully.

There is crash after running the following commands

>ifconfig wlan0 192.168.1.6 up

>iw dev wlan0 scan

>iw wlan0 connect Digisol

 

Please find the attached log

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Saurabh Narang
    Posted by Saurabh Narang
    on Apr 10 2012 15:26 PM
    Prodigy560 points

    Girish,

    Is Digisol an open or secured AP?

    -Saurabh

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Girish Buhalli
    Posted by Girish Buhalli
    on Apr 11 2012 02:03 AM
    Prodigy240 points

    Hi Saurabh,

    I have configured Digisol as an Open AP

    Thanks

    Girish

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Saurabh Narang
    Posted by Saurabh Narang
    on Apr 11 2012 18:14 PM
    Prodigy560 points

    Girish,

    In the attached log, I don't see you running scan command / iw utility. wlan0 is being configured for ad-hoc mode instead.

    Please run "ifconfig wlan0 up" and "iw wlan0 scan | grep SSID" to see if you can see the networks around. Thanks,

    Saurabh

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Girish Buhalli
    Posted by Girish Buhalli
    on Apr 12 2012 10:29 AM
    Prodigy240 points

    Hi,

    I am able to scan and please find the below log after the scan with iw commad

    wl12xx: firmware booted (Rev 6.3.7.0.105) ~ # iw dev wlan0 scan BSS 68:7f:74:e5:67:52 (on wlan0)

                   TSF: 265454534411 usec (3d, 01:44:14)

                   freq: 2437

                   beacon interval: 100

                   capability: ESS Privacy ShortPreamble ShortSlotTime (0x0431)

                   signal: -45.00 dBm

                   last seen: 410 ms ago

                   SSID: Leviton

                   Supported rates: 1.0* 2.0* 5.5* 11.0* 6.0 9.0 12.0 18.0

                   DS Parameter set: channel 6

                   RSN:      * Version: 1

                                  * Group cipher: TKIP

                                  * Pairwise ciphers: CCMP

                                  * Authentication suites: PSK

                                  * Capabilities: PreAuth (0x0001)

                   WPA:     * Version: 1

                                  * Group cipher: TKIP

                                  * Pairwise ciphers: TKIP

                                  * Authentication suites: PSK

                   ERP: <no flags>

                   Extended supported rates: 24.0 36.0 48.0 54.0

                   WMM:  * Parameter version 1

                                  * BE: CW 15-1023, AIFSN 3

                                  * BK: CW 15-1023, AIFSN 7

                                  * VI: CW 7-15, AIFSN 2, TXOP 3008 usec

                                  * VO: acm CW 3-7, AIFSN 2, TXOP 1504 usec

                   WPS:      * Version: 1.0

                                  * Wi-Fi Protected Setup State: 2 (Configured)

                                  * Selected Registrar: 0x0

                                  * Response Type: 3 (AP)

                                  * UUID: 00000000-0000-0001-1000-687f74e56752

                                  * Manufacturer: Linksys Corporation

                                  * Model: WRT120N

                                  * Model Number: v1.0.04

                                  * Serial Number: JUT00K749982

                                  * Primary Device Type: 6-0050f204-1

                                  * Device name: Wireless Router(WFA)

                                  * Config methods: Label, PBC BSS 00:17:7c:16:4f:24 (on wlan0)

                   TSF: 6402078552 usec (0d, 01:46:42)

                   freq: 2462

                   beacon interval: 100

                   capability: ESS ShortSlotTime (0x0401)

                   signal: -53.00 dBm

                   last seen: 350 ms ago

                   SSID: Digisol

                   Supported rates: 1.0* 2.0* 5.5* 11.0* 6.0 9.0 12.0 18.0

                   DS Parameter set: channel 11

                   ERP: <no flags>

                   Extended supported rates: 24.0 36.0 48.0 54.0

                   HT capabilities:

                                  Capabilities: 0x186e

                                                 HT20/HT40

                                                 SM Power Save disabled

                                                 RX HT20 SGI

                                                 RX HT40 SGI

                                                 No RX STBC

                                                 Max AMSDU length: 7935 bytes

                                                 DSSS/CCK HT40

                                  Maximum RX AMPDU length 32767 bytes (exponent: 0x002)

                                  Minimum RX AMPDU time spacing: 8 usec (0x06)

                                  HT RX MCS rate indexes supported: 0-7

                                  HT TX MCS rate indexes are undefined

                   HT operation:

                                  * primary channel: 11

                                  * secondary channel offset: below

                                  * STA channel width: any

                                  * RIFS: 0

                                  * HT protection: no

                                  * non-GF present: 0

                                  * OBSS non-GF present: 0

                                  * dual beacon: 0

                                  * dual CTS protection: 0

                                  * STBC beacon: 0

                                  * L-SIG TXOP Prot: 0

                                  * PCO active: 0

                                  * PCO phase: 0

                   WMM:  * Parameter version 1

                                  * BE: CW 15-1023, AIFSN 3

                                  * BK: CW 15-1023, AIFSN 7

                                  * VI: CW 7-15, AIFSN 2, TXOP 3008 usec

                                  * VO: acm CW 3-7, AIFSN 2, TXOP 1504 usec

                   WPS:      * Version: 1.0

                                  * Wi-Fi Protected Setup State: 1 (Unconfigured)

                                  * Response Type: 3 (AP)

                                  * UUID: 63041253-1019-2006-1228-00177c164f24

                                  * Manufacturer:

                                   * Model: RTL8xxx

                                  * Model Number: EV-2009-02-06

                                  * Serial Number: 123456789012347

                                  * Primary Device Type: 6-0050f204-1

                                  * Device name: Wireless Router

                                  * Config methods: Ethernet, Label, PBC ~

    I am trying to associate with "Digisol" which is an open AP. When I try to connect, the system crashes

    Thanks

    Girish

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Saurabh Narang
    Posted by Saurabh Narang
    on Apr 13 2012 10:05 AM
    Prodigy560 points

    Girish,

    Try using wpa_cli to connect the the AP and check if you get the same result:

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

    Please upload the complete log - including all the iw / ifconfig / wpa_cli commands. What platform are you working on? Thanks,

    -Saurabh

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Eyal a
    Posted by Eyal a
    on Apr 15 2012 02:30 AM
    Genius9240 points

    Hi Girish,

    I think we don’t use iwconfig commands for ibbs mode, I think that the 2 commands that we use are as follows:

     iw wlan0 ibss join <SSID>  <freq in MHz> [fixed-freq] [ <fixed bssid>] [key d:0:abcde]

     iw wlan0 ibss leave

    However I will verify that and update that forum

    Regards,

    Eyal

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Eyal a
    Posted by Eyal a
    on Apr 15 2012 02:33 AM
    Genius9240 points

    Hi Girish,

    For more information on the replacement of iwconfig commands, please refer to http://linuxwireless.org/en/users/Documentation/iw/replace-iwconfig (there you can also find the right commands for ibss mode)

    Regards,

    Eyal

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Eyal a
    Posted by Eyal a
    on Apr 15 2012 07:10 AM
    Verified Answer
    Verified by Girish Buhalli
    Genius9240 points

    Hi Girish,

    fo IBSS mode please try the Following

    Configure an IBSS mode:

    ifconfig wlan0 downiw dev wlan0 set type ibssifconfig wlan0 up

     

    Create or Join an IBSS network: 

    iw wlan0 ibss join <ssid> <freq># example:iw wlan0 ibss join test 2437

    Create or Join an IBSS network with WEP:

    iw wlan0 ibss join <ssid> <freq> key d:0:<WEP key># example:iw wlan0 ibss join test 2437 key d:0:0123456789

    Leave IBSS network:

    iw wlan0 ibss leave
     
     
    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