Home
last modified time | relevance | path

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

/packages/modules/Wifi/framework/java/android/net/wifi/aware/
DConfigRequest.java72 public static final int NAN_BAND_6GHZ = 2; field in ConfigRequest
274 if (mDiscoveryWindowInterval[NAN_BAND_6GHZ] != DW_INTERVAL_NOT_INIT in validate()
275 && (mDiscoveryWindowInterval[NAN_BAND_6GHZ] < 0 // valid for 6GHz: [0-5] in validate()
276 || mDiscoveryWindowInterval[NAN_BAND_6GHZ] > 5)) { in validate()
437 if (band != NAN_BAND_24GHZ && band != NAN_BAND_5GHZ && band != NAN_BAND_6GHZ) { in setDiscoveryWindowInterval()
442 || (band == NAN_BAND_6GHZ && (interval < 0 || interval > 5))) { in setDiscoveryWindowInterval()
/packages/modules/Wifi/service/java/com/android/server/wifi/hal/
DWifiNanIfaceAidlImpl.java664 if (configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_6GHZ] in createNanBandSpecificConfigs()
670 (byte) configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_6GHZ]; in createNanBandSpecificConfigs()
687 req.operateInBand[NanBandIndex.NAN_BAND_6GHZ] = configRequest.mSupport6gBand; in createNanEnableRequest()
705 req.configParams.bandSpecificConfig[NanBandIndex.NAN_BAND_6GHZ] = nanBandSpecificConfigs[2]; in createNanEnableRequest()
723 req.debugConfigs.discoveryChannelMhzVal[NanBandIndex.NAN_BAND_6GHZ] = 0; in createNanEnableRequest()
728 req.debugConfigs.useBeaconsInBandVal[NanBandIndex.NAN_BAND_6GHZ] = true; in createNanEnableRequest()
733 req.debugConfigs.useSdfInBandVal[NanBandIndex.NAN_BAND_6GHZ] = true; in createNanEnableRequest()
761 req.bandSpecificConfig[NanBandIndex.NAN_BAND_6GHZ] = nanBandSpecificConfigs[2]; in createNanConfigRequest()
777 updateSingleConfigForPowerSettings(req.bandSpecificConfig[NanBandIndex.NAN_BAND_6GHZ], in updateConfigForPowerSettings()
DWifiNanIfaceHidlImpl.java417 if (configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_6GHZ] in enableAndConfigureInternal()
424 .NAN_BAND_6GHZ]; in enableAndConfigureInternal()
437 req.operateInBand[android.hardware.wifi.V1_4.NanBandIndex.NAN_BAND_6GHZ] = in enableAndConfigureInternal()
456 android.hardware.wifi.V1_4.NanBandIndex.NAN_BAND_6GHZ] = config6; in enableAndConfigureInternal()
472 android.hardware.wifi.V1_4.NanBandIndex.NAN_BAND_6GHZ] = 0; in enableAndConfigureInternal()
477 android.hardware.wifi.V1_4.NanBandIndex.NAN_BAND_6GHZ] = true; in enableAndConfigureInternal()
482 android.hardware.wifi.V1_4.NanBandIndex.NAN_BAND_6GHZ] = true; in enableAndConfigureInternal()
567 req.bandSpecificConfig[android.hardware.wifi.V1_4.NanBandIndex.NAN_BAND_6GHZ] = in enableAndConfigureInternal()
1077 android.hardware.wifi.V1_4.NanBandIndex.NAN_BAND_6GHZ], in updateConfigForPowerSettings14()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/aware/
DWifiAwareManagerTest.java670 equalTo(configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_6GHZ])); in testConfigRequestBuilderDefaults()
689 .setDiscoveryWindowInterval(ConfigRequest.NAN_BAND_6GHZ, dwWindow6GHz); in testConfigRequestBuilder()
708 equalTo(configRequest.mDiscoveryWindowInterval[ConfigRequest.NAN_BAND_6GHZ])); in testConfigRequestBuilder()
802 .setDiscoveryWindowInterval(ConfigRequest.NAN_BAND_6GHZ, dwWindow6GHz); in testConfigRequestParcel()