/external/wpa_supplicant_6/wpa_supplicant/ |
config_file.c | 95 static int wpa_config_validate_network(struct wpa_ssid *ssid, int line) 99 if (ssid->passphrase) { 100 if (ssid->psk_set) { 105 wpa_config_update_psk(ssid); 108 if ((ssid->key_mgmt & (WPA_KEY_MGMT_PSK | WPA_KEY_MGMT_FT_PSK | 110 !ssid->psk_set) { 116 if ((ssid->group_cipher & WPA_CIPHER_CCMP) && 117 !(ssid->pairwise_cipher & WPA_CIPHER_CCMP) && 118 !(ssid->pairwise_cipher & WPA_CIPHER_NONE)) { 123 ssid->group_cipher &= ~WPA_CIPHER_CCMP 132 struct wpa_ssid *ssid; local 509 struct wpa_ssid *ssid, *tail = NULL, *head = NULL; local 906 struct wpa_ssid *ssid; local [all...] |
config_winreg.c | 31 ssid="example" 268 struct wpa_ssid *ssid; local 279 ssid = os_zalloc(sizeof(*ssid)); 280 if (ssid == NULL) { 284 ssid->id = id; 286 wpa_config_set_network_defaults(ssid); 316 if (wpa_config_set(ssid, (char *) name, (char *) data, 0) < 0) 322 if (ssid->passphrase) { 323 if (ssid->psk_set) 362 struct wpa_ssid *ssid, *tail = NULL, *head = NULL; local 935 struct wpa_ssid *ssid; local [all...] |
wpa_passphrase.c | 25 char *ssid, *passphrase, buf[64], *pos; local 28 printf("usage: wpa_passphrase <ssid> [passphrase]\n" 34 ssid = argv[1]; 61 pbkdf2_sha1(passphrase, ssid, os_strlen(ssid), 4096, psk, 32); 64 printf("\tssid=\"%s\"\n", ssid);
|
events.c | 39 struct wpa_ssid *ssid; local 46 ssid = wpa_supplicant_get_ssid(wpa_s); 47 if (ssid == NULL) { 53 if (ssid->disabled) { 60 if (ssid->key_mgmt & (WPA_KEY_MGMT_PSK | WPA_KEY_MGMT_IEEE8021X | 67 wpa_supplicant_set_suites(wpa_s, NULL, ssid, 70 wpa_supplicant_set_non_wpa_policy(wpa_s, ssid); 73 if (wpa_s->current_ssid && wpa_s->current_ssid != ssid) 75 wpa_s->current_ssid = ssid; 180 * @ssid: Configuration data for the networ 385 struct wpa_ssid *ssid; local 480 struct wpa_ssid *ssid; local 630 struct wpa_ssid *ssid = NULL; local [all...] |
/external/wpa_supplicant/ |
events.c | 35 struct wpa_ssid *ssid; local 40 ssid = wpa_supplicant_get_ssid(wpa_s); 41 if (ssid == NULL) { 47 if (ssid->disabled) { 54 if (ssid->key_mgmt & (WPA_KEY_MGMT_PSK | WPA_KEY_MGMT_IEEE8021X | 58 wpa_supplicant_set_suites(wpa_s, NULL, ssid, 61 wpa_supplicant_set_non_wpa_policy(wpa_s, ssid); 64 if (wpa_s->current_ssid && wpa_s->current_ssid != ssid) 66 wpa_s->current_ssid = ssid; 168 * @ssid: Configuration data for the networ 358 struct wpa_ssid *ssid; local 505 struct wpa_ssid *ssid = NULL; local [all...] |
config_file.c | 96 static int wpa_config_validate_network(struct wpa_ssid *ssid, int line) 100 if (ssid->passphrase) { 101 if (ssid->psk_set) { 106 wpa_config_update_psk(ssid); 109 if ((ssid->key_mgmt & WPA_KEY_MGMT_PSK) && !ssid->psk_set) { 115 if ((ssid->group_cipher & WPA_CIPHER_CCMP) && 116 !(ssid->pairwise_cipher & WPA_CIPHER_CCMP) && 117 !(ssid->pairwise_cipher & WPA_CIPHER_NONE)) { 122 ssid->group_cipher &= ~WPA_CIPHER_CCMP 131 struct wpa_ssid *ssid; local 250 struct wpa_ssid *ssid, *tail = NULL, *head = NULL; local 702 struct wpa_ssid *ssid; local [all...] |
config_winreg.c | 28 * ssid="example" 204 struct wpa_ssid *ssid; local 215 ssid = os_zalloc(sizeof(*ssid)); 216 if (ssid == NULL) { 220 ssid->id = id; 222 wpa_config_set_network_defaults(ssid); 252 if (wpa_config_set(ssid, (char *) name, (char *) data, 0) < 0) 258 if (ssid->passphrase) { 259 if (ssid->psk_set) 296 struct wpa_ssid *ssid, *tail = NULL, *head = NULL; local 839 struct wpa_ssid *ssid; local [all...] |
wpa_passphrase.c | 25 char *ssid, *passphrase, buf[64], *pos; local 28 printf("usage: wpa_passphrase <ssid> [passphrase]\n" 34 ssid = argv[1]; 61 pbkdf2_sha1(passphrase, ssid, os_strlen(ssid), 4096, psk, 32); 64 printf("\tssid=\"%s\"\n", ssid);
|
ctrl_iface.c | 128 struct wpa_ssid *ssid; local 144 ssid = wpa_config_get_network(wpa_s->conf, id); 145 if (ssid == NULL) { 146 wpa_printf(MSG_DEBUG, "CTRL_IFACE: Could not find SSID id=%d " 152 os_free(ssid->identity); 153 ssid->identity = (u8 *) os_strdup(pos); 154 ssid->identity_len = os_strlen(pos); 155 ssid->pending_req_identity = 0; 156 if (ssid == wpa_s->current_ssid) 159 os_free(ssid->password) 215 struct wpa_ssid *ssid = wpa_s->current_ssid; local 287 struct wpa_ssid *ssid; local 321 struct wpa_ssid *ssid; local 377 struct wpa_ssid *ssid; local 610 struct wpa_ssid *ssid; local 656 struct wpa_ssid *ssid; local 690 struct wpa_ssid *ssid; local 714 struct wpa_ssid *ssid; local 736 struct wpa_ssid *ssid; local 768 struct wpa_ssid *ssid; local 826 struct wpa_ssid *ssid; local [all...] |
pmksa_cache.h | 31 struct wpa_ssid *ssid; member in struct:rsn_pmksa_cache_entry 49 const u8 *aa, const u8 *spa, struct wpa_ssid *ssid); 54 const u8 *bssid, struct wpa_ssid *ssid, 58 struct wpa_ssid *ssid, const u8 *aa); 93 const u8 *aa, const u8 *spa, struct wpa_ssid *ssid) 108 struct wpa_ssid *ssid,
|
/external/wpa_supplicant_8/wpa_supplicant/ |
ap.c | 54 struct wpa_ssid *ssid, 68 if (ssid->frequency == 0) { 72 } else if (ssid->frequency >= 2412 && ssid->frequency <= 2472) { 74 conf->channel = (ssid->frequency - 2407) / 5; 75 } else if ((ssid->frequency >= 5180 && ssid->frequency <= 5240) || 76 (ssid->frequency >= 5745 && ssid->frequency <= 5825)) { 78 conf->channel = (ssid->frequency - 5000) / 5 849 struct wpa_ssid *ssid = wpa_s->current_ssid; local [all...] |
config_winreg.c | 31 ssid="example" 290 struct wpa_ssid *ssid; local 301 ssid = os_zalloc(sizeof(*ssid)); 302 if (ssid == NULL) { 306 ssid->id = id; 308 wpa_config_set_network_defaults(ssid); 338 if (wpa_config_set(ssid, (char *) name, (char *) data, 0) < 0) 344 if (ssid->passphrase) { 345 if (ssid->psk_set) 384 struct wpa_ssid *ssid, *tail = NULL, *head = NULL; local 980 struct wpa_ssid *ssid; local [all...] |
wpa_passphrase.c | 25 char *ssid, *passphrase, buf[64], *pos; local 28 printf("usage: wpa_passphrase <ssid> [passphrase]\n" 34 ssid = argv[1]; 61 pbkdf2_sha1(passphrase, ssid, os_strlen(ssid), 4096, psk, 32); 64 printf("\tssid=\"%s\"\n", ssid);
|
wps_supplicant.h | 37 enum wps_request_type wpas_wps_get_req_type(struct wpa_ssid *ssid); 48 struct wpa_ssid *ssid, struct wpa_scan_res *bss); 50 struct wpa_ssid *ssid, struct wpa_scan_res *bss); 52 struct wpa_bss *selected, struct wpa_ssid *ssid); 88 static inline u8 wpas_wps_get_req_type(struct wpa_ssid *ssid) 94 struct wpa_ssid *ssid, 101 struct wpa_ssid *ssid, 109 struct wpa_ssid *ssid)
|
/external/wpa_supplicant_8/src/ap/ |
ap_config.c | 183 struct hostapd_ssid *ssid) 249 pbkdf2_sha1(pos, ssid->ssid, ssid->ssid_len, 261 psk->next = ssid->wpa_psk; 262 ssid->wpa_psk = psk; 271 static int hostapd_derive_psk(struct hostapd_ssid *ssid) 273 ssid->wpa_psk = os_zalloc(sizeof(struct hostapd_wpa_psk)); 274 if (ssid->wpa_psk == NULL) { 278 wpa_hexdump_ascii(MSG_DEBUG, "SSID", 294 struct hostapd_ssid *ssid = &conf->ssid; local 417 struct hostapd_ssid *ssid = &conf->ssid; local [all...] |
/external/wpa_supplicant/examples/ |
ieee8021x.conf | 6 ssid="example 802.1x network"
|
wpa2-eap-ccmp.conf | 6 ssid="example wpa2-eap network"
|
/external/wpa_supplicant_6/wpa_supplicant/examples/ |
ieee8021x.conf | 6 ssid="example 802.1x network"
|
wpa2-eap-ccmp.conf | 6 ssid="example wpa2-eap network"
|
/external/wpa_supplicant_8/wpa_supplicant/examples/ |
ieee8021x.conf | 6 ssid="example 802.1x network"
|
wpa2-eap-ccmp.conf | 6 ssid="example wpa2-eap network"
|
/hardware/broadcom/wlan/bcmdhd/wpa_supplicant_8_lib/ |
driver_cmd_common.h | 34 /* SSID header size is SSID section type above + SSID length */ 53 /* PNO Max command size is total of header, version, ssid and other sections + Null termination */
|
/system/core/nexus/ |
SupplicantStatus.cpp | 33 SupplicantStatus::SupplicantStatus(int state, int id, char *bssid, char *ssid) : 34 mWpaState(state), mId(id), mBssid(bssid), mSsid(ssid) { 36 LOGD("state %d, id %d, bssid %p, ssid %p\n", mWpaState, mId, mBssid, mSsid); 48 char *ssid = NULL; local 60 else if (!strcmp(token, "ssid")) 61 ssid = strdup(value); 89 return new SupplicantStatus(state, id, bssid, ssid);
|
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/ |
Apple80211.h | 26 UInt8 ssid[34]; member in struct:WirelessInfo 43 UInt8 ssid[32]; member in struct:WirelessNetworkInfo 64 UInt32 strip_dups, CFStringRef ssid); 65 WirelessError WirelessDirectedScan2(WirelessRef ref, CFDataRef ssid, 67 WirelessError WirelessJoin(WirelessRef ref, CFStringRef ssid); 68 WirelessError WirelessJoinWEP(WirelessRef ref, CFStringRef ssid, 70 WirelessError WirelessJoin8021x(WirelessRef ref, CFStringRef ssid); 91 WirelessError WirelessAssociate(WirelessRef ref, int type, CFDataRef ssid, 98 * Get a copy of scan results for the given SSID 101 * SSID: CFData buffer of the SSI [all...] |
/external/wpa_supplicant_8/src/drivers/ |
Apple80211.h | 26 UInt8 ssid[34]; member in struct:WirelessInfo 43 UInt8 ssid[32]; member in struct:WirelessNetworkInfo 64 UInt32 strip_dups, CFStringRef ssid); 65 WirelessError WirelessDirectedScan2(WirelessRef ref, CFDataRef ssid, 67 WirelessError WirelessJoin(WirelessRef ref, CFStringRef ssid); 68 WirelessError WirelessJoinWEP(WirelessRef ref, CFStringRef ssid, 70 WirelessError WirelessJoin8021x(WirelessRef ref, CFStringRef ssid); 91 WirelessError WirelessAssociate(WirelessRef ref, int type, CFDataRef ssid, 98 * Get a copy of scan results for the given SSID 101 * SSID: CFData buffer of the SSI [all...] |