Re: [ath9k-devel] compat-wireless >= 2011-12-16 broken on debian 6.0

2012-01-02 Thread Jouni Malinen
On Sun, Jan 01, 2012 at 09:24:02AM +0100, Thomas Hilber wrote: > all compat-wireless-2011-12-XX.tar.bz2 versions before 2011-12-16 > work seemless on a debian 6.0. > > The versions 2011-12-16 and above require me to encomment following > code snippet in nl80211.c > > #if 0 > /* ac

Re: [ath9k-devel] compat-wireless >= 2011-12-16 broken on debian 6.0

2012-01-02 Thread Thomas Hilber
On Mon, Jan 02, 2012 at 11:28:30AM +0200, Jouni Malinen wrote: > That sounds like a regression caused by the cfg80211 changes in commit > bdd90d5e36a55271beb957b3d7ca3e29b2a90207 (2011-12-14). We should not be right > Which hostapd version were you using in the failure case? Based on your it's d

Re: [ath9k-devel] compat-wireless >= 2011-12-16 broken on debian 6.0

2012-01-02 Thread Jouni Malinen
On Mon, Jan 02, 2012 at 11:00:11AM +0100, Thomas Hilber wrote: > On Mon, Jan 02, 2012 at 11:28:30AM +0200, Jouni Malinen wrote: > > Which hostapd version were you using in the failure case? Based on your > it's debian 6.0 stock version of hostapd installed via > 'apt-get install hostapd'. According

Re: [ath9k-devel] compat-wireless >= 2011-12-16 broken on debian 6.0

2012-01-02 Thread Thomas Hilber
On Mon, Jan 02, 2012 at 12:34:50PM +0200, Jouni Malinen wrote: > Johannes prepared a patch to cfg80211 that may help with this. If you > can test this with compat-wireless and the old hostapd version, it would sure. I applied the patch provided against compat-wireless-2011-12-31. It compiles and e

Re: [ath9k-devel] ath9k_htc: RX memory allocation error, swapper: page allocation failure: order:3, mode:0x20

2012-01-02 Thread David Purdy
Hi Sujith, The embedded device that I've got it running on is a Seagate Dockstar (Kirkwood-ARM platform, 128MB RAM, with 256MB swap). Hostapd is running at w/ 11n mode, WPA/WPA2, txpower 20dBm (100mW). It never has any more than 5 stations attached. On USB it has an attached USB drive (used

[ath9k-devel] [RFC] ath9k_hw: make use of ar9003_calc_ptr_chksum

2012-01-02 Thread Mohammed Shafi Shajakhan
From: Mohammed Shafi Shajakhan make use of the already available function 'ar9003_calc_ptr_chksum' in 'ar9003_set_txdesc' Signed-off-by: Mohammed Shafi Shajakhan --- drivers/net/wireless/ath/ath9k/ar9003_mac.c | 59 ++- 1 files changed, 22 insertions(+), 37 deletions(

Re: [ath9k-devel] [RFC] ath9k_hw: make use of ar9003_calc_ptr_chksum

2012-01-02 Thread Felix Fietkau
On 2012-01-02 2:13 PM, Mohammed Shafi Shajakhan wrote: > From: Mohammed Shafi Shajakhan > > make use of the already available function 'ar9003_calc_ptr_chksum' > in 'ar9003_set_txdesc' > > Signed-off-by: Mohammed Shafi Shajakhan NACK. I intentionally did not use that function to avoid unnecessa

Re: [ath9k-devel] ath9k_htc: RX memory allocation error, swapper: page allocation failure: order:3, mode:0x20

2012-01-02 Thread Sujith
David Purdy wrote: > The embedded device that I've got it running on is a Seagate Dockstar > (Kirkwood-ARM platform, 128MB RAM, with 256MB swap). > > Hostapd is running at w/ 11n mode, WPA/WPA2, txpower 20dBm (100mW). It never > has any more than 5 stations attached. > > On USB it has an attache

Re: [ath9k-devel] [RFC] ath9k_hw: make use of ar9003_calc_ptr_chksum

2012-01-02 Thread Mohammed Shafi Shajakhan
hi Felix, On Monday 02 January 2012 07:11 PM, Felix Fietkau wrote: > On 2012-01-02 2:13 PM, Mohammed Shafi Shajakhan wrote: >> From: Mohammed Shafi Shajakhan >> >> make use of the already available function 'ar9003_calc_ptr_chksum' >> in 'ar9003_set_txdesc' >> >> Signed-off-by: Mohammed Shafi Sha

Re: [ath9k-devel] [RFC] ath9k_hw: make use of ar9003_calc_ptr_chksum

2012-01-02 Thread Felix Fietkau
On 2012-01-02 3:06 PM, Mohammed Shafi Shajakhan wrote: > hi Felix, > > > On Monday 02 January 2012 07:11 PM, Felix Fietkau wrote: >> On 2012-01-02 2:13 PM, Mohammed Shafi Shajakhan wrote: >>> From: Mohammed Shafi Shajakhan >>> >>> make use of the already available function 'ar9003_calc_ptr_chksum

Re: [ath9k-devel] [RFC] ath9k_hw: make use of ar9003_calc_ptr_chksum

2012-01-02 Thread Mohammed Shafi Shajakhan
On Monday 02 January 2012 07:47 PM, Felix Fietkau wrote: > On 2012-01-02 3:06 PM, Mohammed Shafi Shajakhan wrote: >> hi Felix, >> >> >> On Monday 02 January 2012 07:11 PM, Felix Fietkau wrote: >>> On 2012-01-02 2:13 PM, Mohammed Shafi Shajakhan wrote: From: Mohammed Shafi Shajakhan m

Re: [ath9k-devel] Kernel panic with AR9485 and kernel 3.1.6

2012-01-02 Thread Kim Lidström
Hello!Sorry for the late response, I've been busy with new years and stuff. I have, in fact, ordered USB to serial adapters to see if that will work (It was cheap enough so it is worth a shot) Because I don't have any of these other devices in my possession all I can do is to wait until they arrive

Re: [ath9k-devel] Kernel panic with AR9485 and kernel 3.1.6

2012-01-02 Thread Peter Stuge
Kim Lidström wrote: > I have, in fact, ordered USB to serial adapters I don't think the kernel supports console on USB-serial. You would need a special USB debug device, and one of the USB ports must have explicit EHCI Debug Port support. //Peter ___ a

Re: [ath9k-devel] Kernel panic with AR9485 and kernel 3.1.6

2012-01-02 Thread Adrian Chadd
On 29 December 2011 21:27, Kim Lidström wrote: > Hello! > I have an Acer Aspire 5250 with an "Acer Nplify 802.11b/g/n" wlan > adapter (Never heard of it > before.. But apparently it has a AR9485) that I'm having problems with. > I can connect to wlans but after a while the kernel hangs. I can't do

Re: [ath9k-devel] Kernel panic with AR9485 and kernel 3.1.6

2012-01-02 Thread Kim Lidström
It hangs in the console. ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel

[ath9k-devel] linux crash after hostap connection

2012-01-02 Thread andreandrea1
Hello, I have a problem with ath9k diriver, when I try to connect to hostapd with my android phone, linux crash. I have a debian testing with hostapd version 0.7.3 and I tried kernel: 3.1.0-1-686-pae from debian repository 3.1.0-rc4 compiled by me (same config of debian kernel )

Re: [ath9k-devel] Kernel panic with AR9485 and kernel 3.1.6

2012-01-02 Thread Adrian Chadd
On 2 January 2012 16:13, Kim Lidström wrote: > It hangs in the console. Would you please recompile ath/ath9k with the debugging option enabled? Then you could try enabling all of the debugging (and use dmesg or whatnot to set the console logging level) to log ath9k register accesses. Hopefully we

Re: [ath9k-devel] Kernel panic with AR9485 and kernel 3.1.6

2012-01-02 Thread Kim Lidström
I will definitely do that!Just for clarity, would I download the latest compat-wireless andcompile that or the 3.1.6 kernel? ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Re: [ath9k-devel] Kernel panic with AR9485 and kernel 3.1.6

2012-01-02 Thread Adrian Chadd
On 2 January 2012 17:22, Kim Lidström wrote: > I will definitely do that!Just for clarity, would I download the > latest compat-wireless andcompile that or the 3.1.6 kernel? Oh! _I_ always suggest the latest compat-wireless. :) Adrian ___ ath9k-devel

Re: [ath9k-devel] Kernel panic with AR9485 and kernel 3.1.6

2012-01-02 Thread Kim Lidström
Great! I'm on it! (Btw, sorry if the last message was sent twice. I accidentally a little) ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Re: [ath9k-devel] Failed to stop TX DMA

2012-01-02 Thread Paul Farrow
Hi Mohammed Firstly thanks very much. hostapd -v gave [root@sun ~]# hostapd -v hostapd v0.7.3 User space daemon for IEEE 802.11 AP management, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator Copyright (c) 2002-2010, Jouni Malinen and contributors [root@sun ~]# my hostapd.conf file is as follow

Re: [ath9k-devel] Kernel panic with AR9485 and kernel 3.1.6

2012-01-02 Thread Kim Lidström
So... Is it CONFIG_ATH9K_DEBUGFS in config.mk I want to enable? ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Re: [ath9k-devel] Kernel panic with AR9485 and kernel 3.1.6

2012-01-02 Thread Adrian Chadd
On 2 January 2012 18:52, Kim Lidström wrote: > So... Is it CONFIG_ATH9K_DEBUGFS in config.mk I want to enable? I think that's one of them. There should also be a general ATH debugging. I don't have a linux kernel here to look at right at the moment, sorry :( Adrian _

Re: [ath9k-devel] Kernel panic with AR9485 and kernel 3.1.6

2012-01-02 Thread Kim Lidström
No it's okay. A little Googling pointed me in the right direction (*COUGH* CONFIG_ATH_DEBUG). Why didn't I think of that from the start? ;) ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Re: [ath9k-devel] Kernel panic with AR9485 and kernel 3.1.6

2012-01-02 Thread Adrian Chadd
.. since it likely didn't get the logs to the disk when it locked up, can you take a screenshot when it did lockup? adrian ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Re: [ath9k-devel] Kernel panic with AR9485 and kernel 3.1.6

2012-01-02 Thread Kim Lidström
Well, what's there to take a screenshot of? No message, no nothing. It just silently locks on me. Also, what I meant to say was that I was *ABLE* to salvage what I think is an infinite loop of some sort. If you look at the bottom of the log (Didn't you get it? Did I accidentally gain? :)) it just

[ath9k-devel] Failed to stop TX DMA on kernel 3.0 and wireless dies...

2012-01-02 Thread F.Sluiter
Hi list. There are some problems with the ath9 driver for wireless cards in ubuntu oneric. https://bugs.launchpad.net/ubuntu/+source/linux/+bug/736171?comments=all But I looked at this list and found a similar problemm reported for kernel 3.1 Could you take a look and let me know what i can do to

Re: [ath9k-devel] linux crash after hostap connection

2012-01-02 Thread Mohammed Shafi
On Tue, Jan 3, 2012 at 5:40 AM, wrote: > Hello, I have a problem with ath9k diriver, when I try to connect to hostapd > with my android phone, linux crash. > I have a debian testing with hostapd version 0.7.3 and I tried kernel: > 3.1.0-1-686-pae from debian repository > 3.1.0-rc4 compiled by me