Searched refs:vec5GChannels (Results 1 – 2 of 2) sorted by relevance
411 std::vector<int32_t> vec5GChannels; in GetP2pRecommendChannel() local414 vec5GChannels = channels[BandType::BAND_5GHZ]; in GetP2pRecommendChannel()417 if (!vec5GChannels.empty()) { in GetP2pRecommendChannel()418 auto it = std::find(vec5GChannels.begin(), vec5GChannels.end(), commonUsing5gChannel); in GetP2pRecommendChannel()419 if (it != vec5GChannels.end()) { in GetP2pRecommendChannel()422 channel = vec5GChannels[0]; in GetP2pRecommendChannel()
1539 std::vector<int> vec5GChannels; in Get5GHzChannelList() local1540 ErrCode ret = wifiDevicePtr->Get5GHzChannelList(vec5GChannels); in Get5GHzChannelList()1546 WIFI_LOGI("Get 5g channellist size: %{public}zu", vec5GChannels.size()); in Get5GHzChannelList()1548 napi_create_array_with_length(env, vec5GChannels.size(), &arrayResult); in Get5GHzChannelList()1549 for (size_t i = 0; i != vec5GChannels.size(); ++i) { in Get5GHzChannelList()1551 napi_create_uint32(env, vec5GChannels[i], &result); in Get5GHzChannelList()