Home
last modified time | relevance | path

Searched refs:band_info (Results 1 – 3 of 3) sorted by relevance

/system/connectivity/wificond/
Dserver.cpp245 BandInfo band_info; in getAvailable2gChannels() local
249 if (!netlink_utils_->GetWiphyInfo(wiphy_index_, &band_info, in getAvailable2gChannels()
258 new vector<int32_t>(band_info.band_2g.begin(), band_info.band_2g.end())); in getAvailable2gChannels()
264 BandInfo band_info; in getAvailable5gNonDFSChannels() local
268 if (!netlink_utils_->GetWiphyInfo(wiphy_index_, &band_info, in getAvailable5gNonDFSChannels()
277 new vector<int32_t>(band_info.band_5g.begin(), band_info.band_5g.end())); in getAvailable5gNonDFSChannels()
283 BandInfo band_info; in getAvailableDFSChannels() local
287 if (!netlink_utils_->GetWiphyInfo(wiphy_index_, &band_info, in getAvailableDFSChannels()
295 out_frequencies->reset(new vector<int32_t>(band_info.band_dfs.begin(), in getAvailableDFSChannels()
296 band_info.band_dfs.end())); in getAvailableDFSChannels()
[all …]
/system/connectivity/wificond/tests/
Dnetlink_utils_unittest.cpp325 void VerifyBandInfo(const BandInfo& band_info) { in VerifyBandInfo() argument
332 EXPECT_EQ(band_info.band_2g, band_2g_expected); in VerifyBandInfo()
333 EXPECT_EQ(band_info.band_5g, band_5g_expected); in VerifyBandInfo()
334 EXPECT_EQ(band_info.band_dfs, band_dfs_expected); in VerifyBandInfo()
335 EXPECT_EQ(band_info.is_80211n_supported, k11nSupported); in VerifyBandInfo()
336 EXPECT_EQ(band_info.is_80211ac_supported, k11acSupported); in VerifyBandInfo()
337 EXPECT_EQ(band_info.is_80211ax_supported, k11axSupported); in VerifyBandInfo()
338 EXPECT_EQ(band_info.is_160_mhz_supported, k160MHzSupported); in VerifyBandInfo()
339 EXPECT_EQ(band_info.is_80p80_mhz_supported, k80p80MHzSupported); in VerifyBandInfo()
340 EXPECT_EQ(band_info.max_tx_streams, kMaxTxStreams); in VerifyBandInfo()
[all …]
Dmock_netlink_utils.h65 BandInfo* band_info,