Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

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.

Scenario:
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.?

share|improve this question
add comment

2 Answers

up vote 2 down vote accepted

What you probably want is your phone work as adhoc and as an AP at the same time I guess it's called bridging http://compnetworking.about.com/cs/wirelessproducts/f/apbridgingmode.htm I don't think that at first android phones support the adhoc mode at all yet. http://stackoverflow.com/questions/1932150/can-android-do-peer-to-peer-ad-hoc-networking The bridging is only possible for normal wifi routers not for android phones. Routers also support WDS http://en.wikipedia.org/wiki/Wireless_distribution_system There's no such thing as WDS for android phones yet AFAK.


hope it clarifies the matter abit. thanks.

share|improve this answer
    
yeah. this clarifies a lot. thanks for the links:) –  SyncMaster Feb 15 '12 at 23:02
add comment

Related: Can we use an Android phone as a Wi-Fi repeater?

The answer is basically no. It's theoretically possible, at least with some Wi-Fi chips, but the software needed is fairly involved. Some Android phones do support ad-hoc mode, but bridging is the problem as Sergey indicates. I don't know of anything that's been ported to / written for Android to do this, since it would probably involve altering proprietary drivers (pretty hard without the source code).

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.