/external/wpa_supplicant_8/wpa_supplicant/examples/ |
wpa2-eap-ccmp.conf | 6 ssid="example wpa2-eap network"
|
/external/wpa_supplicant_8/wpa_supplicant/ |
ap.c | 101 struct wpa_ssid *ssid, 104 conf->hw_mode = ieee80211_freq_to_chan(ssid->frequency, 109 ssid->frequency); 134 if (ssid->disable_ht) { 147 ssid->ht40) 169 if (mode->vht_capab && ssid->vht) { 183 (int) iface->assoc_freq != ssid->frequency) 205 struct wpa_ssid *ssid, 214 if (wpa_supplicant_conf_ap_ht(wpa_s, ssid, conf)) 218 if (ssid->acs) 1202 struct wpa_ssid *ssid = wpa_s->current_ssid; local [all...] |
config_file.c | 126 static int wpa_config_validate_network(struct wpa_ssid *ssid, int line) 130 if (ssid->passphrase) { 131 if (ssid->psk_set) { 136 wpa_config_update_psk(ssid); 139 if ((ssid->group_cipher & WPA_CIPHER_CCMP) && 140 !(ssid->pairwise_cipher & WPA_CIPHER_CCMP) && 141 !(ssid->pairwise_cipher & WPA_CIPHER_NONE)) { 146 ssid->group_cipher &= ~WPA_CIPHER_CCMP; 149 if (ssid->mode == WPAS_MODE_MESH && 150 (ssid->key_mgmt != WPA_KEY_MGMT_NONE & 164 struct wpa_ssid *ssid; local 367 struct wpa_ssid *ssid, *tail, *head; local 1347 struct wpa_ssid *ssid; local [all...] |
wps_supplicant.h | 31 enum wps_request_type wpas_wps_get_req_type(struct wpa_ssid *ssid); 41 struct wpa_ssid *ssid, struct wpa_bss *bss); 43 struct wpa_ssid *ssid, struct wpa_bss *bss); 45 struct wpa_bss *selected, struct wpa_ssid *ssid); 72 const u8 *ssid, size_t ssid_len, int freq); 106 static inline u8 wpas_wps_get_req_type(struct wpa_ssid *ssid) 112 struct wpa_ssid *ssid, 119 struct wpa_ssid *ssid, 127 struct wpa_ssid *ssid)
|
wpa_supplicant.c | 116 int wpa_set_wep_keys(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid) 121 if (ssid->wep_key_len[i] == 0) 126 i, i == ssid->wep_tx_keyidx, NULL, 0, 127 ssid->wep_key[i], ssid->wep_key_len[i]); 135 struct wpa_ssid *ssid) 146 if (ssid->mode != WPAS_MODE_IBSS) { 148 "IBSS/ad-hoc) for WPA-None", ssid->mode); 152 if (!ssid->psk_set) { 160 os_memcpy(key, ssid->psk, 16) 262 struct wpa_ssid *ssid = wpa_s->current_ssid; local 438 struct wpa_ssid *ssid; local 788 struct wpa_ssid *ssid = wpa_s->current_ssid; local 1510 struct wpa_ssid *ssid; local 2057 struct wpa_ssid *ssid = cwork->ssid; local 3101 u8 ssid[SSID_MAX_LEN]; local 5013 struct wpa_ssid *ssid; local 5837 struct wpa_ssid *ssid = wpa_s->current_ssid; local [all...] |
/external/wpa_supplicant_8/src/crypto/ |
sha1-pbkdf2.c | 14 static int pbkdf2_sha1_f(const char *passphrase, const u8 *ssid, 25 addr[0] = ssid; 61 * @ssid: SSID 62 * @ssid_len: SSID length in bytes 72 int pbkdf2_sha1(const char *passphrase, const u8 *ssid, size_t ssid_len, 82 if (pbkdf2_sha1_f(passphrase, ssid, ssid_len, iterations,
|
/external/autotest/server/cros/network/ |
wpa_cli_proxy.py | 16 ['bssid', 'frequency', 'signal', 'ssid']) 53 def _add_network(self, ssid): 55 Add a wpa_supplicant network for ssid. 57 @param ssid string: name of network to add. 63 self.run_wpa_cli_cmd('set_network %d ssid \\"%s\\"' % 64 (network_id, ssid)) 65 self._created_networks[ssid] = network_id 66 logging.debug('Added network %s=%d', ssid, network_id) 120 def _is_associated(self, ssid): 122 Check if the DUT is associated to a given SSID [all...] |
/external/autotest/server/site_tests/network_WiFi_ChannelScanDwellTime/ |
network_WiFi_ChannelScanDwellTime.py | 33 """Build ssid prefix.""" 42 def _get_ssid_index(self, ssid): 43 """Return the SSID index from an SSID string. 45 Given an SSID of the form [testName]_[salt]_[index], returns |index|. 47 @param ssid: full SSID, as received in scan results. 48 @return int SSID index. 50 return int(ssid.split('_')[-1], 16) 60 @param ssid_num: int SSID number to match [all...] |
/external/autotest/server/site_tests/network_WiFi_MaskedBSSID/ |
network_WiFi_MaskedBSSID.py | 29 ssid=('CrOS_Masked%d' % i), 31 # Create an AP, manually specifying both the SSID and BSSID. 34 # but an different SSID. These APs together are meant to emulate 36 # respond with more than one (non-empty) SSID. 42 [config.ssid for config in configurations])
|
/external/autotest/server/site_tests/network_WiFi_MultiAuth/ |
network_WiFi_MultiAuth.py | 20 TEST_SSID = 'an ssid' 30 ssid=self.TEST_SSID, 35 ssid=self.TEST_SSID) 37 ssid=self.TEST_SSID, 43 ssid=self.TEST_SSID,
|
/external/autotest/server/site_tests/network_WiFi_SimpleConnect/ |
control.wifi_checkNonAsciiSSID | 17 type characters as the SSID 31 # Using valid Unicode characters only as SSID 33 # Using a single extended ASCII character (a-grave) as SSID 35 # Using mix of ASCII and Unicode characters as SSID 43 for ssid in get_ssids():
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
WifiConfigurationHelper.java | 54 * @param ssid The SSID of the wifi network 57 public static WifiConfiguration createOpenConfig(String ssid) { 58 WifiConfiguration config = createGenericConfig(ssid); 67 * @param ssid The SSID of the wifi network 71 public static WifiConfiguration createWepConfig(String ssid, String password) { 72 WifiConfiguration config = createGenericConfig(ssid); 89 * @param ssid The SSID of the wifi networ 192 String ssid = jsonConfig.getString("ssid"); local [all...] |
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
WifiConfigLockdownTest.java | 71 if (areMatchingSsids(ORIGINAL_DEVICE_OWNER_SSID, config.SSID) || 72 areMatchingSsids(CHANGED_DEVICE_OWNER_SSID, config.SSID) || 73 areMatchingSsids(ORIGINAL_REGULAR_SSID, config.SSID) || 74 areMatchingSsids(CHANGED_REGULAR_SSID, config.SSID)) { 85 if (areMatchingSsids(ORIGINAL_DEVICE_OWNER_SSID, config.SSID)) { 90 if (areMatchingSsids(ORIGINAL_REGULAR_SSID, config.SSID)) { 104 if (areMatchingSsids(ORIGINAL_DEVICE_OWNER_SSID, config.SSID) || 105 areMatchingSsids(ORIGINAL_REGULAR_SSID, config.SSID)) { 118 if (areMatchingSsids(ORIGINAL_DEVICE_OWNER_SSID, config.SSID)) { 131 assertFalse(areMatchingSsids(CHANGED_DEVICE_OWNER_SSID, config.SSID)); [all...] |
/external/autotest/client/site_tests/network_RackWiFiConnect/ |
network_RackWiFiConnect.py | 68 def _connect(self, ssid, uname): 71 @param ssid string - predefined SSID from user's preferred networks 88 logging.info('Attempting to connect to %s', ssid) 91 if service['Name'] == ssid: 94 logging.error('Unable to find %s', ssid) 98 logging.info('Successfully connected to network %s', ssid) 101 logging.error('Unable to connect to %s', ssid) 106 def _connect_and_assert(self, test, ssid, user): 110 @param ssid string - predefined SSID from user's preferred network [all...] |
/external/autotest/server/site_tests/network_WiFi_VerifyAttenuator/ |
network_WiFi_VerifyAttenuator.py | 101 def _wait_for_good_signal_levels(self, ssid, attenuator_info): 102 """Verify the desired SSID is available with a good signal. 104 @param ssid: the ssid as a string 116 self._client_if, ssids=[ssid], timeout_seconds=10) 121 if network.ssid == ssid and network.signal < LOW_POWER_SIGNAL: 128 elif network.ssid == ssid and network.signal > LOW_POWER_SIGNAL: 133 raise error.TestError('The desired SSID is not visible, the [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
WifiConfigHelper.java | 64 public static void setConfigSsid(WifiConfiguration config, String ssid) { 66 if (!Pattern.matches(REGEX_HEX_BSSID, ssid)) { 67 config.SSID = AccessPoint.convertToQuotedString(ssid); 69 config.SSID = ssid; 152 * Return the configured network that matches the ssid/security pair, or create one. 154 public static WifiConfiguration getConfiguration(Context context, String ssid, 156 WifiConfiguration config = getFromConfiguredNetworks(context, ssid, security); 159 // No configured network found; populate a new one with the provided ssid / security [all...] |
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
WifiConfigurationTestUtil.java | 39 * @param ssid the configuration's ssid 46 public static WifiConfiguration generateWifiConfig(int networkId, int uid, String ssid, 49 config.SSID = ssid; 67 * @param ssid the configuration's ssid 75 public static WifiConfiguration generateWifiConfig(int networkId, int uid, String ssid, 78 WifiConfiguration config = generateWifiConfig(networkId, uid, ssid, shared, enabled, fqdn,
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/ |
WifiAssociationTest.java | 36 * * adb shell am instrument -e ssid <ssid> -e password <password> \ 57 String ssid = arguments.getString("ssid"); local 58 assertNotNull("ssid is empty", ssid); 76 WifiConfiguration config = getConfig(ssid, securityType, password); 105 * Get the {@link WifiConfiguration} based on ssid, security, and password. 107 private WifiConfiguration getConfig(String ssid, SecurityType securityType, String password) { 113 config = WifiConfigurationHelper.createOpenConfig(ssid); [all...] |
/external/autotest/server/site_tests/apmanager_SimpleConnect/ |
apmanager_SimpleConnect.py | 40 ssid = self.context.router.build_unique_ssid() 41 self._configurations[apmanager_constants.CONFIG_SSID] = ssid 45 assoc_params.ssid = ssid 51 ssid, ( 'idle', ), 30) 55 (ssid, elapsed_seconds, state))
|
control.default | 13 apmanager with default configurations (SSID will be generated during test). 17 # Using default configuration provided by apmanager. SSID will be generated
|
/external/wpa_supplicant_8/src/ap/ |
ap_config.c | 206 struct hostapd_ssid *ssid) 272 pbkdf2_sha1(pos, ssid->ssid, ssid->ssid_len, 284 psk->next = ssid->wpa_psk; 285 ssid->wpa_psk = psk; 294 static int hostapd_derive_psk(struct hostapd_ssid *ssid) 296 ssid->wpa_psk = os_zalloc(sizeof(struct hostapd_wpa_psk)); 297 if (ssid->wpa_psk == NULL) { 301 wpa_hexdump_ascii(MSG_DEBUG, "SSID", 317 struct hostapd_ssid *ssid = &conf->ssid; local [all...] |
/frameworks/base/wifi/java/android/net/wifi/ |
WifiLinkLayerStats.java | 39 * The network's SSID. Can either be an ASCII string, 46 public String SSID; 122 if (this.SSID != null) { 123 sbuf.append(" SSID: ").append(this.SSID).append('\n'); 162 if (SSID == null) return ""; 163 final int length = SSID.length(); 164 if (length > 2 && (SSID.charAt(0) == '"') && SSID.charAt(length - 1) == '"') { 165 return SSID.substring(1, length - 1) [all...] |
/external/autotest/server/site_tests/network_WiFi_HiddenScan/ |
control | 16 a) the specific hidden SSID, and b) the broadcast SSID.
|
/external/libweave/include/weave/provider/ |
wifi.h | 21 virtual void Connect(const std::string& ssid, 26 virtual void StartAccessPoint(const std::string& ssid) = 0;
|
/external/autotest/server/site_tests/network_WiFi_IBSS/ |
network_WiFi_IBSS.py | 28 ssid=self.context.router.get_ssid()) 30 self.context.client.shill.disconnect(assoc_params.ssid) 35 ssid=self.context.router.get_ssid(), 43 self.context.client.shill.disconnect(assoc_params.ssid)
|