Searched refs:freqMhz (Results 1 – 3 of 3) sorted by relevance
931 public static boolean is24GHz(int freqMhz) { in is24GHz() argument932 return freqMhz >= BAND_24_GHZ_START_FREQ_MHZ && freqMhz <= BAND_24_GHZ_END_FREQ_MHZ; in is24GHz()942 public static boolean is5GHz(int freqMhz) { in is5GHz() argument943 return freqMhz >= BAND_5_GHZ_START_FREQ_MHZ && freqMhz <= BAND_5_GHZ_END_FREQ_MHZ; in is5GHz()953 public static boolean is6GHz(int freqMhz) { in is6GHz() argument954 if (freqMhz == BAND_6_GHZ_OP_CLASS_136_CH_2_FREQ_MHZ) { in is6GHz()957 return (freqMhz >= BAND_6_GHZ_START_FREQ_MHZ && freqMhz <= BAND_6_GHZ_END_FREQ_MHZ); in is6GHz()967 public static boolean is6GHzPsc(int freqMhz) { in is6GHzPsc() argument968 if (!ScanResult.is6GHz(freqMhz)) { in is6GHzPsc()971 return (freqMhz - BAND_6_GHZ_PSC_START_MHZ) % BAND_6_GHZ_PSC_STEP_SIZE_MHZ == 0; in is6GHzPsc()[all …]
160 apInfo.freqMhz = TEST_FREQ_24G; in mockApInfoChangedAndVerify()172 apInfo.freqMhz = TEST_FREQ_5G; in mockApInfoChangedAndVerify()
404 callback.onInfoChanged(info.apIfaceInstance, info.freqMhz, in onApInstanceInfoChanged()