From 13c5375859e82f4a77cda18ec2b5a0ddf49c036f Mon Sep 17 00:00:00 2001 From: Sunil Ravi Date: Mon, 21 Mar 2022 18:31:48 -0700 Subject: [PATCH] wifi: Remove RxFilter Tests from VTS test suite APF is the latest packet filter supportered in Android. So remove the tests related to deprecated RXFILTER commands. Bug: 217233384 Test: atest VtsHalWifiSupplicantStaIfaceTargetTest Change-Id: I1eb2558fe17f1f7e468440fb541aaadff215b542 --- .../supplicant_sta_iface_aidl_test.cpp | 31 ------------------- 1 file changed, 31 deletions(-) diff --git a/wifi/supplicant/aidl/vts/functional/supplicant_sta_iface_aidl_test.cpp b/wifi/supplicant/aidl/vts/functional/supplicant_sta_iface_aidl_test.cpp index 2ed6a0e476..272a427e77 100644 --- a/wifi/supplicant/aidl/vts/functional/supplicant_sta_iface_aidl_test.cpp +++ b/wifi/supplicant/aidl/vts/functional/supplicant_sta_iface_aidl_test.cpp @@ -43,7 +43,6 @@ using aidl::android::hardware::wifi::supplicant::ISupplicant; using aidl::android::hardware::wifi::supplicant::ISupplicantStaIface; using aidl::android::hardware::wifi::supplicant::ISupplicantStaNetwork; using aidl::android::hardware::wifi::supplicant::KeyMgmtMask; -using aidl::android::hardware::wifi::supplicant::RxFilterType; using aidl::android::hardware::wifi::supplicant::WpaDriverCapabilitiesMask; using aidl::android::hardware::wifi::supplicant::WpsConfigMethods; using android::ProcessState; @@ -543,36 +542,6 @@ TEST_P(SupplicantStaIfaceAidlTest, SetPowerSave) { EXPECT_TRUE(sta_iface_->setPowerSave(false).isOk()); } -/* - * StartRxFilter - */ -TEST_P(SupplicantStaIfaceAidlTest, StartRxFilter) { - EXPECT_TRUE(sta_iface_->startRxFilter().isOk()); -} - -/* - * StopRxFilter - */ -TEST_P(SupplicantStaIfaceAidlTest, StopRxFilter) { - EXPECT_TRUE(sta_iface_->stopRxFilter().isOk()); -} - -/* - * AddRxFilter - */ -TEST_P(SupplicantStaIfaceAidlTest, AddRxFilter) { - EXPECT_TRUE(sta_iface_->addRxFilter(RxFilterType::V4_MULTICAST).isOk()); - EXPECT_TRUE(sta_iface_->addRxFilter(RxFilterType::V6_MULTICAST).isOk()); -} - -/* - * RemoveRxFilter - */ -TEST_P(SupplicantStaIfaceAidlTest, RemoveRxFilter) { - EXPECT_TRUE(sta_iface_->removeRxFilter(RxFilterType::V4_MULTICAST).isOk()); - EXPECT_TRUE(sta_iface_->removeRxFilter(RxFilterType::V6_MULTICAST).isOk()); -} - /* * AddExtRadioWork */