Linux wireless drivers development
 help / color / mirror / Atom feed
From: Luciano Coelho <coelho@ti.com>
To: Girish B N <bngirish1@gmail.com>
Cc: linux-wireless@vger.kernel.org
Subject: Re: Issue with Compat Wireless-2012-04-03 with Wireless operations
Date: Thu, 05 Apr 2012 10:01:01 +0300	[thread overview]
Message-ID: <1333609261.27729.80.camel@cumari> (raw)
In-Reply-To: <CACAxKDr11ySDxbggg1Zc2cZa7QCGk8Rb=WoPdSuOZX-08fTVhw@mail.gmail.com>

Hi Girish,

On Wed, 2012-04-04 at 21:21 +0530, Girish B N wrote: 
> With latest Compat wireless package (2012-04-03) and firmware ver (04
> - wl127x-fw-4-sr.bin and wl127x-fw-4-plt.bin, ) 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 down
> >ifconfig wlan0 hw ether de:ad:be:ef:c0:fe
> >iwconfig wlan0 mode ad-hoc
> >iwconfig wlan0 essid brady123
> >ifconfig wlan0 192.168.1.6 up

Can you try to redo this with iw instead of iwconfig? Try this:

ifconfig wlan0 down
ifconfig wlan0 hw ether de:ad:be:ef:c0:fe
iw wlan0 set type ibss
ifconfig wlan0 up
iw wlan0 ibss join brady123

iwconfig is obsolete and if you use it, there is some wrapper code and
other things happening, so it's more difficult to follow.  It should
still work, of course, but if you use iw, I'll be able to help you more
easily.


> Please find the log below
> 
> Let us know the right version of the firmware and any patches to be
> applied for Compat Wireless package to be able to use for both
> calibration and successful wireless operation

[...]

> Powering on wl12xx<6>Compat-wireless backport release:
> compat-wireless-2012-04-02-2-1-g5c6c8e6
> Backport based on linux-next.git next-20120403
> cfg80211: Calling CRDA to update world regulatory domain
> wl1271_probe: the value of func->num = 0x2
> wl12xx: loaded
> wl12xx: firmware booted (Rev 6.3.5.0.98)

This seems to be the correct version to use with the latest upstream
code.


> wlan0: Creating new IBSS network, BSSID c1edff10
> wl12xx: ERROR command complete timeout
> ------------[ cut here ]------------
> WARNING: at /home/bps/compat-wireless-2012-04-03/drivers/net/wireless/wl12xx/cmd.c:108
> wl1271_cmd_send+0x340/0x374 [wl12xx]()

[...]

> wl12xx: ERROR failed to initiate cmd role enable
> wl12xx: WARNING cmd join failed -110
> wl12xx: ERROR command complete timeout
> ------------[ cut here ]------------

For some reason the firmware is not able to start the IBSS role.

Could you try this again with the iw commands I mentioned above and
enable debugging on the wl12xx module with debug_level 0x13800?

-- 
Cheers,
Luca.


  reply	other threads:[~2012-04-05  7:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-04 15:51 Issue with Compat Wireless-2012-04-03 with Wireless operations Girish B N
2012-04-05  7:01 ` Luciano Coelho [this message]
2012-04-11 14:37   ` Girish B N

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1333609261.27729.80.camel@cumari \
    --to=coelho@ti.com \
    --cc=bngirish1@gmail.com \
    --cc=linux-wireless@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox