0c40ab456acd32da416325f5da00ffea9d0314ca |
|
29-Jan-2018 |
Roshan Pius <rpius@google.com> |
WifiP2pNative: Move to an on-demand iface creation model The p2p iface creation will only be done if: a) There is atleast 1 P2P app running. b) HalDeviceManager let's you create a P2P iface based on the current chip configuration (Will let it interop better with STA + STA & Aware). The p2p iface will be removed: a) When all the P2P apps are stopped b) HalDeviceManager destroys the interface for some chip reconfiguration based on the it's policy. Also, we no longer use WifiP2pMonitor to wait for wpa_supplicant daemon to come up & establish HIDL connection. That will be handled directly in WifiP2pNative. Bug: 72497243 Test: Ensured that p2p works using settings after toggling wifi. Test: Will send for regression tests. Change-Id: I8cdcdf5cae997c348c5d3cb94e4460e75887d076
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/WifiP2pMonitor.java
|
b97757e4930ae6e9a5319e071d383c464fcb5546 |
|
08-Jun-2017 |
Roshan Pius <rpius@google.com> |
WifiMonitor: Connect to wpa_supplicant more aggressively Instead of waiting 1 second between retries, check if wpa_supplicant's HIDL interface is up every 100 ms after starting wpa_supplicant. Bug: 62439299 Test: Verified from logs that the time for wifi enable is reduced now. Change-Id: Ibb8acf3bbe794b6ee2e9fa7b1cdb41e66f023d71
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/WifiP2pMonitor.java
|
098640f533f3fc04cb49cb860f9dc45ad8a19e69 |
|
02-May-2017 |
Randy Pan <zpan@google.com> |
Fix how WifiMonitor/WifiP2pMonitor sends a message A message can potentially have multiple handlers. Looper recycles the message after one handler is done with it. Sending/copying the recycled message to another handler is problematic. Fix the issue by always sending a copy of the original message. Bug: 37714369 Test: runtest.sh Change-Id: I2f4a4903ac8da94816341def969878f888154b6c
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/WifiP2pMonitor.java
|
1555c030405df64cb4c52cff44598e678045b82b |
|
18-Mar-2017 |
Roshan Pius <rpius@google.com> |
SupplicantP2pIfaceHal: Add the 2 missing callback handling Bug: 36401779 Test: Compiles Change-Id: If7c3473b461021b1cf13763e6228ef791b758b52
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/WifiP2pMonitor.java
|
163f9765f9e4c3f868b1e0d630b6adeaa115fb4a |
|
17-Mar-2017 |
Roshan Pius <rpius@google.com> |
Split up WifiNative/WifiMonitor into STA-AP/P2P With HIDL, there isn't any dependencies between the STA & P2P WifiNative's. So, split up WifiNative/WifiMonitor into 2, one for P2P & non-P2P cases. The WifiP2pNative, WifiP2pMonitor & SupplicantP2pIfaceHal classes are now moved to p2p package. Also, added couple of missing methods in SupplicantP2pIfaceHal from SupplicantStaIfaceHal. Bug: 36371256 Test: Compiles, device boots up and connect to wifi networks. Change-Id: I85ea84355ab2a1803053f663f207b42b793c552c
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/WifiP2pMonitor.java
|