Lines Matching refs:NL80211_ATTR_MAC

497 	[NL80211_ATTR_MAC] = NLA_POLICY_EXACT_LEN_WARN(ETH_ALEN),
2731 if (nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, in nl80211_send_wiphy()
3794 nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, wdev_address(wdev)) || in nl80211_send_iface()
3876 if (nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, in nl80211_send_iface()
4207 info->attrs[NL80211_ATTR_MAC]) { in _nl80211_new_interface()
4208 nla_memcpy(params.macaddr, info->attrs[NL80211_ATTR_MAC], in _nl80211_new_interface()
4465 if (info->attrs[NL80211_ATTR_MAC]) in nl80211_get_key()
4466 mac_addr = nla_data(info->attrs[NL80211_ATTR_MAC]); in nl80211_get_key()
4500 nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, mac_addr)) in nl80211_get_key()
4627 if (info->attrs[NL80211_ATTR_MAC]) in nl80211_set_key()
4628 mac_addr = nla_data(info->attrs[NL80211_ATTR_MAC]); in nl80211_set_key()
4670 if (info->attrs[NL80211_ATTR_MAC]) in nl80211_new_key()
4671 mac_addr = nla_data(info->attrs[NL80211_ATTR_MAC]); in nl80211_new_key()
4736 if (info->attrs[NL80211_ATTR_MAC]) in nl80211_del_key()
4737 mac_addr = nla_data(info->attrs[NL80211_ATTR_MAC]); in nl80211_del_key()
6341 nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, mac_addr) || in nl80211_send_station()
6605 if (!info->attrs[NL80211_ATTR_MAC]) in nl80211_get_station()
6608 mac_addr = nla_data(info->attrs[NL80211_ATTR_MAC]); in nl80211_get_station()
6997 if (!info->attrs[NL80211_ATTR_MAC]) in nl80211_set_station()
7015 nla_data(info->attrs[NL80211_ATTR_MAC]); in nl80211_set_station()
7019 mac_addr = nla_data(info->attrs[NL80211_ATTR_MAC]); in nl80211_set_station()
7138 if (!info->attrs[NL80211_ATTR_MAC]) in nl80211_new_station()
7158 nla_data(info->attrs[NL80211_ATTR_MAC]); in nl80211_new_station()
7162 mac_addr = nla_data(info->attrs[NL80211_ATTR_MAC]); in nl80211_new_station()
7414 if (info->attrs[NL80211_ATTR_MAC]) in nl80211_del_station()
7415 params.mac = nla_data(info->attrs[NL80211_ATTR_MAC]); in nl80211_del_station()
7478 nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, dst) || in nl80211_send_mpath()
7589 if (!info->attrs[NL80211_ATTR_MAC]) in nl80211_get_mpath()
7592 dst = nla_data(info->attrs[NL80211_ATTR_MAC]); in nl80211_get_mpath()
7624 if (!info->attrs[NL80211_ATTR_MAC]) in nl80211_set_mpath()
7630 dst = nla_data(info->attrs[NL80211_ATTR_MAC]); in nl80211_set_mpath()
7649 if (!info->attrs[NL80211_ATTR_MAC]) in nl80211_new_mpath()
7655 dst = nla_data(info->attrs[NL80211_ATTR_MAC]); in nl80211_new_mpath()
7673 if (info->attrs[NL80211_ATTR_MAC]) in nl80211_del_mpath()
7674 dst = nla_data(info->attrs[NL80211_ATTR_MAC]); in nl80211_del_mpath()
7697 if (!info->attrs[NL80211_ATTR_MAC]) in nl80211_get_mpp()
7700 dst = nla_data(info->attrs[NL80211_ATTR_MAC]); in nl80211_get_mpp()
8763 if (!attrs[NL80211_ATTR_MAC] && !attrs[NL80211_ATTR_MAC_MASK]) { in nl80211_parse_random_mac()
8773 if (!attrs[NL80211_ATTR_MAC] || !attrs[NL80211_ATTR_MAC_MASK]) in nl80211_parse_random_mac()
8776 memcpy(mac_addr, nla_data(attrs[NL80211_ATTR_MAC]), ETH_ALEN); in nl80211_parse_random_mac()
9143 info->attrs[NL80211_ATTR_MAC]) in nl80211_trigger_scan()
9144 memcpy(request->bssid, nla_data(info->attrs[NL80211_ATTR_MAC]), in nl80211_trigger_scan()
10432 if (!info->attrs[NL80211_ATTR_MAC]) in nl80211_authenticate()
10486 bssid = nla_data(info->attrs[NL80211_ATTR_MAC]); in nl80211_authenticate()
10710 if (!attrs[NL80211_ATTR_MAC] || !attrs[NL80211_ATTR_WIPHY_FREQ]) in nl80211_assoc_bss()
10713 bssid = nla_data(attrs[NL80211_ATTR_MAC]); in nl80211_assoc_bss()
10871 if (info->attrs[NL80211_ATTR_MAC] || in nl80211_associate()
10998 if (!info->attrs[NL80211_ATTR_MAC]) in nl80211_deauthenticate()
11011 bssid = nla_data(info->attrs[NL80211_ATTR_MAC]); in nl80211_deauthenticate()
11046 if (!info->attrs[NL80211_ATTR_MAC]) in nl80211_disassociate()
11059 bssid = nla_data(info->attrs[NL80211_ATTR_MAC]); in nl80211_disassociate()
11143 if (info->attrs[NL80211_ATTR_MAC]) { in nl80211_join_ibss()
11144 ibss.bssid = nla_data(info->attrs[NL80211_ATTR_MAC]); in nl80211_join_ibss()
11617 if (info->attrs[NL80211_ATTR_MAC]) in nl80211_connect()
11618 connect.bssid = nla_data(info->attrs[NL80211_ATTR_MAC]); in nl80211_connect()
11972 if (info->attrs[NL80211_ATTR_MAC]) { in nl80211_setdel_pmksa()
11973 pmksa.bssid = nla_data(info->attrs[NL80211_ATTR_MAC]); in nl80211_setdel_pmksa()
12057 !info->attrs[NL80211_ATTR_MAC]) in nl80211_tdls_mgmt()
12060 peer = nla_data(info->attrs[NL80211_ATTR_MAC]); in nl80211_tdls_mgmt()
12088 !info->attrs[NL80211_ATTR_MAC]) in nl80211_tdls_oper()
12092 peer = nla_data(info->attrs[NL80211_ATTR_MAC]); in nl80211_tdls_oper()
13872 if (!info->attrs[NL80211_ATTR_MAC]) in nl80211_probe_client()
13889 addr = nla_data(info->attrs[NL80211_ATTR_MAC]); in nl80211_probe_client()
14442 nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, match->addr)) in cfg80211_nan_match()
15063 if (!info->attrs[NL80211_ATTR_TSID] || !info->attrs[NL80211_ATTR_MAC] || in nl80211_add_tx_ts()
15079 peer = nla_data(info->attrs[NL80211_ATTR_MAC]); in nl80211_add_tx_ts()
15117 if (!info->attrs[NL80211_ATTR_TSID] || !info->attrs[NL80211_ATTR_MAC]) in nl80211_del_tx_ts()
15121 peer = nla_data(info->attrs[NL80211_ATTR_MAC]); in nl80211_del_tx_ts()
15153 if (!info->attrs[NL80211_ATTR_MAC] || in nl80211_tdls_channel_switch()
15180 addr = nla_data(info->attrs[NL80211_ATTR_MAC]); in nl80211_tdls_channel_switch()
15211 if (!info->attrs[NL80211_ATTR_MAC]) in nl80211_tdls_cancel_channel_switch()
15214 addr = nla_data(info->attrs[NL80211_ATTR_MAC]); in nl80211_tdls_cancel_channel_switch()
15261 if (!info->attrs[NL80211_ATTR_MAC] || !info->attrs[NL80211_ATTR_PMK]) in nl80211_set_pmk()
15270 pmk_conf.aa = nla_data(info->attrs[NL80211_ATTR_MAC]); in nl80211_set_pmk()
15310 if (!info->attrs[NL80211_ATTR_MAC]) in nl80211_del_pmk()
15314 aa = nla_data(info->attrs[NL80211_ATTR_MAC]); in nl80211_del_pmk()
15386 !info->attrs[NL80211_ATTR_MAC] || in nl80211_tx_control_port()
15419 dest = nla_data(info->attrs[NL80211_ATTR_MAC]); in nl80211_tx_control_port()
15520 !info->attrs[NL80211_ATTR_MAC]) in nl80211_update_owe_info()
15525 nla_memcpy(owe_info.peer, info->attrs[NL80211_ATTR_MAC], ETH_ALEN); in nl80211_update_owe_info()
15549 if (!info->attrs[NL80211_ATTR_MAC] || in nl80211_probe_mesh_link()
15558 dest = nla_data(info->attrs[NL80211_ATTR_MAC]); in nl80211_probe_mesh_link()
15709 if (info->attrs[NL80211_ATTR_MAC]) in nl80211_set_tid_config()
15710 tid_config->peer = nla_data(info->attrs[NL80211_ATTR_MAC]); in nl80211_set_tid_config()
15849 if (!info->attrs[NL80211_ATTR_MAC] || in nl80211_set_fils_aad()
15854 fils_aad.macaddr = nla_data(info->attrs[NL80211_ATTR_MAC]); in nl80211_set_fils_aad()
15882 if (!info->attrs[NL80211_ATTR_MAC] || in nl80211_add_link()
15883 !is_valid_ether_addr(nla_data(info->attrs[NL80211_ATTR_MAC]))) in nl80211_add_link()
15889 nla_data(info->attrs[NL80211_ATTR_MAC])); in nl80211_add_link()
15938 if (add && !info->attrs[NL80211_ATTR_MAC]) in nl80211_add_mod_link_station()
15949 if (info->attrs[NL80211_ATTR_MAC]) { in nl80211_add_mod_link_station()
15950 params.link_mac = nla_data(info->attrs[NL80211_ATTR_MAC]); in nl80211_add_mod_link_station()
17701 nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, addr)) in nl80211_send_mlme_timeout()
17772 nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, connected_addr)) || in nl80211_send_connect_result()
17820 nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, in nl80211_send_connect_result()
17883 nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, connected_addr) || in nl80211_send_roamed()
17924 nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, in nl80211_send_roamed()
17962 nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, bssid)) in nl80211_send_port_authorized()
18030 nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, bssid)) in nl80211_send_ibss_bssid()
18069 nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, addr) || in cfg80211_notify_new_peer_candidate()
18107 (addr && nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, addr)) || in nl80211_michael_mic_failure()
18248 nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, ap_addr) || in cfg80211_assoc_comeback()
18377 nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, mac_addr) || in cfg80211_conn_failed()
18416 nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, addr)) in __nl80211_unexpected_frame()
18630 nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, addr) || in __nl80211_rx_control_port()
18685 if (mac && nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, mac)) in cfg80211_prepare_cqm()
18846 nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, bssid)) in nl80211_gtk_rekey_notify()
19172 if (nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, mac)) in cfg80211_sta_opmode_change_notify()
19223 nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, addr) || in cfg80211_probe_status()
19488 nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, peer) || in cfg80211_tdls_oper_request()
19593 nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, ft_event->target_ap)) in cfg80211_ft_event()
19743 nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, owe_info->peer)) in cfg80211_update_owe_info_event()