Home
last modified time | relevance | path

Searched refs:keyavail (Results 1 – 2 of 2) sorted by relevance

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
Ddriver_openbsd.c75 struct ieee80211_keyavail keyavail; local
84 memset(&keyavail, 0, sizeof(keyavail));
85 os_strlcpy(keyavail.i_name, drv->ifname, sizeof(keyavail.i_name));
86 if (wpa_driver_openbsd_get_bssid(priv, keyavail.i_macaddr) < 0)
88 memcpy(keyavail.i_key, key, key_len);
90 if (ioctl(drv->sock, SIOCS80211KEYAVAIL, &keyavail) < 0)
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
Ddriver_openbsd.c77 struct ieee80211_keyavail keyavail; in wpa_driver_openbsd_set_key() local
82 memset(&keyavail, 0, sizeof(keyavail)); in wpa_driver_openbsd_set_key()
83 os_strlcpy(keyavail.i_name, drv->ifname, sizeof(keyavail.i_name)); in wpa_driver_openbsd_set_key()
84 if (wpa_driver_openbsd_get_bssid(priv, keyavail.i_macaddr) < 0) in wpa_driver_openbsd_set_key()
86 memcpy(keyavail.i_key, key, key_len); in wpa_driver_openbsd_set_key()
88 if (ioctl(drv->sock, SIOCS80211KEYAVAIL, &keyavail) < 0) in wpa_driver_openbsd_set_key()