Re: [ath9k-devel] Are we correct to support 802.11n rate-control using radiotap?

2011-04-10 Thread Yoo Kaku
Thank you! Does that mean rate of every packet processed by ath_buf_set_rate() would be set to the value written previously in this func? But our work require a rate computing outside the driver... Is that easy? May I know how you coded? On Sun, Apr 10, 2011 at 10:58 PM, Sujith wrote: > Yoo Ka

Re: [ath9k-devel] [PATCH 2/2] ath9k: index out of bounds

2011-04-10 Thread Mohammed Shafi
On Mon, Apr 11, 2011 at 12:39 AM, roel wrote: > Check whether index is within bounds before testing the element > > Signed-off-by: Roel Kluin > --- >  drivers/net/wireless/ath/ath9k/rc.c |    3 +-- >  1 files changed, 1 insertions(+), 2 deletions(-) > > diff --git a/drivers/net/wireless/ath/ath9k

Re: [ath9k-devel] GOOD for OpenWrt: only 2 tx failed per day

2011-04-10 Thread Larry Vaden
On Sun, Apr 10, 2011 at 4:40 PM, Matteo Croce wrote: > 2011/4/10 Peter Stuge : >> rootki...@yahoo.it wrote: >>> Did you experience much tx failure? >> >> You are asking for the exact information that was originally posted. >> Please rephrase your question to be more clear. >> >> >> //Peter >>

Re: [ath9k-devel] Sparklan WPEA-121N AR9382 168c:abcd

2011-04-10 Thread Adrian Chadd
Is there an easy way to get an EEPROM/OTP contents dump in ath9k? Adrian 2011/4/11 Hasan Rashid > That's exactly what I did, also, I had to add the vendor ID in the > hw_init function for the driver to fully load. I got it to work after making > these changes in the ath9k driver. > > Now I ha

Re: [ath9k-devel] Sparklan WPEA-121N AR9382 168c:abcd

2011-04-10 Thread Peter Stuge
Hasan Rashid wrote: > The only problem now is that the driver transmit at non-HT rates only. I guess that is the best it can do with a bogus EEPROM. //Peter ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listin

Re: [ath9k-devel] Sparklan WPEA-121N AR9382 168c:abcd

2011-04-10 Thread Hasan Rashid
I have contacted the manufacturer of the card as well. The correspondent claimed to have used ath9k without any issues. When I first rant lspci the output looked suspiciously bogus to me as well for this card. I am using a Ubuntu 10.10 x86 distro and I have little reason to believe lspci has

Re: [ath9k-devel] Sparklan WPEA-121N AR9382 168c:abcd

2011-04-10 Thread Hasan Rashid
That's exactly what I did, also, I had to add the vendor ID in the hw_init function for the driver to fully load. I got it to work after making these changes in the ath9k driver. Now I have a different problem. In AP mode using hostapd, the driver doesn't transmit at a higher rate than 54Mbit.

[ath9k-devel] iwconfig drives which modules in the kernel/ath9k

2011-04-10 Thread Serene Gud
Hi all, I am able to print out the present operating frequency from the ath9k/main.c file in dmesg and if I change the frequency using iwconfig, the output of of dmesg shows that the frequency has been changed. As far as I could figure out struct ieee80211_channel is defined in ./include/net/c

Re: [ath9k-devel] GOOD for OpenWrt: only 2 tx failed per day

2011-04-10 Thread Matteo Croce
2011/4/10 Peter Stuge : > rootki...@yahoo.it wrote: >> Did you experience much tx failure? > > You are asking for the exact information that was originally posted. > Please rephrase your question to be more clear. > > > //Peter > ___ > ath9k-devel mailing

Re: [ath9k-devel] GOOD for OpenWrt: only 2 tx failed per day

2011-04-10 Thread Peter Stuge
rootki...@yahoo.it wrote: > Did you experience much tx failure? You are asking for the exact information that was originally posted. Please rephrase your question to be more clear. //Peter ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https:

Re: [ath9k-devel] GOOD for OpenWrt: only 2 tx failed per day

2011-04-10 Thread rootkit85
2011/4/10 Larry Vaden : > THANKS, Felix et al. > > From one of our production pops with a Ubiquiti Bullet M2 HP running OpenWrt. > > ATTITUDE ADJUSTMENT (bleeding edge, r26358) -- > > root@jv-2400-ap1:~# uptime >  16:57:14 up 3 days, 14:15, load average: 0.00, 0.01, 0.04 > root@jv-2400-ap1:

[ath9k-devel] [PATCH 1/2] ath9k_hw: index out of bounds

2011-04-10 Thread roel
Check whether index is within bounds before testing the element Both spurChans arrays in modalHeader5G and modalHeader2G have 5 elements, AR_EEPROM_MODAL_SPURS is defined 5. So unless a break occurs, in the last iteration (i=5) we tried to access spurChansPtr[5] before testing whether i was within

[ath9k-devel] [PATCH 2/2] ath9k: index out of bounds

2011-04-10 Thread roel
Check whether index is within bounds before testing the element Signed-off-by: Roel Kluin --- drivers/net/wireless/ath/ath9k/rc.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/ath/ath9k/rc.c b/drivers/net/wireless/ath/ath9k/rc.c index 4c0d36a..1

Re: [ath9k-devel] ath9k: how to change channels dynamically

2011-04-10 Thread Larry Vaden
On Sun, Apr 10, 2011 at 11:50 AM, Serene Gud wrote: > I am using Fedora14 and not OpenWrt. > > Thanks! > > There is some considerable discussion of channel switching in the .pdf for IEEE Std 802.11TM-2007 which you can obtain by visiting < http://standards.ieee.org/getieee802/download/802.11-2007

[ath9k-devel] GOOD for OpenWrt: only 2 tx failed per day

2011-04-10 Thread Larry Vaden
THANKS, Felix et al. >From one of our production pops with a Ubiquiti Bullet M2 HP running OpenWrt. ATTITUDE ADJUSTMENT (bleeding edge, r26358) -- root@jv-2400-ap1:~# uptime 16:57:14 up 3 days, 14:15, load average: 0.00, 0.01, 0.04 root@jv-2400-ap1:~# iw wlan0 station dump | grep -i fai

Re: [ath9k-devel] ath9k: how to change channels dynamically

2011-04-10 Thread Serene Gud
--- On Sun, 4/10/11, Serene Gud wrote: From: Serene Gud Subject: Re: [ath9k-devel] ath9k: how to change channels dynamically To: "Larry Vaden" Cc: "Adrian Chadd" , ath9k-devel@lists.ath9k.org Date: Sunday, April 10, 2011, 11:36 AM --- On Wed, 4/6/11, Larry Vaden wrote: On Wed, Apr 6, 20

Re: [ath9k-devel] learning moment bitte: how does a newb set power_save off on an AP?

2011-04-10 Thread Larry Vaden
On Sun, Apr 10, 2011 at 11:27 AM, Sujith wrote: > Larry Vaden wrote: >> Hello Sujith, Adrian, Peter et al. >> >> Many THANKS for your replies. >> >> Again, as a newb (ready, willing and somewhat able to learn), I ask if >> IEEE Std 802.11(tm)-2007 >>  has been superseded/deprecated by later standa

Re: [ath9k-devel] ath9k: how to change channels dynamically

2011-04-10 Thread Serene Gud
--- On Wed, 4/6/11, Larry Vaden wrote: On Wed, Apr 6, 2011 at 11:54 AM, Serene Gud wrote: --- On Wed, 4/6/11, Larry Vaden wrote: On Wed, Apr 6, 2011 at 11:31 AM, Serene Gud wrote: --- On Mon, 4/4/11, Adrian Chadd wrote: it depends what you're trying to do. Are you trying to dy

Re: [ath9k-devel] learning moment bitte: how does a newb set power_save off on an AP?

2011-04-10 Thread Sujith
Larry Vaden wrote: > Hello Sujith, Adrian, Peter et al. > > Many THANKS for your replies. > > Again, as a newb (ready, willing and somewhat able to learn), I ask if > IEEE Std 802.11(tm)-2007 > has been superseded/deprecated by later standards? > > [quote] > 11.2.1.4 Power management with APSD

Re: [ath9k-devel] learning moment bitte: how does a newb set power_save off on an AP?

2011-04-10 Thread Larry Vaden
On Sun, Apr 10, 2011 at 9:52 AM, Sujith wrote: > Larry Vaden wrote: >> While running >> >>           |__| W I R E L E S S   F R E E D O M >>  ATTITUDE ADJUSTMENT (bleeding edge, r26548) -- >> >> as a newb, on APs, >> >> root@hq-0900-ap1:~# iw wlan0 set power_save off >> command failed: Ope

Re: [ath9k-devel] Sparklan WPEA-121N AR9382 168c:abcd

2011-04-10 Thread Mohammed Shafi
On Sun, Apr 10, 2011 at 9:04 PM, Adrian Chadd wrote: > Incorrect or misplaced EEPROM/OTP data, perhaps? > From what I gather, the PCI ID on earlier devices is loaded out of EEPROM by > the silicon itself at power-on. 'abcd' sounds a bit too convenient to be > what's in EEPROM/OTP; so maybe it's a

Re: [ath9k-devel] Sparklan WPEA-121N AR9382 168c:abcd

2011-04-10 Thread Adrian Chadd
Incorrect or misplaced EEPROM/OTP data, perhaps? >From what I gather, the PCI ID on earlier devices is loaded out of EEPROM by the silicon itself at power-on. 'abcd' sounds a bit too convenient to be what's in EEPROM/OTP; so maybe it's a default value in the silicon? (All just conjecture here at

Re: [ath9k-devel] Sparklan WPEA-121N AR9382 168c:abcd

2011-04-10 Thread Mohammed Shafi
On Sun, Apr 10, 2011 at 8:41 PM, Peter Stuge wrote: > Mohammed Shafi wrote: >> > Is this a serious proposal from Atheros, or just your attempt at >> > a quick fix? >> >> No! its purely a personal idea (am completely responsible for the >> mistake),and I will take a look at it carefully to fix this

Re: [ath9k-devel] Sparklan WPEA-121N AR9382 168c:abcd

2011-04-10 Thread Peter Stuge
Mohammed Shafi wrote: > > Is this a serious proposal from Atheros, or just your attempt at > > a quick fix? > > No! its purely a personal idea (am completely responsible for the > mistake),and I will take a look at it carefully to fix this. Sorry, I didn't mean that you made a mistake, just that

Re: [ath9k-devel] switching from minstrel to ath9k's native rate control

2011-04-10 Thread Sujith Manoharan
Larry Vaden wrote: > <7>1 2011-01-01T00:00:12+00:00 jv-2400-ap1 kernel - - -  ieee80211 > phy0: Selected rate control algorithm 'minstrel_ht' > > Is there a run time option to set rate control algorithm or must we > compile (certainly not a problem)? Currently, there is no runtime option to chang

Re: [ath9k-devel] learning moment bitte: how does a newb set power_save off on an AP?

2011-04-10 Thread Sujith
Peter Stuge wrote: > Sujith wrote: > > > How does a newb set power_save off on an AP? > > > > PowerSave support is mandatory for AP mode operation, > > so disabling it is not possible. > > To clarify a bit, does power_save on mean that *other* nodes can use > power saving on this network, as oppo

Re: [ath9k-devel] learning moment bitte: how does a newb set power_save off on an AP?

2011-04-10 Thread Sujith
Adrian Chadd wrote: > On 10 April 2011 22:52, Sujith wrote: >   > > > How does a newb set power_save off on an AP? > > PowerSave support is mandatory for AP mode operation, > so disabling it is not possible. > > Wait, just to be clear, power save here in AP mode is to support whe

Re: [ath9k-devel] Sparklan WPEA-121N AR9382 168c:abcd

2011-04-10 Thread Mohammed Shafi
On Sun, Apr 10, 2011 at 8:02 PM, Peter Stuge wrote: > Mohammed, > > Mohammed Shafi wrote: >> +++ b/drivers/net/wireless/ath/ath9k/pci.c >> @@ -30,6 +30,7 @@ static DEFINE_PCI_DEVICE_TABLE(ath_pci_id_table) = { >>         { PCI_VDEVICE(ATHEROS, 0x002D) }, /* PCI   */ >>         { PCI_VDEVICE(ATHERO

Re: [ath9k-devel] learning moment bitte: how does a newb set power_save off on an AP?

2011-04-10 Thread Peter Stuge
Sujith wrote: > > How does a newb set power_save off on an AP? > > PowerSave support is mandatory for AP mode operation, > so disabling it is not possible. To clarify a bit, does power_save on mean that *other* nodes can use power saving on this network, as opposed to meaning that the *local* nod

Re: [ath9k-devel] learning moment bitte: how does a newb set power_save off on an AP?

2011-04-10 Thread Adrian Chadd
On 10 April 2011 22:52, Sujith wrote: > > How does a newb set power_save off on an AP? > > PowerSave support is mandatory for AP mode operation, > so disabling it is not possible. Wait, just to be clear, power save here in AP mode is to support when stations go to sleep (and go off-channel due

[ath9k-devel] Are we correct to support 802.11n rate-control using radiotap?

2011-04-10 Thread Sujith
Yoo Kaku wrote: > Hi everyone! > >     We are doing some work on 802.11n Monitor Mode using PCI-E AR5416 card. > And we want to control packet rates by radiotap header. However, it seems > there are not > enough supports on injecting MCS. So we modified the driver Ath9k and > mac80211 but it do

[ath9k-devel] learning moment bitte: how does a newb set power_save off on an AP?

2011-04-10 Thread Sujith
Larry Vaden wrote: > While running > > |__| W I R E L E S S F R E E D O M > ATTITUDE ADJUSTMENT (bleeding edge, r26548) -- > > as a newb, on APs, > > root@hq-0900-ap1:~# iw wlan0 set power_save off > command failed: Operation not supported (-122) > > but on CPEs: > > root@

Re: [ath9k-devel] Sparklan WPEA-121N AR9382 168c:abcd

2011-04-10 Thread Peter Stuge
Mohammed, Mohammed Shafi wrote: > +++ b/drivers/net/wireless/ath/ath9k/pci.c > @@ -30,6 +30,7 @@ static DEFINE_PCI_DEVICE_TABLE(ath_pci_id_table) = { > { PCI_VDEVICE(ATHEROS, 0x002D) }, /* PCI */ > { PCI_VDEVICE(ATHEROS, 0x002E) }, /* PCI-E */ > { PCI_VDEVICE(ATHEROS, 0x0

Re: [ath9k-devel] Sparklan WPEA-121N AR9382 168c:abcd

2011-04-10 Thread Mohammed Shafi
On Sun, Apr 10, 2011 at 5:39 PM, Mohammed Shafi wrote: > On Sat, Apr 9, 2011 at 2:00 AM, Hasan Rashid wrote: >> Hello All, >> >> I recently purchased a Sparklan WPEA-121N, it uses the AR9382 chipset. It is >> mentioned as supported on the device list, however, when I load that ath9k >> modules no

Re: [ath9k-devel] Sparklan WPEA-121N AR9382 168c:abcd

2011-04-10 Thread Mohammed Shafi
On Sat, Apr 9, 2011 at 2:00 AM, Hasan Rashid wrote: > Hello All, > > I recently purchased a Sparklan WPEA-121N, it uses the AR9382 chipset. It is > mentioned as supported on the device list, however, when I load that ath9k > modules nothing comes up. > > Does ath9k support this chipset? I compiled