nexus: Initial support for manipulating wifi networks + change wifi scan notification msgs
Signed-off-by: San Mehat <san@google.com>
diff --git a/nexus/WifiController.h b/nexus/WifiController.h
index ba26cb8..b9c981c 100644
--- a/nexus/WifiController.h
+++ b/nexus/WifiController.h
@@ -25,6 +25,7 @@
class WifiScanner;
#include "ScanResult.h"
+#include "WifiNetwork.h"
class WifiController : public Controller {
public:
@@ -56,9 +57,13 @@
int enable();
int disable();
- ScanResultCollection *createScanResults();
+ int addNetwork();
+ int removeNetwork(int networkId);
+ WifiNetworkCollection *createNetworkList();
- int getType();
+ int getScanMode() { return mCurrentScanMode; }
+ int setScanMode(uint32_t mode);
+ ScanResultCollection *createScanResults();
char *getModulePath() { return mModulePath; }
char *getModuleName() { return mModuleName; }
@@ -66,9 +71,6 @@
Supplicant *getSupplicant() { return mSupplicant; }
- int getScanMode() { return mCurrentScanMode; }
- int setScanMode(uint32_t mode);
-
protected:
virtual int powerUp() = 0;
virtual int powerDown() = 0;