Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
DApConfigUtilTest.java145 5955, SoftApConfiguration.BAND_6GHZ, 1,
146 5970, SoftApConfiguration.BAND_6GHZ, 4,
147 6110, SoftApConfiguration.BAND_6GHZ, 32,
304 | SoftApConfiguration.BAND_6GHZ)); in isMultibandSuccess()
306 | SoftApConfiguration.BAND_6GHZ)); in isMultibandSuccess()
308 | SoftApConfiguration.BAND_6GHZ)); in isMultibandSuccess()
310 | SoftApConfiguration.BAND_5GHZ | SoftApConfiguration.BAND_6GHZ)); in isMultibandSuccess()
320 assertFalse(ApConfigUtil.isMultiband(SoftApConfiguration.BAND_6GHZ)); in isMultibandFailure()
331 | SoftApConfiguration.BAND_6GHZ, SoftApConfiguration.BAND_2GHZ)); in containsBandSuccess()
333 | SoftApConfiguration.BAND_5GHZ | SoftApConfiguration.BAND_6GHZ, in containsBandSuccess()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DApConfigUtil.java110 sBandToOperatingClass.append(SoftApConfiguration.BAND_6GHZ, new int[]{131, 132, 133, 134, in sBandToOperatingClass.append() argument
130 if ((band & SoftApConfiguration.BAND_6GHZ) != 0) { in bandToString()
133 band &= ~SoftApConfiguration.BAND_6GHZ; in bandToString()
177 case SoftApConfiguration.BAND_6GHZ: in apConfig2wifiScannerBand()
210 return SoftApConfiguration.BAND_6GHZ; in convertFrequencyToBand()
270 | SoftApConfiguration.BAND_6GHZ | SoftApConfiguration.BAND_60GHZ; in isBandValid()
388 case SoftApConfiguration.BAND_6GHZ: in getConfiguredChannelList()
542 SoftApConfiguration.BAND_6GHZ, in chooseApChannel()
776 if ((configuredBand & SoftApConfiguration.BAND_6GHZ) != 0 in remove6gBandForUnsupportedSecurity()
780 builder.setBand(configuredBand & ~SoftApConfiguration.BAND_6GHZ); in remove6gBandForUnsupportedSecurity()
[all …]
/packages/apps/Settings/src/com/android/settings/wifi/repository/
DWifiHotspotRepository.java22 import static android.net.wifi.SoftApConfiguration.BAND_6GHZ;
67 public static final int BAND_2GHZ_5GHZ_6GHZ = BAND_2GHZ | BAND_5GHZ | BAND_6GHZ;
86 sSpeedMap.put(BAND_6GHZ, SPEED_6GHZ); in sSpeedMap.put() argument
302 keyBand &= ~BAND_6GHZ; in updateSpeedType()
304 if ((keyBand & BAND_6GHZ) != 0) { in updateSpeedType()
305 keyBand = BAND_6GHZ; in updateSpeedType()
360 if ((config.getBand() & BAND_6GHZ) != 0) { in setSpeedType()
656 mBand6g.hasCapability = softApCapability.getSupportedChannelList(BAND_6GHZ).length > 0; in onCapabilityChanged()
/packages/modules/Wifi/framework/java/android/net/wifi/
DSoftApCapability.java272 case SoftApConfiguration.BAND_6GHZ: in setSupportedChannelList()
306 case SoftApConfiguration.BAND_6GHZ: in getSupportedChannelList()
369 capability.setSupportedChannelList(SoftApConfiguration.BAND_6GHZ, in.createIntArray());
DSoftApConfiguration.java94 public static final int BAND_6GHZ = 1 << 2; field in SoftApConfiguration
114 public static final int BAND_ANY = BAND_2GHZ | BAND_5GHZ | BAND_6GHZ;
131 BAND_6GHZ,
140 public static int[] BAND_TYPES = {BAND_2GHZ, BAND_5GHZ, BAND_6GHZ, BAND_60GHZ};
143 int bandAny = BAND_2GHZ | BAND_5GHZ | BAND_6GHZ | BAND_60GHZ; in isBandValid()
187 case BAND_6GHZ: in isChannelBandPairValid()
1114 case BAND_6GHZ: in getAllowedAcsChannels()
1991 if ((band != BAND_2GHZ) && (band != BAND_5GHZ) && (band != BAND_6GHZ)) { in setAllowedAcsChannels()
2013 case BAND_6GHZ: in setAllowedAcsChannels()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiApConfigStoreTest.java99 | SoftApConfiguration.BAND_6GHZ;
101 | SoftApConfiguration.BAND_6GHZ | SoftApConfiguration.BAND_60GHZ;
632 SoftApConfiguration.BAND_2GHZ | SoftApConfiguration.BAND_6GHZ); in generateLocalOnlyHotspotConfigWhenOverlayConfigureTo6G()
657 | SoftApConfiguration.BAND_6GHZ); in generateLocalOnlyHotspotConfigWhenOverlayConfigureTo5GAnd6G()
678 customConfigBuilder.setBand(SoftApConfiguration.BAND_6GHZ); in generateLohsConfig_forwardsCustomBand()
681 assertThat(softApConfig.getBand()).isEqualTo(SoftApConfiguration.BAND_6GHZ); in generateLohsConfig_forwardsCustomBand()
840 configBuilder.setBand(SoftApConfiguration.BAND_6GHZ); in test6ghzRestrictionsSecurityTypes()
1104 configBuilder.setBand(SoftApConfiguration.BAND_6GHZ); in testResetToDefaultForUnsupportedConfig()
1317 testConfigBuilder.setBand(SoftApConfiguration.BAND_6GHZ); in testSanitizePersistentApConfig()
1320 | SoftApConfiguration.BAND_6GHZ); in testSanitizePersistentApConfig()
[all …]
DSoftApManagerTest.java174 | SoftApConfiguration.BAND_6GHZ;
780 configBuilder.setBand(SoftApConfiguration.BAND_6GHZ); in startSoftApOn6GhzFailGeneralErrorForNoCountryCode()
846 configBuilder.setBand(SoftApConfiguration.BAND_6GHZ); in startSoftApOn6GhzFailGeneralErrorForCountryCodeSetFailure()
3383 SoftApConfiguration.BAND_2GHZ | SoftApConfiguration.BAND_6GHZ}; in testBridgedModeFallbackToSingleModeDueToUnavailableBand()
3387 SoftApConfiguration.BAND_6GHZ, new int[]{5, 21}); in testBridgedModeFallbackToSingleModeDueToUnavailableBand()
3397 configBuilder.setBand(SoftApConfiguration.BAND_2GHZ | SoftApConfiguration.BAND_6GHZ); in testBridgedModeFallbackToSingleModeDueToUnavailableBand()
3405 int[] dual_bands = {SoftApConfiguration.BAND_2GHZ | SoftApConfiguration.BAND_6GHZ, in testBridgedModeWorksEvenIfABandIsUnavailableInBandArray()
3408 testCapability.setSupportedChannelList(SoftApConfiguration.BAND_6GHZ, new int[0]); in testBridgedModeWorksEvenIfABandIsUnavailableInBandArray()
DSoftApBackupRestoreTest.java194 configBuilder.setBand(SoftApConfiguration.BAND_6GHZ); in testSoftApConfigBackupAndRestoreWith6GOWEConfig()
DHostapdHalAidlImpTest.java106 | SoftApConfiguration.BAND_6GHZ;
DHostapdHalHidlImpTest.java76 | SoftApConfiguration.BAND_6GHZ;
DWifiServiceImplTest.java2736 .setBand(SoftApConfiguration.BAND_6GHZ) in testStartTetheredHotspotWithSupported6gBand()
2758 .setBand(SoftApConfiguration.BAND_6GHZ) in testStartTetheredHotspotWithUnSupported6gBand()
2777 .setBand(SoftApConfiguration.BAND_6GHZ) in testStartTetheredHotspotWithUnSupportedSoftAp6gBand()
10733 .setBand(SoftApConfiguration.BAND_6GHZ) in testFailureCallbacksTriggeredWhenSoftApFailsBecauseNonSupportedConfiguration()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiApConfigStore.java393 if ((newBand & SoftApConfiguration.BAND_6GHZ) != 0 in sanitizePersistentApConfig()
533 && ApConfigUtil.isBandSupported(SoftApConfiguration.BAND_6GHZ, mContext)) { in generateLocalOnlyHotspotConfig()
534 desiredBand |= SoftApConfiguration.BAND_6GHZ; in generateLocalOnlyHotspotConfig()
687 if (band == SoftApConfiguration.BAND_6GHZ in validateApWifiConfiguration()
DHostapdHalAidlImp.java647 if (ApConfigUtil.containsBand(apBand, SoftApConfiguration.BAND_6GHZ)) { in getHalBandMask()
669 if ((band & SoftApConfiguration.BAND_6GHZ) != 0) { in prepareAcsChannelFreqRangesMhz()
670 ranges.addAll(toAcsFreqRanges(SoftApConfiguration.BAND_6GHZ, config)); in prepareAcsChannelFreqRangesMhz()
698 case SoftApConfiguration.BAND_6GHZ: in toAcsFreqRanges()
910 SoftApConfiguration.BAND_6GHZ, mContext); in prepareHwModeParams()
DHostapdHalHidlImp.java791 ApConfigUtil.isBandSupported(SoftApConfiguration.BAND_6GHZ, mContext); in updateIfaceParams_1_2FromResource()
971 if (ApConfigUtil.containsBand(apBand, SoftApConfiguration.BAND_6GHZ)) { in getHalBandMask()
1050 if ((band & SoftApConfiguration.BAND_6GHZ) != 0) { in prepareAcsChannelFreqRangesMhz()
1052 toAcsFreqRanges(SoftApConfiguration.BAND_6GHZ, config)); in prepareAcsChannelFreqRangesMhz()
1080 case SoftApConfiguration.BAND_6GHZ: in toAcsFreqRanges()
DWifiShellCommand.java660 SoftApConfiguration.BAND_6GHZ, 0, in onCommand()
749 || (band == SoftApConfiguration.BAND_6GHZ in onCommand()
2339 configBuilder.setBand(SoftApConfiguration.BAND_6GHZ); in buildSoftApConfiguration()
2342 | SoftApConfiguration.BAND_5GHZ | SoftApConfiguration.BAND_6GHZ); in buildSoftApConfiguration()
2357 SoftApConfiguration.BAND_2GHZ, SoftApConfiguration.BAND_6GHZ}); in buildSoftApConfiguration()
2361 SoftApConfiguration.BAND_5GHZ, SoftApConfiguration.BAND_6GHZ}); in buildSoftApConfiguration()
DSoftApManager.java808 if (band == SoftApConfiguration.BAND_5GHZ || band == SoftApConfiguration.BAND_6GHZ) { in setCountryCode()
819 if (band == SoftApConfiguration.BAND_5GHZ || band == SoftApConfiguration.BAND_6GHZ) { in setCountryCode()
1939 SoftApConfiguration.BAND_6GHZ)); in updateUserBandPreferenceViolationMetricsIfNeeded()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DSoftApConfigurationTest.java571 .setBand(SoftApConfiguration.BAND_6GHZ) in testToWifiConfigurationWithUnsupportedParameter()
768 invalid_channels.put(SoftApConfiguration.BAND_6GHZ, 2); in testInvalidConfigWhenSetChannels()
852 assertEquals(0, config.getAllowedAcsChannels(SoftApConfiguration.BAND_6GHZ).length); in testSetAllowedAcsChannels()
861 .setAllowedAcsChannels(SoftApConfiguration.BAND_6GHZ, channels6g) in testSetAllowedAcsChannels()
865 assertArrayEquals(channels6g, config.getAllowedAcsChannels(SoftApConfiguration.BAND_6GHZ)); in testSetAllowedAcsChannels()
884 .setAllowedAcsChannels(SoftApConfiguration.BAND_6GHZ, channels6g)); in testSetAllowedAcsChannelsInvalidValues()
/packages/modules/Wifi/service/java/com/android/server/wifi/hal/
DWifiChipAidlImpl.java1393 halUnsafeChannel.band = WifiBand.BAND_6GHZ; in frameworkToHalCoexUnsafeChannels()
1498 return WifiBand.BAND_6GHZ; in frameworkToHalWifiBand()
1630 if (bitmapContains(halBand, WifiBand.BAND_6GHZ)) { in halToFrameworkWifiBand()
DWifiChipHidlImpl.java1975 return WifiBand.BAND_6GHZ; in frameworkToHalWifiBand()
2007 if (bitmapContains(halBand, WifiBand.BAND_6GHZ)) { in halToFrameworkWifiBand()
2143 hidlUnsafeChannel.band = WifiBand.BAND_6GHZ; in frameworkCoexUnsafeChannelsToHidl()
DWifiStaIfaceAidlImpl.java1601 return WifiBand.BAND_6GHZ; in frameworkToHalWifiBand()
DWifiStaIfaceHidlImpl.java1441 return WifiBand.BAND_6GHZ; in frameworkToHalWifiBand()
/packages/modules/Wifi/framework/api/
Dsystem-current.txt444 field public static final int BAND_6GHZ = 4; // 0x4