Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[network] Refactor network and tethering setup. JB#46940
Network sharing via connman does not work in all devices, legacy sharing config not ivolving connman works in no devices. Part of the problem lies in connman/kernel end (device type for rndis0 interface is not reported by udev and/or connman developer mode plugin does not take connection sharing mode into account), part is due to fragile / broken usb-moded side logic. Stop usb-moded from making wifi / cellular power cycle requests. When using legacy sharing config and cellular is not online, make an attempt to share wlan connection (the connman way already does this). Rewrite all D-Bus ipc logic and refactor the rest too. Add error checks in select places so that usb-moded abandons failed mode setting and falls back to charging only. Signed-off-by: Simo Piiroinen <simo.piiroinen@jollamobile.com>
- Loading branch information