shill: wimax: Connect to a specific WiMAX network with EAP credentials.
BUG=chrome-os-partner:9830
TEST=Build and run unit tests.
Change-Id: I429aff11a610bff93f7debc3f9bdc156fe83a15a
Reviewed-on: https://gerrit.chromium.org/gerrit/23096
Tested-by: Ben Chan <benchan@chromium.org>
Reviewed-by: Darin Petkov <petkov@chromium.org>
Commit-Ready: Ben Chan <benchan@chromium.org>
diff --git a/wimax_service.h b/wimax_service.h
index 410c04c..98e4cc2 100644
--- a/wimax_service.h
+++ b/wimax_service.h
@@ -23,6 +23,15 @@
const WiMaxRefPtr &wimax);
virtual ~WiMaxService();
+ // Returns the parameters to be passed to WiMaxManager.Device.Connect() when
+ // connecting to the network associated with this service.
+ void GetConnectParameters(DBusPropertiesMap *parameters) const;
+
+ // Returns the DBus object path for the WiMaxManager.Network object
+ // associated with this service. Must only be called after |proxy_| is set
+ // by Start().
+ DBus::Path GetNetworkObjectPath() const;
+
// Returns true on success, false otherwise. Takes ownership of proxy,
// regardless of the result of the operation.
bool Start(WiMaxNetworkProxyInterface *proxy);
@@ -47,6 +56,7 @@
uint32 network_identifier_;
std::string network_name_;
+ bool need_passphrase_;
DISALLOW_COPY_AND_ASSIGN(WiMaxService);
};