/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_common/ |
H A D | wifi_channel_helper.cpp | 64 it = mValidChannels.find(BandType::BAND_5GHZ); in GetValidBands() 66 bands.push_back(BandType::BAND_5GHZ); in GetValidBands() 98 band = static_cast<int>(BandType::BAND_5GHZ); in UpdateValidChannels() 118 chanTbs[BandType::BAND_5GHZ].push_back(channel); in UpdateValidChannels() 271 return BandType::BAND_5GHZ; in TransformFreqToBand() 281 return BandType::BAND_5GHZ; in TransformChannelToBand()
|
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_ap/ |
H A D | ap_service.cpp | 210 …WifiConfigCenter::GetInstance().GetApIfaceName(), static_cast<int>(BandType::BAND_5GHZ), allowed5G… in GetValidBands() 217 bands.push_back(BandType::BAND_5GHZ); in GetValidBands() 253 …WifiConfigCenter::GetInstance().GetApIfaceName(), static_cast<int>(BandType::BAND_5GHZ), allowed5G… in GetValidChannels() 264 ChanTbs[BandType::BAND_5GHZ] = allowed5GChan; in GetValidChannels() 268 if (band == BandType::BAND_2GHZ || band == BandType::BAND_5GHZ) { in GetValidChannels()
|
H A D | ap_config_use.cpp | 52 case BandType::BAND_5GHZ: in UpdateApChannelConfig() 88 std::vector<int> channels = GetChannelFromDrvOrXmlByBand(BandType::BAND_5GHZ); in GetBestChannelFor5G() 239 {SoftapChannelPolicyParser::XML_TAG_CHANNEL_5G_LIST, BandType::BAND_5GHZ}, in SoftapChannelPolicyParser() 381 case BandType::BAND_5GHZ: in ParsePreferredChannelsList() 383 m_preferredChannels.insert({BandType::BAND_5GHZ, channels}); in ParsePreferredChannelsList()
|
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/unittest/common/ |
H A D | wifi_channel_helper_test.cpp | 56 { BandType::BAND_5GHZ, { 5180, 5200, 5220, 5240, 5745, 5765, 5785, 5805, 5825 }}}; 151 EXPECT_TRUE(WifiChannelHelper::GetInstance().TransformFreqToBand(5200) == BandType::BAND_5GHZ); 157 EXPECT_TRUE(WifiChannelHelper::GetInstance().TransformChannelToBand(40) == BandType::BAND_5GHZ);
|
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/config/ |
H A D | wifi_config_country_freqs.h | 35 { "CN", BandType::BAND_5GHZ, {5180, 5200, 5220, 5240, 5745, 5765, 5785, 5805, 5825} },
|
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_ap/ |
H A D | ap_service_test.cpp | 156 …ChannelsTable temp = { { BandType::BAND_2GHZ, band_2G_channel }, { BandType::BAND_5GHZ, band_5G_ch… 162 …EXPECT_EQ(ErrCode::WIFI_OPT_SUCCESS, pApService->GetValidChannels(BandType::BAND_5GHZ, vecChannels… 165 …EXPECT_EQ(ErrCode::WIFI_OPT_SUCCESS, pApService->GetValidChannels(BandType::BAND_5GHZ, vecChannels…
|
H A D | ap_config_use_test.cpp | 91 channels = m_apConfigUse->GetChannelFromDrvOrXmlByBand(BandType::BAND_5GHZ);
|
H A D | ap_started_state_test.cpp | 115 …channelTbs = { { BandType::BAND_2GHZ, band_2G_channel }, { BandType::BAND_5GHZ, band_5G_channel } … in SetUp()
|
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_p2p/ |
H A D | wifi_p2p_service.cpp | 398 if (linkedInfo.band == static_cast<int>(BandType::BAND_5GHZ)) { in GetP2pRecommendChannel() 413 if (channels.find(BandType::BAND_5GHZ) != channels.end()) { in GetP2pRecommendChannel() 414 vec5GChannels = channels[BandType::BAND_5GHZ]; in GetP2pRecommendChannel()
|
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/utils/ |
H A D | softap_parser.cpp | 134 hotspotConfig.SetBand(BandType::BAND_5GHZ); in TransBandinfo()
|
H A D | wifi_global_func.cpp | 388 return BandType::BAND_5GHZ; in TransformFreqToBand() 398 return BandType::BAND_5GHZ; in TransformChannelToBand()
|
/ohos5.0/foundation/communication/wifi/wifi/frameworks/native/interfaces/ |
H A D | wifi_ap_msg.h | 66 BAND_5GHZ = 2, /* 5GHz */ enumerator
|
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_toolkit/unittest/ |
H A D | wifi_global_func_test.cpp | 185 EXPECT_TRUE(TransformFreqToBand(5200) == BandType::BAND_5GHZ); 191 EXPECT_TRUE(TransformChannelToBand(40) == BandType::BAND_5GHZ);
|
H A D | wifi_config_file_test.cpp | 154 tmp.SetBand(BandType::BAND_5GHZ);
|
/ohos5.0/foundation/communication/wifi/wifi/test/fuzztest/wifi_sta/wifihotspotimpl_fuzzer/ |
H A D | wifihotspotimpl_fuzzer.cpp | 86 …ChannelsTable node{{ BandType::BAND_2GHZ, band_2G_channel }, { BandType::BAND_5GHZ, band_5G_channe… in SetHotspotConfigFuzzTest()
|
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_ap_sa/ |
H A D | wifi_hotspot_service_impl.cpp | 92 } else if (bands[i] == BandType::BAND_5GHZ) { in IsHotspotDualBandSupported() 167 (void)pService->GetValidChannels(BandType::BAND_5GHZ, valid5GChannel); in SetHotspotConfig() 739 case BandType::BAND_5GHZ: in ConfigInfoDump()
|
H A D | wifi_hotspot_stub.cpp | 191 if ((band != BandType::BAND_5GHZ && bandwidth == AP_BANDWIDTH_160) || in CheckHotspot160MParam() 193 (band == BandType::BAND_5GHZ && bandwidth == AP_BANDWIDTH_160 && in CheckHotspot160MParam()
|
/ohos5.0/foundation/communication/wifi/wifi/frameworks/js/napi/inc/ |
H A D | wifi_napi_utils.h | 179 BAND_5GHZ = 2, /* 5GHz */ enumerator
|
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_client/ |
H A D | wifi_client.cpp | 37 const int BAND_5GHZ = 2; variable 631 int bandType = (band == "2g" ? BAND_2GHZ : BAND_5GHZ); in HandleGetSignalLevel()
|
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_p2p_sa/ |
H A D | wifi_p2p_service_impl.cpp | 1321 if (channels.find(BandType::BAND_5GHZ) != channels.end()) { in Hid2dGetChannelListFor5G() 1322 vecChannelList = channels[BandType::BAND_5GHZ]; in Hid2dGetChannelListFor5G() 1327 …WifiSettings::GetInstance().SetDefaultFrequenciesByCountryBand(BandType::BAND_5GHZ, tempFrequencie… in Hid2dGetChannelListFor5G()
|
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_sta_sa/ |
H A D | wifi_device_service_impl.cpp | 1636 enum {BAND_2GHZ = 1, BAND_5GHZ = 2, BAND_6GHZ = 3, BAND_60GHZ = 4, BAND_ANY = 5}; in SaBasicDump() enumerator 1643 case BAND_5GHZ: in SaBasicDump() 1754 if (channels.find(BandType::BAND_5GHZ) != channels.end()) { in Get5GHzChannelList() 1755 result = channels[BandType::BAND_5GHZ]; in Get5GHzChannelList()
|
/ohos5.0/foundation/communication/wifi/wifi/frameworks/js/napi/src/ |
H A D | wifi_napi_hotspot.cpp | 127 if (config.GetBand() == BandType::BAND_5GHZ) { in GetHotspotconfigFromJs()
|
H A D | wifi_napi_entry.cpp | 236 …SetNamedPropertyByInteger(env, bandType, static_cast<int>(WifiBandTypeJS::BAND_5GHZ), "WIFI_BAND_5… in WifiBandTypeInit()
|
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/network_select/ |
H A D | wifi_filter_impl.cpp | 551 …if (linkedInfo.band == static_cast<int>(BandType::BAND_5GHZ) && curSignalLevel == SIGNAL_LEVEL_THR… in Filter()
|
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_sta/ |
H A D | sta_service_test.cpp | 143 …ChannelsTable temp = { { BandType::BAND_2GHZ, band_2G_channel }, { BandType::BAND_5GHZ, band_5G_ch… in StaServiceInitStaServiceSuccess()
|