/tools/test/connectivity/acts/tests/google/wifi/ |
WifiScannerTests.config | 4 "radio0": {"settings": {"channel": 1}, "wifi-iface" : [{"ssid": "Test_1", "key": "hahahaha", "encryption": "psk2"},{"ssid": "Test_1.1", "key": "hahahaha", "encryption": "psk2"}, 5 {"ssid": "Test_1.2", "key": "hahahaha", "encryption": "psk2"},{"ssid": "Test_1.3", "key": "hahahaha", "encryption": "psk2"}]}, 6 "radio1": {"settings": {"channel": 40}, "wifi-iface" : [{"ssid": "Test_40", "key": "hahahaha", "encryption": "psk2"},{"ssid": "Test_40.1", "key": "hahahaha", "encryption": "psk2"}, 7 {"ssid": "Test_40.2", "key": "hahahaha", "encryption": "psk2"},{"ssid": "Test_40.3", "key": "hahahaha", "encryption": "psk2"}]} 10 "radio0": {"settings": {"channel": 6}, "wifi-iface" : [{"ssid": "Test_6", "key": "hahahaha", "encryption": "psk"}, {"ssid": "Test_6.1", "key": "hahahaha", "encryption": "psk2"} [all...] |
/external/wpa_supplicant_8/wpa_supplicant/examples/ |
plaintext.conf | 6 ssid="example open network"
|
wep.conf | 6 ssid="example wep network"
|
wpa-psk-tkip.conf | 6 ssid="example wpa-psk network"
|
/frameworks/base/core/java/android/net/ |
WifiKey.java | 42 * The service set identifier (SSID) of an 802.11 network. If the SSID can be decoded as 46 public final String ssid; field in class:WifiKey 56 * Construct a new {@link WifiKey} for the given Wi-Fi SSID/BSSID pair. 58 * @param ssid the service set identifier (SSID) of an 802.11 network. If the SSID can be 64 * @throws IllegalArgumentException if either the SSID or BSSID is invalid. 66 public WifiKey(String ssid, String bssid) { 67 if (!SSID_PATTERN.matcher(ssid).matches()) [all...] |
/external/autotest/server/site_tests/network_WiFi_RoamEndToEnd/ |
network_WiFi_RoamEndToEnd.py | 14 """Base class that configures two APs with the same SSID that will be used 25 def _config_ap(self, channel, mode, ssid=None): 29 @param ssid: Name to be assigned to the Wifi network. 34 ssid=ssid) 49 # Configure first AP with channel 5 and mode G and default ssid. 54 ssid = self.context.router.get_ssid(instance=0) 57 ssid=ssid, 59 # Configure second AP with channel 149, mode N and same ssid as before [all...] |
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
ScanDetailUtilTest.java | 43 final String ssid = "SOME SsId"; local 45 ScanResult input = new ScanResult(WifiSsid.createFromAsciiEncoded(ssid), ssid, 49 createIE(InformationElement.EID_SSID, ssid.getBytes(StandardCharsets.UTF_8)) 59 final String ssid = "SOME SsId"; local 61 ScanResult input = new ScanResult(WifiSsid.createFromAsciiEncoded(ssid), ssid, 65 createIE(InformationElement.EID_SSID, ssid.getBytes(StandardCharsets.UTF_8) 76 final String ssid = "Another SSid"; local [all...] |
/system/connectivity/shill/test-scripts/ |
configure-hidden-wifi | 7 print "Usage: %s <ssid> [passphrase] [security]" % (sys.argv[0]) 14 ssid = sys.argv[1] 28 "SSID" : ssid,
|
/external/autotest/server/site_tests/network_WiFi_Prefer5Ghz/ |
network_WiFi_Prefer5Ghz.py | 22 ssid = self.context.router.get_ssid(instance=0) 24 ssid=ssid, channel=48, mode=mode_n) 29 self.context.client.wait_for_bsses(ssid, 2) 31 xmlrpc_datatypes.AssociationParameters(ssid=ssid))
|
/external/wpa_supplicant_8/wpa_supplicant/ |
config_none.c | 39 struct wpa_ssid *ssid; local 47 for (ssid = config->ssid; ssid; ssid = ssid->next) {
|
wpa_passphrase.c | 19 char *ssid, *passphrase, buf[64], *pos; local 22 printf("usage: wpa_passphrase <ssid> [passphrase]\n" 28 ssid = argv[1]; 55 pbkdf2_sha1(passphrase, (u8 *) ssid, os_strlen(ssid), 4096, psk, 32); 58 printf("\tssid=\"%s\"\n", ssid);
|
mesh.c | 69 static struct mesh_conf * mesh_config_create(struct wpa_ssid *ssid) 77 os_memcpy(conf->meshid, ssid->ssid, ssid->ssid_len); 78 conf->meshid_len = ssid->ssid_len; 80 if (ssid->key_mgmt & WPA_KEY_MGMT_SAE) 92 conf->dot11MeshMaxRetries = ssid->dot11MeshMaxRetries; 93 conf->dot11MeshRetryTimeout = ssid->dot11MeshRetryTimeout; 94 conf->dot11MeshConfirmTimeout = ssid->dot11MeshConfirmTimeout; 95 conf->dot11MeshHoldingTimeout = ssid->dot11MeshHoldingTimeout [all...] |
config.c | 40 int (*parser)(const struct parse_data *data, struct wpa_ssid *ssid, 46 char * (*writer)(const struct parse_data *data, struct wpa_ssid *ssid); 63 struct wpa_ssid *ssid, 110 dst = (char **) (((u8 *) ssid) + (long) data->param1); 111 dst_len = (size_t *) (((u8 *) ssid) + (long) data->param2); 179 struct wpa_ssid *ssid) 184 src = (char **) (((u8 *) ssid) + (long) data->param1); 189 len = *((size_t *) (((u8 *) ssid) + (long) data->param2)); 199 struct wpa_ssid *ssid, 205 dst = (int *) (((u8 *) ssid) + (long) data->param1) 2138 struct wpa_ssid *ssid; local 2302 struct wpa_ssid *ssid, *prev = NULL; local 2379 struct wpa_ssid *ssid, *next; local 2398 struct wpa_ssid *ssid; local 2419 struct wpa_ssid *ssid, *last = NULL; local 2455 struct wpa_ssid *ssid, *prev = NULL; local 3665 struct wpa_ssid *ssid; local [all...] |
wps_supplicant.c | 118 struct wpa_ssid *ssid = NULL; local 139 bss = wpa_supplicant_pick_network(wpa_s, &ssid); 183 struct wpa_ssid *ssid, 203 if (ssid->ssid == NULL) 205 bss = wpa_bss_get(wpa_s, cred->mac_addr, ssid->ssid, ssid->ssid_len); 226 if (ie == NULL && (ssid->proto & WPA_PROTO_WPA) && 227 (ssid->pairwise_cipher & WPA_CIPHER_TKIP)) 266 struct wpa_ssid *ssid, *next; local 363 struct wpa_ssid *ssid = wpa_s->current_ssid; local 652 struct wpa_ssid *ssid; local 920 struct wpa_ssid *ssid, *remove_ssid = NULL, *prev_current; local 987 struct wpa_ssid *ssid; local 1058 struct wpa_ssid *ssid; local 1130 struct wpa_ssid *ssid; local 1178 struct wpa_ssid *ssid; local 1324 struct wpa_ssid *ssid; local 1857 struct wpa_ssid *ssid; local 2005 struct wpa_ssid *ssid; local 2232 struct wpa_ssid *ssid; local [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
WifiLastResortWatchdog.java | 57 * BSSID used to increment failure counts against ALL bssids associated with a particular SSID 70 * Map of SSID to <FailureCount, AP count>, used to count failures & number of access points 71 * belonging to an SSID. 78 // successfully connecting or a new network (SSID) becomes available to connect to. 107 String ssid = "\"" + scanDetail.getSSID() + "\""; local 115 availableNetworkFailureCount.ssid = ssid; 117 // Count AP for this SSID 119 mSsidFailureCount.get(ssid); 121 // This is a new SSID, create new FailureCount for it and set AP count to 152 String ssid = entry.getValue().ssid; local 457 String ssid = availableNetworkFailureCount.ssid; local 490 public String ssid = ""; field in class:WifiLastResortWatchdog.AvailableNetworkFailureCount [all...] |
/external/autotest/server/site_tests/network_WiFi_ChaosConfigSniffer/ |
network_WiFi_ChaosConfigSniffer.py | 21 for ssid in ssids: 22 logging.info('Scanning for SSID: %s', ssid) 24 wifi_client._wifi_if, ssids=[ssid], timeout_seconds=60) 26 missing_ssids.append(ssid) 28 path = os.path.join(self.outputdir, str('%s.txt' % ssid)) 38 f.write('ssid = %s\n' % network.ssid) 56 for ssid in missing_ssids: 57 logging.error('\t%s', ssid) [all...] |
/external/autotest/server/site_tests/network_WiFi_HiddenRemains/ |
network_WiFi_HiddenRemains.py | 20 def check_hidden(self, ssid, should_be_hidden): 21 """Asserts that the network with |ssid| is a hidden network in shill. 26 @param ssid string name of network to make assertions about. 28 a hidden SSID. 31 logging.info('Checking that %s has hidden=%r.', ssid, should_be_hidden) 33 ssid) 36 '%s.' % ssid) 50 ssid='a visible network', 55 ssid='a hidden network', 61 ssid=self.context.router.get_ssid() [all...] |
/external/autotest/server/site_tests/network_WiFi_ProfileGUID/ |
network_WiFi_ProfileGUID.py | 26 def _assert_connection(self, ssid): 27 """Assert that shill connects to |ssid| after a scan. 29 @param ssid: string name of network we expect to connect to. 35 ssid, ['ready', 'online', 'portal'], 41 (ssid, time, state)) 44 def _assert_guid_value(self, ssid, expected_guid, expect_missing=False): 47 @param ssid: string name of WiFi network corresponding to the service. 52 properties = self.context.client.shill.get_service_properties(ssid) 67 get_ap_config = lambda ssid, password: hostap_config.HostapConfig( 68 ssid=ssid, channel=1 [all...] |
/external/autotest/server/site_tests/network_WiFi_MissingBeacons/ |
network_WiFi_MissingBeacons.py | 27 def _assert_disconnect(self, ssid): 28 """Assert that we disconnect from |ssid| MAX_DISCONNECT_TIME_SECONDS. 30 @param ssid: string ssid of network we expect to be disconnected from. 39 ssid, ['idle'], timeout_seconds=timeout_seconds) 51 self.context.client.shill.disconnect(ssid) 58 ssid = self.context.router.get_ssid() 59 client_config = xmlrpc_datatypes.AssociationParameters(ssid=ssid) 67 self._assert_disconnect(ssid) [all...] |
/external/autotest/server/site_tests/network_WiFi_RoamSuspendEndToEnd/ |
network_WiFi_RoamSuspendEndToEnd.py | 16 """Base class that configures two APs with the same SSID that will be used 27 def _config_ap(self, channel, mode, ssid=None): 31 @param ssid: Name to be assigned to the Wifi network. 36 ssid=ssid) 70 # Configure first AP with channel 5 and mode G and default ssid. 74 ssid = self.context.router.get_ssid(instance=0) 77 ssid=ssid, test=chrome_net_constants.OPEN_CONNECT) 79 # Configure second AP with channel 149, mode N and same ssid as before [all...] |
/external/autotest/server/site_tests/network_WiFi_SecChange/ |
network_WiFi_SecChange.py | 28 ssid=self.TEST_SSID, 34 ssid=self.context.router.get_ssid(), 38 self.context.client.shill.disconnect(assoc_params.ssid) 41 # Now we change the same SSID to be an open network. 43 ssid=self.TEST_SSID, 48 ssid=self.context.router.get_ssid()) 51 self.context.client.shill.disconnect(assoc_params.ssid)
|
/system/connectivity/shill/net/ |
netlink_message_matchers.h | 76 // contains exactly one SSID along with the requisite empty one. 94 LOG(INFO) << "No SSID list in message"; 97 ByteString ssid; local 99 if (!ssids->GetRawAttributeValue(ssid_iter.GetId(), &ssid)) { 100 LOG(INFO) << "SSID list contains no (hidden) SSIDs"; 104 // A valid Scan containing a single hidden SSID should contain 105 // two SSID entries: one containing the SSID we are looking for, 110 LOG(INFO) << "SSID list doesn't contain an empty SSIDs (but should)"; 116 LOG(INFO) << "SSID list doesn't contain an empty SSID (but should)" [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
WifiStatusTracker.java | 26 public String ssid; field in class:WifiStatusTracker 43 // If Connected grab the signal strength and ssid. 50 ssid = getSsid(info); 52 ssid = null; 55 ssid = null; 65 String ssid = info.getSSID(); local 66 if (ssid != null) { 67 return ssid; 74 return networks.get(i).SSID;
|
/external/autotest/server/site_tests/network_WiFi_ProfileBasic/ |
network_WiFi_ProfileBasic.py | 51 def _assert_state_transition(self, ssid, states): 54 @param ssid: string ssid of service. 59 ssid, states, 83 ssid=self.context.router.get_ssid()) 92 self._assert_state_transition(client_config0.ssid, ['idle']) 98 self._assert_state_transition(client_config0.ssid, 102 self.context.client.shill.disconnect(client_config0.ssid) 103 self._assert_state_transition(client_config0.ssid, ['idle']) 110 self._assert_state_transition(client_config0.ssid, [all...] |
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowScanResult.java | 14 public static ScanResult newInstance(String SSID, String BSSID, String caps, int level, int frequency) { 16 scanResult.SSID = SSID; 27 .append("SSID: ").append(valueOrNone(realObject.SSID))
|