Return-path: Received: from yx-out-2324.google.com ([74.125.44.29]:17402 "EHLO yx-out-2324.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753400AbZEVAAd convert rfc822-to-8bit (ORCPT ); Thu, 21 May 2009 20:00:33 -0400 Received: by yx-out-2324.google.com with SMTP id 3so859543yxj.1 for ; Thu, 21 May 2009 17:00:34 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <45e8e6c40905211653mf2b2c4do4bd371d64fb475fd@mail.gmail.com> References: <60ce8d250905191048t46e3848fw3416ecd793dab9d1@mail.gmail.com> <45e8e6c40905211611q256a71f1pb08e2014f7ed0775@mail.gmail.com> <200905212349.n4LNnxQH029607@ms.infomax.com.tw> <45e8e6c40905211653mf2b2c4do4bd371d64fb475fd@mail.gmail.com> Date: Fri, 22 May 2009 08:00:34 +0800 Message-ID: <60ce8d250905211700l29133511t38049f38745d5769@mail.gmail.com> Subject: Re: Throughput is not changed when setting to a much higher bit rate From: Dongas To: Andrey Yurovsky Cc: "benson.dong" , Dan Williams , "John W. Linville" , linux-wireless@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-wireless-owner@vger.kernel.org List-ID: 2009/5/22 Andrey Yurovsky : >> On Thu, 21 May 2009 16:11:17 -0700, Andrey Yurovsky >> wrote: >>> On Thu, May 21, 2009 at 3:38 PM, Dan Williams wrote: >>>> On Thu, 2009-05-21 at 08:00 +0800, Dongas wrote: >>>>> 2009/5/21 Dan Williams : >>>>> > On Wed, 2009-05-20 at 22:48 +0800, Dongas wrote: >>>>> >> 2009/5/20 John W. Linville : >>>>> >> > On Wed, May 20, 2009 at 01:48:32AM +0800, Dongas wrote: >>>>> >> > >>>>> >> >> Why the bandwidth is not changed when bit rate is changed to >>> 11Mb/s? >>>>> >> >> Any thing wrong? >>>>> >> > >>>>> >> > More errors at higher bit rate, resulting in more retries? ?Just >>> a >>>>> >> > thought... >>>>> >> > >>>>> >> Is there a quick way to verify this possible reason? I'm using >>> Libertas driver. >>>>> >> >>>>> >> BTW, my sdio host driver is using polling mode to handle SDIO IRQ. >>>>> >> Could this be the cause of such poor performance? >>>>> > >>>>> > Definitely. ?With libertas, the largest class of issues by *far* >>> that >>>>> > we've seen are controller related. ?I seem to recall that I've >>> pulled >>>>> > about 6Mbps through the card using a normal Ricoh controller from a >>>>> > Fujitsu laptop. ?I can recheck that. >>>>> >>>>> AFAIK, most old laptop ,including my x61, doesn't support SDIO in HW. >>>>> So did Ricoh controller you tested use polling mode to handle SDIO IRQ? >>>>> Which clock of controller and which bit rate did you test? >>>> >>>> Actually, most of the older machines *can* do SDIO, those made from >>>> about 2006 - 2009. ?These days a lot of the SD "controllers" are >>>> actually USB-based mass-storage converters and cannot do SDIO, they are >>>> essentially 10-in-1 cardreaders. >>>> >>>> What is the 'lspci' output for your Thinkpad? ?If the controller isn't >>>> in 'lspci' but is in 'lsusb', then it's quite unlikely to work because >>>> of the above reason, I think. >>> >>> Right, you need a real SDIO (vs. SD storage) controller on the PCI >>> bus. ?However I can confirm that the ThinkPad X61 (and T61) controller >>> does full SDIO and you can plug Libertas SDIO cards into it. ?The >>> older X-series ThinkPads (I tried the X40 and X41) work great too. >> >> Great, since the os running on x61 is windows vista, i just run linux in >> vmware. >> So do you know whether the windows driver for x61 supports full SDIO >> well(including SDIO interrupt in HW)? > > Oh. ?Well, you need to run Linux right on the hardware (ie: not in > VMWare or any visualization software) for SDIO to work. ?I don't know > anything about Windows. ?I can confirm, from personal experience, that > the X61's SDIO works fine for Libertas in Linux. OK.Thanks for your info. BTW, do you know whether the X61's SD/SDIO controller supports SDIO IRQ in HW? Or it just works on polling mode for SDIO IRQ? Regards Dongas