Wi-Fi capabilities in iOS
What you are trying to do is sadly impossible without using proprietary (undocumented) APIs . Hopefully Apple will provide this kind of functionality (with user permission), although I don't think it will happen soon.
If you want to explore this topic further, the first thing to check out would be iphone-wireless - Stumbler's home that shows enjoyable use
source to share