Re: [ath5k-devel] ath5k 5GHz Receive Diversity problem

2014-07-17 Thread Wojciech Dubowik
On 07/17/2014 03:24 AM, brettwri...@eaton.com wrote: > > Hello List, > > I am having a problem getting Rx diversity to work with both ar5213 > and ar5413. > > What I have found is that the fast diversity works great for receiving > 802.11b (i.e. CCK) modulations. > > But fast diversity for OFDM j

Re: [ath5k-devel] config ATHEROS_AR231X

2012-07-13 Thread Wojciech Dubowik
On 07/12/2012 10:38 PM, Bob Copeland wrote: > On Thu, Jul 12, 2012 at 10:19:12PM +0200, Paul Bolle wrote: >> I again stumbled on the Kconfig symbol ATHEROS_AR231X and its macro >> CONFIG_ATHEROS_AR231X, while peeking at the tree for unrelated issues. >> Nothing seems to have changed as of v3.5-rc6.

[ath5k-devel] [PATCH] ath5k: Enable AR2315 chipset recognition

2011-02-18 Thread Wojciech Dubowik
Enable recognition of AR2315 chipsets in ath5k driver. Reported-by: Simon Morgenthaler Signed-off-by: Wojciech Dubowik --- diff --git a/drivers/net/wireless/ath/ath5k/attach.c b/drivers/net/wireless/ath/ath5k/attach.c index c71fdbb..bc82405 100644 --- a/drivers/net/wireless/ath/ath5k/attach.c

Re: [ath5k-devel] ath5k: issues with AHB support on ubiquiti bullet 2 (AR2315)

2011-02-01 Thread Wojciech Dubowik
hat I have noticed the chip will hang as in your description on any access to MAC registers if it's not resetted properly. So here is the mentioned and untested patch: [PATCH] Added extra wakeup form sleep in PCI for AR2315 and up Signed-off-by: Wojciech Dubowik --- drivers/net/wireless/a

[ath5k-devel] [PATCH] ath5k: Fix return codes for eeprom read functions.

2011-01-11 Thread Wojciech Dubowik
Eeprom read functions are of bool type and not int. Signed-off-by: Wojciech Dubowik --- drivers/net/wireless/ath/ath5k/ahb.c|7 --- drivers/net/wireless/ath/ath5k/eeprom.c | 24 drivers/net/wireless/ath/ath5k/eeprom.h |5 ++--- drivers/net/wireless/ath

Re: [ath5k-devel] ath5k_pci_eeprom_read return values

2011-01-10 Thread Wojciech Dubowik
> From: "Dr. David Alan Gilbert" > To: n...@openwrt.org, "Wojciech Dubowik" , > linvi...@tuxdriver.com > Cc: ath5k-devel@lists.ath5k.org > Sent: Sunday, January 9, 2011 1:13:13 AM > Subject: ath5k_pci_eeprom_read return values > Hi, > I've been r

Re: [ath5k-devel] ath5k on AR2315 WiSoC

2010-12-09 Thread Wojciech Dubowik
to 0 > by > >> boot loader > >> >> +                */ > >> >> +               reg = __raw_readl((void __iomem *) > >> AR5K_AR2315_PCI_MAC_SCR); > >> >> +               reg = (reg & ~AR5K_AR2315_PCI_MAC_SCR_SLMODE_M) > | > >&g

Re: [ath5k-devel] ath5k on AR2315 WiSoC

2010-12-03 Thread Wojciech Dubowik
 /* TODO: check other platforms */ > >> diff --git a/drivers/net/wireless/ath/ath5k/reg.h > b/drivers/net/wireless/ath/ath5k/reg.h > >> index 7ad05d4..9fc63a5 100644 > >> --- a/drivers/net/wireless/ath/ath5k/reg.h > >> +++ b/drivers/net/wireless/ath/ath5k/reg

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 t

[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 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 | 103

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

2010-12-02 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

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

2010-12-02 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

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

2010-12-02 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 |4 +++- drivers/net/wireless/ath/ath5k/att

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

2010-12-02 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

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

2010-12-02 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 |3 + drivers/net/wireless/ath/ath5k/base.c | 267 +- drivers/net/wireless/ath

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

2010-12-02 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 v7 2/9] ath5k: Introduce ath5k_init_softc function as in ath9k

2010-12-02 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

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

2010-12-02 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

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

2010-12-02 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 WPA2 and without encryption *

Re: [ath5k-devel] ath5k on AR2315 WiSoC

2010-12-02 Thread Wojciech Dubowik
AR2313. I will try to check in documentation what is the difference between chipsets and why it hangs on ath5k_hw_post. I will probably need your help for testing if I find something. Br, Wojtek > > Best regards > > Lorenzo -- Wojciech Dubowik Senior Software Engineer Neratec

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

2010-11-29 Thread Wojciech Dubowik
> 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 > > ---

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

2010-11-29 Thread Wojciech Dubowik
> 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

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

2010-11-29 Thread Wojciech Dubowik
> 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: Wojci

[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

[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

[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/att

[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

[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-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

[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

[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

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

2010-11-16 Thread Wojciech Dubowik
I have kept them separated for better visibility. > There are three false positive checkpatch warnings from them. > > Wojciech Dubowik (9): > ath5k: Use Generic DMA for later support of AHB bus. From: > Felix > Fietkau > ath5k: Introduce ath5k