Home
last modified time | relevance | path

Searched refs:WifiScanner (Results 1 – 25 of 49) sorted by relevance

12

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
DChannelHelperTest.java29 import android.net.wifi.WifiScanner;
57 WifiScanner.ScanSettings scanSettings = createRequest(WifiScanner.WIFI_BAND_BOTH, in scanSettings_band()
58 10000, 0, 20, WifiScanner.REPORT_EVENT_AFTER_EACH_SCAN); in scanSettings_band()
67 WifiScanner.ScanSettings scanSettings = createRequest(channelsToSpec(5150, 2400), in scanSettings_channels()
68 10000, 0, 20, WifiScanner.REPORT_EVENT_AFTER_EACH_SCAN); in scanSettings_channels()
77 WifiScanner.ScanSettings scanSettings = createRequest(WifiScanner.WIFI_BAND_5_GHZ, in bucketSettings_band()
78 10000, 0, 20, WifiScanner.REPORT_EVENT_AFTER_EACH_SCAN); in bucketSettings_band()
88 WifiScanner.ScanSettings scanSettings = createRequest(channelsToSpec(2400, 5100), in bucketSettings_channels()
89 10000, 0, 20, WifiScanner.REPORT_EVENT_AFTER_EACH_SCAN); in bucketSettings_channels()
101 WifiScanner.WIFI_BAND_UNSPECIFIED)); in bandToString_ShouldReturnApproapriateString()
[all …]
DBackgroundScanSchedulerTest.java29 import android.net.wifi.WifiScanner;
30 import android.net.wifi.WifiScanner.ScanSettings;
95 WifiScanner.WIFI_BAND_BOTH, 30000, 0, 20, in singleRequest()
96 WifiScanner.REPORT_EVENT_FULL_SCAN_RESULT in singleRequest()
112 WifiScanner.WIFI_BAND_BOTH, 7500, 0, 20, in singleRequestWithoutPredefinedBucket()
113 WifiScanner.REPORT_EVENT_FULL_SCAN_RESULT in singleRequestWithoutPredefinedBucket()
129 requests.add(createRequest(WifiScanner.WIFI_BAND_BOTH, 30000, 0, 20, in fewRequests()
130 WifiScanner.REPORT_EVENT_FULL_SCAN_RESULT)); in fewRequests()
131 requests.add(createRequest(WifiScanner.WIFI_BAND_5_GHZ_DFS_ONLY, 14000, 0, 20, in fewRequests()
132 WifiScanner.REPORT_EVENT_FULL_SCAN_RESULT)); in fewRequests()
[all …]
DWifiScanningServiceTest.java60 import android.net.wifi.WifiScanner;
183 private WifiScanner.ScanSettings generateValidScanSettings() { in generateValidScanSettings()
184 return createRequest(WifiScanner.WIFI_BAND_BOTH, 30000, 0, 20, in generateValidScanSettings()
185 WifiScanner.REPORT_EVENT_AFTER_EACH_SCAN); in generateValidScanSettings()
237 WifiScanner.ScanData... expected) { in verifyScanResultsReceived()
239 WifiScanner.CMD_SCAN_RESULT); in verifyScanResultsReceived()
243 private static void assertScanResultsMessage(int listenerId, WifiScanner.ScanData[] expected, in assertScanResultsMessage()
245 assertEquals("what", WifiScanner.CMD_SCAN_RESULT, scanResultMessage.what); in assertScanResultsMessage()
248 ((WifiScanner.ParcelableScanData) scanResultMessage.obj).getResults()); in assertScanResultsMessage()
254 WifiScanner.CMD_SINGLE_SCAN_COMPLETED); in verifySingleScanCompletedReceived()
[all …]
DScanScheduleUtilFilterTest.java30 import android.net.wifi.WifiScanner;
31 import android.net.wifi.WifiScanner.ScanData;
32 import android.net.wifi.WifiScanner.ScanSettings;
59 WifiScanner.WIFI_BAND_24_GHZ, 30000, 0, 20, in reportFullResultTrueForBandsWithNoBucketInfo()
60 WifiScanner.REPORT_EVENT_FULL_SCAN_RESULT in reportFullResultTrueForBandsWithNoBucketInfo()
70 WifiScanner.WIFI_BAND_24_GHZ, 30000, 0, 20, in reportFullResultFalseForBandsWithNoBucketInfo()
71 WifiScanner.REPORT_EVENT_FULL_SCAN_RESULT in reportFullResultFalseForBandsWithNoBucketInfo()
82 WifiScanner.REPORT_EVENT_FULL_SCAN_RESULT in reportFullResultTrueForChannelsWithNoBucketInfo()
93 WifiScanner.REPORT_EVENT_FULL_SCAN_RESULT in reportFullResultFalseForChannelsWithNoBucketInfo()
104 WifiScanner.REPORT_EVENT_FULL_SCAN_RESULT in reportFullResultTrueForChannelsWithBucketDefinitlyScanned()
[all …]
DBaseWifiScannerImplTest.java29 import android.net.wifi.WifiScanner;
30 import android.net.wifi.WifiScanner.ScanData;
116 .addBucketWithBand(10000 /* ms */, WifiScanner.REPORT_EVENT_AFTER_EACH_SCAN, in singleScanSuccess()
117 WifiScanner.WIFI_BAND_24_GHZ) in singleScanSuccess()
121 expectedBandScanFreqs(WifiScanner.WIFI_BAND_24_GHZ), in singleScanSuccess()
123 ScanResults.create(0, WifiScanner.WIFI_BAND_24_GHZ, in singleScanSuccess()
132 .addBucketWithChannels(20000, WifiScanner.REPORT_EVENT_AFTER_EACH_SCAN, 5650) in singleScanSuccessWithChannels()
137 ScanResults.create(0, WifiScanner.WIFI_BAND_UNSPECIFIED, in singleScanSuccessWithChannels()
147 .addBucketWithChannels(20000, WifiScanner.REPORT_EVENT_AFTER_EACH_SCAN, 5650) in singleScanSuccessWithChannelsAndHighAccuracyType()
152 ScanResults.create(0, WifiScanner.WIFI_BAND_UNSPECIFIED, in singleScanSuccessWithChannelsAndHighAccuracyType()
[all …]
DKnownBandsChannelHelperTest.java30 import android.net.wifi.WifiScanner;
80 WifiScanner.ScanSettings testSettings = createRequest(channelsToSpec(2400, 2450, 5100), in fewChannels()
81 10000, 0, 20, WifiScanner.REPORT_EVENT_AFTER_EACH_SCAN); in fewChannels()
92 WifiScanner.ScanSettings testSettings = createRequest(WifiScanner.WIFI_BAND_24_GHZ, in band()
93 10000, 0, 20, WifiScanner.REPORT_EVENT_AFTER_EACH_SCAN); in band()
121 WifiScanner.ChannelSpec[] channels = in testBand()
135 testBand(CHANNELS_24_GHZ, WifiScanner.WIFI_BAND_24_GHZ); in channels24Ghz()
143 testBand(CHANNELS_5_GHZ, WifiScanner.WIFI_BAND_5_GHZ); in channels5Ghz()
151 testBand(CHANNELS_DFS, WifiScanner.WIFI_BAND_5_GHZ_DFS_ONLY); in channelsDfs()
163 testBand(expectedChannels, WifiScanner.WIFI_BAND_BOTH); in channels24GhzAnd5Ghz()
[all …]
DWificondScannerTest.java27 import android.net.wifi.WifiScanner;
83 .addBucketWithBand(10000 /* ms */, WifiScanner.REPORT_EVENT_AFTER_EACH_SCAN, in singleScanNotIssuedIfNoAvailableChannels()
84 WifiScanner.WIFI_BAND_5_GHZ) in singleScanNotIssuedIfNoAvailableChannels()
114 .addBucketWithBand(10000 /* ms */, WifiScanner.REPORT_EVENT_AFTER_EACH_SCAN, in externalScanResultsAfterOurScanDoNotCauseSpuriousTimerCancellationOrCrash()
115 WifiScanner.WIFI_BAND_24_GHZ) in externalScanResultsAfterOurScanDoNotCauseSpuriousTimerCancellationOrCrash()
119 expectedBandScanFreqs(WifiScanner.WIFI_BAND_24_GHZ), in externalScanResultsAfterOurScanDoNotCauseSpuriousTimerCancellationOrCrash()
121 ScanResults.create(0, WifiScanner.WIFI_BAND_24_GHZ, in externalScanResultsAfterOurScanDoNotCauseSpuriousTimerCancellationOrCrash()
139 .addBucketWithBand(10000 /* ms */, WifiScanner.REPORT_EVENT_AFTER_EACH_SCAN, in lateScanResultsDoNotCauseSpuriousTimerCancellationOrCrash()
140 WifiScanner.WIFI_BAND_24_GHZ) in lateScanResultsDoNotCauseSpuriousTimerCancellationOrCrash()
DWificondPnoScannerTest.java27 import android.net.wifi.WifiScanner;
165 WifiScanner.REPORT_EVENT_AFTER_EACH_SCAN, in createDummyScanSettings()
167 ? WifiScanner.WIFI_BAND_BOTH_WITH_DFS : WifiScanner.WIFI_BAND_24_GHZ) in createDummyScanSettings()
173 return ScanResults.create(0, WifiScanner.WIFI_BAND_UNSPECIFIED, 2400, 2450, 2450, 2400, in createDummyScanResults()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
DChannelHelper.java19 import android.net.wifi.WifiScanner;
40 protected static final WifiScanner.ChannelSpec[] NO_CHANNELS = new WifiScanner.ChannelSpec[0];
50 public abstract boolean settingsContainChannel(WifiScanner.ScanSettings settings, int channel); in settingsContainChannel()
56 public abstract WifiScanner.ChannelSpec[] getAvailableScanChannels(int band); in getAvailableScanChannels()
61 public abstract int estimateScanDuration(WifiScanner.ScanSettings settings); in estimateScanDuration()
127 public void addChannels(WifiScanner.ScanSettings scanSettings) { in addChannels()
128 if (scanSettings.band == WifiScanner.WIFI_BAND_UNSPECIFIED) { in addChannels()
141 if (bucketSettings.band == WifiScanner.WIFI_BAND_UNSPECIFIED) { in addChannels()
153 public boolean containsSettings(WifiScanner.ScanSettings scanSettings) { in containsSettings()
154 if (scanSettings.band == WifiScanner.WIFI_BAND_UNSPECIFIED) { in containsSettings()
[all …]
DKnownBandsChannelHelper.java19 import android.net.wifi.WifiScanner;
32 private WifiScanner.ChannelSpec[][] mBandsToChannels;
35 mBandsToChannels = new WifiScanner.ChannelSpec[8][]; in setBandChannels()
39 mBandsToChannels[1] = new WifiScanner.ChannelSpec[channels2G.length]; in setBandChannels()
42 mBandsToChannels[2] = new WifiScanner.ChannelSpec[channels5G.length]; in setBandChannels()
45 mBandsToChannels[3] = new WifiScanner.ChannelSpec[channels2G.length + channels5G.length]; in setBandChannels()
49 mBandsToChannels[4] = new WifiScanner.ChannelSpec[channelsDfs.length]; in setBandChannels()
52 mBandsToChannels[5] = new WifiScanner.ChannelSpec[channels2G.length + channelsDfs.length]; in setBandChannels()
56 mBandsToChannels[6] = new WifiScanner.ChannelSpec[channels5G.length + channelsDfs.length]; in setBandChannels()
60 mBandsToChannels[7] = new WifiScanner.ChannelSpec[ in setBandChannels()
[all …]
DWifiScanningServiceImpl.java27 import android.net.wifi.WifiScanner;
28 import android.net.wifi.WifiScanner.ChannelSpec;
29 import android.net.wifi.WifiScanner.PnoSettings;
30 import android.net.wifi.WifiScanner.ScanData;
31 import android.net.wifi.WifiScanner.ScanSettings;
119 b.putIntegerArrayList(WifiScanner.GET_AVAILABLE_CHANNELS_EXTRA, list); in getAvailableChannels()
133 return (msgWhat == WifiScanner.CMD_ENABLE in isPrivilegedMessage()
134 || msgWhat == WifiScanner.CMD_DISABLE in isPrivilegedMessage()
135 || msgWhat == WifiScanner.CMD_START_PNO_SCAN in isPrivilegedMessage()
136 || msgWhat == WifiScanner.CMD_STOP_PNO_SCAN in isPrivilegedMessage()
[all …]
DWificondScannerImpl.java22 import android.net.wifi.WifiScanner;
75 private WifiScanner.ScanData mLatestSingleScanResult =
76 new WifiScanner.ScanData(0, 0, new ScanResult[0]);
170 & WifiScanner.REPORT_EVENT_FULL_SCAN_RESULT) != 0) { in startSingleScan()
230 public WifiScanner.ScanData getLatestSingleScanResults() { in getLatestSingleScanResults()
353 if (channelCollection.containsBand(WifiScanner.WIFI_BAND_BOTH_WITH_DFS)) { in getBandScanned()
354 return WifiScanner.WIFI_BAND_BOTH_WITH_DFS; in getBandScanned()
355 } else if (channelCollection.containsBand(WifiScanner.WIFI_BAND_BOTH)) { in getBandScanned()
356 return WifiScanner.WIFI_BAND_BOTH; in getBandScanned()
357 } else if (channelCollection.containsBand(WifiScanner.WIFI_BAND_5_GHZ_WITH_DFS)) { in getBandScanned()
[all …]
DWificondChannelHelper.java19 import android.net.wifi.WifiScanner;
43 mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_24_GHZ); in updateChannels()
45 int[] channels5G = mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_5_GHZ); in updateChannels()
48 mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_5_GHZ_DFS_ONLY); in updateChannels()
DBackgroundScanScheduler.java22 import android.net.wifi.WifiScanner;
23 import android.net.wifi.WifiScanner.ScanData;
24 import android.net.wifi.WifiScanner.ScanSettings;
198 int reportEvents = WifiScanner.REPORT_EVENT_NO_BATCH; in createBucketSettings()
204 WifiScanner.ScanSettings setting = mScanSettingsList.get(i); in createBucketSettings()
206 if ((requestedReportEvents & WifiScanner.REPORT_EVENT_NO_BATCH) == 0) { in createBucketSettings()
207 reportEvents &= ~WifiScanner.REPORT_EVENT_NO_BATCH; in createBucketSettings()
209 if ((requestedReportEvents & WifiScanner.REPORT_EVENT_AFTER_EACH_SCAN) != 0) { in createBucketSettings()
210 reportEvents |= WifiScanner.REPORT_EVENT_AFTER_EACH_SCAN; in createBucketSettings()
212 if ((requestedReportEvents & WifiScanner.REPORT_EVENT_FULL_SCAN_RESULT) != 0) { in createBucketSettings()
[all …]
DWifiScannerImpl.java21 import android.net.wifi.WifiScanner;
111 public abstract WifiScanner.ScanData getLatestSingleScanResults(); in getLatestSingleScanResults()
141 public abstract WifiScanner.ScanData[] getLatestBatchedScanResults(boolean flush); in getLatestBatchedScanResults()
DHalWifiScannerImpl.java20 import android.net.wifi.WifiScanner;
85 public WifiScanner.ScanData getLatestSingleScanResults() { in getLatestSingleScanResults()
117 public WifiScanner.ScanData[] getLatestBatchedScanResults(boolean flush) { in getLatestBatchedScanResults()
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiScannerTest.java34 import android.net.wifi.WifiScanner.PnoSettings;
35 import android.net.wifi.WifiScanner.PnoSettings.PnoNetwork;
36 import android.net.wifi.WifiScanner.ScanData;
37 import android.net.wifi.WifiScanner.ScanSettings;
81 private WifiScanner mWifiScanner;
97 mWifiScanner = new WifiScanner(mContext, mService, mLooper.getLooper()); in setUp()
115 writeSettings.type = WifiScanner.TYPE_LOW_POWER; in verifyScanSettingsParcelWithBand()
116 writeSettings.band = WifiScanner.WIFI_BAND_BOTH_WITH_DFS; in verifyScanSettingsParcelWithBand()
130 writeSettings.type = WifiScanner.TYPE_HIGH_ACCURACY; in verifyScanSettingsParcelWithChannels()
131 writeSettings.band = WifiScanner.WIFI_BAND_UNSPECIFIED; in verifyScanSettingsParcelWithChannels()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DScanTestUtil.java24 import android.net.wifi.WifiScanner;
25 import android.net.wifi.WifiScanner.ScanData;
43 when(wifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_24_GHZ)) in setupMockChannels()
45 when(wifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_5_GHZ)) in setupMockChannels()
47 when(wifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_5_GHZ_DFS_ONLY)) in setupMockChannels()
51 public static WifiScanner.ScanSettings createRequest(WifiScanner.ChannelSpec[] channels, in createRequest()
53 WifiScanner.ScanSettings request = new WifiScanner.ScanSettings(); in createRequest()
54 request.band = WifiScanner.WIFI_BAND_UNSPECIFIED; in createRequest()
63 public static WifiScanner.ScanSettings createRequest(int type, int band, int period, int batch, in createRequest()
65 return createRequest(WifiScanner.TYPE_HIGH_ACCURACY, band, period, 0, 0, in createRequest()
[all …]
DWakeupControllerTest.java34 import android.net.wifi.WifiScanner;
74 @Mock private WifiScanner mWifiScanner;
87 private WifiScanner.ScanData[] mTestScanDatas;
99 when(mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_5_GHZ_DFS_ONLY)) in setUp()
113 mTestScanDatas = new WifiScanner.ScanData[1]; in setUp()
114 mTestScanDatas[0] = new WifiScanner.ScanData(0 /* id */, 0 /* flags */, in setUp()
115 0 /* bucketsScanned */, WifiScanner.WIFI_BAND_BOTH /* bandScanned */, scanResults); in setUp()
487 ArgumentCaptor<WifiScanner.ScanListener> scanListenerArgumentCaptor = in onResultsUpdatesWakeupLockForSavedNetworks()
488 ArgumentCaptor.forClass(WifiScanner.ScanListener.class); in onResultsUpdatesWakeupLockForSavedNetworks()
491 WifiScanner.ScanListener scanListener = scanListenerArgumentCaptor.getValue(); in onResultsUpdatesWakeupLockForSavedNetworks()
[all …]
DScanRequestProxyTest.java34 import android.net.wifi.WifiScanner;
63 private static final List<WifiScanner.ScanSettings.HiddenNetwork> TEST_HIDDEN_NETWORKS_LIST =
64 new ArrayList<WifiScanner.ScanSettings.HiddenNetwork>() {{
65 add(new WifiScanner.ScanSettings.HiddenNetwork("test_ssid_1"));
66 add(new WifiScanner.ScanSettings.HiddenNetwork("test_ssid_2"));
75 @Mock private WifiScanner mWifiScanner;
82 private ArgumentCaptor<WifiScanner.ScanSettings> mScanSettingsArgumentCaptor =
83 ArgumentCaptor.forClass(WifiScanner.ScanSettings.class);
84 private ArgumentCaptor<WifiScanner.ScanListener> mScanRequestListenerArgumentCaptor =
85 ArgumentCaptor.forClass(WifiScanner.ScanListener.class);
[all …]
DWifiConfigurationUtilTest.java28 import android.net.wifi.WifiScanner;
713 WifiScanner.PnoSettings.PnoNetwork pnoNetwork = in testCreatePnoNetworkWithOpenNetwork()
717 WifiScanner.PnoSettings.PnoNetwork.FLAG_A_BAND in testCreatePnoNetworkWithOpenNetwork()
718 | WifiScanner.PnoSettings.PnoNetwork.FLAG_G_BAND, pnoNetwork.flags); in testCreatePnoNetworkWithOpenNetwork()
719 assertEquals(WifiScanner.PnoSettings.PnoNetwork.AUTH_CODE_OPEN, pnoNetwork.authBitField); in testCreatePnoNetworkWithOpenNetwork()
730 WifiScanner.PnoSettings.PnoNetwork pnoNetwork = in testCreatePnoNetworkWithOpenHiddenNetwork()
734 WifiScanner.PnoSettings.PnoNetwork.FLAG_A_BAND in testCreatePnoNetworkWithOpenHiddenNetwork()
735 | WifiScanner.PnoSettings.PnoNetwork.FLAG_G_BAND in testCreatePnoNetworkWithOpenHiddenNetwork()
736 | WifiScanner.PnoSettings.PnoNetwork.FLAG_DIRECTED_SCAN, pnoNetwork.flags); in testCreatePnoNetworkWithOpenHiddenNetwork()
737 assertEquals(WifiScanner.PnoSettings.PnoNetwork.AUTH_CODE_OPEN, pnoNetwork.authBitField); in testCreatePnoNetworkWithOpenHiddenNetwork()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DScanRequestProxy.java27 import android.net.wifi.WifiScanner;
89 private WifiScanner mWifiScanner;
107 private class GlobalScanListener implements WifiScanner.ScanListener {
119 public void onResults(WifiScanner.ScanData[] scanDatas) { in onResults()
129 WifiScanner.ScanData scanData = scanDatas[0]; in onResults()
135 if (scanData.getBandScanned() == WifiScanner.WIFI_BAND_BOTH_WITH_DFS) { in onResults()
155 private class ScanRequestProxyScanListener implements WifiScanner.ScanListener {
171 public void onResults(WifiScanner.ScanData[] scanDatas) { in onResults()
477 WifiScanner.ScanSettings settings = new WifiScanner.ScanSettings(); in startScan()
480 settings.type = WifiScanner.TYPE_HIGH_ACCURACY; in startScan()
[all …]
DWifiConnectivityManager.java33 import android.net.wifi.WifiScanner;
34 import android.net.wifi.WifiScanner.PnoSettings;
35 import android.net.wifi.WifiScanner.ScanSettings;
155 private WifiScanner mScanner;
307 private class AllSingleScanListener implements WifiScanner.ScanListener {
331 public void onResults(WifiScanner.ScanData[] results) { in onResults()
340 results[0].getBandScanned() == WifiScanner.WIFI_BAND_BOTH_WITH_DFS in onResults()
341 || results[0].getBandScanned() == WifiScanner.WIFI_BAND_BOTH; in onResults()
410 private class SingleScanListener implements WifiScanner.ScanListener {
443 public void onResults(WifiScanner.ScanData[] results) { in onResults()
[all …]
DWakeupController.java26 import android.net.wifi.WifiScanner;
70 private final WifiScanner.ScanListener mScanListener = new WifiScanner.ScanListener() {
77 public void onResults(WifiScanner.ScanData[] results) {
80 results[0].getBandScanned() == WifiScanner.WIFI_BAND_BOTH_WITH_DFS
81 || results[0].getBandScanned() == WifiScanner.WIFI_BAND_BOTH;
303 .getChannelsForBand(WifiScanner.WIFI_BAND_5_GHZ_DFS_ONLY); in filterDfsScanResults()
DWifiConfigurationUtil.java28 import android.net.wifi.WifiScanner;
922 public static WifiScanner.PnoSettings.PnoNetwork createPnoNetwork( in createPnoNetwork()
924 WifiScanner.PnoSettings.PnoNetwork pnoNetwork = in createPnoNetwork()
925 new WifiScanner.PnoSettings.PnoNetwork(config.SSID); in createPnoNetwork()
927 pnoNetwork.flags |= WifiScanner.PnoSettings.PnoNetwork.FLAG_DIRECTED_SCAN; in createPnoNetwork()
929 pnoNetwork.flags |= WifiScanner.PnoSettings.PnoNetwork.FLAG_A_BAND; in createPnoNetwork()
930 pnoNetwork.flags |= WifiScanner.PnoSettings.PnoNetwork.FLAG_G_BAND; in createPnoNetwork()
932 pnoNetwork.authBitField |= WifiScanner.PnoSettings.PnoNetwork.AUTH_CODE_PSK; in createPnoNetwork()
935 pnoNetwork.authBitField |= WifiScanner.PnoSettings.PnoNetwork.AUTH_CODE_EAPOL; in createPnoNetwork()
937 pnoNetwork.authBitField |= WifiScanner.PnoSettings.PnoNetwork.AUTH_CODE_OPEN; in createPnoNetwork()

12