Re: [ath5k-devel] ath5k on AR2315 WiSoC

2010-12-02 Thread Wojciech Dubowik
Hi all, I am trying to switch from madwifi to ath5k on AR2315 WiSoC (Fon 2100A) using patches from Wojciech and Felix but at module loading the driver is not able to attach the HW. In particular it seems that ath5k is not capable to recognize the right mac/phy version/revision in the

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

2010-12-02 Thread Wojciech Dubowik
From: Felix Fietkau n...@openwrt.org Signed-off-by: Felix Fietkau n...@openwrt.org Signed-off-by: Wojciech Dubowik wojciech.dubo...@neratec.com --- drivers/net/wireless/ath/ath5k/initvals.c | 23 +++ 1 files changed, 23 insertions(+), 0 deletions(-) diff --git

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

2010-12-02 Thread Wojciech Dubowik
From: Felix Fietkau n...@openwrt.org 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 n...@openwrt.org Signed-off-by: Wojciech Dubowik wojciech.dubo...@neratec.com

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

2010-12-02 Thread Wojciech Dubowik
From: Felix Fietkau n...@openwrt.org On WiSoc we cannot access mac register before it is resetted. It will crash hardware otherwise. Signed-off-by: Felix Fietkau n...@openwrt.org Signed-off-by: Wojciech Dubowik wojciech.dubo...@neratec.com --- drivers/net/wireless/ath/ath5k/base.c |7 ++-

[ath5k-devel] In response to Hardware encryption on AR5413 broken?

2010-12-02 Thread Jeroen Avonts
(I'm new to the list so I had no message to reply to.) Hi, I can recreate the issue as follows: 2 nodes (nodeid 236 and 237) each having a DCMA-81 80211bg card (ath5k phy0: Atheros AR5414 chip found (MAC: 0xa5, PHY: 0x61)): nohwcrypt is disabled. If nohwcrypt is enabled everything works, yet

[ath5k-devel] AR5K_INT_SWBA bit not getting set. Beacon tasklet not scheduled.

2010-12-02 Thread John McLean
Atheros AR5413 chip ath5k 0.6.0 compat-wireless-2.6.32.16 hostapd 0.7.2 kernel 2.6.32 Wondering if anybody has seen this. In base.c ath5k_intr():     if (status AR5K_INT_SWBA) {     tasklet_hi_schedule(sc-beacontq);     } will stop ever being true. This can test false for more

[ath5k-devel] what does channel 7 failed mean?

2010-12-02 Thread James L
ath5k :02:09.0: PCI INT A - Link[LNKB] - GSI 17 (level, low) - IRQ 17 ath5k :02:09.0: registered as 'phy1' ath: EEPROM regdomain: 0x10 ath: EEPROM indicates we should expect a direct regpair map ath: Country alpha2 being used: CO ath: Regpair used: 0x10 ath5k phy1: Atheros AR5212 chip

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

2010-12-02 Thread John W. Linville
On Thu, Dec 02, 2010 at 10:26:46AM +0100, Wojciech Dubowik wrote: This series of patches implements AHB bus support for ath5k driver. For the record, your patches arrived in my inbox out of order and would not apply in the order in which they arrived. This nearly caused me to write you a

Re: [ath5k-devel] ath5k on AR2315 WiSoC

2010-12-02 Thread Lorenzo Bianconi
Hi Wojciech, Hi all, I am trying to switch from madwifi to ath5k on AR2315 WiSoC (Fon 2100A) using patches from Wojciech and Felix but at module loading the driver is not able to attach the HW. In particular it seems that ath5k is not capable to recognize the right mac/phy

Re: [ath5k-devel] ath5k on AR2315 WiSoC

2010-12-02 Thread Lorenzo Bianconi
Hi, Hi Wojciech, Hi all, I am trying to switch from madwifi to ath5k on AR2315 WiSoC (Fon 2100A) using patches from Wojciech and Felix but at module loading the driver is not able to attach the HW. In particular it seems that ath5k is not capable to recognize the right mac/phy

[ath5k-devel] [PATCH 0/4] ath: logging message conversion

2010-12-02 Thread Joe Perches
ath_print is misleading as it's only used with CONFIG_ATH_DEBUG. Add and use the more normal subsystem_printk and subsystem_level printk equivalents. (ath_printk and ath_level) Fix various defects in the current uses of ath_print formats and arguments: Unnecessary casts, missing newlines,

[ath5k-devel] [PATCH 3/6] ath5k: Disable ANI during reset

2010-12-02 Thread Nick Kossifidis
* Stop ANI durring reset to prevent false PHY error reports Signed-off-by: Nick Kossifidis mickfl...@gmail.com --- drivers/net/wireless/ath/ath5k/base.c | 10 -- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/ath/ath5k/base.c

[ath5k-devel] [PATCH 4/6] ath5k: Fix reporting of RX dma stop failure

2010-12-02 Thread Nick Kossifidis
* Correctly report failure to stop RX DMA Signed-off-by: Nick Kossifidis mickfl...@gmail.com --- drivers/net/wireless/ath/ath5k/dma.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/wireless/ath/ath5k/dma.c b/drivers/net/wireless/ath/ath5k/dma.c index

[ath5k-devel] [PATCH 5/6] ath5k: Update version string

2010-12-02 Thread Nick Kossifidis
* Change version number, we've added various new features lately. We need to find a way to maintain this, maybe on each kernel release or something. Also remove EXPERIMENTAL, we aren't experimental any more I think ;-) Signed-off-by: Nick Kossifidis mickfl...@gmail.com ---

[ath5k-devel] [PATCH 6/6] ath5k: Include tx ack reporting on hw flags

2010-12-02 Thread Nick Kossifidis
* Since we report tx acks to the protocol stack, add the needed flag to hw_flags. This way we'll also use the new AP probing mechanism. Signed-off-by: Nick Kossifidis mickfl...@gmail.com --- drivers/net/wireless/ath/ath5k/base.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-)

Re: [ath5k-devel] [PATCH 5/6] ath5k: Update version string

2010-12-02 Thread Luis R. Rodriguez
On Thu, Dec 2, 2010 at 8:11 PM, Nick Kossifidis mickfl...@gmail.com wrote:  * Change version number, we've added various new features lately.  We need to find a way to maintain this, maybe on each kernel release  or something. Also remove EXPERIMENTAL, we aren't experimental any  more I think