Re: [ath5k-devel] [PATCH 16/30] ath5k: Set all IFS intervals, not just slot time

2010-11-26 Thread Jonathan Guerin
On Sat, Nov 27, 2010 at 11:57 AM, Lukáš Turek <8...@praha12.net> wrote: > On Saturday 27 November 2010 02:31:53 Nick Kossifidis wrote: >> When we convert to core clock units it's what we should do, all >> timings should change the same way. I don't know what this >> aPHY-RX-START-Delay is but if it

Re: [ath5k-devel] [PATCH 16/30] ath5k: Set all IFS intervals, not just slot time

2010-11-26 Thread Lukáš Turek
On Saturday 27 November 2010 02:31:53 Nick Kossifidis wrote: > When we convert to core clock units it's what we should do, all > timings should change the same way. I don't know what this > aPHY-RX-START-Delay is but if it changes that way we can use absolute > values as we do for slot time and sif

Re: [ath5k-devel] [PATCH 16/30] ath5k: Set all IFS intervals, not just slot time

2010-11-26 Thread Nick Kossifidis
Στις 26 Νοεμβρίου 2010 2:54 π.μ., ο χρήστης Jonathan Guerin έγραψε: > On Thu, Nov 25, 2010 at 8:41 AM, Jonathan Guerin > wrote: >> On Wed, Nov 24, 2010 at 10:55 PM, Nick Kossifidis >> wrote: >>> 2010/11/24 Jonathan Guerin : > diff --git a/drivers/net/wireless/ath/ath5k/pcu.c > b/

Re: [ath5k-devel] [PATCH v6 8/9] ath5k: Add AHB bus support.

2010-11-26 Thread Nick Kossifidis
2010/11/26 Wojciech Dubowik : > From: Felix Fietkau > > AHB specific functions are now in ahb.c file. AHB bus is > compiled in when CONFIG_ATHEROS_AR231X is set in kernel. > All other platforms will use PCI bus. > > Signed-off-by: Felix Fietkau > Signed-off-by: Wojciech Dubowik > --- >  drivers/

Re: [ath5k-devel] [PATCH v6 6/9] ath5k: Add a function to read chipset's MAC revision

2010-11-26 Thread Nick Kossifidis
2010/11/27 Nick Kossifidis : > 2010/11/26 Wojciech Dubowik : >> From: Felix Fietkau >> >> Add bus dependent revision read function which is used to >> determine chipset's MAC before hardware is initialized. >> >> Signed-off-by: Felix Fietkau >> Signed-off-by: Wojciech Dubowik >> --- >>  drivers/

Re: [ath5k-devel] [PATCH v6 6/9] ath5k: Add a function to read chipset's MAC revision

2010-11-26 Thread Nick Kossifidis
2010/11/26 Wojciech Dubowik : > From: Felix Fietkau > > Add bus dependent revision read function which is used to > determine chipset's MAC before hardware is initialized. > > Signed-off-by: Felix Fietkau > Signed-off-by: Wojciech Dubowik > --- >  drivers/net/wireless/ath/ath5k/ath5k.h  |    5 +

Re: [ath5k-devel] [PATCH v6 9/9] ath5k: Fix reset and interrupts for AHB type of devices.

2010-11-26 Thread Nick Kossifidis
2010/11/26 Wojciech Dubowik : > From: Felix Fietkau > > On WiSoc we cannot access mac register before it is resetted. > It will crash hardware otherwise. > > Signed-off-by: Felix Fietkau > Signed-off-by: Wojciech Dubowik > --- >  drivers/net/wireless/ath/ath5k/base.c  |    7 ++- >  drivers/net/w

Re: [ath5k-devel] Hardware encryption on AR5413 broken?

2010-11-26 Thread Stefan Nickl
On 11/18/2010 02:41 AM, Bruno Randolf wrote: > Does it work without any encryption? Yes, both with and without nohwcrypt set. > I'm very surprised you see problems even with WEP - so could you please check > if the interface works correctly without any encryption? > > And can you describe the sym

[ath5k-devel] [PATCH v6 8/9] ath5k: Add AHB bus support.

2010-11-26 Thread Wojciech Dubowik
From: Felix Fietkau AHB specific functions are now in ahb.c file. AHB bus is compiled in when CONFIG_ATHEROS_AR231X is set in kernel. All other platforms will use PCI bus. Signed-off-by: Felix Fietkau Signed-off-by: Wojciech Dubowik --- drivers/net/wireless/ath/ath5k/Kconfig | 17 +++- dri

[ath5k-devel] [PATCH v6 9/9] ath5k: Fix reset and interrupts for AHB type of devices.

2010-11-26 Thread Wojciech Dubowik
From: Felix Fietkau On WiSoc we cannot access mac register before it is resetted. It will crash hardware otherwise. Signed-off-by: Felix Fietkau Signed-off-by: Wojciech Dubowik --- drivers/net/wireless/ath/ath5k/base.c |7 ++- drivers/net/wireless/ath/ath5k/reset.c | 114 +++

[ath5k-devel] [PATCH v6 7/9] ath5k: Add initial registers values for radio RF2317 chip.

2010-11-26 Thread Wojciech Dubowik
From: Felix Fietkau Signed-off-by: Felix Fietkau Signed-off-by: Wojciech Dubowik --- drivers/net/wireless/ath/ath5k/initvals.c | 23 +++ 1 files changed, 23 insertions(+), 0 deletions(-) diff --git a/drivers/net/wireless/ath/ath5k/initvals.c b/drivers/net/wireless/ath/a

[ath5k-devel] [PATCH v6 6/9] ath5k: Add a function to read chipset's MAC revision

2010-11-26 Thread Wojciech Dubowik
From: Felix Fietkau Add bus dependent revision read function which is used to determine chipset's MAC before hardware is initialized. Signed-off-by: Felix Fietkau Signed-off-by: Wojciech Dubowik --- drivers/net/wireless/ath/ath5k/ath5k.h |5 +++-- drivers/net/wireless/ath/ath5k/attach.c

[ath5k-devel] [PATCH v6 5/9] ath5k: Check if pci pdev struct is initialized in common functions.

2010-11-26 Thread Wojciech Dubowik
From: Felix Fietkau To be able to support other busses than PCI check if pci device structure is initialized. Signed-off-by: Felix Fietkau Signed-off-by: Wojciech Dubowik --- drivers/net/wireless/ath/ath5k/attach.c |5 ++--- drivers/net/wireless/ath/ath5k/led.c|5 - drivers/ne

[ath5k-devel] [PATCH v6 4/9] ath5k: Use generic eeprom read from common ath_bus_opts struct.

2010-11-26 Thread Wojciech Dubowik
From: Felix Fietkau Signed-off-by: Felix Fietkau Signed-off-by: Wojciech Dubowik --- drivers/net/wireless/ath/ath5k/ath5k.h |6 + drivers/net/wireless/ath/ath5k/eeprom.c | 38 +- drivers/net/wireless/ath/ath5k/eeprom.h |2 +- drivers/net/wireless/ath/

[ath5k-devel] [PATCH v6 3/9] ath5k: Move PCI bus functions to separate file.

2010-11-26 Thread Wojciech Dubowik
From: Felix Fietkau Signed-off-by: Felix Fietkau Signed-off-by: Wojciech Dubowik --- drivers/net/wireless/ath/ath5k/Makefile |1 + drivers/net/wireless/ath/ath5k/ath5k.h |5 + drivers/net/wireless/ath/ath5k/base.c | 267 +- drivers/net/wireless/ath/ath5k

[ath5k-devel] [PATCH v6 2/9] ath5k: Introduce ath5k_init_softc function as in ath9k

2010-11-26 Thread Wojciech Dubowik
From: Felix Fietkau Split pci initialization into hardware specific functions and softc structure initialization. Make function naming similar to ones ath9k. Introduce ath_bus_opts in ath5k for later AHB bus integration. Signed-off-by: Felix Fietkau Signed-off-by: Wojciech Dubowik --- drivers

[ath5k-devel] [PATCH v6 1/9] ath5k: Use Generic DMA for later support of AHB bus.

2010-11-26 Thread Wojciech Dubowik
From: Felix Fietkau Signed-off-by: Felix Fietkau Signed-off-by: Wojciech Dubowik --- drivers/net/wireless/ath/ath5k/base.c | 66 ++--- drivers/net/wireless/ath/ath5k/base.h |4 +- 2 files changed, 39 insertions(+), 31 deletions(-) diff --git a/drivers/net/wir

[ath5k-devel] [PATCH v6 0/9] ath5k: Add AHB support

2010-11-26 Thread Wojciech Dubowik
This series of patches implements AHB bus support for ath5k driver. General comments for AHB bus support in ath5k: * original patches came from Felix Fetikau. I have just made them working on latest wireless testing. * tried with access point functionality with WP