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

Commit e2ff8e50 authored by Yuyang Huang's avatar Yuyang Huang Committed by Gabriel Biren
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.

Bug: 380756020
Test: TH
Change-Id: I28f6579bf426e5338880fcc6afff33c769f29634
Merged-In: I28f6579bf426e5338880fcc6afff33c769f29634
(cherry picked from commit fe83a98b)
parent 06de0b10
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -175,9 +175,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);
    }
}