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;
602 static int wpa_driver_ndis_get_bssid(void *priv, u8 *bssid)
608 * Report PAE group address as the "BSSID" for wired
611 bssid[0] = 0x01;
612 bssid[1] = 0x80;
613 bssid[2] = 0xc2;
614 bssid[3] = 0x00;
615 bssid[4] = 0x00;
616 bssid[5] = 0x03;
620 return ndis_get_oid(drv, OID_802_11_BSSID, bssid, ETH_ALEN) < 0 ?
793 pos = (char *) &b->Bssid[0];
796 os_memcpy(results[i].bssid, bss->MacAddress, ETH_ALEN);
823 "result IE (BSSID=" MACSTR ") IELength=%d",
824 MAC2STR(results[i].bssid),
841 const u8 *bssid, int pairwise)
853 os_memcpy(rkey.BSSID, bssid, ETH_ALEN);
911 u8 bssid[ETH_ALEN];
917 if (wpa_driver_ndis_get_bssid(drv, bssid) < 0)
918 os_memset(bssid, 0xff, ETH_ALEN);
922 os_memcpy(bssid, addr, ETH_ALEN);
926 return wpa_driver_ndis_remove_key(drv, key_idx, addr, bssid,
950 os_memcpy(nkey->BSSID, bssid, ETH_ALEN);
985 /* Need to make sure that BSSID polling is enabled for
1076 if (params->bssid) {
1077 ndis_set_oid(drv, OID_802_11_BSSID, params->bssid, ETH_ALEN);
1112 os_memcpy(&p->BSSIDInfo[i].BSSID, entry->bssid, ETH_ALEN);
1123 static int wpa_driver_ndis_add_pmkid(void *priv, const u8 *bssid,
1135 if (os_memcmp(entry->bssid, bssid, ETH_ALEN) == 0)
1142 /* Replace existing entry for this BSSID and move it into the
1153 os_memcpy(entry->bssid, bssid, ETH_ALEN);
1164 static int wpa_driver_ndis_remove_pmkid(void *priv, const u8 *bssid,
1176 if (os_memcmp(entry->bssid, bssid, ETH_ALEN) == 0 &&
1296 wpa_printf(MSG_DEBUG, "NDIS: %d BSSID items to process for AssocInfo",
1299 pos = (char *) &b->Bssid[0];
1302 if (os_memcmp(drv->bssid, bss->MacAddress, ETH_ALEN) == 0 &&
1331 u8 bssid[ETH_ALEN];
1337 if (wpa_driver_ndis_get_bssid(drv, bssid)) {
1339 if (os_memcmp(drv->bssid, "\x00\x00\x00\x00\x00\x00", ETH_ALEN)
1341 os_memset(drv->bssid, 0, ETH_ALEN);
1346 if (os_memcmp(drv->bssid, bssid, ETH_ALEN) != 0) {
1347 os_memcpy(drv->bssid, bssid, ETH_ALEN);
1353 /* When using integrated NDIS event receiver, we can skip BSSID
1356 * so we need to enable BSSID polling to figure out when IBSS network
1386 if (wpa_driver_ndis_get_bssid(drv, drv->bssid) == 0) {
1398 os_memset(drv->bssid, 0, ETH_ALEN);
1418 "Bssid " MACSTR " Flags 0x%x",
1419 MAC2STR(req->Bssid), (int) req->Flags);
1469 i, MAC2STR(p->BSSID), (int) p->Flags);
1470 os_memcpy(event.pmkid_candidate.bssid, p->BSSID, ETH_ALEN);