WiFi / Ethernet coexistence in Android

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

WiFi / Ethernet coexistence in Android

1,360 Views
andreygelman
Contributor III

I see that in both ICS and JB WiFi and Ethernet cannot coexist.

I have quite figured out the reason: ConnectivityService.java manages kind of policy, where all the network connections are prioritized, so the one with the lower priority is torn down (Ethernet happens to be prioritized over WiFi).

When the unrequired network is disconnected (e.g. Ethernet cable is pulled out or WiFi is off), the other network is Ok.

But in order to use my device (i.mx6) as an access point, I would like to have them both.

I have tried to merely delete the policy checks from the code, but, at least with JB, it seems to screw the networking altogether.

How can it be done ?

Thanks in advance,

Andrey

Labels (2)
0 Kudos
1 Reply

662 Views
Wlodek_D_
Senior Contributor II

Hello,

Thank you for your post, however please consider moving it to the right community place (e.g. i.MX Community ) to get it visible for active members.

For details please see general advice Where to post a Discussion? (https://community.freescale.com/docs/DOC-99909 )

Thank you for using Freescale Community.

0 Kudos