Lines Matching refs:BSSID
99 static int wpa_driver_ralink_get_bssid(void *priv, u8 *bssid)
117 os_memcpy(bssid, iwr.u.ap_addr.sa_data, ETH_ALEN);
130 u8 bssid[ETH_ALEN];
166 /* Read BSSID form driver */
167 if (wpa_driver_ralink_get_bssid(priv, bssid) < 0) {
168 wpa_printf(MSG_WARNING, "Could not read BSSID from "
179 os_memcmp(bssid, entry->bssid, ETH_ALEN) == 0)) {
292 (unsigned long) i, MAC2STR(p->BSSID),
294 os_memcpy(event.pmkid_candidate.bssid, p->BSSID, ETH_ALEN);
327 os_memcpy(&p->BSSIDInfo[i].BSSID, entry->bssid, ETH_ALEN);
338 static int wpa_driver_ralink_add_pmkid(void *priv, const u8 *bssid,
355 if (os_memcmp(entry->bssid, bssid, ETH_ALEN) == 0)
362 /* Replace existing entry for this BSSID and move it into the
373 os_memcpy(entry->bssid, bssid, ETH_ALEN);
384 static int wpa_driver_ralink_remove_pmkid(void *priv, const u8 *bssid,
402 if (os_memcmp(entry->bssid, bssid, ETH_ALEN) == 0 &&
695 UCHAR bssid[MAC_ADDR_LEN];
718 os_memcpy(wpa_s->scan_results[0].bssid, pApInfo->bssid, ETH_ALEN);
1110 for (ap_num = 0, wbi = wsr->Bssid; ap_num < wsr->NumberOfItems;
1112 os_memcpy(results[ap_num].bssid, &wbi->MacAddress, ETH_ALEN);
1178 const u8 *bssid, int pairwise)
1194 os_memcpy(rkey.BSSID, bssid, ETH_ALEN);
1253 u8 bssid[ETH_ALEN];
1264 wpa_driver_ralink_get_bssid(drv, bssid);
1268 os_memcpy(bssid, addr, ETH_ALEN);
1272 return wpa_driver_ralink_remove_key(drv, key_idx, addr, bssid,
1300 os_memcpy(nkey->BSSID, bssid, ETH_ALEN);