nexus: Initial support for manipulating wifi networks + change wifi scan notification msgs
Signed-off-by: San Mehat <san@google.com>
diff --git a/nexus/Supplicant.h b/nexus/Supplicant.h
index 579bfd6..4a7ec3a 100644
--- a/nexus/Supplicant.h
+++ b/nexus/Supplicant.h
@@ -23,6 +23,7 @@
#include <pthread.h>
#include "ScanResult.h"
+#include "WifiNetwork.h"
class Supplicant {
private:
@@ -41,10 +42,13 @@
int start();
int stop();
bool isStarted();
- int triggerScan(bool active);
+ int triggerScan(bool active);
ScanResultCollection *createLatestScanResults();
- WifiNetworkCollection *createWifiNetworkList();
+
+ int addNetwork();
+ int removeNetwork(int networkId);
+ WifiNetworkCollection *createNetworkList();
int getState() { return mState; }