Linux wireless drivers development
 help / color / mirror / Atom feed
From: Luciano Coelho <coelho@ti.com>
To: coelho@ti.com
Cc: linux-wireless@vger.kernel.org
Subject: [PATCH 0/3] wl12xx: improve firmware transfer efficiency
Date: Thu,  3 Nov 2011 08:44:40 +0200	[thread overview]
Message-ID: <1320302683-23403-1-git-send-email-coelho@ti.com> (raw)

Hello,

These patches increase the FW upload efficiency by using multiple SDIO
blocks in a single write.  After a lot of measurements, studies and
discussions, I came to the conclusion that 16K chunks is the optimal
size to use.  This reduces the upload time by a factor of 0.43 on
wl127x and by a factor of 0.17 on wl128x.  In absolute numbers this
means 75ms and 179ms respectively.

The first patch changes the semantics and name of the blocksize
alignment quirk to negative, to simplify the code in the next two
patches.

Cheers,
Luca.

Luciano Coelho (3):
  wl12xx: change blocksize alignment quirk to negative
  wl12xx: use the same SDIO block size for all different chips
  wl12xx: increase firmware upload chunk size

 drivers/net/wireless/wl12xx/init.c   |    2 +-
 drivers/net/wireless/wl12xx/main.c   |   18 ++++++++++++++----
 drivers/net/wireless/wl12xx/reg.h    |    2 +-
 drivers/net/wireless/wl12xx/tx.c     |    6 +++---
 drivers/net/wireless/wl12xx/wl12xx.h |    4 ++--
 5 files changed, 21 insertions(+), 11 deletions(-)

-- 
1.7.4.1


             reply	other threads:[~2011-11-03  6:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-03  6:44 Luciano Coelho [this message]
2011-11-03  6:44 ` [PATCH 1/3] wl12xx: change blocksize alignment quirk to negative Luciano Coelho
2011-11-03  6:44 ` [PATCH 2/3] wl12xx: use the same SDIO block size for all different chips Luciano Coelho
2011-11-03  6:44 ` [PATCH 3/3] wl12xx: increase firmware upload chunk size Luciano Coelho
2011-11-08 14:13 ` [PATCH 0/3] wl12xx: improve firmware transfer efficiency Luciano Coelho

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=1320302683-23403-1-git-send-email-coelho@ti.com \
    --to=coelho@ti.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