Lines Matching refs:bssid

81 	memcpy(mgmt->bssid, ifibss->bssid, ETH_ALEN);  in ieee80211_ibss_build_presp()
219 const u8 *bssid, const int beacon_int, in __ieee80211_sta_join_ibss() argument
243 if (!ether_addr_equal(ifibss->bssid, bssid)) in __ieee80211_sta_join_ibss()
314 memcpy(ifibss->bssid, bssid, ETH_ALEN); in __ieee80211_sta_join_ibss()
391 cfg80211_ibss_joined(sdata->dev, ifibss->bssid, chan, GFP_KERNEL); in __ieee80211_sta_join_ibss()
472 __ieee80211_sta_join_ibss(sdata, cbss->bssid, in ieee80211_sta_join_ibss()
496 ifibss->bssid, ifibss->ssid, in ieee80211_ibss_csa_beacon()
538 if (!is_zero_ether_addr(ifibss->bssid)) { in ieee80211_ibss_finish_csa()
541 ifibss->bssid, ifibss->ssid, in ieee80211_ibss_finish_csa()
591 ieee80211_ibss_add_sta(struct ieee80211_sub_if_data *sdata, const u8 *bssid, in ieee80211_ibss_add_sta() argument
619 if (!ether_addr_equal(bssid, sdata->u.ibss.bssid)) { in ieee80211_ibss_add_sta()
680 if (!is_zero_ether_addr(ifibss->bssid)) { in ieee80211_ibss_disconnect()
682 ifibss->bssid, ifibss->ssid, in ieee80211_ibss_disconnect()
802 conn_flags, ifibss->bssid, &csa_ie); in ieee80211_ibss_process_chanswitch()
836 ifibss->bssid, in ieee80211_ibss_process_chanswitch()
854 ifibss->bssid, in ieee80211_ibss_process_chanswitch()
940 ibss_dbg(sdata, "\tBSSID=%pM (reason: %d)\n", mgmt->bssid, reason); in ieee80211_rx_mgmt_deauth_ibss()
960 mgmt->bssid, auth_transaction); in ieee80211_rx_mgmt_auth_ibss()
972 mgmt->sa, sdata->u.ibss.bssid, NULL, 0, 0, 0); in ieee80211_rx_mgmt_auth_ibss()
992 if (!ether_addr_equal(mgmt->bssid, sdata->u.ibss.bssid)) in ieee80211_update_sta_info()
1027 sta = ieee80211_ibss_add_sta(sdata, mgmt->bssid, in ieee80211_update_sta_info()
1152 if (ether_addr_equal(cbss->bssid, sdata->u.ibss.bssid)) in ieee80211_rx_bss_info()
1173 mgmt->sa, mgmt->bssid, in ieee80211_rx_bss_info()
1183 mgmt->bssid); in ieee80211_rx_bss_info()
1186 ieee80211_ibss_add_sta(sdata, mgmt->bssid, mgmt->sa, in ieee80211_rx_bss_info()
1196 const u8 *bssid, const u8 *addr, in ieee80211_ibss_rx_no_sta() argument
1220 if (!ether_addr_equal(bssid, sdata->u.ibss.bssid)) in ieee80211_ibss_rx_no_sta()
1274 ifibss->bssid, in ieee80211_ibss_sta_expire()
1322 u8 bssid[ETH_ALEN]; in ieee80211_sta_create_ibss() local
1329 memcpy(bssid, ifibss->bssid, ETH_ALEN); in ieee80211_sta_create_ibss()
1334 get_random_bytes(bssid, ETH_ALEN); in ieee80211_sta_create_ibss()
1336 bssid[i] ^= sdata->vif.addr[i]; in ieee80211_sta_create_ibss()
1337 bssid[0] &= ~0x01; in ieee80211_sta_create_ibss()
1338 bssid[0] |= 0x02; in ieee80211_sta_create_ibss()
1341 sdata_info(sdata, "Creating new IBSS network, BSSID %pM\n", bssid); in ieee80211_sta_create_ibss()
1348 __ieee80211_sta_join_ibss(sdata, bssid, sdata->vif.bss_conf.beacon_int, in ieee80211_sta_create_ibss()
1433 const u8 *bssid = NULL; in ieee80211_sta_find_ibss() local
1446 bssid = ifibss->bssid; in ieee80211_sta_find_ibss()
1449 if (!is_zero_ether_addr(ifibss->bssid)) in ieee80211_sta_find_ibss()
1450 bssid = ifibss->bssid; in ieee80211_sta_find_ibss()
1451 cbss = cfg80211_get_bss(local->hw.wiphy, chan, bssid, in ieee80211_sta_find_ibss()
1462 cbss->bssid, ifibss->bssid); in ieee80211_sta_find_ibss()
1465 cbss->bssid); in ieee80211_sta_find_ibss()
1477 bssid); in ieee80211_sta_find_ibss()
1543 mgmt->bssid, tx_last_beacon); in ieee80211_rx_mgmt_probe_req()
1548 if (!ether_addr_equal(mgmt->bssid, ifibss->bssid) && in ieee80211_rx_mgmt_probe_req()
1549 !is_broadcast_ether_addr(mgmt->bssid)) in ieee80211_rx_mgmt_probe_req()
1793 if (params->bssid) { in ieee80211_ibss_join()
1794 memcpy(sdata->u.ibss.bssid, params->bssid, ETH_ALEN); in ieee80211_ibss_join()
1870 eth_zero_addr(ifibss->bssid); in ieee80211_ibss_leave()