Re: [ath5k-devel] connection to hidden WPA2-networks fails

2009-01-04 Thread Geoffrey McRae
Isn't that patch slightly wrong anyway? If the length of the ssid is 0 why check its first byte? Without looking at the surrounding code, if that buffer is not allocated and we check the bytes value, it could cause a seg fault. I would think that the better way to write this would be: if ((ssid_

Re: [ath5k-devel] Few notes about ath5k

2009-01-04 Thread Bob Copeland
On Sun, Jan 4, 2009 at 5:44 PM, Maxim Levitsky wrote: > Hi, > > Indeed, these changes help a lot, I don't see > power calibration timeouts anymore. > > Yet, card managed to lockup in different way: > > "failed to wakeup the MAC Chip" Just to be clear, this was with the four patches I posted to th

Re: [ath5k-devel] connection to hidden WPA2-networks fails

2009-01-04 Thread Bob Copeland
On Fri, Jan 02, 2009 at 07:56:22AM +0100, manuel.f...@chello.at wrote: > it seems as if there is a problem with the hidden network. I can't > uncloak the SSID because it isn't my network. Could you please tell me > if I did something wrong? This sounds similar to the problem from this thread:

Re: [ath5k-devel] [Fwd: Re: Bug#510591: Module ath5k is not auto-loaded on boot]

2009-01-04 Thread Bob Copeland
On Mon, Jan 05, 2009 at 01:20:49AM +, Martin wrote: > You saying this got me thinking about mechanisms for > preventing drivers from loading and thus digging through /etc/modules.d/ > only to find that for a previous kernel I had the madwifi drivers > installed which had helpfully blacklisted a

Re: [ath5k-devel] [Fwd: Re: Bug#510591: Module ath5k is not auto-loaded on boot]

2009-01-04 Thread Martin
On Sun, 2009-01-04 at 19:37 -0500, Bob Copeland wrote: > On Sun, Jan 04, 2009 at 12:43:44AM +, Martin wrote: > > Hi, > >I'm trying to sort out a problem with the ath5k module not loading on > > a ThinkPad T42. I'm using the current Debian testing kernel (2.6.26) on > > i686. Detail of the

Re: [ath5k-devel] [Fwd: Re: Bug#510591: Module ath5k is not auto-loaded on boot]

2009-01-04 Thread Bob Copeland
On Sun, Jan 04, 2009 at 12:43:44AM +, Martin wrote: > Hi, >I'm trying to sort out a problem with the ath5k module not loading on > a ThinkPad T42. I'm using the current Debian testing kernel (2.6.26) on > i686. Detail of the PCI bus configuration of this machine can be found > here: (de

[ath5k-devel] Few notes about ath5k

2009-01-04 Thread Maxim Levitsky
Hi, Indeed, these changes help a lot, I don't see power calibration timeouts anymore. Yet, card managed to lockup in different way: "failed to wakeup the MAC Chip" was seen in kernel log after resume. Also, it is clear that all rates about 18M doesn't work at all. As I see in the code, rate n

Re: [ath5k-devel] [PATCH] ath5k: Add debug code for EEPROM

2009-01-04 Thread Jiri Slaby
Nick Kossifidis wrote: > * Add debug code for displaying EEPROM data. Tested on various chip > combinations, on x86 and IXP43x (armv5te). It has many > 80cols warnings but > i > don't think it'll be more readable if i start breaking lines, it's already > messy, after all it's debug code. This

[ath5k-devel] [PATCH] ath5k: Add debug code for EEPROM

2009-01-04 Thread Nick Kossifidis
* Add debug code for displaying EEPROM data. Tested on various chip combinations, on x86 and IXP43x (armv5te). It has many > 80cols warnings but i don't think it'll be more readable if i start breaking lines, it's already messy, after all it's debug code. This code also replaces ath_info tool.

[ath5k-devel] [Fwd: Re: Bug#510591: Module ath5k is not auto-loaded on boot]

2009-01-04 Thread Martin
Hi, I'm trying to sort out a problem with the ath5k module not loading on a ThinkPad T42. I'm using the current Debian testing kernel (2.6.26) on i686. Detail of the PCI bus configuration of this machine can be found here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=510591 The Debian de

[ath5k-devel] connection to hidden WPA2-networks fails

2009-01-04 Thread manuel.fill
hi, as the topic already tells it, I can't connect to a known wpa2 network anymore. I used to connect to it via wpa_supplicant in the past with 2.6.27.1, which worked fine, but since I did the upgrade to 2.6.28 it doesn't work anymore. My entry in the wpa_supplicant.conf looks like this: netwo