/external/wpa_supplicant_8/wpa_supplicant/ |
H A D | config_winreg.c | 67 TCHAR name[TNAMELEN]; local 73 ret = RegEnumValue(bhk, i, name, &namelen, NULL, &type, 87 name[namelen] = TEXT('\0'); 88 wpa_unicode2ascii_inplace(name); 94 (int) i, name, (int) datalen); 101 blob->name = os_strdup((char *) name); 103 if (blob->name == NULL || blob->data == NULL) { 120 static int wpa_config_read_reg_dword(HKEY hk, const TCHAR *name, int *_val) argument 126 ret = RegQueryValueEx(hk, name, NUL 137 wpa_config_read_reg_string(HKEY hk, const TCHAR *name) argument 311 TCHAR name[255], data[1024]; local 389 TCHAR name[255]; local 438 wpa_config_read(const char *name, struct wpa_config *cfgp) argument 492 wpa_config_write_reg_dword(HKEY hk, const TCHAR *name, int val, int def) argument 515 wpa_config_write_reg_string(HKEY hk, const char *name, const char *val) argument 648 TCHAR name[255]; local 836 TCHAR name[5]; local 951 TCHAR *name; local 981 wpa_config_write(const char *name, struct wpa_config *config) argument [all...] |
H A D | ctrl_iface.c | 215 char *name = pos; local 227 wpa_printf(MSG_DEBUG, "CTRL: Set blob '%s'", name); 231 blob->name = os_strdup(name); 233 if (blob->name == NULL || blob->data == NULL) { 2563 char *name, char *value) 2565 if (wpa_config_set(ssid, name, value, 0) < 0) { 2567 "variable '%s'", name); 2571 if (os_strcmp(name, "bssid") != 0 && 2572 os_strcmp(name, "priorit 2561 wpa_supplicant_ctrl_iface_update_network( struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid, char *name, char *value) argument 2599 char *name, *value; local 2644 char *name, *value; local 2686 char *name, *id, *value; local 2893 char *name, *value; local 2938 char *name, *value; local 3003 const char *name; member in struct:cipher_info [all...] |
H A D | ctrl_iface_named_pipe.c | 136 TCHAR name[256]; local 159 _snwprintf(name, 256, NAMED_PIPE_PREFIX TEXT("-%S"), 162 os_snprintf(name, 256, NAMED_PIPE_PREFIX "-%s", 167 dst->pipe = CreateNamedPipe(name,
|
H A D | eapol_test.c | 323 eapol_test_get_config_blob(void *ctx, const char *name) argument 326 return wpa_config_get_blob(e->wpa_s->conf, name);
|
H A D | interworking.c | 1518 const char *name; local 1732 name = eap_get_name(EAP_VENDOR_IETF, 1735 if (name == NULL) 1737 os_snprintf(buf, sizeof(buf), "\"auth=%s\"", name); 2060 wpa_hexdump_ascii(MSG_DEBUG, "Interworking: AP domain name", 2203 wpa_printf(MSG_DEBUG, "Interworking: No ANQP domain name info -> use default roaming partner priority 128"); 2204 return 128; /* cannot check preference with domain name */
|
H A D | main_winsvc.c | 62 const TCHAR *name) 72 ret = RegOpenKeyEx(_hk, name, 0, KEY_QUERY_VALUE, &hk); 201 TCHAR name[255]; local 205 ret = RegEnumKeyEx(ihk, i, name, &namelen, NULL, NULL, NULL, 219 name[namelen] = '\0'; 221 wpa_printf(MSG_DEBUG, "interface %d: %s\n", (int) i, name); 222 if (read_interface(global, ihk, name) < 0) 61 read_interface(struct wpa_global *global, HKEY _hk, const TCHAR *name) argument
|
H A D | notify.c | 354 void wpas_notify_blob_added(struct wpa_supplicant *wpa_s, const char *name) argument 356 wpas_dbus_signal_blob_added(wpa_s, name); 360 void wpas_notify_blob_removed(struct wpa_supplicant *wpa_s, const char *name) argument 362 wpas_dbus_signal_blob_removed(wpa_s, name);
|
H A D | preauth_test.c | 171 wpa_supplicant_get_config_blob(void *ctx, const char *name) argument 174 return wpa_config_get_blob(wpa_s->conf, name);
|
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
H A D | dbus_new.c | 60 const char *name; local 69 DBUS_TYPE_STRING, &name, 81 os_strcmp(name, wpa_s->preq_notify_peer) == 0 && 126 * @sig_name: signal name - InterfaceAdded or InterfaceRemoved 235 * @sig_name: signal name - BSSAdded or BSSRemoved 313 * @name: blob name 314 * @sig_name: signal name - BlobAdded or BlobRemoved 319 const char *name, const char *sig_name) 336 if (dbus_message_append_args(msg, DBUS_TYPE_STRING, &name, 318 wpas_dbus_signal_blob(struct wpa_supplicant *wpa_s, const char *name, const char *sig_name) argument 352 wpas_dbus_signal_blob_added(struct wpa_supplicant *wpa_s, const char *name) argument 366 wpas_dbus_signal_blob_removed(struct wpa_supplicant *wpa_s, const char *name) argument [all...] |
H A D | dbus_new.h | 163 const char *name); 165 const char *name); 321 const char *name) 326 const char *name) 320 wpas_dbus_signal_blob_added(struct wpa_supplicant *wpa_s, const char *name) argument 325 wpas_dbus_signal_blob_removed(struct wpa_supplicant *wpa_s, const char *name) argument
|
H A D | dbus_new_handlers.c | 684 * wpas_dbus_handler_get_interface - Get the object path for an interface name 1915 blob->name = os_strdup(blob_name); 1916 if (!blob->name) { 1923 wpas_notify_blob_added(wpa_s, blob->name); 1929 os_free(blob->name); 3122 * wpas_dbus_getter_ifname - Get interface name 3142 * wpas_dbus_getter_driver - Get interface name 3156 if (wpa_s->driver == NULL || wpa_s->driver->name == NULL) { 3164 driver = wpa_s->driver->name; 3264 * wpas_dbus_getter_bridge_ifname - Get interface name 4212 char *name; local [all...] |
H A D | dbus_new_helpers.h | 45 char *name; member in struct:wpa_dbus_argument 56 /* method name */ 70 /* signal name */ 82 /* property name */
|
H A D | dbus_new_introspect.c | 45 wpabuf_printf(iface->xml, "<interface name=\"%s\">", dbus_interface); 52 static void add_arg(struct wpabuf *xml, const char *name, const char *type, argument 55 wpabuf_printf(xml, "<arg name=\"%s\"", name); 64 static void add_entry(struct wpabuf *xml, const char *type, const char *name, argument 69 if (args == NULL || args->name == NULL) { 70 wpabuf_printf(xml, "<%s name=\"%s\"/>", type, name); 73 wpabuf_printf(xml, "<%s name=\"%s\">", type, name); [all...] |
H A D | dbus_old_handlers.c | 95 /* First argument: interface name (DBUS_TYPE_STRING) 241 * wpas_dbus_global_get_interface - Get the object path for an interface name 1377 blob->name = os_strdup(entry.key); 1381 if (blob->name == NULL || blob->data == NULL) { 1390 if (!wpa_config_remove_blob(wpa_s->conf, blob->name)) 1391 wpas_notify_blob_removed(wpa_s, blob->name); 1393 wpas_notify_blob_added(wpa_s, blob->name); 1426 const char *name; local 1428 dbus_message_iter_get_basic(&array, &name); 1429 if (!os_strlen(name)) [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/ap/ |
H A D | ap_config.h | 162 u8 name[252]; member in struct:hostapd_lang_string 477 char name[256]; member in struct:hostapd_bss_config::hs20_icon
|
H A D | gas_serv.c | 211 wpabuf_put_data(buf, vn->name, vn->name_len); 467 wpabuf_put_data(buf, vn->name, vn->name_len); 536 wpabuf_put_data(buf, s->name, s->name_len); 560 if (os_strcmp(p->icons[i], bss->hs20_icons[j].name) == 572 wpabuf_put_u8(buf, os_strlen(icon->name)); 573 wpabuf_put_str(buf, icon->name); 590 wpabuf_put_data(buf, s->name, s->name_len); 630 const u8 *name, size_t name_len) 637 name, name_len); 640 if (name_len == os_strlen(icon->name) 628 anqp_add_icon_binary_file(struct hostapd_data *hapd, struct wpabuf *buf, const u8 *name, size_t name_len) argument 754 set_anqp_req(unsigned int bit, const char *name, int local, struct anqp_query_info *qi) argument [all...] |
H A D | hw_features.c | 824 static int ieee80211ac_cap_check(u32 hw, u32 conf, u32 cap, const char *name) argument 835 name); 843 const char *name) 851 name, conf_val >> offset, hw_max >> offset); 842 ieee80211ac_cap_check_max(u32 hw, u32 conf, u32 cap, const char *name) argument
|
/external/wpa_supplicant_8/wpa_supplicant/src/common/ |
H A D | ieee802_11_common.c | 422 const char *name, const char *val) 429 pos = name + 7; 443 wpa_printf(MSG_ERROR, "Unknown WMM name '%s'", pos); 421 hostapd_config_wmm_ac(struct hostapd_wmm_ac_params wmm_ac_params[], const char *name, const char *val) argument
|
H A D | wpa_ctrl.c | 157 * it's the name of a socket in the Android reserved namespace. 337 char *port, *name; local 344 name = os_strdup(ctrl_path); 345 if (name == NULL) { 351 port = os_strchr(name, ','); 353 port = os_strchr(name, ':'); 363 scope = os_strchr(name, '%'); 368 h = gethostbyname2(name, AF_INET6); 370 h = gethostbyname(name); 372 ctrl->remote_ip = os_strdup(name); 625 TCHAR name[256]; local [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/ |
H A D | tls_openssl.c | 332 static const CERT_CONTEXT * cryptoapi_find_cert(const char *name, DWORD store) argument 345 if (strncmp(name, "cert://", 7) == 0) { 347 MultiByteToWideChar(CP_ACP, 0, name + 7, -1, wbuf, 255); 352 } else if (strncmp(name, "hash://", 7) == 0) { 355 const char *hash = name + 7; 378 static int tls_cryptoapi_cert(SSL *ssl, const char *name) argument 385 if (name == NULL || 386 (strncmp(name, "cert://", 7) != 0 && 387 strncmp(name, "hash://", 7) != 0)) 400 priv->cert = cryptoapi_find_cert(name, CERT_SYSTEM_STORE_CURRENT_USE 478 tls_cryptoapi_ca_cert(SSL_CTX *ssl_ctx, SSL *ssl, const char *name) argument 545 tls_cryptoapi_cert(SSL *ssl, const char *name) argument 2877 const char *name; local [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/drivers/ |
H A D | driver.h | 254 * @ifname: Interface name that can be used with init() or init2() 257 * @drv_name: struct wpa_driver_ops::name (note: unlike other strings, this one 1181 /** Interface name (for multi-SSID/VLAN support) */ 1332 const char *name; member in struct:wpa_driver_ops 1368 * @ifname: Interface name (for multi-SSID/VLAN support) 1426 * @ifname: interface name, e.g., wlan0 1433 * @ctx, file descriptor, interface name, etc. information that may be 1583 * get_ifname - Get interface name 1586 * Returns: Pointer to the interface name. This can differ from the 1587 * interface name use [all...] |
H A D | driver_ndis.c | 2033 char name[256], desc[256], *dpos; local 2057 if (len >= sizeof(name)) 2058 len = sizeof(name) - 1; 2060 name[j] = (char) pos[j]; 2061 name[len] = '\0'; 2071 wpa_printf(MSG_DEBUG, "NDIS: %d - %s - %s", i, name, desc); 2073 if (os_strstr(name, drv->ifname)) { 2074 wpa_printf(MSG_DEBUG, "NDIS: Interface name match"); 2096 os_strncmp(name, "\\DEVICE\\", 8) == 0 ? name 2966 char name[256], desc[256]; local 3054 char *name[MAX_ADAPTERS]; local [all...] |
H A D | driver_nl80211.c | 4145 const char *name) 4161 nl80211 = genl_ctrl_search_by_name(cache, name); 4487 * @ifname: interface name, e.g., wlan0 8408 * P2P interface name is of the format p2p-%s-%d. For monitor 8409 * interface name corresponding to P2P GO, replace "p2p-" with 8410 * "mon-" to retain the same interface name length and to 10012 char name[IFNAMSIZ + 1]; local 10014 os_snprintf(name, sizeof(name), "%s.sta%d", bss->ifname, aid); 10016 os_strlcpy(ifname_wds, name, IFNAMSI 4144 android_genl_ctrl_resolve(struct nl_handle *handle, const char *name) argument [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/eap_peer/ |
H A D | eap.c | 113 "(%d, %s) at %s", sm->selectedMethod, sm->m->name, txt); 267 eap_method ? eap_method->name : "unknown"); 275 eap_method ? eap_method->name : "unknown"); 311 sm->reqVendor, method, sm->m->name); 323 sm->reqVendor, method, sm->m->name); 346 sm->reqVendor, method, sm->m->name); 1614 const char *name; local 1616 name = sm->m->name; 1622 name 1885 eap_get_phase2_type(const char *name, int *vendor) argument 1999 char *name; local 2323 eap_get_config_blob(struct eap_sm *sm, const char *name) argument [all...] |
H A D | eap_config.h | 95 * certificate store by setting this to cert_store://name, e.g., 196 * alternative subject name of the authentication server certificate. 198 * contains one of the entries in an alternative subject name 211 * domain_suffix_match - Constraint for server domain name 218 * host/domain name is compared one label at a time starting from the 324 * domain_suffix_match2 - Constraint for server domain name 606 * pac_file - File path or blob name for the PAC entries (EAP-FAST) 660 * password field is the name of that external entry 701 * name - Blob name 703 char *name; member in struct:wpa_config_blob [all...] |