From: Bob Copeland <me@bobcopeland.com>
To: linux-wireless@vger.kernel.org
Cc: kalle.valo@iki.fi
Subject: Re: [WIP PATCH] sdio support for wl12xx
Date: Tue, 19 May 2009 00:02:39 -0400 [thread overview]
Message-ID: <20090519040239.GA12911@hash.localnet> (raw)
In-Reply-To: <20090518180957.GD2580@hash.localnet>
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!
> +void wl12xx_sdio_read(struct wl12xx *wl, int addr, void *buf, size_t len)
> +{
> + int ret, i;
sdio_claim_host(wl->func);
> + for (i=0; i < 5; i++) {
> + if (i < 2)
> + ret = read_direct(wl->func, buf, addr, len);
> + else
> + ret = sdio_memcpy_fromio(wl->func, buf, addr, len);
> +
> + if (!ret)
> + break;
> + }
sdio_release_host(wl->func);
> +}
And so on with write() (and dropping around wl12xx_init_ieee80211 to avoid
the recursive lock). That kills some warnings.
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.
I'm missing the NVS tables so 'ifconfig wlan0 up' bails on fw load.
--
Bob Copeland %% www.bobcopeland.com
next prev parent reply other threads:[~2009-05-19 4:02 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 [this message]
2009-05-20 19:05 ` Kalle Valo
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=20090519040239.GA12911@hash.localnet \
--to=me@bobcopeland.com \
--cc=kalle.valo@iki.fi \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.