Home
last modified time | relevance | path

Searched refs:wiphy_features (Results 1 – 6 of 6) sorted by relevance

/system/connectivity/wificond/tests/
Dnetlink_utils_unittest.cpp194 uint32_t wiphy_features = 0; in AppendWiphyFeaturesAttributes() local
196 wiphy_features |= NL80211_FEATURE_SCAN_RANDOM_MAC_ADDR; in AppendWiphyFeaturesAttributes()
199 wiphy_features |= NL80211_FEATURE_SCHED_SCAN_RANDOM_MAC_ADDR; in AppendWiphyFeaturesAttributes()
202 NL80211Attr<uint32_t>(NL80211_ATTR_FEATURE_FLAGS, wiphy_features)); in AppendWiphyFeaturesAttributes()
272 void VerifyWiphyFeatures(const WiphyFeatures& wiphy_features) { in VerifyWiphyFeatures() argument
273 EXPECT_TRUE(wiphy_features.supports_random_mac_oneshot_scan); in VerifyWiphyFeatures()
274 EXPECT_FALSE(wiphy_features.supports_random_mac_sched_scan); in VerifyWiphyFeatures()
516 WiphyFeatures wiphy_features; in TEST_F() local
520 &wiphy_features)); in TEST_F()
523 VerifyWiphyFeatures(wiphy_features); in TEST_F()
[all …]
Dclient_interface_impl_unittest.cpp63 void SetUp(WiphyFeatures wiphy_features) { in SetUp() argument
68 .WillOnce([wiphy_features](uint32_t wiphy_index, BandInfo* out_band_info, in SetUp()
71 *out_wiphy_features = wiphy_features; in SetUp()
194 WiphyFeatures wiphy_features; in TEST_F() local
195 wiphy_features.supports_tx_mgmt_frame_mcs = true; in TEST_F()
196 SetUp(wiphy_features); in TEST_F()
Dmock_netlink_utils.h67 WiphyFeatures* wiphy_features));
/system/connectivity/wificond/scanning/
Dscanner_impl.cpp46 bool IsScanTypeSupported(int scan_type, const WiphyFeatures& wiphy_features) { in IsScanTypeSupported() argument
49 return wiphy_features.supports_low_span_oneshot_scan; in IsScanTypeSupported()
51 return wiphy_features.supports_low_power_oneshot_scan; in IsScanTypeSupported()
53 return wiphy_features.supports_high_accuracy_oneshot_scan; in IsScanTypeSupported()
70 const WiphyFeatures& wiphy_features, in ScannerImpl() argument
78 wiphy_features_(wiphy_features), in ScannerImpl()
Dscanner_impl.h39 const WiphyFeatures& wiphy_features,
/system/connectivity/wificond/
Dserver.cpp347 WiphyFeatures wiphy_features; in LogSupportedBands() local
351 &wiphy_features); in LogSupportedBands()