summaryrefslogtreecommitdiffstats
path: root/src/qconnectivity
Commit message (Collapse)AuthorAgeFilesLines
* Fix timing issues in wifi libraryGatis Paeglis2014-09-191-11/+4
| | | | | | | | | | | | | | | There is a timing issue on a device startup if the default application calls Wifi.Interface.wifiSupported() before qconnectivity service has finished initialize wifi firmware/driver. This results in wifiSupported() returing false on nexus 2013, even if this device supports wifi. The solution is to move firmware/driver initialization to Qt Wifi library. Change-Id: If5b4650181f8b7237bd19f3fc3afbd2c75f759e8 Task-number: QTEE-770 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
* Fix Wifi issues on Android 4.4.2Gatis Paeglis2014-06-131-23/+56
| | | | | | | | | | | | | | | | | | | | - Reload Wi-Fi firmware on a device startup (initializes wlan0 interface). - Android version 4.4 (and above) requires IFNAME=wlan0 prefix to the wpa_supplicant calls, without this all calls to the wpa_supplicant fail. - Fix "broken pipe" issue - a message in the logcat when trying to access a broken network. This seems to be a generic message whenever something is wrong with a network configuration (broken routing table, firewall issues, DNS issues etc.). Android uses Connectivity and NetworkManagement JAVA services to handle network configuration - we can use qconnectivity daemon for this. Task-number: QTEE-562 Change-Id: Ib5a93c677439a0e9bf92ede532667542d2bc4bed Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
* Fix compile error in qconnectivityAndy Nichols2014-04-241-1/+1
| | | | | Change-Id: Ib690e253ddc1c036dfa1d0ea8268200850f14b18 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
* Compilation fixes for Android 4.4aavit2014-04-011-13/+47
| | | | | Change-Id: I2017665372e190f9d12841820714457967ff3a3a Reviewed-by: Gatis Paeglis <gatis.paeglis@digia.com>
* Enable internet on eAndroid emulatorGatis Paeglis2014-02-141-22/+25
| | | | | Change-Id: If357f7c1ea090165cb0a3738156a66f5961d66a6 Reviewed-by: Rainer Keller <rainer.keller@digia.com>
* Disable QConnectivity daemon on emulatorGatis Paeglis2014-02-071-13/+33
| | | | | | | | Once we will know how, we can use this daemon to enable internet on emulator as well. Change-Id: I01eaa9a56cecfc92dfc5bc0cfb3ce6c3b482e610 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
* Re-connect if netd is not readyGatis Paeglis2014-01-291-21/+30
| | | | | | | | There is a delay from the time when netd service is started and when it is actually ready to listen for commands. Change-Id: I92a21639921682457f8d5ccf1124a0d310a7a41c Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
* Introducing QConnectivityDaemonGatis Paeglis2014-01-232-0/+394
This change enables ethernet support on embedded android and provides DHCP info for other processes. Now we can simply plugin an ethernet cable and start browsing a network, for this we use netd events - netd is a network manager daemon, it opens android's "reserved" unix domain socket on /dev/socket/netd and listens for connections and commands. QConnectivityDaemon listens for DHCP requests on android's "reserved" socket /dev/socket/qconnectivity which can be used by other processes to do dhcp requests on different network interfaces (wifi, bluetooth, etc.). QConnectivityDaemon uses line-oriented protocol and expects requests to be "\n" terminated. Change-Id: I6d52619d27685650a155141bf09191e5a56914df Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>