Re: [ath5k-devel] WARNING: at kernel/timer.c:1011 del_timer_sync+0xa9/0xc4()

2011-07-03 Thread Mohammed Shafi
On Mon, Jul 4, 2011 at 9:03 AM, Justin P. Mattock wrote: > On 07/02/2011 01:17 AM, Justin P. Mattock wrote: >> >> On 07/01/2011 12:06 AM, Mohammed Shafi wrote: >>> >>> On Fri, Jul 1, 2011 at 12:09 PM, Justin P. Mattock >>> wrote: On 06/30/2011 11:27 PM, Mohammed Shafi wrote: > >

[ath5k-devel] [PATCH 6/8] ath5k: fix reference clock usec duration setting restore

2011-07-03 Thread Felix Fietkau
enabling the sleep clock alters the AR5K_USEC_32 field, but disabling it didn't restore it. Signed-off-by: Felix Fietkau --- drivers/net/wireless/ath/ath5k/reset.c | 11 ++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/drivers/net/wireless/ath/ath5k/reset.c b/driver

[ath5k-devel] [PATCH 7/8] ath5k: disable 32KHz sleep clock operation

2011-07-03 Thread Felix Fietkau
While 32 KHz sleep clock might provide some power saving benefits, it is also a major source of stability issues, on OpenWrt it produced some reproducible data bus errors on register accesses on several different MIPS platforms. All the Atheros drivers that I can find do not enable this feature, s

[ath5k-devel] [PATCH 1/8] ath5k: add missing checks for rfgain probe

2011-07-03 Thread Felix Fietkau
rfgain probe is only necessary for OFDM operation on AR5112 and no other radio chips Signed-off-by: Felix Fietkau --- drivers/net/wireless/ath/ath5k/phy.c |9 + 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/net/wireless/ath/ath5k/phy.c b/drivers/net/wireless

[ath5k-devel] [PATCH 3/8] ath5k: fix reference clock frequency for spur mitigation on AR2413

2011-07-03 Thread Felix Fietkau
AR2413 uses the same reference clock as AR5413 Signed-off-by: Felix Fietkau --- drivers/net/wireless/ath/ath5k/phy.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/net/wireless/ath/ath5k/phy.c b/drivers/net/wireless/ath/ath5k/phy.c index f66124a..c65c33a 100644

[ath5k-devel] [PATCH 2/8] ath5k: apply the synth voltage tweak only on AR5112 rev 2

2011-07-03 Thread Felix Fietkau
Might fix some stability issues on newer chips Signed-off-by: Felix Fietkau --- drivers/net/wireless/ath/ath5k/phy.c | 19 +++ 1 files changed, 11 insertions(+), 8 deletions(-) diff --git a/drivers/net/wireless/ath/ath5k/phy.c b/drivers/net/wireless/ath/ath5k/phy.c index c774

[ath5k-devel] [PATCH 8/8] ath5k: do not call ieee80211_stop_queue for queues not managed by mac80211

2011-07-03 Thread Felix Fietkau
Instead of using ieee80211_stop_queue, check the configured tx queue limit before calling ieee80211_get_buffered_bc. Signed-off-by: Felix Fietkau --- drivers/net/wireless/ath/ath5k/base.c |7 ++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/drivers/net/wireless/ath/ath5

[ath5k-devel] [PATCH 5/8] ath5k: delay full calibration after reset

2011-07-03 Thread Felix Fietkau
During scans the full calibration usually does not make much sense, PAPD probing and IQ calibration should be deferred until there is enough time to complete them. Adding 100 ms to the initial full calibration delay should be enough to do this. Signed-off-by: Felix Fietkau --- drivers/net/wirele

[ath5k-devel] [PATCH 4/8] ath5k: initialize common->clockrate

2011-07-03 Thread Felix Fietkau
Fixes a division by zero when setting distance before activating the device for the first time. Signed-off-by: Felix Fietkau --- drivers/net/wireless/ath/ath5k/base.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/net/wireless/ath/ath5k/base.c b/drivers/net/wir

Re: [ath5k-devel] WARNING: at kernel/timer.c:1011 del_timer_sync+0xa9/0xc4()

2011-07-03 Thread Justin P. Mattock
On 07/02/2011 01:17 AM, Justin P. Mattock wrote: > On 07/01/2011 12:06 AM, Mohammed Shafi wrote: >> On Fri, Jul 1, 2011 at 12:09 PM, Justin P. Mattock >> wrote: >>> On 06/30/2011 11:27 PM, Mohammed Shafi wrote: On Fri, Jul 1, 2011 at 11:12 AM, Justin P. Mattock wrote: > > n