Is your wireless router/AP plugged into the same circuit as your A/C? Its possible when the A/C kicks on it draws too much power, dropping the router below what it needs, like when the lights dim just for an instant after you turn something on with a high current draw. I would think the AC to DC conversion that happens before the router gets its power would be able to compensate for that but maybe not.