Home
last modified time | relevance | path

Searched refs:WifiChannelHelper (Results 1 – 13 of 13) sorted by relevance

/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/unittest/common/
H A Dwifi_channel_helper_test.cpp49 WifiChannelHelper::GetInstance().GetValidBands(bands);
57 WifiChannelHelper::GetInstance().SetValidChannels(validChannels);
63 WifiChannelHelper::GetInstance().GetValidChannels(validChannels);
69 WifiChannelHelper::GetInstance().UpdateValidChannels(ifaceName);
72 WifiChannelHelper::GetInstance().UpdateValidChannels(ifaceName);
77 WifiChannelHelper::GetInstance().UpdateValidFreqs();
94 EXPECT_TRUE(WifiChannelHelper::GetInstance().IsChannelDbac(1, 2));
145 WifiChannelHelper::GetInstance().TransformChannelToFrequency(1);
162 EXPECT_TRUE(WifiChannelHelper::GetInstance().IsValid24GHz(2412));
163 EXPECT_FALSE(WifiChannelHelper::GetInstance().IsValid24GHz(5200));
[all …]
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_common/
H A Dwifi_channel_helper.cpp46 WifiChannelHelper::WifiChannelHelper() in WifiChannelHelper() function in OHOS::Wifi::WifiChannelHelper
51 WifiChannelHelper &WifiChannelHelper::GetInstance() in GetInstance()
53 static WifiChannelHelper gWifiChannelHelper; in GetInstance()
125 void WifiChannelHelper::UpdateValidFreqs() in UpdateValidFreqs()
201 bool WifiChannelHelper::IsFreqDbac(int freqA, int freqB) in IsFreqDbac()
242 int WifiChannelHelper::TransformFrequencyIntoChannel(int freq) in TransformFrequencyIntoChannel()
266 BandType WifiChannelHelper::TransformFreqToBand(int freq) in TransformFreqToBand()
286 bool WifiChannelHelper::IsValid24GHz(int freq) in IsValid24GHz()
291 bool WifiChannelHelper::IsValid5GHz(int freq) in IsValid5GHz()
296 bool WifiChannelHelper::IsValid24GChannel(int channel) in IsValid24GChannel()
[all …]
H A Dwifi_channel_helper.h27 class WifiChannelHelper {
29 static WifiChannelHelper &GetInstance();
64 WifiChannelHelper();
/ohos5.0/foundation/communication/wifi/wifi/test/fuzztest/wifi_sta/wifihotspotimpl_fuzzer/
H A Dwifihotspotimpl_fuzzer.cpp75 WifiChannelHelper::GetInstance().SetValidChannels(node); in IsHotspotDualBandSupportedFuzzTest()
88 WifiChannelHelper::GetInstance().SetValidChannels(node); in SetHotspotConfigFuzzTest()
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_ap/
H A Dap_service.cpp196 if (WifiChannelHelper::GetInstance().GetValidBands(bands) != 0) { in GetValidBands()
230 if (WifiChannelHelper::GetInstance().GetValidChannels(channelsInfo) != 0) { in GetValidChannels()
265 if (WifiChannelHelper::GetInstance().SetValidChannels(ChanTbs)) { in GetValidChannels()
H A Dap_started_state.cpp395 WifiChannelHelper::GetInstance().UpdateValidChannels( in ProcessCmdUpdateCountryCode()
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_ap_sa/
H A Dwifi_hotspot_service_impl.cpp81 if (WifiChannelHelper::GetInstance().GetValidBands(bands) < 0) { in IsHotspotDualBandSupported()
178 WifiChannelHelper::GetInstance().GetValidBands(bandsFromCenter); in SetHotspotConfig()
180 WifiChannelHelper::GetInstance().GetValidChannels(channInfoFromCenter); in SetHotspotConfig()
538 if (WifiChannelHelper::GetInstance().GetValidBands(bands) < 0) { in GetValidBands()
557 WifiChannelHelper::GetInstance().GetValidChannels(channInfoFromCenter); in GetValidChannels()
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_p2p/
H A Dwifi_p2p_service.cpp412 WifiChannelHelper::GetInstance().GetValidChannels(channels); in GetP2pRecommendChannel()
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_sta_sa/
H A Dwifi_device_service_impl.cpp1728 WifiChannelHelper::GetInstance().GetValidChannels(channels); in IsBandTypeSupported()
1753 WifiChannelHelper::GetInstance().GetValidChannels(channels); in Get5GHzChannelList()
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_scan/
H A Dscan_service.cpp424 …if (!WifiChannelHelper::GetInstance().GetAvailableScanFreqs(scanConfig.scanBand, interConfig.scanF… in SingleScan()
952 …if (!WifiChannelHelper::GetInstance().GetAvailableScanFreqs(SCAN_BAND_BOTH_WITH_DFS, interConfig.s… in BeginPnoScan()
H A Dscan_state_machine.cpp251 WifiChannelHelper::GetInstance().UpdateValidChannels( in HandleUpdateCountryCode()
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_p2p_sa/
H A Dwifi_p2p_service_impl.cpp1320 WifiChannelHelper::GetInstance().GetValidChannels(channels); in Hid2dGetChannelListFor5G()
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_sta/
H A Dsta_state_machine.cpp4744 if (WifiChannelHelper::GetInstance().IsValid5GHz(singalInfo.frequency)) { in IsGoodSignalQuality()