2011-01-20 18:37:41

by Luis R. Rodriguez

[permalink] [raw]
Subject: Fwd: [Linux Wireless] Update of "en/users/Drivers/carl9170" by PaulFertser

Huh?


---------- Forwarded message ----------
From: Linux Wireless <[email protected]>
Date: Thu, Jan 20, 2011 at 10:32 AM
Subject: [Linux Wireless] Update of "en/users/Drivers/carl9170" by PaulFertser
To: Linux Wireless <[email protected]>


Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Linux
Wireless" for change notification.

The "en/users/Drivers/carl9170" page has been changed by PaulFertser:
http://linuxwireless.org/en/users/Drivers/carl9170?action=diff&rev1=17&rev2=18

Comment:
Information about QoS^AMPDU and WOL support

 == 802.11n Compatibility ==

 It's worth mentioning that the chip was designed, produced and sold
in the early 802.11n-draft period.
- Compatibility will always be an issue.
+ Compatibility will always be an issue.
+
+ A [[http://git.kernel.org/?p=linux/kernel/git/chr/carl9170fw.git;a=commitdiff;h=39be7dc384e0dd45dc36b4b517fd9fae874b06f0|known
problem]] is that hardware can not support
+ [[http://en.wikipedia.org/wiki/IEEE_802.11n-2009#Frame_aggregation|frame
+ aggregation]] and
+ [[QoS|http://en.wikipedia.org/wiki/Wireless_Multimedia_Extensions]] at
+ the same time, meaning the device is not suitable for any serious
+ 802.11n setup.

 ||Hardware||||Problem||||Solution?||
 ||'''BCM4313'''||||''Hardware incompatibility''||||''replace hardware''||
@@ -70, +77 @@

  * Input device for WPS button event (depending on hardware)
  * automatic recovery from several fatal events
  * Regulatory domain restrictions
+  * [[http://git.kernel.org/?p=linux/kernel/git/chr/carl9170fw.git;a=commit;h=6476369c2c6d4ba487408cb5daff8df0480d6b4a|Wake-on-LAN
+  support]] (can resume your system from suspend-to-ram)

 == not working yet ==
  * Power Save Mode, It's implemented but buggy


2011-01-20 18:43:43

by Paul Fertser

[permalink] [raw]
Subject: Re: Fwd: [Linux Wireless] Update of "en/users/Drivers/carl9170" by PaulFertser

On Thu, Jan 20, 2011 at 10:37:20AM -0800, Luis R. Rodriguez wrote:
> Huh?

Christian asked me to add that info to the wiki, is something i wrote wrong? It
wasn't me who added the mailing list to the recepients of change notifications
if you're about that. :)

--
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:[email protected]

2011-01-21 20:31:45

by Christian Lamparter

[permalink] [raw]
Subject: Re: Fwd: [Linux Wireless] Update of "en/users/Drivers/carl9170" by PaulFertser

On Thursday 20 January 2011 20:07:13 Johannes Berg wrote:
> On Thu, 2011-01-20 at 21:54 +0300, Paul Fertser wrote:
> > On Thu, Jan 20, 2011 at 10:50:43AM -0800, Luis R. Rodriguez wrote:
> > > On Thu, Jan 20, 2011 at 10:43 AM, Paul Fertser <[email protected]> wrote:
> > > > On Thu, Jan 20, 2011 at 10:37:20AM -0800, Luis R. Rodriguez wrote:
> > > >> Huh?
> > > >
> > > > Christian asked me to add that info to the wiki, is something i wrote wrong?
> > >
> > > It is unclear to me, are you saying carl9170 does not support QoS and
> > > aggregation?
> >
> > At the same time, apparently, yes. This commit[1] has more
> > clarifications.
> >
> > [1] http://git.kernel.org/?p=linux/kernel/git/chr/carl9170fw.git;a=commitdiff;h=39be7dc384e0dd45dc36b4b517fd9fae874b06f0
>
> It could still do QoS but refuse aggregation sessions on anything but
> TID 0 and 1?
>
Uh, no cc: me ;) ? I almost missed this one.

Anyway, when I wrote that I tried a lot of possible workarounds.
Including this suggestion [limit ampdu to tid 0 & 1], but it had
no effect, the TX-QoS arbiter just gets stuck :(.




2011-01-20 18:51:19

by Luis R. Rodriguez

[permalink] [raw]
Subject: Re: Fwd: [Linux Wireless] Update of "en/users/Drivers/carl9170" by PaulFertser

On Thu, Jan 20, 2011 at 10:43 AM, Paul Fertser <[email protected]> wrote:
> On Thu, Jan 20, 2011 at 10:37:20AM -0800, Luis R. Rodriguez wrote:
>> Huh?
>
> Christian asked me to add that info to the wiki, is something i wrote wrong?

It is unclear to me, are you saying carl9170 does not support QoS and
aggregation?
Luis

2011-01-20 19:03:09

by Christian Lamparter

[permalink] [raw]
Subject: Re: Fwd: [Linux Wireless] Update of "en/users/Drivers/carl9170" by PaulFertser

On Thursday 20 January 2011 19:50:43 Luis R. Rodriguez wrote:
> On Thu, Jan 20, 2011 at 10:43 AM, Paul Fertser <[email protected]> wrote:
> > On Thu, Jan 20, 2011 at 10:37:20AM -0800, Luis R. Rodriguez wrote:
> >> Huh?
> >
> > Christian asked me to add that info to the wiki, is something i wrote wrong?
>
> It is unclear to me, are you saying carl9170 does not support QoS and
> aggregation?

It's not only carl9170, it's AR9170 (the chip) .

Take a look into the original firmware:

<http://git.kernel.org/?p=linux/kernel/git/mcgrof/ar9170-fw.git;a=blob;f=STA/hostif.c;h=aa277d14ee5ec4c222b83975d7dc2d5c66dbf91c;hb=2e3574ce10c74a82047a06b046855de14d969948#l107>

107 /* TxQ number */
108 //txqNum = (buf[2] >> 13);
109 //if (txqNum > 4)
110 {
111 txqNum = 0;
112 }
113
114 zfDmaPutPacket(&zgTxQ[txqNum], desc);
115 /* Trigger WLAN TX DMA */
116 zm_wl_dma_trigger_reg = (1 << txqNum);

So yes, someone took a shortcut along the way.

Regards,
Chr

2011-01-20 18:54:49

by Paul Fertser

[permalink] [raw]
Subject: Re: Fwd: [Linux Wireless] Update of "en/users/Drivers/carl9170" by PaulFertser

On Thu, Jan 20, 2011 at 10:50:43AM -0800, Luis R. Rodriguez wrote:
> On Thu, Jan 20, 2011 at 10:43 AM, Paul Fertser <[email protected]> wrote:
> > On Thu, Jan 20, 2011 at 10:37:20AM -0800, Luis R. Rodriguez wrote:
> >> Huh?
> >
> > Christian asked me to add that info to the wiki, is something i wrote wrong?
>
> It is unclear to me, are you saying carl9170 does not support QoS and
> aggregation?

At the same time, apparently, yes. This commit[1] has more
clarifications.

[1] http://git.kernel.org/?p=linux/kernel/git/chr/carl9170fw.git;a=commitdiff;h=39be7dc384e0dd45dc36b4b517fd9fae874b06f0
--
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:[email protected]

2011-01-20 19:07:13

by Johannes Berg

[permalink] [raw]
Subject: Re: Fwd: [Linux Wireless] Update of "en/users/Drivers/carl9170" by PaulFertser

On Thu, 2011-01-20 at 21:54 +0300, Paul Fertser wrote:
> On Thu, Jan 20, 2011 at 10:50:43AM -0800, Luis R. Rodriguez wrote:
> > On Thu, Jan 20, 2011 at 10:43 AM, Paul Fertser <[email protected]> wrote:
> > > On Thu, Jan 20, 2011 at 10:37:20AM -0800, Luis R. Rodriguez wrote:
> > >> Huh?
> > >
> > > Christian asked me to add that info to the wiki, is something i wrote wrong?
> >
> > It is unclear to me, are you saying carl9170 does not support QoS and
> > aggregation?
>
> At the same time, apparently, yes. This commit[1] has more
> clarifications.
>
> [1] http://git.kernel.org/?p=linux/kernel/git/chr/carl9170fw.git;a=commitdiff;h=39be7dc384e0dd45dc36b4b517fd9fae874b06f0

It could still do QoS but refuse aggregation sessions on anything but
TID 0 and 1?

johannes