/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() 208 ssid->ssid, ssid->ssid_len); in wpas_wps_security_workaround() 229 if (ie == NULL && (ssid->proto & WPA_PROTO_WPA) && in wpas_wps_security_workaround() 230 (ssid->pairwise_cipher & WPA_CIPHER_TKIP)) { in wpas_wps_security_workaround() 242 if (ccmp && !(ssid->pairwise_cipher & WPA_CIPHER_CCMP) && in wpas_wps_security_workaround() 243 (ssid->pairwise_cipher & WPA_CIPHER_TKIP) && 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 | mesh.c | 72 struct wpa_ssid *ssid) in mesh_config_create() argument 81 os_memcpy(conf->meshid, ssid->ssid, ssid->ssid_len); in mesh_config_create() 82 conf->meshid_len = ssid->ssid_len; in mesh_config_create() 84 if (ssid->key_mgmt & WPA_KEY_MGMT_SAE) in mesh_config_create() 90 conf->ieee80211w = ssid->ieee80211w; in mesh_config_create() 99 conf->ocv = ssid->ocv; in mesh_config_create() 102 cipher = wpa_pick_pairwise_cipher(ssid->pairwise_cipher, 0); in mesh_config_create() 110 cipher = wpa_pick_group_cipher(ssid->group_cipher); in mesh_config_create() 128 conf->dot11MeshMaxRetries = ssid->dot11MeshMaxRetries; in mesh_config_create() 129 conf->dot11MeshRetryTimeout = ssid->dot11MeshRetryTimeout; in mesh_config_create() [all …]
|
D | wpa_supplicant.conf | 1515 ssid="simple" 1523 ssid="second ssid" 1531 ssid="example" 1542 ssid="example" 1554 ssid="example" 1571 ssid="example" 1585 ssid="example" 1598 ssid="example" 1611 ssid="example" 1629 ssid="example" [all …]
|
D | wpa_supplicant.c | 130 int wpa_set_wep_keys(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid) in wpa_set_wep_keys() argument 135 if (ssid->wep_key_len[i] == 0) in wpa_set_wep_keys() 140 i, i == ssid->wep_tx_keyidx, NULL, 0, in wpa_set_wep_keys() 141 ssid->wep_key[i], ssid->wep_key_len[i]); in wpa_set_wep_keys() 149 struct wpa_ssid *ssid) in wpa_supplicant_set_wpa_none_key() argument 160 if (ssid->mode != WPAS_MODE_IBSS) { in wpa_supplicant_set_wpa_none_key() 162 "IBSS/ad-hoc) for WPA-None", ssid->mode); in wpa_supplicant_set_wpa_none_key() 166 if (!ssid->psk_set) { in wpa_supplicant_set_wpa_none_key() 174 os_memcpy(key, ssid->psk, 16); in wpa_supplicant_set_wpa_none_key() 179 os_memcpy(key, ssid->psk, 16); in wpa_supplicant_set_wpa_none_key() [all …]
|
D | ap.c | 49 struct wpa_ssid *ssid, in wpas_conf_ap_vht() argument 62 if (ssid->max_oper_chwidth) in wpas_conf_ap_vht() 63 conf->vht_oper_chwidth = ssid->max_oper_chwidth; in wpas_conf_ap_vht() 65 ieee80211_freq_to_chan(ssid->vht_center_freq2, in wpas_conf_ap_vht() 68 if (!ssid->p2p_group) { in wpas_conf_ap_vht() 69 if (!ssid->vht_center_freq1 || in wpas_conf_ap_vht() 72 ieee80211_freq_to_chan(ssid->vht_center_freq1, in wpas_conf_ap_vht() 137 struct wpa_ssid *ssid, in wpa_supplicant_conf_ap_ht() argument 140 conf->hw_mode = ieee80211_freq_to_chan(ssid->frequency, in wpa_supplicant_conf_ap_ht() 145 ssid->frequency); in wpa_supplicant_conf_ap_ht() [all …]
|
D | config_winreg.c | 291 struct wpa_ssid *ssid; in wpa_config_read_network() local 302 ssid = os_zalloc(sizeof(*ssid)); in wpa_config_read_network() 303 if (ssid == NULL) { in wpa_config_read_network() 307 dl_list_init(&ssid->psk_list); in wpa_config_read_network() 308 ssid->id = id; in wpa_config_read_network() 310 wpa_config_set_network_defaults(ssid); in wpa_config_read_network() 340 if (wpa_config_set(ssid, (char *) name, (char *) data, 0) < 0) in wpa_config_read_network() 346 if (ssid->passphrase) { in wpa_config_read_network() 347 if (ssid->psk_set) { in wpa_config_read_network() 352 wpa_config_update_psk(ssid); in wpa_config_read_network() [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 | WPA_CIPHER_CCMP_256 | in wpa_config_validate_network() 151 ssid->group_cipher &= ~WPA_CIPHER_CCMP; in wpa_config_validate_network() 154 if (ssid->mode == WPAS_MODE_MESH && in wpa_config_validate_network() [all …]
|
D | wpas_glue.c | 376 struct wpa_ssid *ssid = wpa_s->current_ssid; in wpa_get_beacon_ie() local 382 if (ssid == NULL || in wpa_get_beacon_ie() 383 ((bss->ssid_len == ssid->ssid_len && in wpa_get_beacon_ie() 384 os_memcmp(bss->ssid, ssid->ssid, ssid->ssid_len) == 0) || in wpa_get_beacon_ie() 385 ssid->ssid_len == 0)) { in wpa_get_beacon_ie() 532 struct wpa_ssid *ssid; in wpas_get_network_ctx() local 534 for (ssid = wpa_s->conf->ssid; ssid; ssid = ssid->next) { in wpas_get_network_ctx() 535 if (network_ctx == ssid) in wpas_get_network_ctx() 536 return ssid; in wpas_get_network_ctx() 549 struct wpa_ssid *ssid; in wpa_supplicant_add_pmkid() local [all …]
|
D | notify.c | 121 wpa_s->current_ssid && wpa_s->current_ssid->ssid ? in wpas_notify_state_changed() 122 wpa_ssid_txt(wpa_s->current_ssid->ssid, in wpas_notify_state_changed() 242 struct wpa_ssid *ssid) in wpas_notify_network_enabled_changed() argument 247 wpas_dbus_signal_network_enabled_changed(wpa_s, ssid); in wpas_notify_network_enabled_changed() 252 struct wpa_ssid *ssid) in wpas_notify_network_selected() argument 257 wpas_dbus_signal_network_selected(wpa_s, ssid->id); in wpas_notify_network_selected() 262 struct wpa_ssid *ssid, in wpas_notify_network_request() argument 269 wpas_dbus_signal_network_request(wpa_s, ssid, rtype, default_txt); in wpas_notify_network_request() 271 wpas_hidl_notify_network_request(wpa_s, ssid, rtype, default_txt); in wpas_notify_network_request() 370 struct wpa_ssid *ssid) in wpas_notify_network_added() argument [all …]
|
D | interworking.c | 869 static int set_root_nai(struct wpa_ssid *ssid, const char *imsi, char prefix) in set_root_nai() argument 874 return wpa_config_set_quoted(ssid, "identity", nai); in set_root_nai() 883 struct wpa_ssid *ssid, *sel_ssid; in already_connected() local 889 ssid = wpa_s->current_ssid; in already_connected() 890 if (ssid->parent_cred != cred) in already_connected() 893 if (ssid->ssid_len != bss->ssid_len || in already_connected() 894 os_memcmp(ssid->ssid, bss->ssid, bss->ssid_len) != 0) in already_connected() 899 if (selected && sel_ssid && sel_ssid->priority > ssid->priority) in already_connected() 910 struct wpa_ssid *ssid; in remove_duplicate_network() local 912 for (ssid = wpa_s->conf->ssid; ssid; ssid = ssid->next) { in remove_duplicate_network() [all …]
|
D | events.c | 63 int wpas_temp_disabled(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid) in wpas_temp_disabled() argument 67 if (ssid == NULL || ssid->disabled_until.sec == 0) in wpas_temp_disabled() 71 if (ssid->disabled_until.sec > now.sec) in wpas_temp_disabled() 72 return ssid->disabled_until.sec - now.sec; in wpas_temp_disabled() 74 wpas_clear_temp_disabled(wpa_s, ssid, 0); in wpas_temp_disabled() 93 struct wpa_ssid *ssid; in wpas_reenabled_network_time() local 102 for (ssid = wpa_s->conf->ssid; ssid; ssid = ssid->next) { in wpas_reenabled_network_time() 103 if (ssid->disabled) in wpas_reenabled_network_time() 106 disabled_for = wpas_temp_disabled(wpa_s, ssid); in wpas_reenabled_network_time() 139 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() 837 struct wpa_ssid *ssid; in wpas_p2p_group_delete() local [all …]
|
/external/wpa_supplicant_8/src/ap/ |
D | neighbor_db.c | 20 const struct wpa_ssid_value *ssid) in hostapd_neighbor_get() argument 27 (!ssid || in hostapd_neighbor_get() 28 (ssid->ssid_len == nr->ssid.ssid_len && in hostapd_neighbor_get() 29 os_memcmp(ssid->ssid, nr->ssid.ssid, in hostapd_neighbor_get() 30 ssid->ssid_len) == 0))) in hostapd_neighbor_get() 46 os_memset(&nr->ssid, 0, sizeof(nr->ssid)); in hostapd_neighbor_clear_entry() 67 const struct wpa_ssid_value *ssid, in hostapd_neighbor_set() argument 73 entry = hostapd_neighbor_get(hapd, bssid, ssid); in hostapd_neighbor_set() 82 os_memcpy(&entry->ssid, ssid, sizeof(entry->ssid)); in hostapd_neighbor_set() 105 hostapd_neighbor_remove(hapd, bssid, ssid); in hostapd_neighbor_set() [all …]
|
/external/autotest/client/cros/enterprise/ |
D | enterprise_network_api.py | 89 def _get_network_info(self, ssid): argument 104 if network_info.name == ssid: 109 def _get_network_connection_state(self, ssid): argument 116 network_info = self._get_network_info(ssid) 122 def connect_to_network(self, ssid): argument 132 if not self.is_network_in_range(ssid): 134 ssid) 136 network_to_connect = self._get_network_info(ssid) 156 def disconnect_from_network(self, ssid): argument 166 if not self.is_network_in_range(ssid): [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/server/cros/ |
D | casey_chromeos7_ap_list.conf | 8 ssid = amped_r10000_n_ch1_wpa2_24ghz 21 ssid = asus_rtac52u_n_ch3_wpa2_24ghz 34 ssid = asus_rtac52u_ac_ch40_wpa2_5ghz 47 ssid = asus_rtac56u_n_ch5_wpa2_24ghz 60 ssid = asus_rtac56u_ac_ch36_wpa2_5ghz 73 ssid = asus_rtac68u_n_ch7_wpa2_24ghz 86 ssid = asus_rtac68u_ac_ch44_wpa2_5ghz 99 ssid = asus_rtac87u_n_ch9_wpa2_24ghz 112 ssid = asus_rtac87u_n_ch48_wpa2_5ghz 125 ssid = belkin_n600_n_ch11_wpa2 [all …]
|
D | chaos_ap_list.conf | 98 ssid = asus_ac66r_n_ch11_wpa2 111 ssid = asus_ac66r_ac_ch44_wpa2 124 ssid = asus_rtn16_n_ch1_wpa2 137 ssid = belkin_f5d8235_n_ch1_wpa2 154 ssid = belkin_f7d5301_n_ch11_wpa2 167 ssid = belkin_f9k1103v1_n_ch11_wpa2 180 ssid = belkin_f9k1103v1_n_ch149_wpa2 193 ssid = buffalo_wzr-hp-g450h_n_ch6_wpa2 232 ssid = cisco_e1000_n_ch11_wpa2 245 ssid = cisco_wrt610n_n_ch6_wpa2 [all …]
|
/external/autotest/server/cros/network/ |
D | wpa_cli_proxy.py | 56 def _add_network(self, ssid): argument 67 (network_id, ssid)) 68 self._created_networks[ssid] = network_id 69 logging.debug('Added network %s=%d', ssid, network_id) 123 def _is_associated(self, ssid): argument 132 return (status_dict.get('ssid', None) == ssid and 137 def _is_connected(self, ssid): argument 146 return (status_dict.get('ssid', None) == ssid and 237 network_id = self._add_network(assoc_params.ssid) 273 signal=match.group(3), ssid=match.group(5))) [all …]
|
/external/autotest/client/cros/networking/ |
D | wifi_proxy.py | 44 def configure_wifi_service(self, ssid, security, security_parameters=None, argument 74 self.SERVICE_PROPERTY_SSID: ssid, 89 logging.info('Configured service: %s', ssid) 94 ssid, argument 132 logging.info('Attempting to connect to %s', ssid) 148 logging.info('Configuring %s as a hidden network.', ssid) 150 ssid, security, save_credentials=save_credentials, 157 logging.info('Configured hidden service: %s', ssid) 162 self.SERVICE_PROPERTY_NAME: ssid, 181 ssid, strength) [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,
|