/external/wpa_supplicant_8/wpa_supplicant/ |
D | wps_supplicant.c | 118 struct wpa_ssid *ssid = NULL; in wpas_wps_eapol_cb() local 139 bss = wpa_supplicant_pick_network(wpa_s, &ssid); in wpas_wps_eapol_cb() 183 struct wpa_ssid *ssid, in wpas_wps_security_workaround() argument 203 if (ssid->ssid == NULL) in wpas_wps_security_workaround() 205 bss = wpa_bss_get(wpa_s, cred->mac_addr, ssid->ssid, ssid->ssid_len); in wpas_wps_security_workaround() 226 if (ie == NULL && (ssid->proto & WPA_PROTO_WPA) && in wpas_wps_security_workaround() 227 (ssid->pairwise_cipher & WPA_CIPHER_TKIP)) { in wpas_wps_security_workaround() 239 if (ccmp && !(ssid->pairwise_cipher & WPA_CIPHER_CCMP) && in wpas_wps_security_workaround() 240 (ssid->pairwise_cipher & WPA_CIPHER_TKIP) && in wpas_wps_security_workaround() 245 ssid->pairwise_cipher |= WPA_CIPHER_CCMP; in wpas_wps_security_workaround() [all …]
|
D | config.c | 41 int (*parser)(const struct parse_data *data, struct wpa_ssid *ssid, 47 char * (*writer)(const struct parse_data *data, struct wpa_ssid *ssid); 64 struct wpa_ssid *ssid, in wpa_config_parse_str() argument 111 dst = (char **) (((u8 *) ssid) + (long) data->param1); in wpa_config_parse_str() 112 dst_len = (size_t *) (((u8 *) ssid) + (long) data->param2); in wpa_config_parse_str() 180 struct wpa_ssid *ssid) in wpa_config_write_str() argument 185 src = (char **) (((u8 *) ssid) + (long) data->param1); in wpa_config_write_str() 190 len = *((size_t *) (((u8 *) ssid) + (long) data->param2)); in wpa_config_write_str() 200 struct wpa_ssid *ssid, in wpa_config_parse_int() argument 206 dst = (int *) (((u8 *) ssid) + (long) data->param1); in wpa_config_parse_int() [all …]
|
D | scan.c | 30 struct wpa_ssid *ssid; in wpa_supplicant_gen_assoc_event() local 33 ssid = wpa_supplicant_get_ssid(wpa_s); in wpa_supplicant_gen_assoc_event() 34 if (ssid == NULL) in wpa_supplicant_gen_assoc_event() 38 wpa_s->current_ssid = ssid; in wpa_supplicant_gen_assoc_event() 53 struct wpa_ssid *ssid; in wpas_wps_in_use() local 56 for (ssid = wpa_s->conf->ssid; ssid; ssid = ssid->next) { in wpas_wps_in_use() 57 if (!(ssid->key_mgmt & WPA_KEY_MGMT_WPS)) in wpas_wps_in_use() 61 *req_type = wpas_wps_get_req_type(ssid); in wpas_wps_in_use() 62 if (ssid->eap.phase1 && os_strstr(ssid->eap.phase1, "pbc=1")) in wpas_wps_in_use() 93 struct wpa_ssid *ssid = wpa_s->conf->ssid; in wpa_supplicant_enabled_networks() local [all …]
|
D | wpa_supplicant.conf | 1340 ssid="simple" 1348 ssid="second ssid" 1356 ssid="example" 1367 ssid="example" 1379 ssid="example" 1396 ssid="example" 1410 ssid="example" 1423 ssid="example" 1436 ssid="example" 1454 ssid="example" [all …]
|
D | mesh.c | 70 struct wpa_ssid *ssid) in mesh_config_create() argument 79 os_memcpy(conf->meshid, ssid->ssid, ssid->ssid_len); in mesh_config_create() 80 conf->meshid_len = ssid->ssid_len; in mesh_config_create() 82 if (ssid->key_mgmt & WPA_KEY_MGMT_SAE) in mesh_config_create() 87 conf->ieee80211w = ssid->ieee80211w; in mesh_config_create() 95 cipher = wpa_pick_pairwise_cipher(ssid->pairwise_cipher, 0); in mesh_config_create() 103 cipher = wpa_pick_group_cipher(ssid->group_cipher); in mesh_config_create() 121 conf->dot11MeshMaxRetries = ssid->dot11MeshMaxRetries; in mesh_config_create() 122 conf->dot11MeshRetryTimeout = ssid->dot11MeshRetryTimeout; in mesh_config_create() 123 conf->dot11MeshConfirmTimeout = ssid->dot11MeshConfirmTimeout; in mesh_config_create() [all …]
|
D | config_winreg.c | 289 struct wpa_ssid *ssid; in wpa_config_read_network() local 300 ssid = os_zalloc(sizeof(*ssid)); in wpa_config_read_network() 301 if (ssid == NULL) { in wpa_config_read_network() 305 dl_list_init(&ssid->psk_list); in wpa_config_read_network() 306 ssid->id = id; in wpa_config_read_network() 308 wpa_config_set_network_defaults(ssid); in wpa_config_read_network() 338 if (wpa_config_set(ssid, (char *) name, (char *) data, 0) < 0) in wpa_config_read_network() 344 if (ssid->passphrase) { in wpa_config_read_network() 345 if (ssid->psk_set) { in wpa_config_read_network() 350 wpa_config_update_psk(ssid); in wpa_config_read_network() [all …]
|
D | ap.c | 101 struct wpa_ssid *ssid, in wpa_supplicant_conf_ap_ht() argument 104 conf->hw_mode = ieee80211_freq_to_chan(ssid->frequency, in wpa_supplicant_conf_ap_ht() 109 ssid->frequency); in wpa_supplicant_conf_ap_ht() 134 if (ssid->disable_ht) { in wpa_supplicant_conf_ap_ht() 147 ssid->ht40) in wpa_supplicant_conf_ap_ht() 169 if (mode->vht_capab && ssid->vht) { in wpa_supplicant_conf_ap_ht() 184 (int) iface->assoc_freq != ssid->frequency) in wpa_supplicant_conf_ap_ht() 206 struct wpa_ssid *ssid, in wpa_supplicant_conf_ap() argument 215 if (wpa_supplicant_conf_ap_ht(wpa_s, ssid, conf)) in wpa_supplicant_conf_ap() 218 if (ssid->pbss > 1) { in wpa_supplicant_conf_ap() [all …]
|
D | wpa_supplicant.c | 116 int wpa_set_wep_keys(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid) in wpa_set_wep_keys() argument 121 if (ssid->wep_key_len[i] == 0) in wpa_set_wep_keys() 126 i, i == ssid->wep_tx_keyidx, NULL, 0, in wpa_set_wep_keys() 127 ssid->wep_key[i], ssid->wep_key_len[i]); in wpa_set_wep_keys() 135 struct wpa_ssid *ssid) in wpa_supplicant_set_wpa_none_key() argument 146 if (ssid->mode != WPAS_MODE_IBSS) { in wpa_supplicant_set_wpa_none_key() 148 "IBSS/ad-hoc) for WPA-None", ssid->mode); in wpa_supplicant_set_wpa_none_key() 152 if (!ssid->psk_set) { in wpa_supplicant_set_wpa_none_key() 160 os_memcpy(key, ssid->psk, 16); in wpa_supplicant_set_wpa_none_key() 165 os_memcpy(key, ssid->psk, 16); in wpa_supplicant_set_wpa_none_key() [all …]
|
D | config_file.c | 127 static int wpa_config_validate_network(struct wpa_ssid *ssid, int line) in wpa_config_validate_network() argument 131 if (ssid->passphrase) { in wpa_config_validate_network() 132 if (ssid->psk_set) { in wpa_config_validate_network() 137 wpa_config_update_psk(ssid); in wpa_config_validate_network() 140 if (ssid->disabled == 2) in wpa_config_validate_network() 141 ssid->p2p_persistent_group = 1; in wpa_config_validate_network() 143 if ((ssid->group_cipher & WPA_CIPHER_CCMP) && in wpa_config_validate_network() 144 !(ssid->pairwise_cipher & WPA_CIPHER_CCMP) && in wpa_config_validate_network() 145 !(ssid->pairwise_cipher & WPA_CIPHER_NONE)) { in wpa_config_validate_network() 150 ssid->group_cipher &= ~WPA_CIPHER_CCMP; in wpa_config_validate_network() [all …]
|
D | notify.c | 132 wpa_s->current_ssid && wpa_s->current_ssid->ssid ? in wpas_notify_state_changed() 133 wpa_ssid_txt(wpa_s->current_ssid->ssid, in wpas_notify_state_changed() 208 struct wpa_ssid *ssid) in wpas_notify_network_enabled_changed() argument 213 wpas_dbus_signal_network_enabled_changed(wpa_s, ssid); in wpas_notify_network_enabled_changed() 218 struct wpa_ssid *ssid) in wpas_notify_network_selected() argument 223 wpas_dbus_signal_network_selected(wpa_s, ssid->id); in wpas_notify_network_selected() 228 struct wpa_ssid *ssid, in wpas_notify_network_request() argument 235 wpas_dbus_signal_network_request(wpa_s, ssid, rtype, default_txt); in wpas_notify_network_request() 237 wpas_hidl_notify_network_request(wpa_s, ssid, rtype, default_txt); in wpas_notify_network_request() 344 struct wpa_ssid *ssid) in wpas_notify_network_added() argument [all …]
|
D | interworking.c | 863 static int set_root_nai(struct wpa_ssid *ssid, const char *imsi, char prefix) in set_root_nai() argument 868 return wpa_config_set_quoted(ssid, "identity", nai); in set_root_nai() 877 struct wpa_ssid *ssid, *sel_ssid; in already_connected() local 883 ssid = wpa_s->current_ssid; in already_connected() 884 if (ssid->parent_cred != cred) in already_connected() 887 if (ssid->ssid_len != bss->ssid_len || in already_connected() 888 os_memcmp(ssid->ssid, bss->ssid, bss->ssid_len) != 0) in already_connected() 893 if (selected && sel_ssid && sel_ssid->priority > ssid->priority) in already_connected() 904 struct wpa_ssid *ssid; in remove_duplicate_network() local 906 for (ssid = wpa_s->conf->ssid; ssid; ssid = ssid->next) { in remove_duplicate_network() [all …]
|
D | wpas_glue.c | 374 struct wpa_ssid *ssid = wpa_s->current_ssid; in wpa_get_beacon_ie() local 380 if (ssid == NULL || in wpa_get_beacon_ie() 381 ((bss->ssid_len == ssid->ssid_len && in wpa_get_beacon_ie() 382 os_memcmp(bss->ssid, ssid->ssid, ssid->ssid_len) == 0) || in wpa_get_beacon_ie() 383 ssid->ssid_len == 0)) { in wpa_get_beacon_ie() 520 struct wpa_ssid *ssid; in wpas_get_network_ctx() local 522 for (ssid = wpa_s->conf->ssid; ssid; ssid = ssid->next) { in wpas_get_network_ctx() 523 if (network_ctx == ssid) in wpas_get_network_ctx() 524 return ssid; in wpas_get_network_ctx() 535 struct wpa_ssid *ssid; in wpa_supplicant_add_pmkid() local [all …]
|
D | events.c | 58 struct wpa_ssid *ssid) in wpas_temp_disabled() argument 62 if (ssid == NULL || ssid->disabled_until.sec == 0) in wpas_temp_disabled() 66 if (ssid->disabled_until.sec > now.sec) in wpas_temp_disabled() 67 return ssid->disabled_until.sec - now.sec; in wpas_temp_disabled() 69 wpas_clear_temp_disabled(wpa_s, ssid, 0); in wpas_temp_disabled() 88 struct wpa_ssid *ssid; in wpas_reenabled_network_time() local 97 for (ssid = wpa_s->conf->ssid; ssid; ssid = ssid->next) { in wpas_reenabled_network_time() 98 if (ssid->disabled) in wpas_reenabled_network_time() 101 disabled_for = wpas_temp_disabled(wpa_s, ssid); in wpas_reenabled_network_time() 134 struct wpa_ssid *ssid = wpa_s->current_ssid; in wpa_supplicant_get_new_bss() local [all …]
|
D | p2p_supplicant.c | 126 const u8 *ssid, size_t ssid_len); 132 const u8 *ssid, size_t ssid_len); 137 const u8 *ssid, size_t ssid_len); 382 params->ssids[0].ssid = n; in wpas_p2p_scan() 483 const u8 *ssid, in wpas_get_p2p_group() argument 489 for (s = wpa_s->conf->ssid; s; s = s->next) { in wpas_get_p2p_group() 492 os_memcmp(ssid, s->ssid, ssid_len) != 0) in wpas_get_p2p_group() 545 for (s = wpa_s->conf->ssid; s; s = s->next) { in p2p_group_go_member_count() 628 for (s = wpa_s->conf->ssid; s; s = s->next) { in wpas_p2p_get_persistent_go() 836 struct wpa_ssid *ssid; in wpas_p2p_group_delete() local [all …]
|
/external/wpa_supplicant_8/src/ap/ |
D | neighbor_db.c | 19 const struct wpa_ssid_value *ssid) in hostapd_neighbor_get() argument 26 (!ssid || in hostapd_neighbor_get() 27 (ssid->ssid_len == nr->ssid.ssid_len && in hostapd_neighbor_get() 28 os_memcmp(ssid->ssid, nr->ssid.ssid, in hostapd_neighbor_get() 29 ssid->ssid_len) == 0))) in hostapd_neighbor_get() 45 os_memset(&nr->ssid, 0, sizeof(nr->ssid)); in hostapd_neighbor_clear_entry() 66 const struct wpa_ssid_value *ssid, in hostapd_neighbor_set() argument 72 entry = hostapd_neighbor_get(hapd, bssid, ssid); in hostapd_neighbor_set() 81 os_memcpy(&entry->ssid, ssid, sizeof(entry->ssid)); in hostapd_neighbor_set() 104 hostapd_neighbor_remove(hapd, bssid, ssid); in hostapd_neighbor_set() [all …]
|
D | ap_config.c | 218 struct hostapd_ssid *ssid) in hostapd_config_read_wpa_psk() argument 284 pbkdf2_sha1(pos, ssid->ssid, ssid->ssid_len, in hostapd_config_read_wpa_psk() 296 psk->next = ssid->wpa_psk; in hostapd_config_read_wpa_psk() 297 ssid->wpa_psk = psk; in hostapd_config_read_wpa_psk() 306 static int hostapd_derive_psk(struct hostapd_ssid *ssid) in hostapd_derive_psk() argument 308 ssid->wpa_psk = os_zalloc(sizeof(struct hostapd_wpa_psk)); in hostapd_derive_psk() 309 if (ssid->wpa_psk == NULL) { in hostapd_derive_psk() 314 (u8 *) ssid->ssid, ssid->ssid_len); in hostapd_derive_psk() 316 (u8 *) ssid->wpa_passphrase, in hostapd_derive_psk() 317 os_strlen(ssid->wpa_passphrase)); in hostapd_derive_psk() [all …]
|
/external/autotest/server/site_tests/network_WiFi_ProfileGUID/ |
D | network_WiFi_ProfileGUID.py | 26 def _assert_connection(self, ssid): argument 35 ssid, ['ready', 'online', 'portal'], 41 (ssid, time, state)) 44 def _assert_guid_value(self, ssid, expected_guid, expect_missing=False): argument 52 properties = self.context.client.shill.get_service_properties(ssid) 67 get_ap_config = lambda ssid, password: hostap_config.HostapConfig( argument 68 ssid=ssid, channel=1, 75 ssid=self.context.router.get_ssid(), 83 self._assert_connection(assoc_params.ssid) 85 self._assert_guid_value(assoc_params.ssid, assoc_params.guid) [all …]
|
/external/selinux/libselinux/src/ |
D | avc.c | 20 security_id_t ssid; member 41 int (*callback) (uint32_t event, security_id_t ssid, 46 security_id_t ssid; member 63 static inline int avc_hash(security_id_t ssid, in avc_hash() argument 66 return ((uintptr_t) ssid ^ ((uintptr_t) tsid << 2) ^ tclass) in avc_hash() 342 static inline struct avc_node *avc_claim_node(security_id_t ssid, in avc_claim_node() argument 362 hvalue = avc_hash(ssid, tsid, tclass); in avc_claim_node() 365 new->ae.ssid = ssid; in avc_claim_node() 375 static inline struct avc_node *avc_search_node(security_id_t ssid, in avc_search_node() argument 384 hvalue = avc_hash(ssid, tsid, tclass); in avc_search_node() [all …]
|
/external/autotest/server/site_tests/network_WiFi_ProfileBasic/ |
D | network_WiFi_ProfileBasic.py | 51 def _assert_state_transition(self, ssid, states): argument 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, 116 ssid=self.context.router.get_ssid(instance=1)) 122 client_config1.ssid): [all …]
|
/external/autotest/client/cros/networking/ |
D | wifi_proxy.py | 44 def configure_wifi_service(self, ssid, security, security_parameters={}, argument 70 self.SERVICE_PROPERTY_SSID: ssid, 85 logging.info('Configured service: %s', ssid) 90 ssid, argument 128 logging.info('Attempting to connect to %s', ssid) 145 logging.info('Configuring %s as a hidden network.', ssid) 147 ssid, security, save_credentials=save_credentials, 154 logging.info('Configured hidden service: %s', ssid) 159 self.SERVICE_PROPERTY_NAME: ssid, 178 ssid, strength) [all …]
|
/external/autotest/server/cros/network/ |
D | wpa_cli_proxy.py | 55 def _add_network(self, ssid): argument 66 (network_id, ssid)) 67 self._created_networks[ssid] = network_id 68 logging.debug('Added network %s=%d', ssid, network_id) 122 def _is_associated(self, ssid): argument 131 return (status_dict.get('ssid', None) == ssid and 136 def _is_connected(self, ssid): argument 145 return (status_dict.get('ssid', None) == ssid and 261 network_id = self._add_network(assoc_params.ssid) 297 signal=match.group(3), ssid=match.group(5))) [all …]
|
/external/autotest/server/site_tests/network_WiFi_MissingBeacons/ |
D | network_WiFi_MissingBeacons.py | 27 def _assert_disconnect(self, ssid): argument 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) 71 ssid = self.context.router.get_ssid() 72 client_config = xmlrpc_datatypes.AssociationParameters(ssid=ssid) 77 self._assert_disconnect(ssid)
|
/external/autotest/server/site_tests/network_WiFi_RoamEndToEnd/ |
D | network_WiFi_RoamEndToEnd.py | 25 def _config_ap(self, channel, mode, ssid=None): argument 34 ssid=ssid) 54 ssid = self.context.router.get_ssid(instance=0) 57 ssid=ssid, 60 self._config_ap(149, hostap_config.HostapConfig.MODE_11N_PURE, ssid) 61 ssid = self.context.router.get_ssid(instance=1) 67 ssid=ssid,
|
/external/autotest/server/cros/ |
D | rf_switch_1_ap_box_1_ap_list.conf | 8 ssid = tplink_touchp5_n_ch1_wpa2 21 ssid = tplink_touchp5_ac_ch36_wpa2 34 ssid = dlink_dir842_n_ch5_wpa2 47 ssid = dlink_dir842_ac_ch149_wpa2 60 ssid = netgear_wnr3500lv2_n_ch3_wpa2 73 ssid = asus_rtac66u_n_ch2_wpa2 86 ssid = asus_rtac66u_ac_ch40_wpa2 99 ssid = tplink_c2600_n_ch4_wpa2 112 ssid = tplink_c2600_ac_ch48_wpa2 125 ssid = trendnet_tew824dru_n_ch6_wpa2 [all …]
|
D | rf_switch_1_ap_box_2_ap_list.conf | 8 ssid = netgear_r6220_n_ch1_wpa2 21 ssid = netgear_r6220_ac_ch36_wpa2 34 ssid = tplink_archerc9_n_ch2_wpa2 47 ssid = tplink_archerc9_ac_ch40_wpa2 60 ssid = dlink_dir817lw_n_ch3_wpa2 73 ssid = dlink_dir817lw_ac_ch44_wpa2 86 ssid = trendnet_tew827dru_n_ch4_wpa2 99 ssid = trendnet_tew827dru_ac_ch48_wpa2 112 ssid = linksys_ea9200_n_ch5_wpa2 125 ssid = linksys_ea9200_ac_ch36_wpa2 [all …]
|