One other issue - by default the Realtek driver has power saving turned on. What you get is a whole buncha crap like this in dmesg:
[ 1139.170000] rtl8192c_dm_RF_Saving(): RF_Normal
[ 1139.170000] rtl8192c_set_FwPwrMode_cmd(): Mode = 1, SmartPS = 2
[ 1139.850000] rtw_set_ps_mode(): Busy Traffic , Leave 802.11 power save..
[ 1139.850000] rtl8192c_set_FwPwrMode_cmd(): Mode = 0, SmartPS = 0
[ 1141.170000] rtl8192c_dm_RF_Saving(): RF_Save
[ 1145.170000] rtw_set_ps_mode(): Enter 802.11 power save mode...
I noticed the same junk spilling into dmesg on my Raspberry Pi, and I saw a lot of messages doing a Google search with people wanting to get rid of all this debug(?) stuff. I believe there's flags when you compile the driver to shut it off at that level, but even easier is to:
- Create a file called 8192cu.conf in /etc/modprobe.d
- In that file put "options 8192cu rtw_power_mgnt=0 rtw_enusbss=0" (without the quotes)
- Easiest thing to do after you've created the file is to restart your box.