Re: Atheros 9220 don't return from S3 state

2013-01-13 Thread Ian Smith
On Sat, 12 Jan 2013 09:05:37 -0800, Adrian Chadd wrote: We can't patch pci space if they're all 0x, that means nothing is there. That's the point; the card hasn't come back on from suspend. So we need to do something _before_ it suspends. We can't do anything to the card

Re: Atheros 9220 don't return from S3 state

2013-01-13 Thread Adrian Chadd
The problem here is I can't easily test this. We detach and re-attach cardbus devices during suspend/resume, so although I have AR9220 mini-PCI NICs, they don't stay connected the normal way. The slot gets fully powered down and reset upon power up. Adrian

Re: Atheros 9220 don't return from S3 state

2013-01-13 Thread Slawa Olhovchenkov
On Mon, Jan 14, 2013 at 06:21:54AM +1100, Ian Smith wrote: On Sat, 12 Jan 2013 09:05:37 -0800, Adrian Chadd wrote: We can't patch pci space if they're all 0x, that means nothing is there. That's the point; the card hasn't come back on from suspend. So we need to do

Re: Atheros 9220 don't return from S3 state

2013-01-13 Thread Adrian Chadd
Right. That should be a good indication. It's a shame you can't just get a multimeter and measure the relevant pins. :) Adrian ___ freebsd-wireless@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-wireless To unsubscribe,

Re: Atheros 9220 don't return from S3 state

2013-01-13 Thread Adrian Chadd
.. and it may not be the slot power. It could also be the PCI bridge (re) programming. It needs to have the right BAR and such programmed into it, or it won't route things correctly to child slots. I had this problem with cardbus a few months ago. After a resume, not all of the relevant PCI

Re: Debugging Stalls with ath(4)

2013-01-13 Thread Adrian Chadd
It was likely a specific client. Traffic levels can affect things - the macosx wifi stuff will do background scans if traffic is under a certain threshold and stop it otherwise. Adrian ___ freebsd-wireless@freebsd.org mailing list

Re: freebsd-head and spectral scan

2013-01-13 Thread Adrian Chadd
Hi, The reason I haven't (yet) written any particular directions up on this is because I'm still trying to come up with relevant workarounds for spectral scan on the AR9280, when it's active with traffic. Since some of you will likely enable it with traffic and then discover that things hang

Re: Atheros 9220 don't return from S3 state

2013-01-13 Thread Slawa Olhovchenkov
On Sun, Jan 13, 2013 at 12:19:22PM -0800, Adrian Chadd wrote: On 13 January 2013 12:07, Slawa Olhovchenkov s...@zxy.spb.ru wrote: On Sun, Jan 13, 2013 at 11:43:55AM -0800, Adrian Chadd wrote: Right. That should be a good indication. After 10 min card still hot. Ok, so that means the

Re: Atheros 9220 don't return from S3 state

2013-01-13 Thread Slawa Olhovchenkov
On Sun, Jan 13, 2013 at 04:32:16PM -0500, Adrian Chadd wrote: Ok. So don't use that :) I'll dig up the pci hostif registers and see what I can find. But, hm. We should dump and compare the pci conf registers for the bridge that device is on.nbsp; If it is pcib3@pci0:0:30:0:

Re: Atheros 9220 don't return from S3 state

2013-01-13 Thread Adrian Chadd
Well. Compare the other bridges too, out of interest. Adrian Sent from my Palm Pre on ATamp;T On Jan 13, 2013 4:40 PM, Slawa Olhovchenkov lt;s...@zxy.spb.rugt; wrote: On Sun, Jan 13, 2013 at 04:32:16PM -0500, Adrian Chadd wrote: gt; Ok. So don't use that :) gt; gt; I'll dig up the