commit | f3b86212a5c57996f5888718872434aebde3c69a | [log] [tgz] |
---|---|---|
author | Yuyang Huang <yuyanghuang@google.com> | Tue Mar 19 11:01:26 2024 +0900 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Tue Mar 26 23:20:04 2024 +0000 |
tree | a690de01bb0412d946afd2a5aacba87737b27f53 | |
parent | a928528df8694edb738cf108f81c99f0e66b2857 [diff] |
Update APF VTS for VSR-14 compliance Modified the VTS to check the APF version is 4 (or higher) as mandated by VSR-14. Test: TH (cherry picked from https://android-review.googlesource.com/q/commit:fe83a98b3e139a0caf7d7f5b64ec3144e26b9b41) Merged-In: I28f6579bf426e5338880fcc6afff33c769f29634 Change-Id: I28f6579bf426e5338880fcc6afff33c769f29634
diff --git a/wifi/aidl/vts/functional/wifi_sta_iface_aidl_test.cpp b/wifi/aidl/vts/functional/wifi_sta_iface_aidl_test.cpp index b426cdb..e8b2d57 100644 --- a/wifi/aidl/vts/functional/wifi_sta_iface_aidl_test.cpp +++ b/wifi/aidl/vts/functional/wifi_sta_iface_aidl_test.cpp
@@ -180,9 +180,9 @@ EXPECT_TRUE(isFeatureSupported(IWifiStaIface::FeatureSetMask::APF)); StaApfPacketFilterCapabilities apf_caps = {}; EXPECT_TRUE(wifi_sta_iface_->getApfPacketFilterCapabilities(&apf_caps).isOk()); - // The APF version must be 4 and the usable memory must be at least + // The APF version must be 4 or higher and the usable memory must be at least // 1024 bytes. - EXPECT_EQ(apf_caps.version, 4); + EXPECT_GE(apf_caps.version, 4); EXPECT_GE(apf_caps.maxLength, 1024); } }