Re: [ath9k-devel] nl80211 and cfg802.11

2010-11-03 Thread Mohammed Shafi
On Wed, Nov 3, 2010 at 11:00 AM, Queenie de Melo queenie...@gmail.com wrote: Hi, I would lik to know if the ath9k drivers come with inbuilt nl80211 and cfg80211 Or is do i have to separaely download and use nl80211 and cfg80211? No you don't have to when you do sudo modprobe ath9k it will

Re: [ath9k-devel] nl80211 and cfg802.11

2010-11-03 Thread Queenie de Melo
Thanks Shafi for your reply. So nl80211 n cfg80211 is built in the kernel? or is it in the ath9k driver. iam using kernel 2.6.32 Do i need to apply wireless extension patch? or will it already have nl80211/cf802.11? Pl help! On Wed, Nov 3, 2010 at 12:26 PM, Mohammed Shafi

Re: [ath9k-devel] [RFC] ath9k: fix tx queue selection

2010-11-03 Thread Felix Fietkau
On 2010-11-03 12:35 PM, Björn Smedman wrote: This is one good looking patch. :) And I agree, looking at the header qos is good to avoid. But there is still the risk of queue selection mismatch as I see it... See comments below. /Björn - /* XXX: Remove me once we don't depend on

Re: [ath9k-devel] nl80211 and cfg802.11

2010-11-03 Thread Jonathan Guerin
On Wed, Nov 3, 2010 at 7:33 PM, Queenie de Melo queenie...@gmail.com wrote: Thanks Shafi for your reply. So nl80211 n cfg80211 is built in the kernel? or is it in the ath9k driver. iam using kernel 2.6.32 Do i need to apply wireless extension patch? or will it already have

Re: [ath9k-devel] nl80211 and cfg802.11

2010-11-03 Thread Mohammed Shafi
On Wed, Nov 3, 2010 at 3:12 PM, Queenie de Melo queenie...@gmail.com wrote: Thanks Shafi for your reply. So nl80211 n cfg80211 is built in the kernel? or is it in the ath9k driver.  iam using kernel 2.6.32 Do i need to apply wireless extension  patch? or will it already have

Re: [ath9k-devel] [RFC] ath9k: fix tx queue selection

2010-11-03 Thread Björn Smedman
2010/11/3 Felix Fietkau n...@openwrt.org: On 2010-11-03 12:35 PM, Björn Smedman wrote: This is one good looking patch. :) And I agree, looking at the header qos is good to avoid. But there is still the risk of queue selection mismatch as I see it... See comments below. /Björn -  /* XXX:

Re: [ath9k-devel] ath9k: race conditions in dma

2010-11-03 Thread Björn Smedman
2010/11/2 Björn Smedman bjorn.smed...@venatech.se: On Mon, Nov 1, 2010 at 4:43 PM, Ben Gamari bgam...@gmail.com wrote: On Mon, 1 Nov 2010 16:17:23 +0100, Björn Smedman bjorn.smed...@venatech.se wrote: Hi all, I have an application that creates and destroys a lot of ap vifs and does a lot

Re: [ath9k-devel] [RFC] ath9k: fix tx queue selection

2010-11-03 Thread Felix Fietkau
On 2010-11-03 5:27 PM, Björn Smedman wrote: It comes down to this: either we look at the header qos when we select the queue (so the above cannot happen) or we relay on mac80211 to set the header qos and the skb queue mapping in a certain way. If we choose the later I vote for a

Re: [ath9k-devel] [RFC] ath9k: fix tx queue selection

2010-11-03 Thread Björn Smedman
2010/11/3 Felix Fietkau n...@openwrt.org: On 2010-11-03 5:27 PM, Björn Smedman wrote: Ok, regardless. So lets say there is a bug in mac80211 that allows a mismatch between header qos tid and skb queue mapping to occur (which in fact there is because this happens all the time with my frame

[ath9k-devel] [RFC] ath9k: fix beacon race conditions

2010-11-03 Thread Björn Smedman
Hi all, The beacon processing in ath9k is done in a tasklet. This tasklet may race against beacon allocation/deallocation in process context. The patch below is an attempt to point out / avoid these race conditions. My hope is that this will stabilize ath9k in a use-case I'm interested in

Re: [ath9k-devel] ath9k: race conditions in dma

2010-11-03 Thread Ben Gamari
On Tue, 2 Nov 2010 17:55:22 +0100, Björn Smedman bjorn.smed...@venatech.se wrote: Ben, if you can easily trigger these problems on wireless-testing, could you test with my patch and see if it helps? I'm especially interested to see if it really fixes problem 1. The only time I've been able

Re: [ath9k-devel] [RFC] ath9k: fix tx queue selection

2010-11-03 Thread Felix Fietkau
On 2010-11-03 6:31 PM, Björn Smedman wrote: 2010/11/3 Felix Fietkau n...@openwrt.org: On 2010-11-03 5:27 PM, Björn Smedman wrote: Ok, regardless. So lets say there is a bug in mac80211 that allows a mismatch between header qos tid and skb queue mapping to occur (which in fact there is because

Re: [ath9k-devel] vifs management

2010-11-03 Thread João Maurício
My method assumes that all your stations will be on the same frequency. When that is the case, two different VIFS can communicate to two different APs concurrently. You do not have to play any special tricks. If you want your VIFs to function on different channels, then you are going to

[ath9k-devel] support for AR9220

2010-11-03 Thread Queenie de Melo
Dear All, Iam using kernel 2.6.27 due to cross-compile some reasons but when i use the lastest ath9k, i get only the wlan0 interface. I do not see my wifi0 interface. Why is that?? I read through the net and found that maybe my device is not supported by the driver.. Is AR9220 chipset supported

Re: [ath9k-devel] support for AR9220

2010-11-03 Thread Queenie de Melo
Hi... Found from http://wireless.kernel.org/en/users/Drivers/ath9k#supported_chipsets That my chipset is supported :) Any idea why Iam not getting the wifi0 interface... ??? mine is a mips64 platform (using kernel 2.6.27) any inputs are welcome :) Thanks :) On Thu, Nov 4, 2010 at 10:16 AM,

Re: [ath9k-devel] support for AR9220

2010-11-03 Thread Mohammed Shafi
On Thu, Nov 4, 2010 at 10:35 AM, Queenie de Melo queenie...@gmail.com wrote: Hi... Found from http://wireless.kernel.org/en/users/Drivers/ath9k#supported_chipsets That my chipset is supported :) Any idea why Iam not getting the wifi0 interface... ??? By default you won't get that , but I