linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kalle Valo <kalle.valo@iki.fi>
To: Bob Copeland <me@bobcopeland.com>
Cc: linux-wireless@vger.kernel.org
Subject: Re: [WIP PATCH] sdio support for wl12xx
Date: Wed, 20 May 2009 22:05:08 +0300	[thread overview]
Message-ID: <877i0begt7.fsf@litku.valot.fi> (raw)
In-Reply-To: <20090519040239.GA12911@hash.localnet> (Bob Copeland's message of "Tue\, 19 May 2009 00\:02\:39 -0400")

Bob Copeland <me@bobcopeland.com> writes:

> On Mon, May 18, 2009 at 02:09:57PM -0400, Bob Copeland wrote:
>> yet for applying.  However, it does load (with the proper setup code)
>> on my Android dev phone, chip probe works, and probably the rest too,
>> though I didn't get that far.  
>
> So much for hubris!

Don't feel down about this, this is always difficult and you are making
good progress already.

> iwconfig shows:
>
> wlan0     IEEE 802.11bg  ESSID:""  
>           Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated   
>           Encryption key:off
>           Power Management:off
>           Link Quality:0  Signal level:0  Noise level:0
>           Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
>           Tx excessive retries:0  Invalid misc:0   Missed beacon:0
>
> So at least mac80211 is up and running.

Very nice. I assume you can read the chip id and that's good, it means
that SDIO bus is working correctly.

> I'm missing the NVS tables so 'ifconfig wlan0 up' bails on fw load.

Current wl12xx code assumes that user space provides the NVS file. I'm
guessing that Android has NVS file stored in chip's EEPROM. Check the
!pWhalBus->pEEPROMBuf code path from TI's driver how to implement it.
Should be relatively easy:

http://android.git.kernel.org/?p=platform/system/wlan/ti.git;a=blob;f=sta_dk_4_0_4_32/common/src/BusAccess/Shm_Common/shmFwCtrl.c;h=946eb5ab3e82e44087c8387063369318ecfbaa34;hb=HEAD#l286

Please let me know if you have any questions. I try to get hold of
pandora, it has wl1251 using SDIO, so that I could help you with
testing.

http://www.openpandora.org/

-- 
Kalle Valo

  reply	other threads:[~2009-05-20 19:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-18 18:09 [WIP PATCH] sdio support for wl12xx Bob Copeland
2009-05-18 18:39 ` Kalle Valo
2009-05-19  4:02 ` Bob Copeland
2009-05-20 19:05   ` Kalle Valo [this message]
2009-05-20 19:23     ` Bob Copeland
2009-05-21 14:58       ` Kalle Valo
2009-05-21 15:05         ` Kalle Valo
2009-05-21 15:36           ` Bob Copeland

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=877i0begt7.fsf@litku.valot.fi \
    --to=kalle.valo@iki.fi \
    --cc=linux-wireless@vger.kernel.org \
    --cc=me@bobcopeland.com \
    /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;
as well as URLs for NNTP newsgroup(s).