Re: [ath5k-devel] 2.6.31-rc5 regression: ath5k broken after suspend-to-ram

2009-08-09 Thread Johannes Stezenbach
On Fri, Aug 07, 2009 at 11:51:55PM +0200, Johannes Stezenbach wrote: On my old Thinkpad T42p running linux-2.6.31-rc5-246-g90bc1a6, after suspend-to-RAM ath5k cannot associate to an AP using WPA anymore. It worked with kernel 2.6.29.1. FWFI, it also works with 2.6.30. (I could not

Re: [ath5k-devel] 2.6.31-rc5 regression: ath5k broken after suspend-to-ram

2009-08-09 Thread Bob Copeland
On Fri, Aug 7, 2009 at 5:51 PM, Johannes Stezenbachj...@sig21.net wrote: Hi, Hi! If I use nl80211 the second ifup fails with SIOCSIFFLAGS: Input/output error messages and the follwing is in dmesg:   ath5k phy0: failed to wakeup the MAC Chip   ath5k phy0: can't reset hardware (-5) Ok,

Re: [ath5k-devel] 2.6.31-rc5 regression: ath5k broken after suspend-to-ram

2009-08-09 Thread Johannes Stezenbach
On Sun, Aug 09, 2009 at 12:06:03PM -0400, Bob Copeland wrote: On Fri, Aug 7, 2009 at 5:51 PM, Johannes Stezenbachj...@sig21.net wrote: If I use nl80211 the second ifup fails with SIOCSIFFLAGS: Input/output error messages and the follwing is in dmesg:   ath5k phy0: failed to wakeup the

[ath5k-devel] [PATCH 1/5] ath5k: Check EEPROM before tweaking SERDES

2009-08-09 Thread Nick Kossifidis
* Read PCI-E infos offset from EEPROM and if it points to serdes section (0x40), enable serdes programming (further tweaking of serdes values during attach). This follows Legacy and Sam's HAL sources. Signed-off-by: Nick Kossifidis mickfl...@gmail.com Acked-by: Bob Copeland

[ath5k-devel] [PATCH 2/5] ath5k: Linear PCDAC code fixes

2009-08-09 Thread Nick Kossifidis
* Set correct xpd curve indices for high/low gain curves during rfbuffer setup on RF5112B with both calibration curves available. * Don't return zero min power when we have the same pcdac value twice because it breaks interpolation. Instead return the right x barrier as we do when we

[ath5k-devel] [PATCH 3/5] ath5k: Wakeup fixes

2009-08-09 Thread Nick Kossifidis
* Don't put chip to full sleep because there are problems during wakeup. Instead hold MAC/Baseband on warm reset state via a new function ath5k_hw_on_hold. * Minor cleanups Signed-off-by: Nick Kossifidis mickfl...@gmail.com Tested-by: Ben Greear gree...@candelatech.com Tested-by:

[ath5k-devel] [PATCH 4/5] ath5k: Preserve pcicfg bits during attach

2009-08-09 Thread Nick Kossifidis
* During attach preserve pcicfg bits when enabling pci core sw retry fix. Signed-off-by: Nick Kossifidis mickfl...@gmail.com --- drivers/net/wireless/ath/ath5k/attach.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/wireless/ath/ath5k/attach.c

[ath5k-devel] [PATCH 5/5] ath5k: Use SWI to trigger calibration

2009-08-09 Thread Nick Kossifidis
* Get rid of calibration timer, instead use a software interrupt to schedule the calibration tasklet. a) We don't need a timer for this, there is no need for accuracy even with round_jiffies i think this is a waste of resources. Also we don't need to run calibration if we are idle (no

[ath5k-devel] [PATCH] drivers/net/wireless/ath/ath5k: Change constant name

2009-08-09 Thread Julia Lawall
From: Julia Lawall ju...@diku.dk Elsewhere, the tqi_type field is compared to constants having a name beginning with AR5K_TX_QUEUE, rather than AR5K_TX_QUEUE_ID. I have thus converted AR5K_TX_QUEUE_ID_CAB to AR5K_TX_QUEUE_CAB. This does, however, change the value, so perhaps something else was