Re: [ath9k-devel] AR9380 on Kirkwood 88FR131

2012-07-03 Thread Wojciech Dubowik
On 07/01/2012 10:18 AM, Daniel Golle wrote: > Hi! > I'm trying to use a Senao EMP7606 module (AR9380) on a Marvell Kirkwood > 88FR131-based board running OpenWrt r32511 with Linux 3.3.8 and > compat-wireless-2012-06-14. > I'm unable to figure out the reason for the card not working properly. Please

[ath9k-devel] Connecting AR9390 to Lantiq board

2012-07-03 Thread Ana Elisa de Campos Lobo
Hi all, I´m completely newbie in Linux drivers. In my project we are planning to connect an AR9390 Atheros chip on a GRX288 Lantiq board. This board has a software framework (UGW 5.2) which is based on Linux kernel 2.6.32.42 version and OpenWrt Backfire 10.03. I have some initial questions: *

Re: [ath9k-devel] Connecting AR9390 to Lantiq board

2012-07-03 Thread Mohammed Shafi
On Tue, Jul 3, 2012 at 6:57 PM, Ana Elisa de Campos Lobo wrote: > Hi all, > > I´m completely newbie in Linux drivers. In my project we are planning to > connect an AR9390 Atheros chip on a GRX288 Lantiq board. This board has a > software framework (UGW 5.2) which is based on Linux kernel 2.6.32.42

Re: [ath9k-devel] Connecting AR9390 to Lantiq board

2012-07-03 Thread Daniel Golle
Hi Ana, OpenWrt doesn't use the mac80211 driver release built-into the kernel. So all you need to do is to make sure the mac80211 package containing the ath9k driver is a recent enough version, and that which still work well even on Linux 2.6.32. Good luck! Daniel On 07/03/12 16:27, Ana Elisa

[ath9k-devel] [RFC] ath9k: Fix MCI cleanup

2012-07-03 Thread Mohammed Shafi Shajakhan
From: Mohammed Shafi Shajakhan We are doing MCI cleanup eventhough BTCOEX is not enabled via module parameter. This means we do ath_mci_cleanup though we skipped calling ath_mci_setup. Yet it does not causes any issues now as we free the DMA buffer allocated only when it is allocated during ath_

Re: [ath9k-devel] [RFC] ath9k: Fix MCI cleanup

2012-07-03 Thread Mohammed Shafi Shajakhan
On Tuesday 03 July 2012 08:47 PM, Mohammed Shafi Shajakhan wrote: > From: Mohammed Shafi Shajakhan > > We are doing MCI cleanup eventhough BTCOEX is not enabled > via module parameter. This means we do ath_mci_cleanup > though we skipped calling ath_mci_setup. Yet it does not > causes any issues no

[ath9k-devel] [RFC] ath9k: Stop the BT timers before disabling BT

2012-07-03 Thread Mohammed Shafi Shajakhan
From: Mohammed Shafi Shajakhan Stop the BT timers 'period_timer' and 'no_stomp_timer'. Both these timers can change the BT stomp type especially for AR9462 chipsets eventhough we had called ath9k_hw_btcoex_disable. ath9k_hw_btcoex_disable->ath9k_hw_btcoex_bt_stomp(ah, ATH_BTCOEX_STOMP_NONE). Will

[ath9k-devel] [PATCH 17/20] ath9k: fix PLL initialization for AR9550

2012-07-03 Thread Gabor Juhos
Signed-off-by: Gabor Juhos Acked-by: Luis R. Rodriguez --- drivers/net/wireless/ath/ath9k/hw.c | 27 +++ 1 files changed, 19 insertions(+), 8 deletions(-) diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c index 1ddec4b..991b2ef 100

[ath9k-devel] [PATCH 05/20] ath9k: add BB name string for AR9550

2012-07-03 Thread Gabor Juhos
Signed-off-by: Gabor Juhos Acked-by: Luis R. Rodriguez --- drivers/net/wireless/ath/ath9k/hw.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c index 36cf591..8eb7f58 100644 --- a/drivers/net/wirel

[ath9k-devel] [PATCH 00/20] ath9k: add support for AR9550

2012-07-03 Thread Gabor Juhos
The patch-set adds initial support for the AR9550 wireless MAC into ath9k. This wireless MAC can be found in the Qualcomm Atheros QCA955X SoCs. It is a 3x3 chip and it supports both 2.4GHz and 5Ghz. Gabor Juhos (20): ath9k: define DEVID for QCA955x ath9k: define MAC version for AR9550 ath9k:

[ath9k-devel] [PATCH 06/20] ath9k: clear pciexpress flag for AR9550

2012-07-03 Thread Gabor Juhos
Signed-off-by: Gabor Juhos Acked-by: Luis R. Rodriguez --- drivers/net/wireless/ath/ath9k/hw.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c index 8eb7f58..fdd2f04 100644 --- a/drivers/net/wire

[ath9k-devel] [PATCH 03/20] ath9k: set MAC version for AR9550

2012-07-03 Thread Gabor Juhos
Signed-off-by: Gabor Juhos Acked-by: Luis R. Rodriguez --- drivers/net/wireless/ath/ath9k/hw.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c index ebfb2a3..36cf591 100644 --- a/drivers/net/wir

[ath9k-devel] [PATCH 02/20] ath9k: define MAC version for AR9550

2012-07-03 Thread Gabor Juhos
Signed-off-by: Gabor Juhos Acked-by: Luis R. Rodriguez --- drivers/net/wireless/ath/ath9k/reg.h |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/drivers/net/wireless/ath/ath9k/reg.h b/drivers/net/wireless/ath/ath9k/reg.h index dd9c726..22d2413 100644 --- a/drivers/net

[ath9k-devel] [PATCH 07/20] ath9k: enable TX/RX data byte swap for AR9550

2012-07-03 Thread Gabor Juhos
Signed-off-by: Gabor Juhos Acked-by: Luis R. Rodriguez --- drivers/net/wireless/ath/ath9k/hw.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c index fdd2f04..c16c59f 100644 --- a/drivers/net/wir

[ath9k-devel] [PATCH 15/20] ath9k: disable SYNC_HOST1_FATAL interrupts for AR9550

2012-07-03 Thread Gabor Juhos
Signed-off-by: Gabor Juhos Acked-by: Luis R. Rodriguez --- drivers/net/wireless/ath/ath9k/hw.c |2 +- drivers/net/wireless/ath/ath9k/mac.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c ind

[ath9k-devel] [PATCH 01/20] ath9k: define DEVID for QCA955x

2012-07-03 Thread Gabor Juhos
Signed-off-by: Gabor Juhos Acked-by: Luis R. Rodriguez --- drivers/net/wireless/ath/ath9k/hw.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/net/wireless/ath/ath9k/hw.h b/drivers/net/wireless/ath/ath9k/hw.h index 9409660..97060c6 100644 --- a/drivers/net/wirel

[ath9k-devel] [PATCH 04/20] ath9k: add platform_device_id for AR9550

2012-07-03 Thread Gabor Juhos
Signed-off-by: Gabor Juhos Acked-by: Luis R. Rodriguez --- drivers/net/wireless/ath/ath9k/ahb.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/drivers/net/wireless/ath/ath9k/ahb.c b/drivers/net/wireless/ath/ath9k/ahb.c index 4a4e8a2..3a69804 100644 --- a/drivers/net

[ath9k-devel] [PATCH 19/20] ath9k: set 4ADDRESS bit in RX filter for AR9550

2012-07-03 Thread Gabor Juhos
Signed-off-by: Gabor Juhos Acked-by: Luis R. Rodriguez --- drivers/net/wireless/ath/ath9k/mac.h |1 + drivers/net/wireless/ath/ath9k/recv.c |3 +++ 2 files changed, 4 insertions(+), 0 deletions(-) diff --git a/drivers/net/wireless/ath/ath9k/mac.h b/drivers/net/wireless/ath/ath9k/mac.h

[ath9k-devel] [PATCH 13/20] ath9k: fix PAPRD settings for AR9550

2012-07-03 Thread Gabor Juhos
Signed-off-by: Gabor Juhos Acked-by: Luis R. Rodriguez --- drivers/net/wireless/ath/ath9k/ar9003_paprd.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/wireless/ath/ath9k/ar9003_paprd.c b/drivers/net/wireless/ath/ath9k/ar9003_paprd.c index 3d400e8..2c9f7d7

[ath9k-devel] [PATCH 20/20] ath9k: enable support for AR9550

2012-07-03 Thread Gabor Juhos
Signed-off-by: Gabor Juhos Acked-by: Luis R. Rodriguez --- drivers/net/wireless/ath/ath9k/hw.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c index 991b2ef..5a2b9e3 100644 --- a/drivers/net/wire

[ath9k-devel] [PATCH 11/20] ath9k: fix XPABIASLEVEL settings for AR9550

2012-07-03 Thread Gabor Juhos
Signed-off-by: Gabor Juhos Acked-by: Luis R. Rodriguez --- drivers/net/wireless/ath/ath9k/ar9003_eeprom.c |2 +- drivers/net/wireless/ath/ath9k/ar9003_phy.h|4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c b/driver

[ath9k-devel] [PATCH 16/20] ath9k: skip internal regulator configuration for AR9550

2012-07-03 Thread Gabor Juhos
Signed-off-by: Gabor Juhos Acked-by: Luis R. Rodriguez --- drivers/net/wireless/ath/ath9k/ar9003_eeprom.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c index 57002d1..25de

[ath9k-devel] [PATCH 12/20] ath9k: fix antenna control configuration for AR9550

2012-07-03 Thread Gabor Juhos
Signed-off-by: Gabor Juhos Acked-by: Luis R. Rodriguez --- drivers/net/wireless/ath/ath9k/ar9003_eeprom.c |3 +++ drivers/net/wireless/ath/ath9k/ar9003_phy.h|2 ++ 2 files changed, 5 insertions(+), 0 deletions(-) diff --git a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c b/drivers

[ath9k-devel] [PATCH 10/20] ath9k: read spur frequency information from eeprom for AR9550

2012-07-03 Thread Gabor Juhos
Signed-off-by: Gabor Juhos Acked-by: Luis R. Rodriguez --- drivers/net/wireless/ath/ath9k/ar9003_phy.c |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/ath/ath9k/ar9003_phy.c b/drivers/net/wireless/ath/ath9k/ar9003_phy.c index 898ee14..70ada2e 1

[ath9k-devel] [PATCH 14/20] ath9k: fix RF channel frequency configuration for AR9550

2012-07-03 Thread Gabor Juhos
Signed-off-by: Gabor Juhos Acked-by: Luis R. Rodriguez --- drivers/net/wireless/ath/ath9k/ar9003_phy.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/ath/ath9k/ar9003_phy.c b/drivers/net/wireless/ath/ath9k/ar9003_phy.c index 70ada2e..d2346db 10

[ath9k-devel] [PATCH 18/20] ath9k: enable PLL workaround for AR9550

2012-07-03 Thread Gabor Juhos
Signed-off-by: Gabor Juhos Acked-by: Luis R. Rodriguez --- drivers/net/wireless/ath/ath9k/main.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c index e4e73f0..dff5ed2 100644 --- a/drivers/n

[ath9k-devel] [PATCH 09/20] ath9k: add mode register initialization code for AR9550

2012-07-03 Thread Gabor Juhos
Signed-off-by: Gabor Juhos Acked-by: Luis R. Rodriguez --- drivers/net/wireless/ath/ath9k/ar9003_hw.c | 86 ++- drivers/net/wireless/ath/ath9k/ar9003_phy.c | 61 +++- drivers/net/wireless/ath/ath9k/hw.h |1 + 3 files changed, 145 insertion

[ath9k-devel] [PATCH 08/20] ath9k: add initvals for AR9550

2012-07-03 Thread Gabor Juhos
Signed-off-by: Gabor Juhos Acked-by: Luis R. Rodriguez --- Note: Some lines are longer than the 80 character limit, and checkpatch.pl complains about those. However I would like to keep the existing format because the initval arrays are more readable in this form. Gabor drivers/net/wireless/at

Re: [ath9k-devel] Connecting AR9390 to Lantiq board

2012-07-03 Thread Ana Elisa de Campos Lobo
Daniel and Mohammed, Thank you for your answers. I´ve just configured UGW 5.2 to enable ATH9K into mac80211. Although, I still have an important question: Which kernel version do I need to have a version of ATH9K driver that supports chipset AR9390? I didn´t find this answer in ATH9K developer´

Re: [ath9k-devel] Connecting AR9390 to Lantiq board

2012-07-03 Thread Mohammed Shafi
On Wed, Jul 4, 2012 at 12:22 AM, Ana Elisa de Campos Lobo wrote: > Daniel and Mohammed, > Thank you for your answers. > I´ve just configured UGW 5.2 to enable ATH9K into mac80211. > Although, I still have an important question: > > Which kernel version do I need to have a version of ATH9K driver t