aparcar / openwrt

Staging tree of Paul Spooren
Other
8 stars 1 forks source link

FS#432 - ath9k: Disconnections from WiFi (router as client) #259

Closed aparcar closed 7 years ago

aparcar commented 7 years ago

howl:

I think it could be related to this patchset https://git.lede-project.org/?p=source.git;a=commit;h=b94177e10fc72f9309eae7459c3570e5c080e960

In Archer C7 and a snapshot after that commit the router get's disconnected in a random time with a message like, disconnecting from ... due to excesive missing ACKs. I'm sorry because I didn't copy the log before downgrading to a snapshot before the commit.

I will wait at least one day to see if disconnections happens and it's coincidence that I did another wifi network with the router as master and that's the problem. If it doesn't happen I will reflash the affected snapshot and will paste here the log as it's shown when the disconnection happens. When the disconnection happens it doesn't connect again, at least until reboot of the router, I have to test if disabling and enabling the wifi network, etc...

aparcar commented 7 years ago

arjendekorte:

I'm afraid you're correct, it seems to be related to this patchset. I spent some time git bisecting and it looks like https://git.lede-project.org/?p=source.git;a=commit;h=4cacc1c5f5e01594d4e9148a7b34946845424e24 is the last one not exhibiting dropping radios on my Netgear WNDR4300 (so it does not seem to be related to the ATF code). Up to now I never saw this problem (while others were), so I assume https://git.lede-project.org/?p=source.git;a=commit;h=b94177e10fc72f9309eae7459c3570e5c080e960 broke things for me.

aparcar commented 7 years ago

nbd:

Please try removing patches 354-356, and if that works, add them back one by one to see which one breaks your setup

aparcar commented 7 years ago

mirlang:

same here on a WDR4900, the 2.4GHz "disappears" after a few minutes, 5GHz seems to be stable (but has not so much load), hostapd stays up but it seems to stop sending beacons... reverting the commit is successful

aparcar commented 7 years ago

mirlang:

could it be 357-ath9k-fix-race-condition-in-enabling-disabling-IRQs.patch? i'm not entirely sure, because after adding the last patch i waited >30min for it to fail and before only ~20mins...

aparcar commented 7 years ago

mirlang:

now i'm sure it's 357, over night i ran a build with only 354-356 applied and it was up in the morning, then added 357 again and all SSIDs of the 2.4GHz radio disappear after a few mins

aparcar commented 7 years ago

nbd:

Should be fixed in r3176-82d580e8b5, please test

aparcar commented 7 years ago

mirlang:

fix works for me :) router is up for >1 hour and everything seems fine

aparcar commented 7 years ago

None:

My Archer C7 v2 had same bug when 17.01-SNAPSHOT r3028 build. But now, There is no bug when r3032 (after 36db143 commit) build. 2.4GHz radio still alive after 1 hour. It seems to have been fixed.