Home
last modified time | relevance | path

Searched refs:BAND_5GHZ (Results 1 – 25 of 29) sorted by relevance

12

/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_common/
H A Dwifi_channel_helper.cpp64 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 Dap_service.cpp210 …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 Dap_config_use.cpp52 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 Dwifi_channel_helper_test.cpp56 { 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 Dwifi_config_country_freqs.h35 { "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 Dap_service_test.cpp156 …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 Dap_config_use_test.cpp91 channels = m_apConfigUse->GetChannelFromDrvOrXmlByBand(BandType::BAND_5GHZ);
H A Dap_started_state_test.cpp115 …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 Dwifi_p2p_service.cpp398 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 Dsoftap_parser.cpp134 hotspotConfig.SetBand(BandType::BAND_5GHZ); in TransBandinfo()
H A Dwifi_global_func.cpp388 return BandType::BAND_5GHZ; in TransformFreqToBand()
398 return BandType::BAND_5GHZ; in TransformChannelToBand()
/ohos5.0/foundation/communication/wifi/wifi/frameworks/native/interfaces/
H A Dwifi_ap_msg.h66 BAND_5GHZ = 2, /* 5GHz */ enumerator
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_toolkit/unittest/
H A Dwifi_global_func_test.cpp185 EXPECT_TRUE(TransformFreqToBand(5200) == BandType::BAND_5GHZ);
191 EXPECT_TRUE(TransformChannelToBand(40) == BandType::BAND_5GHZ);
H A Dwifi_config_file_test.cpp154 tmp.SetBand(BandType::BAND_5GHZ);
/ohos5.0/foundation/communication/wifi/wifi/test/fuzztest/wifi_sta/wifihotspotimpl_fuzzer/
H A Dwifihotspotimpl_fuzzer.cpp86 …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 Dwifi_hotspot_service_impl.cpp92 } 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 Dwifi_hotspot_stub.cpp191 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 Dwifi_napi_utils.h179 BAND_5GHZ = 2, /* 5GHz */ enumerator
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_client/
H A Dwifi_client.cpp37 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 Dwifi_p2p_service_impl.cpp1321 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 Dwifi_device_service_impl.cpp1636 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 Dwifi_napi_hotspot.cpp127 if (config.GetBand() == BandType::BAND_5GHZ) { in GetHotspotconfigFromJs()
H A Dwifi_napi_entry.cpp236 …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 Dwifi_filter_impl.cpp551 …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 Dsta_service_test.cpp143 …ChannelsTable temp = { { BandType::BAND_2GHZ, band_2G_channel }, { BandType::BAND_5GHZ, band_5G_ch… in StaServiceInitStaServiceSuccess()

12