Skip to contentSkip to conversation

Update of "en/users/Drivers/carl9170" by PaulFertser

Linux Wireless Luis R. Rodriguez 4 participants 7 messages Jan 20, 2011 – Jan 21, 2011 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

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

#2 lore raw
Quoted 1 line · Luis R. Rodriguez

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. :)

Signature · 2 lines
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:[email protected]
#3 lore raw
Quoted 4 lines · Paul Fertser
Quoted 1 line · Luis R. Rodriguez

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

#4 lore raw
Quoted 8 lines · Luis R. Rodriguez
Quoted 4 lines · Paul Fertser
Quoted 1 line · Luis R. Rodriguez

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

Signature · 2 lines
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:[email protected]
#5 lore raw
Quoted 7 lines · Paul Fertser
Quoted 6 lines · Luis R. Rodriguez
Quoted 4 lines · Paul Fertser
Quoted 1 line · Luis R. Rodriguez

Huh?

Christian asked me to add that info to the wiki, is something i wrote wrong?

Quoted 7 lines
Quoted 2 lines

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

#6 lore raw
Quoted 11 lines · On Thursday 20 January 2011 20:07:13 Johannes Berg wrote:
Quoted 10 lines · Paul Fertser
Quoted 8 lines · Luis R. Rodriguez
Quoted 4 lines · Paul Fertser
Quoted 1 line · Luis R. Rodriguez

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?

Quoted 8 lines
Quoted 4 lines

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 :(.

#7 lore raw
In reply to Luis R. Rodriguez
Quoted 8 lines · On Thursday 20 January 2011 19:50:43 Luis R. Rodriguez wrote:
Quoted 4 lines · Paul Fertser
Quoted 1 line · Luis R. Rodriguez

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