Lines Matching refs:BSSID
159 NDIS_802_11_MAC_ADDRESS MacAddress; /* BSSID */
174 NDIS_WLAN_BSSID_EX Bssid[1];
197 NDIS_802_11_MAC_ADDRESS BSSID;
205 NDIS_802_11_MAC_ADDRESS BSSID;
249 NDIS_802_11_MAC_ADDRESS BSSID;
270 NDIS_802_11_MAC_ADDRESS BSSID;
284 NDIS_802_11_MAC_ADDRESS Bssid;
324 NDIS_802_11_MAC_ADDRESS BSSID;
335 NDIS_802_11_MAC_ADDRESS BSSID;
643 static int wpa_driver_ndis_get_bssid(void *priv, u8 *bssid)
649 * Report PAE group address as the "BSSID" for wired
652 os_memcpy(bssid, pae_group_addr, ETH_ALEN);
656 return ndis_get_oid(drv, OID_802_11_BSSID, (char *) bssid, ETH_ALEN) <
860 pos = (char *) &b->Bssid[0];
878 "result IE (BSSID=" MACSTR ") IELength=%d",
889 os_memcpy(r->bssid, bss->MacAddress, ETH_ALEN);
916 const u8 *bssid, int pairwise)
928 os_memcpy(rkey.BSSID, bssid, ETH_ALEN);
988 u8 bssid[ETH_ALEN];
993 if (wpa_driver_ndis_get_bssid(drv, bssid) < 0)
994 os_memset(bssid, 0xff, ETH_ALEN);
998 os_memcpy(bssid, addr, ETH_ALEN);
1002 return wpa_driver_ndis_remove_key(drv, key_idx, addr, bssid,
1026 os_memcpy(nkey->BSSID, bssid, ETH_ALEN);
1062 /* Need to make sure that BSSID polling is enabled for
1187 if (params->bssid) {
1188 ndis_set_oid(drv, OID_802_11_BSSID, (char *) params->bssid,
1224 os_memcpy(&p->BSSIDInfo[i].BSSID, entry->bssid, ETH_ALEN);
1235 static int wpa_driver_ndis_add_pmkid(void *priv, const u8 *bssid,
1247 if (os_memcmp(entry->bssid, bssid, ETH_ALEN) == 0)
1254 /* Replace existing entry for this BSSID and move it into the
1265 os_memcpy(entry->bssid, bssid, ETH_ALEN);
1276 static int wpa_driver_ndis_remove_pmkid(void *priv, const u8 *bssid,
1288 if (os_memcmp(entry->bssid, bssid, ETH_ALEN) == 0 &&
1423 wpa_printf(MSG_DEBUG, "NDIS: %d BSSID items to process for AssocInfo",
1426 pos = (char *) &b->Bssid[0];
1429 if (os_memcmp(drv->bssid, bss->MacAddress, ETH_ALEN) == 0 &&
1458 u8 bssid[ETH_ALEN];
1464 if (wpa_driver_ndis_get_bssid(drv, bssid)) {
1466 if (!is_zero_ether_addr(drv->bssid)) {
1467 os_memset(drv->bssid, 0, ETH_ALEN);
1472 if (os_memcmp(drv->bssid, bssid, ETH_ALEN) != 0) {
1473 os_memcpy(drv->bssid, bssid, ETH_ALEN);
1479 /* When using integrated NDIS event receiver, we can skip BSSID
1482 * so we need to enable BSSID polling to figure out when IBSS network
1512 if (wpa_driver_ndis_get_bssid(drv, drv->bssid) == 0) {
1524 os_memset(drv->bssid, 0, ETH_ALEN);
1544 "Bssid " MACSTR " Flags 0x%x",
1545 MAC2STR(req->Bssid), (int) req->Flags);
1595 i, MAC2STR(p->BSSID), (int) p->Flags);
1596 os_memcpy(event.pmkid_candidate.bssid, p->BSSID, ETH_ALEN);