Lines Matching refs:Bssid
165 NDIS_802_11_MAC_ADDRESS MacAddress; /* BSSID */
180 NDIS_WLAN_BSSID_EX Bssid[1];
203 NDIS_802_11_MAC_ADDRESS BSSID;
211 NDIS_802_11_MAC_ADDRESS BSSID;
255 NDIS_802_11_MAC_ADDRESS BSSID;
276 NDIS_802_11_MAC_ADDRESS BSSID;
290 NDIS_802_11_MAC_ADDRESS Bssid;
330 NDIS_802_11_MAC_ADDRESS BSSID;
341 NDIS_802_11_MAC_ADDRESS BSSID;
649 static int wpa_driver_ndis_get_bssid(void *priv, u8 *bssid)
655 * Report PAE group address as the "BSSID" for wired
658 os_memcpy(bssid, pae_group_addr, ETH_ALEN);
662 return ndis_get_oid(drv, OID_802_11_BSSID, (char *) bssid, ETH_ALEN) <
874 pos = (char *) &b->Bssid[0];
892 "result IE (BSSID=" MACSTR ") IELength=%d",
903 os_memcpy(r->bssid, bss->MacAddress, ETH_ALEN);
930 const u8 *bssid, int pairwise)
942 os_memcpy(rkey.BSSID, bssid, ETH_ALEN);
1002 u8 bssid[ETH_ALEN];
1007 if (wpa_driver_ndis_get_bssid(drv, bssid) < 0)
1008 os_memset(bssid, 0xff, ETH_ALEN);
1012 os_memcpy(bssid, addr, ETH_ALEN);
1016 return wpa_driver_ndis_remove_key(drv, key_idx, addr, bssid,
1040 os_memcpy(nkey->BSSID, bssid, ETH_ALEN);
1076 /* Need to make sure that BSSID polling is enabled for
1201 if (params->bssid) {
1202 ndis_set_oid(drv, OID_802_11_BSSID, (char *) params->bssid,
1238 os_memcpy(&p->BSSIDInfo[i].BSSID, entry->bssid, ETH_ALEN);
1249 static int wpa_driver_ndis_add_pmkid(void *priv, const u8 *bssid,
1261 if (os_memcmp(entry->bssid, bssid, ETH_ALEN) == 0)
1268 /* Replace existing entry for this BSSID and move it into the
1279 os_memcpy(entry->bssid, bssid, ETH_ALEN);
1290 static int wpa_driver_ndis_remove_pmkid(void *priv, const u8 *bssid,
1302 if (os_memcmp(entry->bssid, bssid, ETH_ALEN) == 0 &&
1437 wpa_printf(MSG_DEBUG, "NDIS: %d BSSID items to process for AssocInfo",
1440 pos = (char *) &b->Bssid[0];
1443 if (os_memcmp(drv->bssid, bss->MacAddress, ETH_ALEN) == 0 &&
1472 u8 bssid[ETH_ALEN];
1478 if (wpa_driver_ndis_get_bssid(drv, bssid)) {
1480 if (!is_zero_ether_addr(drv->bssid)) {
1481 os_memset(drv->bssid, 0, ETH_ALEN);
1486 if (os_memcmp(drv->bssid, bssid, ETH_ALEN) != 0) {
1487 os_memcpy(drv->bssid, bssid, ETH_ALEN);
1493 /* When using integrated NDIS event receiver, we can skip BSSID
1496 * so we need to enable BSSID polling to figure out when IBSS network
1526 if (wpa_driver_ndis_get_bssid(drv, drv->bssid) == 0) {
1538 os_memset(drv->bssid, 0, ETH_ALEN);
1558 "Bssid " MACSTR " Flags 0x%x",
1559 MAC2STR(req->Bssid), (int) req->Flags);
1609 i, MAC2STR(p->BSSID), (int) p->Flags);
1610 os_memcpy(event.pmkid_candidate.bssid, p->BSSID, ETH_ALEN);