Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DApConfigUtil.java303 List<Integer> allowedFreqList = null; in chooseApChannel() local
306 allowedFreqList = getAvailableChannelFreqsForBand(SoftApConfiguration.BAND_6GHZ, in chooseApChannel()
308 if (allowedFreqList != null && allowedFreqList.size() > 0) { in chooseApChannel()
309 return allowedFreqList.get(sRandom.nextInt(allowedFreqList.size())).intValue(); in chooseApChannel()
314 allowedFreqList = getAvailableChannelFreqsForBand(SoftApConfiguration.BAND_5GHZ, in chooseApChannel()
316 if (allowedFreqList != null && allowedFreqList.size() > 0) { in chooseApChannel()
317 return allowedFreqList.get(sRandom.nextInt(allowedFreqList.size())).intValue(); in chooseApChannel()
322 allowedFreqList = getAvailableChannelFreqsForBand(SoftApConfiguration.BAND_2GHZ, in chooseApChannel()
324 if (allowedFreqList != null && allowedFreqList.size() > 0) { in chooseApChannel()
325 return allowedFreqList.get(sRandom.nextInt(allowedFreqList.size())).intValue(); in chooseApChannel()