You'd have eto read the RTC registers to check the MAC status. Sorry, I can't help out more than that right now, I'm at work (which isn't at all wifi.)
Look at AR_RTC_* in the header files. -a On 21 May 2014 13:52, Arkh4mKn1ght <arkh4mkn1...@gmail.com> wrote: > Yes i'm hibernating the machine. How do i check if the MAC isnt fully waking > up after resuming the laptop? > > Greetings > Oskar > > > On 05/21/2014 05:10 PM, Adrian Chadd wrote: >> >> hi, >> >> Hm. You're hibernating? That may explain why the thing is return >> 0xdeadc0de during register reads. Maybe the MAC isn't fully waking up >> after a resume? >> >> >> -a >> >> >> On 21 May 2014 08:10, Arkh4mKn1ght <arkh4mkn1...@gmail.com> wrote: >>> >>> Hi rajkumar >>> >>> I dont know if this only happens when resuming from hibernate, it was >>> just a >>> thought that ocurred to me today. I will test again without hibernating >>> to >>> see if this happens again. >>> I dont use any firewall on the laptop, so iptables -F is pointless. >>> Ping latency times are good when the problem is ongoing. >>> I will take a sniffer capture and send it back to you. >>> >>> Thanks for your help >>> >>> Oskar >>> >>> >>> On 05/21/2014 11:59 AM, Rajkumar Manoharan wrote: >>>> >>>> On Wed, May 21, 2014 at 11:37:36AM -0300, Arkh4mKn1ght wrote: >>>>> >>>>> Ok i tried the patch but the issue happened again :( >>>>> >>>>> After resuming my laptop from hibernation i saw in >>>>> /var/log/kernel/errors.log these messages again: >>>>> >>>>> May 21 09:20:10 localhost kernel: mei_me 0000:00:16.0: suspend >>>>> May 21 09:20:10 localhost kernel: ath: phy1: RX failed to go idle in 10 >>>>> ms >>>>> RXSM=0xdeadbeef >>>>> May 21 09:20:10 localhost kernel: ath: phy1: DMA failed to stop in 10 >>>>> ms >>>>> AR_CR=0xdeadbeef AR_DIAG_SW=0xdeadbeef DMADBG_7=0xdeadbeef >>>>> May 21 09:20:11 localhost kernel: dpm_run_callback(): >>>>> usb_dev_restore+0x0/0x20 [usbcore] returns -107 >>>>> May 21 09:20:11 localhost kernel: PM: Device 1-1 failed to restore >>>>> async: >>>>> error -107 >>>>> >>>>> ASPM was disabled on root complex and atheros card.powersave was off. >>>>> After 1 hour and 10 minutes of those messages that problem arise. I >>>>> have >>>>> noticed that the problem arises always after some time of resuming the >>>>> laptop from hibernation. >>>>> >>>>> Its really odd, because when it does happen, browsing the web is >>>>> painfully >>>>> slow with the "connecting to domain.com..." message in the browser >>>>> status >>>>> bar... it does load the website but after some minutes.. >>>>> Meanwhile at the same time if i try to download a torrent using a >>>>> bittorrent >>>>> client i can do it without problems at full speed. If i pause the >>>>> torrent, >>>>> browsing websites still behaves slowly until i reboot the laptop. >>>>> >>>>> At first i thought that i have a defective atheros card, but why i can >>>>> download torrents at full speed when this problem arises? >>>>> What options do i have now? i have tested all combinations of ASPM >>>>> enabled/disabled and powersave on/off. >>>>> >>>>> I have seen that there is a BIOS update for my laptop, but im unsure it >>>>> could help for this at all (besides that i would have to install >>>>> windows >>>>> 8 >>>>> to install the friggin bios update) >>>>> >>>> Oskar, >>>> >>>> I am quite confused. Does the issue happen only after resume from >>>> hibernate? >>>> Initially you havn't mentioned hibernate/resume. Are you able to >>>> reproduce the issue without hibernating? Please flush ip table entries >>>> and test. >>>> >>>> sudo iptables -F >>>> >>>> Can you please take a sniffer capture at the problematic time? Are you >>>> seeing huge >>>> latency for ping (icmp)? >>>> >>>> -Rajkumar >>>> > _______________________________________________ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel