linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Logan Gunthorpe <logang@deltatee.com>
To: linux-wireless@vger.kernel.org
Cc: Luciano Coelho <luciano.coelho@nokia.com>,
	"Levi, Shahar" <shahar_levi@ti.com>
Subject: Re: wl1271 with atmel-mci
Date: Mon, 26 Jul 2010 15:40:30 -0600	[thread overview]
Message-ID: <4C4E00CE.5050105@deltatee.com> (raw)
In-Reply-To: <4C488EEA.5020505@deltatee.com>

Hi Everyone,


> I've had the wl1271 working for the most part on an Atmel 
> micro-controller, but I've been fighting with a bug for the past couple 
> of days.
> 
> The problem happens whenever I try to transmit large packets of data 
> (using iperf, or nc, etc) the driver would hang and no longer be able to 
> send packets. tx_queue_len in the debugfs would then grow as I tried to 
> send packets but nothing would actually be sent to the device. At the 
> same time receiving packets would consistently work all of the time.
> 
> When this occurred I usually got the following messages:
> 
> atmel_mci atmel_mci.0: data CRC error
> wl1271: ERROR sdio write failed (-84) - addr 0x14fd8, 1076 bytes, 1

Firstly, I'd like to let anyone who's interested know that the problem I 
had above turned out to be a hardware issue. I tried two newly populated 
boards which both turned out not to exhibit this problem. I now have the 
wl1271 working on two AT91SAM9G45-EKES development kits.

Using iperf I have gathered some performance data. I am seeing between a 
wl1271 device and a host PC (connected via a dlink router):

PC to Device: ~23.0Mbit/s
Device to PC: ~21.7Mbit/s

When running in Ad-Hoc mode between two devices I am getting between 
about 15Mbit/s and 17Mbit/s.

Does anyone have any insight as to why the Ad-Hoc mode between two 
devices is noticeably slower? Can anything be done to improve this?


Thanks,

Logan



      reply	other threads:[~2010-07-26 21:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-22 18:33 wl1271 with atmel-mci Logan Gunthorpe
2010-07-26 21:40 ` Logan Gunthorpe [this message]

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=4C4E00CE.5050105@deltatee.com \
    --to=logang@deltatee.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=luciano.coelho@nokia.com \
    --cc=shahar_levi@ti.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).