aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-12-13 00:19:43 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-12-13 00:19:43 +0000
commit4f74cc603d96e27730dd95c77d0d3aaa821291dd (patch)
treefeaadde7ecd4c92534735e57fbd39a8c868a0154
parent6f4310544e111b1dd6e33c166247fcc4e2fcf3d0 (diff)
parentccbdbdea8421c83cf0e60a0e6da8b7b2862e4012 (diff)
downloadwpa_supplicant_8-4f74cc603d96e27730dd95c77d0d3aaa821291dd.tar.gz
Snap for 11211173 from ccbdbdea8421c83cf0e60a0e6da8b7b2862e4012 to 24Q1-release
Change-Id: Iaf34122bc436f6b7ed10991d58af374cf641eb78
-rw-r--r--wpa_supplicant/aidl/sta_iface.cpp20
-rw-r--r--wpa_supplicant/aidl/sta_iface.h4
2 files changed, 24 insertions, 0 deletions
diff --git a/wpa_supplicant/aidl/sta_iface.cpp b/wpa_supplicant/aidl/sta_iface.cpp
index fb3ebcd5..78e6cd3c 100644
--- a/wpa_supplicant/aidl/sta_iface.cpp
+++ b/wpa_supplicant/aidl/sta_iface.cpp
@@ -843,6 +843,18 @@ bool StaIface::isValid()
&StaIface::removeQosPolicyForScsInternal, _aidl_return, in_scsPolicyIds);
}
+::ndk::ScopedAStatus StaIface::configureMscs(const MscsParams& in_params) {
+ return validateAndCall(
+ this, SupplicantStatusCode::FAILURE_UNKNOWN,
+ &StaIface::configureMscsInternal, in_params);
+}
+
+::ndk::ScopedAStatus StaIface::disableMscs() {
+ return validateAndCall(
+ this, SupplicantStatusCode::FAILURE_UNKNOWN,
+ &StaIface::disableMscsInternal);
+}
+
std::pair<std::string, ndk::ScopedAStatus> StaIface::getNameInternal()
{
return {ifname_, ndk::ScopedAStatus::ok()};
@@ -2427,6 +2439,14 @@ StaIface::removeQosPolicyForScsInternal(const std::vector<uint8_t>& scsPolicyIds
ndk::ScopedAStatus::ok()};
}
+::ndk::ScopedAStatus StaIface::configureMscsInternal(const MscsParams& params) {
+ return createStatus(SupplicantStatusCode::FAILURE_UNSUPPORTED);
+}
+
+::ndk::ScopedAStatus StaIface::disableMscsInternal() {
+ return createStatus(SupplicantStatusCode::FAILURE_UNSUPPORTED);
+}
+
/**
* Retrieve the underlying |wpa_supplicant| struct
* pointer for this iface.
diff --git a/wpa_supplicant/aidl/sta_iface.h b/wpa_supplicant/aidl/sta_iface.h
index db914452..b52c6b0c 100644
--- a/wpa_supplicant/aidl/sta_iface.h
+++ b/wpa_supplicant/aidl/sta_iface.h
@@ -165,6 +165,8 @@ public:
::ndk::ScopedAStatus removeQosPolicyForScs(
const std::vector<uint8_t>& in_scsPolicyIds,
std::vector<QosPolicyScsRequestStatus>* _aidl_return) override;
+ ::ndk::ScopedAStatus configureMscs(const MscsParams& in_params) override;
+ ::ndk::ScopedAStatus disableMscs() override;
private:
// Corresponding worker functions for the AIDL methods.
@@ -277,6 +279,8 @@ private:
std::pair<std::vector<QosPolicyScsRequestStatus>, ndk::ScopedAStatus>
removeQosPolicyForScsInternal(
const std::vector<uint8_t>& scsPolicyIds);
+ ::ndk::ScopedAStatus configureMscsInternal(const MscsParams& params);
+ ::ndk::ScopedAStatus disableMscsInternal();
struct wpa_supplicant* retrieveIfacePtr();