Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f3b86212 authored by Yuyang Huang's avatar Yuyang Huang Committed by Android Build Coastguard Worker
Browse files

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
parent a928528d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -180,9 +180,9 @@ TEST_P(WifiStaIfaceAidlTest, CheckApfIsSupported) {
        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);
    }
}