I want an android phone to have both 'normal wi-fi' and 'portable
hotspot' turned on at the same time, so that I will be able to get the RSSI values of wireless networks as well as involve in an hotspot connection.

- 4 rooted android phones in CyanogenMod (2-Nexus One, 2-Galaxy S2; consider A,B,C,D).
- Kernel version 2.3.3 in all the phones
- Portable wi-fi hot spot enabled in all the phones.

I wrote an application to find the RSSI values of available wireless signals. But as the phones (A,B,C,D) are using wi-fi hot spot, the normal wifi does not turn on. Either wi-fi hot spot can be on, or normal wi-fi can be on.
i.e. If each phone(A,B, C and D) have a wifi hotspot created (AH, BH, CH, DH), then I am not able to use my application, as normal wifi connection needs to be turned on to find the wireless networks.

So I want the phones to scan available wireless networks with
portable wi-fi hot spot enabled. Is there a way to do this.?

Thanks in advance for your help.

PS: As I am new to this forum, if this is not the right place for this post, kindly move it to the appropriate section.