/external/wpa_supplicant_8/wpa_supplicant/ |
blacklist.h | 2 * wpa_supplicant - Temporary BSSID blacklist 14 u8 bssid[ETH_ALEN]; member in struct:wpa_blacklist 19 const u8 *bssid); 20 int wpa_blacklist_add(struct wpa_supplicant *wpa_s, const u8 *bssid); 21 int wpa_blacklist_del(struct wpa_supplicant *wpa_s, const u8 *bssid);
|
blacklist.c | 2 * wpa_supplicant - Temporary BSSID blacklist 16 * wpa_blacklist_get - Get the blacklist entry for a BSSID 18 * @bssid: BSSID 19 * Returns: Matching blacklist entry for the BSSID or %NULL if not found 22 const u8 *bssid) 26 if (wpa_s == NULL || bssid == NULL) 31 if (os_memcmp(e->bssid, bssid, ETH_ALEN) == 0) 41 * wpa_blacklist_add - Add an BSSID to the blacklis [all...] |
offchannel.h | 14 const u8 *dst, const u8 *src, const u8 *bssid, 18 const u8 *src, const u8 *bssid,
|
bgscan_learn.c | 24 u8 bssid[ETH_ALEN]; member in struct:bgscan_learn_bss 52 static int bssid_in_array(u8 *array, size_t array_len, const u8 *bssid) 60 if (os_memcmp(array + i * ETH_ALEN, bssid, ETH_ALEN) == 0) 69 const u8 *bssid) 73 if (os_memcmp(bss->bssid, bssid, ETH_ALEN) == 0) 75 if (bssid_in_array(bss->neigh, bss->num_neigh, bssid)) 82 os_memcpy(n + bss->num_neigh * ETH_ALEN, bssid, ETH_ALEN); 89 struct bgscan_learn_data *data, const u8 *bssid) 94 if (os_memcmp(bss->bssid, bssid, ETH_ALEN) == 0 490 u8 bssid[MAX_BSS * ETH_ALEN]; local [all...] |
wps_supplicant.h | 32 int wpas_wps_start_pbc(struct wpa_supplicant *wpa_s, const u8 *bssid, 34 int wpas_wps_start_pin(struct wpa_supplicant *wpa_s, const u8 *bssid, 37 int wpas_wps_start_reg(struct wpa_supplicant *wpa_s, const u8 *bssid, 68 const u8 *bssid, 86 void wpas_wps_notify_assoc(struct wpa_supplicant *wpa_s, const u8 *bssid); 145 const u8 *bssid)
|
wnm_sta.c | 33 return wpa_drv_wnm_oper(wpa_s, oper, wpa_s->bssid, buf, buf_len); 65 MAC2STR(wpa_s->bssid)); 114 os_memcpy(mgmt->da, wpa_s->bssid, ETH_ALEN); 116 os_memcpy(mgmt->bssid, wpa_s->bssid, ETH_ALEN); 133 res = wpa_drv_send_action(wpa_s, wpa_s->assoc_freq, 0, wpa_s->bssid, 134 wpa_s->own_addr, wpa_s->bssid, 153 wpa_s->bssid, NULL, NULL); 164 if (ieee80211_11_set_tfs_ie(wpa_s, wpa_s->bssid, 179 wpa_drv_wnm_oper(wpa_s, WNM_SLEEP_EXIT_CONFIRM, wpa_s->bssid, 569 u8 bssid[ETH_ALEN]; local [all...] |
bss.h | 65 /** BSSID */ 66 u8 bssid[ETH_ALEN]; member in struct:wpa_bss 109 struct wpa_bss * wpa_bss_get(struct wpa_supplicant *wpa_s, const u8 *bssid, 112 const u8 *bssid); 114 const u8 *bssid);
|
events.c | 72 struct wpa_supplicant *wpa_s, const u8 *bssid) 78 bss = wpa_bss_get(wpa_s, bssid, ssid->ssid, ssid->ssid_len); 80 bss = wpa_bss_get_bssid(wpa_s, bssid); 88 struct wpa_bss *bss = wpa_supplicant_get_new_bss(wpa_s, wpa_s->bssid); 94 bss = wpa_supplicant_get_new_bss(wpa_s, wpa_s->bssid); 126 if (disallowed_bssid(wpa_s, wpa_s->bssid) || 199 bssid_changed = !is_zero_ether_addr(wpa_s->bssid); 200 os_memset(wpa_s->bssid, 0, ETH_ALEN); 264 wpa_dbg(wpa_s, MSG_DEBUG, "RSN: PMKID candidate event - bssid=" MACSTR 266 MAC2STR(data->pmkid_candidate.bssid), 1661 u8 bssid[ETH_ALEN]; local 1878 u8 bssid[ETH_ALEN]; local 2085 const u8 *bssid; local 2136 const u8 *bssid; local 3079 const u8 *bssid = data->assoc_reject.bssid; local [all...] |
preauth_test.c | 120 static int wpa_supplicant_get_bssid(void *wpa_s, u8 *bssid) 147 const u8 *bssid, const u8 *pmkid) 155 const u8 *bssid, const u8 *pmkid) 276 u8 bssid[ETH_ALEN]; local 293 if (hwaddr_aton(argv[2], bssid)) { 335 if (rsn_preauth_init(wpa_s.wpa, bssid, &wpa_s.conf->ssid->eap)) 347 ret = pmksa_cache_set_current(wpa_s.wpa, NULL, bssid, NULL, 0)
|
/frameworks/base/core/java/android/net/ |
WifiKey.java | 48 * The basic service set identifier (BSSID) of an access point for this network. This will 52 public final String bssid; field in class:WifiKey 55 * Construct a new {@link WifiKey} for the given Wi-Fi SSID/BSSID pair. 60 * @param bssid the basic service set identifier (BSSID) of this network's access point. 63 * @throws IllegalArgumentException if either the SSID or BSSID is invalid. 65 public WifiKey(String ssid, String bssid) { 69 if (!BSSID_PATTERN.matcher(bssid).matches()) { 70 throw new IllegalArgumentException("Invalid bssid: " + bssid); [all...] |
WifiLinkQualityInfo.java | 91 * returns BSSID of the access point 92 * @return the BSSID, in the form of a six-byte MAC address: {@code XX:XX:XX:XX:XX:XX} or null 101 public void setBssid(String bssid) { 102 mBssid = bssid;
|
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
dbus_old_handlers_wps.c | 32 u8 bssid[ETH_ALEN]; local 41 else if (!hwaddr_aton(arg_bssid, bssid)) 42 ret = wpas_wps_start_pbc(wpa_s, bssid, 0); 45 "Invalid BSSID"); 74 u8 bssid[ETH_ALEN], *_bssid = NULL; local 83 else if (!hwaddr_aton(arg_bssid, bssid)) 84 _bssid = bssid; 87 "Invalid BSSID"); 134 u8 bssid[ETH_ALEN]; local 143 else if (!hwaddr_aton(arg_bssid, bssid)) [all...] |
/external/chromium_org/components/metrics/net/ |
wifi_access_point_info_provider_chromeos.cc | 33 // Wifi access point information is not provided if the BSSID is empty. 34 // This assumes the BSSID is never empty when access point information exists. 35 if (wifi_access_point_info_.bssid.empty()) 68 std::string bssid; 69 if (!properties.GetStringWithoutPathExpansion(shill::kWifiBSsid, &bssid) || 70 bssid.empty()) 73 // Filter out BSSID with local bit set in the first byte. 75 if (!base::HexStringToUInt(bssid.substr(0, 2), &first_octet)) 79 wifi_access_point_info_.bssid = bssid; [all...] |
wifi_access_point_info_provider.h | 30 std::string bssid; member in struct:WifiAccessPointInfoProvider::WifiAccessPointInfo
|
network_metrics_provider.cc | 182 // |bssid| is xx:xx:xx:xx:xx:xx, extract the first three components and 184 std::string bssid = info.bssid; local 185 if (bssid.size() == 17 && bssid[2] == ':' && bssid[5] == ':' && 186 bssid[8] == ':' && bssid[11] == ':' && bssid[14] == ':') { 190 base::RemoveChars(bssid.substr(0, 9), ":", &vendor_prefix_str) [all...] |
/external/wpa_supplicant_8/src/rsn_supp/ |
preauth.h | 21 void rsn_preauth_scan_result(struct wpa_sm *sm, const u8 *bssid, 23 void pmksa_candidate_add(struct wpa_sm *sm, const u8 *bssid, 55 static inline void rsn_preauth_scan_result(struct wpa_sm *sm, const u8 *bssid, 61 const u8 *bssid,
|
preauth.c | 28 u8 bssid[ETH_ALEN]; member in struct:rsn_pmksa_candidate 158 * @dst: Authenticator address (BSSID) with which to preauthenticate 310 p = pmksa_cache_get(sm->pmksa, candidate->bssid, NULL, NULL); 311 if (os_memcmp(sm->bssid, candidate->bssid, ETH_ALEN) != 0 && 316 MAC2STR(candidate->bssid)); 318 rsn_preauth_init(sm, candidate->bssid, 325 MAC2STR(candidate->bssid)); 329 wpa_sm_add_pmkid(sm, candidate->bssid, p->pmkid); 343 * @bssid: BSSID (authenticator address) of the candidat [all...] |
/external/wpa_supplicant_8/wpa_supplicant/examples/ |
wpas-test.py | 13 WPAS_DBUS_BSSID_INTERFACE = "fi.epitest.hostap.WPASupplicant.BSSID" 62 # Convert the byte-array for SSID and BSSID to printable strings 63 bssid = "" 64 for item in props["bssid"]: 65 bssid = bssid + ":%02x" % item 66 bssid = bssid[1:] 83 print " %s :: ssid='%s' wpa=%s wpa2=%s quality=%d%% rate=%d freq=%d" % (bssid, ssid, wpa, wpa2, qual, maxrate, freq)
|
wpas-dbus-new.py | 44 # Convert the byte-array for SSID and BSSID to printable strings 45 val = net_obj.Get(WPAS_DBUS_BSS_INTERFACE, 'BSSID', 47 bssid = "" 49 bssid = bssid + ":%02x" % item 50 bssid = bssid[1:] 76 print " %s :: ssid='%s' wpa=%s wpa2=%s signal=%d rate=%d freq=%d" % (bssid, ssid, wpa, wpa2, signal, maxrate, freq)
|
/external/wpa_supplicant_8/src/drivers/ |
driver_ndis.h | 22 u8 bssid[ETH_ALEN]; member in struct:ndis_pmkid_entry 40 u8 bssid[ETH_ALEN]; member in struct:wpa_driver_ndis_data
|
driver_wext.h | 49 int wpa_driver_wext_get_bssid(void *priv, u8 *bssid); 50 int wpa_driver_wext_set_bssid(void *priv, const u8 *bssid);
|
/external/wpa_supplicant_8/wpa_supplicant/examples/p2p/ |
p2p_invite.py | 31 if invite_result.has_key('BSSID'): 32 bssid = invite_result['BSSID'] 33 print "BSSID = ", hex(bssid[0]) , ":" , \ 34 hex(bssid[1]) , ":" , hex(bssid[2]) , ":", \ 35 hex(bssid[3]) , ":" , hex(bssid[4]) , ":" , \ 36 hex(bssid[5] [all...] |
/hardware/qcom/wlan/qcwcn/wifi_hal/ |
gscan_event_handler.cpp | 205 sizeof(results->bssid) <= len ? sizeof(results->bssid) : len; 206 memcpy(&results[i].bssid, 262 "BSSID: %02x:%02x:%02x:%02x:%02x:%02x \n", 263 results[i].bssid[0], results[i].bssid[1], results[i].bssid[2], 264 results[i].bssid[3], results[i].bssid[4], results[i].bssid[5]) [all...] |
/frameworks/opt/net/wifi/service/jni/ |
com_android_server_wifi_WifiNative.cpp | 182 char bssid[32]; local 183 sprintf(bssid, "%02x:%02x:%02x:%02x:%02x:%02x", result->bssid[0], result->bssid[1], 184 result->bssid[2], result->bssid[3], result->bssid[4], result->bssid[5]); 186 setStringField(env, scanResult, "BSSID", bssid); 450 char bssid[32]; local 542 const char *bssid = env->GetStringUTFChars(macAddrString, NULL); local 583 char bssid[32]; local 630 const char *bssid = env->GetStringUTFChars(macAddrString, NULL); local 697 char bssid[32]; local 751 const char *bssid = env->GetStringUTFChars(macAddrString, NULL); local 911 char bssid[32]; local [all...] |
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/ |
scanresults.cpp | 77 QString ssid, bssid, freq, signal, flags; local 86 if ((*it).startsWith("bssid=")) 87 bssid = (*it).mid(pos); 101 item->setText(1, bssid); 107 if (bssid.isEmpty())
|