First test the router with another device to rule it out. Or take the iPad to another Wireless spot and test, but my guess is the router as they are a common cause of dropped wireless connections due to interference IE: Electrical, other wireless devices in close proximity , or channel interference , wireless devices also degrade over time the fail completely.