binder: Add/Implement More iface calls
Add/Implement few more |IIface| aidl object functions:
1. Power Save Mode
2. TDLS Discover
3. TDLS Setup
4. TDLS Teardown
BUG: 30759904
Change-Id: I604f8addc2fe009a2f4abb67d487d729b6558a12
TEST: None.
Signed-off-by: Roshan Pius <rpius@google.com>
diff --git a/wpa_supplicant/binder/iface.h b/wpa_supplicant/binder/iface.h
index 4ebf59c..96d52ce 100644
--- a/wpa_supplicant/binder/iface.h
+++ b/wpa_supplicant/binder/iface.h
@@ -19,6 +19,7 @@
#include "utils/common.h"
#include "utils/includes.h"
#include "wpa_supplicant_i.h"
+#include "driver_i.h"
}
namespace wpa_supplicant_binder {
@@ -50,6 +51,13 @@
android::binder::Status Reassociate() override;
android::binder::Status Reconnect() override;
android::binder::Status Disconnect() override;
+ android::binder::Status SetPowerSave(bool enable) override;
+ android::binder::Status InitiateTDLSDiscover(
+ const std::vector<uint8_t> &mac_address) override;
+ android::binder::Status InitiateTDLSSetup(
+ const std::vector<uint8_t> &mac_address) override;
+ android::binder::Status InitiateTDLSTeardown(
+ const std::vector<uint8_t> &mac_address) override;
private:
struct wpa_supplicant *retrieveIfacePtr();