mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Merge "Add VTS for roaming mode control" into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
861fe9493b
@@ -316,6 +316,21 @@ TEST_P(WifiStaIfaceAidlTest, RoamingControl) {
|
||||
EXPECT_TRUE(wifi_sta_iface_->setRoamingState(StaRoamingState::ENABLED).isOk());
|
||||
}
|
||||
|
||||
/*
|
||||
* RoamingModeControl
|
||||
*/
|
||||
TEST_P(WifiStaIfaceAidlTest, RoamingModeControl) {
|
||||
if (interface_version_ < 2) {
|
||||
GTEST_SKIP() << "Roaming mode control is available as of sta_iface V2";
|
||||
}
|
||||
if (!isFeatureSupported(IWifiStaIface::FeatureSetMask::ROAMING_MODE_CONTROL)) {
|
||||
GTEST_SKIP() << "Roaming mode control is not supported.";
|
||||
}
|
||||
|
||||
// Enable aggressive roaming.
|
||||
EXPECT_TRUE(wifi_sta_iface_->setRoamingState(StaRoamingState::AGGRESSIVE).isOk());
|
||||
}
|
||||
|
||||
/*
|
||||
* EnableNDOffload
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user