HomeSort by relevance Sort by last modified time
    Searched defs:ssid (Results 51 - 75 of 86) sorted by null

1 23 4

  /external/wpa_supplicant_8/src/ap/
wps_hostapd.c 100 struct hostapd_ssid *ssid = &hapd->conf->ssid; local
133 p->next = ssid->wpa_psk;
134 ssid->wpa_psk = p;
136 if (ssid->wpa_psk_file) {
140 f = fopen(ssid->wpa_psk_file, "a");
143 "'%s'", ssid->wpa_psk_file);
313 os_memcpy(bss->ssid.ssid, cred->ssid, cred->ssid_len)
    [all...]
  /external/wpa_supplicant_8/src/drivers/
driver_hostap.h 195 u8 ssid[32]; member in struct:prism2_hostapd_param::__anon30615::__anon30623
driver_wext.c 124 * wpa_driver_wext_get_ssid - Get SSID, SIOCGIWESSID
126 * @ssid: Buffer for the SSID; must be at least 32 bytes long
127 * Returns: SSID length on success, -1 on failure
129 int wpa_driver_wext_get_ssid(void *priv, u8 *ssid)
137 iwr.u.essid.pointer = (caddr_t) ssid;
147 /* Some drivers include nul termination in the SSID, so let's
151 if (ret > 0 && ssid[ret - 1] == '\0' &&
161 * wpa_driver_wext_set_ssid - Set SSID, SIOCSIWESSID
163 * @ssid: SSI
1024 const u8 *ssid = params->ssids[0].ssid; local
1127 u8 ssid[32]; member in struct:wext_scan_data
1873 u8 ssid[32]; local
    [all...]
driver_test.c 56 u8 ssid[32]; member in struct:test_driver_bss
566 /* reply: SCANRESP BSSID SSID IEs */
573 bss->ssid, bss->ssid_len);
600 u8 ie[256], ssid[32]; local
605 /* data: STA-addr SSID(hex) IEs(hex) */
624 if (hexstr2bin(pos, ssid, ssid_len) < 0) {
625 wpa_printf(MSG_DEBUG, "%s: Invalid SSID", __func__);
629 wpa_hexdump_ascii(MSG_DEBUG, "test_driver_assoc: SSID",
630 ssid, ssid_len);
643 os_memcmp(tmp->ssid, ssid, ssid_len) == 0)
    [all...]
  /external/wpa_supplicant_8/src/p2p/
p2p.h 81 * ssid - SSID of the group
83 u8 ssid[32]; member in struct:p2p_go_neg_results
86 * ssid_len - Length of SSID in octets
356 * ssid_postfix - Postfix data to add to the SSID
358 * This data will be added to the end of the SSID after the
684 * @ssid: SSID from P2P Group ID
685 * @ssid_len: Length of ssid buffer in octets
711 const u8 *go_dev_addr, const u8 *ssid,
1330 u8 ssid[32]; member in struct:p2p_group_config
    [all...]
p2p_i.h 294 * ssid - Selected SSID for GO Negotiation (if local end will be GO)
296 u8 ssid[32]; member in struct:p2p_data
299 * ssid_len - ssid length in octets
304 * ssid_set - Whether SSID is already set for GO Negotiation
543 /* SSID IE */
544 const u8 *ssid; member in struct:p2p_message
630 const u8 *ssid, size_t ssid_len);
724 void p2p_build_ssid(struct p2p_data *p2p, u8 *ssid, size_t *ssid_len);
  /external/wpa_supplicant_8/wpa_supplicant/
config.h 202 u8 ssid[MAX_SSID_LEN]; member in struct:wpa_cred::excluded_ssid
236 * ssid - Head of the global network list
240 struct wpa_ssid *ssid; member in struct:wpa_config
293 * 2: like 0, but associate with APs using security policy and SSID
628 * filter_ssids - SSID-based scan result filtering
895 void wpa_config_free(struct wpa_config *ssid);
896 void wpa_config_free_ssid(struct wpa_ssid *ssid);
903 void wpa_config_set_network_defaults(struct wpa_ssid *ssid);
904 int wpa_config_set(struct wpa_ssid *ssid, const char *var, const char *value,
906 int wpa_config_set_quoted(struct wpa_ssid *ssid, const char *var
    [all...]
config_ssid.h 49 * the network list, struct wpa_config::ssid. Each network block in the
57 * this list is stored in the ssid field of struct wpa_config.
100 * ssid - Service set identifier (network name)
102 * This is the SSID for the network. For wireless interfaces, this is
104 * ssid_len=0), any SSID can be used. For wired interfaces, this must
105 * be set to %NULL. Note: SSID may contain any characters, even nul
108 * and the ssid field is not guaranteed to be nul terminated.
110 u8 *ssid; member in struct:wpa_ssid
113 * ssid_len - Length of the SSID
146 * If this is set, psk will be generated using the SSID and passphras
    [all...]
events.c 54 struct wpa_ssid *ssid)
58 if (ssid == NULL || ssid->disabled_until.sec == 0)
62 if (ssid->disabled_until.sec > now.sec)
63 return ssid->disabled_until.sec - now.sec;
65 wpas_clear_temp_disabled(wpa_s, ssid, 0);
73 struct wpa_ssid *ssid, *old_ssid; local
81 ssid = wpa_supplicant_get_ssid(wpa_s);
82 if (ssid == NULL) {
88 if (wpas_network_disabled(wpa_s, ssid)) {
712 struct wpa_ssid *ssid; local
1020 struct wpa_ssid *ssid; local
1047 const u8 *ssid, *rsn; local
1279 struct wpa_ssid *ssid = NULL; local
1695 struct wpa_ssid *ssid = wpa_s->current_ssid; local
2350 struct wpa_ssid *ssid; local
2368 struct wpa_ssid *ssid = wpa_s->current_ssid; local
    [all...]
interworking.c 739 static int set_root_nai(struct wpa_ssid *ssid, const char *imsi, char prefix)
744 return wpa_config_set_quoted(ssid, "identity", nai);
751 struct wpa_ssid *ssid)
753 if (wpa_config_set(ssid, "key_mgmt",
757 if (wpa_config_set(ssid, "proto", "RSN", 0) < 0)
759 if (wpa_config_set(ssid, "pairwise", "CCMP", 0) < 0)
770 struct wpa_ssid *ssid; local
785 ssid = wpa_config_add_network(wpa_s->conf);
786 if (ssid == NULL)
788 ssid->parent_cred = cred
1111 struct wpa_ssid *ssid; local
1160 struct wpa_ssid *ssid; local
1577 struct wpa_ssid *ssid; local
    [all...]
wps_supplicant.c 88 struct wpa_ssid *ssid = NULL; local
108 bss = wpa_supplicant_pick_network(wpa_s, &ssid);
142 struct wpa_ssid *ssid,
162 if (ssid->ssid == NULL)
164 bss = wpa_bss_get(wpa_s, cred->mac_addr, ssid->ssid, ssid->ssid_len);
185 if (ie == NULL && (ssid->proto & WPA_PROTO_WPA) &&
186 (ssid->pairwise_cipher & WPA_CIPHER_TKIP))
225 struct wpa_ssid *ssid, *next; local
300 struct wpa_ssid *ssid = wpa_s->current_ssid; local
621 struct wpa_ssid *ssid; local
883 struct wpa_ssid *ssid, *remove_ssid = NULL, *prev_current; local
932 struct wpa_ssid *ssid; local
998 struct wpa_ssid *ssid; local
1059 struct wpa_ssid *ssid; local
1092 struct wpa_ssid *ssid; local
1167 struct wpa_ssid *ssid; local
1673 struct wpa_ssid *ssid; local
1822 struct wpa_ssid *ssid; local
1957 struct wpa_ssid *ssid; local
2057 struct wpa_ssid *ssid; local
    [all...]
config.c 34 int (*parser)(const struct parse_data *data, struct wpa_ssid *ssid,
40 char * (*writer)(const struct parse_data *data, struct wpa_ssid *ssid);
57 struct wpa_ssid *ssid,
104 dst = (char **) (((u8 *) ssid) + (long) data->param1);
105 dst_len = (size_t *) (((u8 *) ssid) + (long) data->param2);
158 struct wpa_ssid *ssid)
163 src = (char **) (((u8 *) ssid) + (long) data->param1);
168 len = *((size_t *) (((u8 *) ssid) + (long) data->param2));
178 struct wpa_ssid *ssid,
184 dst = (int *) (((u8 *) ssid) + (long) data->param1)
1717 struct wpa_ssid *ssid; local
1846 struct wpa_ssid *ssid, *prev = NULL; local
1917 struct wpa_ssid *ssid, *next; local
1936 struct wpa_ssid *ssid; local
1957 struct wpa_ssid *ssid, *last = NULL; local
1993 struct wpa_ssid *ssid, *prev = NULL; local
2674 struct wpa_ssid *ssid; local
    [all...]
wpa_supplicant.c 113 int wpa_set_wep_keys(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid)
118 if (ssid->wep_key_len[i] == 0)
123 i, i == ssid->wep_tx_keyidx, NULL, 0,
124 ssid->wep_key[i], ssid->wep_key_len[i]);
132 struct wpa_ssid *ssid)
142 if (ssid->mode != WPAS_MODE_IBSS) {
144 "IBSS/ad-hoc) for WPA-None", ssid->mode);
148 if (!ssid->psk_set) {
156 os_memcpy(key, ssid->psk, 16)
258 struct wpa_ssid *ssid = wpa_s->current_ssid; local
396 struct wpa_ssid *ssid; local
664 struct wpa_ssid *ssid = wpa_s->current_ssid; local
2108 u8 ssid[MAX_SSID_LEN]; local
3152 struct wpa_ssid *ssid; local
3819 struct wpa_ssid *ssid = wpa_s->current_ssid; local
    [all...]
ctrl_iface.c 55 struct wpa_ssid *ssid; local
75 ssid = wpa_s->conf->ssid;
76 while (ssid) {
77 if (!wpas_network_disabled(wpa_s, ssid))
79 ssid = ssid->next;
97 ssid = wpa_s->conf->ssid;
98 while (ssid) {
182 struct wpa_ssid_value *ssid = NULL, *ns; local
491 struct wpa_ssid *ssid = wpa_s->current_ssid; local
1391 struct wpa_ssid *ssid; local
1435 struct wpa_ssid *ssid = wpa_s->current_ssid; local
1636 struct wpa_ssid *ssid = wpa_s->current_ssid; local
1654 struct wpa_ssid *ssid; local
1833 struct wpa_ssid *ssid; local
2148 struct wpa_ssid *ssid; local
2181 struct wpa_ssid *ssid; local
2218 struct wpa_ssid *ssid; local
2250 struct wpa_ssid *ssid; local
2275 struct wpa_ssid *ssid; local
2359 struct wpa_ssid *ssid; local
2420 struct wpa_ssid *ssid; local
2514 struct wpa_ssid *ssid; local
3724 struct wpa_ssid *ssid; local
3838 struct wpa_ssid *ssid = wpa_s->current_ssid; local
4141 struct wpa_ssid *ssid; local
4230 struct wpa_ssid *ssid; local
4281 struct wpa_ssid *ssid; local
    [all...]
p2p_supplicant.c 243 /* P2P Wildcard SSID */
245 params.ssids[0].ssid = (u8 *) P2P_WILDCARD_SSID;
320 const u8 *ssid,
326 for (s = wpa_s->conf->ssid; s; s = s->next) {
329 os_memcmp(ssid, s->ssid, ssid_len) != 0)
347 struct wpa_ssid *ssid; local
351 ssid = wpa_s->current_ssid;
352 if (ssid == NULL) {
354 * The current SSID was not known, but there may still be
647 struct wpa_ssid *ssid, *s; local
717 struct wpa_ssid *ssid; local
964 struct wpa_ssid *ssid; local
1035 struct wpa_ssid *ssid; local
1330 struct wpa_ssid *ssid; local
2799 struct wpa_ssid *ssid; local
2819 struct wpa_ssid *ssid; local
3152 struct wpa_ssid *ssid = wpa_s->current_ssid; local
4091 struct wpa_ssid *ssid = NULL; local
4595 struct wpa_ssid *ssid; local
4785 struct wpa_ssid *ssid = wpa_s->current_ssid; local
5177 struct wpa_ssid *ssid; local
5246 struct wpa_ssid *ssid = wpa_s->current_ssid; local
6147 struct wpa_ssid *ssid = wpa_s->current_ssid; local
6341 struct wpa_ssid *ssid = wpa_s->current_ssid; local
    [all...]
  /external/wpa_supplicant_8/wpa_supplicant/dbus/
dbus_new.c 473 * (EAP password, etc.) is required to complete the association to this SSID
482 struct wpa_ssid *ssid,
510 wpa_s->dbus_new_path, ssid->id);
535 * @ssid: configured network which Enabled property has changed
541 struct wpa_ssid *ssid)
547 wpa_s->dbus_new_path, ssid->id);
764 if (!wpa_dbus_dict_append_byte_array(&dict_iter, "SSID",
765 (const char *) cred->ssid,
1140 const struct wpa_ssid *ssid,
1145 if (os_memcmp(ssid->ssid, P2P_WILDCARD_SSID, P2P_WILDCARD_SSID_LEN)
2235 struct wpa_ssid *ssid; local
    [all...]
dbus_new_handlers_p2p.c 293 struct wpa_ssid *ssid; local
344 /* Get the SSID structure from the persistent group id */
345 ssid = wpa_config_get_network(wpa_s->conf, group_id);
346 if (ssid == NULL || ssid->disabled != 2)
349 if (wpas_p2p_group_add_persistent(wpa_s, ssid, 0, freq, 0,
572 struct wpa_ssid *ssid; local
629 /* Get the SSID structure from the persistent group id */
630 ssid = wpa_config_get_network(wpa_s->conf, group_id);
631 if (ssid == NULL || ssid->disabled != 2
1094 struct wpa_ssid *ssid = wpa_s->current_ssid; local
1496 struct wpa_ssid *ssid; local
1586 struct wpa_ssid *ssid = net->ssid; local
1614 struct wpa_ssid *ssid = NULL; local
1698 struct wpa_ssid *ssid; local
1774 struct wpa_ssid *ssid, *next; local
1798 struct wpa_ssid *ssid; local
    [all...]
dbus_new_handlers.c 162 * @ssid: wpa_ssid structure for a configured network
171 struct wpa_ssid *ssid,
246 if (wpa_config_set(ssid, entry.key, value, 0) < 0)
250 value[0] == '"' && ssid->ssid_len) ||
251 (os_strcmp(entry.key, "ssid") == 0 && ssid->passphrase))
252 wpa_config_update_psk(ssid);
985 u8 *ssid; local
1031 "SSID too long (len=%d max_len=%d)",
1034 message, "Invalid SSID: too long")
1382 struct wpa_ssid *ssid = NULL; local
1481 struct wpa_ssid *ssid; local
1596 struct wpa_ssid *ssid; local
1649 struct wpa_ssid *ssid; local
2937 struct wpa_ssid *ssid; local
3573 struct wpa_ssid *ssid; local
3668 struct wpa_ssid *ssid = net->ssid; local
    [all...]
  /external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/
peers.cpp 589 QString ssid, bssid, flags, wps_name, pri_dev_type;
605 else if ((*it).startsWith("ssid="))
606 ssid = (*it).mid(pos);
615 name = ssid + "\n" + bssid;
640 if (!ssid.isEmpty())
641 item->setData(ssid, peer_role_ssid);
674 void Peers::add_persistent(int id, const char *ssid, const char *bssid)
687 QString name = ssid;
701 item->setData(ssid, peer_role_ssid);
715 char buf[2048], *start, *end, *id, *ssid, *bssid, *flags local
754 add_persistent(atoi(id), ssid, bssid); local
    [all...]
  /frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
ConnectivityManagerTestBase.java 90 public String mPowerSsid = "opennet"; //Default power SSID
548 * Associate the device to given SSID
554 config.SSID = knownSSID;
560 * Connect to Wi-Fi with the given configuration. Note the SSID in the configuration
566 String ssid = config.SSID; local
567 config.SSID = convertToQuotedString(ssid);
  /frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
ConnectionUtil.java 532 * Associate the device to given SSID
538 config.SSID = knownSSID;
549 // The SSID in the configuration is a pure string, need to convert it to a quoted string.
550 String ssid = config.SSID; local
551 config.SSID = convertToQuotedString(ssid);
571 if (sr.SSID.equals(ssid)) {
572 Log.v(LOG_TAG, "Found " + ssid + " in the scan result list.")
    [all...]
  /hardware/ti/wlan/mac80211/wpa_supplicant_lib/
driver_mac80211.c 760 * Unlock the driver's BSSID and force to a random SSID to clear any
874 u8 ssid[32]; member in struct:wext_scan_data
903 os_memcpy(res->ssid, custom, ssid_len);
1450 u8 ssid[32]; local
2008 u8 ssid[MAX_SSID_LEN]; local
    [all...]
  /external/wpa_supplicant_8/src/wps/
wps.h 34 * @ssid: SSID
35 * @ssid_len: Length of SSID
48 u8 ssid[32]; member in struct:wps_credential
617 * ssid - SSID
619 * This SSID is used by the Registrar to fill in information for
623 u8 ssid[32]; member in struct:wps_context
626 * ssid_len - Length of ssid in octets
  /frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
SettingsBackupAgent.java 138 String ssid = ""; // equals() and hashCode() need these to be non-null field in class:SettingsBackupAgent.Network
166 // remember the ssid and key_mgmt lines for duplicate culling
167 if (line.startsWith("ssid")) {
168 ssid = line;
207 return ssid.equals(other.ssid) && key_mgmt.equals(other.key_mgmt);
213 result = 31 * result + ssid.hashCode();
237 Log.v(TAG, "Adding " + net.ssid + " / " + net.key_mgmt);
243 Log.v(TAG, "Dupe; skipped " + net.ssid + " / " + net.key_mgmt);
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
NetworkController.java 879 String ssid = info.getSSID(); local
    [all...]

Completed in 315 milliseconds

1 23 4