This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

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

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

  • Girish,

    Is Digisol an open or secured AP?

    -Saurabh

  • Hi Saurabh,

    I have configured Digisol as an Open AP

    Thanks

    Girish

  • 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

  • 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

  • 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

  • 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

     

  • 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

  • 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