Home
last modified time | relevance | path

Searched refs:FrequencyToChannel (Results 1 – 9 of 9) sorted by relevance

/ohos5.0/foundation/communication/wifi/wifi/test/wifi_utils/unittest/
H A Dwifi_common_util_test.cpp76 EXPECT_EQ(FrequencyToChannel(FREQ_2G_MIN), 1);
77 EXPECT_EQ(FrequencyToChannel(CHANNEL_14_FREQ), CHANNEL_14);
78 EXPECT_EQ(FrequencyToChannel(FREQ_5G_MIN), CHANNEL_5G_MIN);
79 EXPECT_EQ(FrequencyToChannel(CHANNEL_5G_MIN), INVALID_FREQ_OR_CHANNEL);
/ohos5.0/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/adapter/
H A Dp2p_adapter.cpp207 int32_t channel = WifiDirectUtils::FrequencyToChannel(frequency); in GetStationFrequencyWithFilter()
234 return WifiDirectUtils::FrequencyToChannel(response.centerFreq); in GetRecommendChannel()
238 return WifiDirectUtils::FrequencyToChannel(response.centerFreq1); in GetRecommendChannel()
/ohos5.0/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/utils/
H A Dwifi_direct_utils.h54 static int FrequencyToChannel(int frequency);
H A Dwifi_direct_utils.cpp128 int WifiDirectUtils::FrequencyToChannel(int frequency) in FrequencyToChannel() function in OHOS::SoftBus::WifiDirectUtils
562 int channel = FrequencyToChannel(frequency); in IsDfsChannel()
/ohos5.0/foundation/communication/wifi/wifi/utils/inc/
H A Dwifi_common_util.h276 int FrequencyToChannel(int freq);
/ohos5.0/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/processor/
H A Dp2p_v1_processor.cpp1209 dlink.channelId = WifiDirectUtils::FrequencyToChannel(link.GetFrequency()); in ProcessReuseResponse()
1281 dlink.channelId = WifiDirectUtils::FrequencyToChannel(link.GetFrequency()); in ProcessAuthHandShakeRequest()
1437 dlink.channelId = WifiDirectUtils::FrequencyToChannel(link.GetFrequency()); in ProcessConnectResponseAsGo()
1493 dlink.channelId = WifiDirectUtils::FrequencyToChannel(link.GetFrequency()); in ProcessConnectResponseWithGoInfoAsNone()
1544 dlink.channelId = WifiDirectUtils::FrequencyToChannel(link.GetFrequency()); in ProcessConnectResponseAtWaitAuthHandShake()
1999 sinkLink.channelId = WifiDirectUtils::FrequencyToChannel(interface.GetCenter20M()); in GenerateSinkLink()
/ohos5.0/foundation/communication/dsoftbus/tests/core/connection/wifi_direct_cpp/
H A Dwifi_direct_utils.cpp128 int WifiDirectUtils::FrequencyToChannel(int frequency) in FrequencyToChannel() function in OHOS::SoftBus::WifiDirectUtils
558 int channel = FrequencyToChannel(frequency); in IsDfsChannel()
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_p2p/
H A Dwifi_p2p_service.cpp397 channel = FrequencyToChannel(linkedInfo.frequency); in GetP2pRecommendChannel()
/ohos5.0/foundation/communication/wifi/wifi/utils/src/
H A Dwifi_common_util.cpp397 int FrequencyToChannel(int freq) in FrequencyToChannel() function