WiFi slowness debugging and fix.
If you went to newegg or whatever and bought some random cisco/netgear router this is not for you. You can stop reading and keep crying.
If you have some random pile of ass from your ISP or you have been poking your routers advanced settings this might help.
So my N7 WiFi had choppy slow internet, and that annoyed me. I spent some time googling and testing hardware and came to the conclusion that WiFi is wonky as f**k on 4.3.
> My gen2 Nexus 7 is perfect.
> My gen1 Nexus 7 continuously reauthenticates with my AP.
> Sisters Nexus 4 is perfect.
> Friends Nexus 4 also can't stay connected and he downgraded to the last 4.2. Now hes perfect.
If I downgrade to 4.2.something on the first generation WiFi is perfect. Well s**t, I kinda need multiuser.
Where do I go from this? Queue racking my brain for a few days and flipping tables. (╯°□°)╯︵ ┻━┻
┻━┻ ︵ ╰(°□°╰)
┻━┻ ︵ ╰(°Д°)╯︵ ┻━┻
So let's attack this from another angle. It's not android, it's me. Queue router reset and WiFi nirvana, and many verbal WTFs.
At this point I start rolling the config back to my options one by one. I had configured my AP to try and maximize battery life on my mobile devices.
Some where along the way I fudged the math so I was running with a beacon interval of 300kus with a DTIM of 10.
((300*1.024)*10)/100=30.72 seconds, which is insanity I know. That said, on the 4.3 N7 it seems the WiFi firmware kinda chokes with anything over 15-16 seconds.
I'm currently running beacon_int of 179 (just picked a fat prime number), and a DTIM of 4. This give me 7.33 seconds and my WiFi is back to where it should be (rock like stability).
Now like I said at the beginning, this fixed MY PROBLEM.
Your average off the shelf SOHO router defaults to a beacon in of 100kus and a DTIM of 1 or 2.
So I don't know if this information will help anyone else. The only exception to this are ISP routers since those things always seem to have some kind of mis-configured cancer installed.