Lines Matching refs:bssid
228 u8 bssid[ETH_ALEN];
768 static int wpa_driver_nl80211_get_bssid(void *priv, u8 *bssid)
774 os_memcpy(bssid, drv->bssid, ETH_ALEN);
1120 event.assoc_reject.bssid = mgmt->bssid;
1134 os_memcpy(drv->bssid, mgmt->sa, ETH_ALEN);
1175 event.assoc_reject.bssid = nla_data(addr);
1187 os_memcpy(drv->bssid, nla_data(addr), ETH_ALEN);
1332 event.rx_action.bssid = mgmt->bssid;
1391 const u8 *bssid = NULL;
1401 bssid = mgmt->bssid;
1404 os_memcmp(bssid, drv->bssid, ETH_ALEN) != 0 &&
1405 os_memcmp(bssid, drv->auth_bssid, ETH_ALEN) != 0) {
1412 "from Unknown BSSID " MACSTR " -- ignoring",
1413 MAC2STR(bssid));
1428 event.disassoc_info.addr = bssid;
1438 event.deauth_info.addr = bssid;
1590 os_memcpy(drv->bssid, nla_data(tb[NL80211_ATTR_MAC]), ETH_ALEN);
1593 MAC2STR(drv->bssid));
1786 NLA_PUT(msg, NL80211_ATTR_MAC, ETH_ALEN, drv->bssid);
2093 data.driver_gtk_rekey.bssid = nla_data(tb[NL80211_ATTR_MAC]);
2094 wpa_printf(MSG_DEBUG, "nl80211: Rekey offload event for BSSID " MACSTR,
2095 MAC2STR(data.driver_gtk_rekey.bssid));
2130 os_memcpy(data.pmkid_candidate.bssid,
2242 event.rx_from_unknown.bssid = bss->addr;
4247 os_memcpy(r->bssid, nla_data(bss[NL80211_BSS_BSSID]),
4296 * BSSID,SSID pair is seen on multiple channels. wpa_supplicant does
4303 if (os_memcmp(res->res[i]->bssid, r->bssid, ETH_ALEN) != 0)
4313 /* Same BSSID,SSID was already included in scan results */
4315 bssid));
4363 MAC2STR(r->bssid));
4365 os_memcmp(r->bssid, drv->bssid, ETH_ALEN) != 0 &&
4366 os_memcmp(r->bssid, drv->auth_bssid, ETH_ALEN) !=
4368 wpa_printf(MSG_DEBUG, "nl80211: Unknown BSSID"
4372 MAC2STR(drv->bssid));
4373 clear_state_mismatch(drv, r->bssid);
4381 MAC2STR(r->bssid));
4387 clear_state_mismatch(drv, r->bssid);
4389 os_memcmp(drv->bssid, r->bssid, ETH_ALEN) !=
4394 MAC2STR(drv->bssid));
4395 clear_state_mismatch(drv, r->bssid);
4396 clear_state_mismatch(drv, drv->bssid);
4474 (int) i, (int) res->num, MAC2STR(r->bssid),
4809 /* Disconnect command doesn't need BSSID - it uses cached value */
4842 if (params->bssid)
4843 os_memcpy(drv->auth_bssid_, params->bssid, ETH_ALEN);
4928 if (params->bssid) {
4929 wpa_printf(MSG_DEBUG, " * bssid=" MACSTR,
4930 MAC2STR(params->bssid));
4931 NLA_PUT(msg, NL80211_ATTR_MAC, ETH_ALEN, params->bssid);
4978 if (ret == -EALREADY && count == 1 && params->bssid &&
4988 bss, params->bssid,
5065 params.bssid = drv->auth_bssid_;
6404 event.rx_from_unknown.bssid = get_hdr_bssid(hdr, len);
7099 if (params->bssid && params->fixed_bssid) {
7100 wpa_printf(MSG_DEBUG, " * BSSID=" MACSTR,
7101 MAC2STR(params->bssid));
7102 NLA_PUT(msg, NL80211_ATTR_MAC, ETH_ALEN, params->bssid);
7163 if (params->bssid) {
7164 wpa_printf(MSG_DEBUG, " * bssid=" MACSTR,
7165 MAC2STR(params->bssid));
7166 NLA_PUT(msg, NL80211_ATTR_MAC, ETH_ALEN, params->bssid);
7424 if (params->bssid) {
7425 wpa_printf(MSG_DEBUG, " * bssid=" MACSTR,
7426 MAC2STR(params->bssid));
7427 NLA_PUT(msg, NL80211_ATTR_MAC, ETH_ALEN, params->bssid);
7735 NLA_PUT(msg, NL80211_ATTR_MAC, ETH_ALEN, drv->bssid);
8125 memcpy(mgmt.bssid, own_addr, ETH_ALEN);
8149 memcpy(mgmt.bssid, own_addr, ETH_ALEN);
8385 if (params->bssid) {
8387 params->bssid))
8739 const u8 *bssid,
8761 os_memcpy(hdr->addr3, bssid, ETH_ALEN);
9059 drv->bssid, own_addr, drv->bssid,
9285 static int nl80211_pmkid(struct i802_bss *bss, int cmd, const u8 *bssid,
9299 if (bssid)
9300 NLA_PUT(msg, NL80211_ATTR_MAC, ETH_ALEN, bssid);
9309 bssid, const u8 *pmkid)
9312 wpa_printf(MSG_DEBUG, "nl80211: Add PMKID for " MACSTR, MAC2STR(bssid));
9313 return nl80211_pmkid(bss, NL80211_CMD_SET_PMKSA, bssid, pmkid);
9317 static int nl80211_remove_pmkid(void *priv, const u8 *bssid, const u8 *pmkid)
9321 MAC2STR(bssid));
9322 return nl80211_pmkid(bss, NL80211_CMD_DEL_PMKSA, bssid, pmkid);
9788 const u8 *bssid,
9794 bssid, data, data_len, no_cck);