Lines Matching refs:nla_put
2437 nla_put(msg, NL80211_ATTR_FRAME_MATCH, match_len, match)) { in nl80211_register_frame()
3385 nla_put(msg, NL80211_ATTR_VENDOR_DATA, key_len, key)) { in issue_key_mgmt_set_key()
3423 nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, addr) || in nl80211_set_pmk()
3424 nla_put(msg, NL80211_ATTR_PMK, key_len, key)) { in nl80211_set_pmk()
3530 if (nla_put(key_msg, NL80211_KEY_DATA, key_len, key) || in wpa_driver_nl80211_set_key()
3536 if (nla_put(key_msg, NL80211_KEY_SEQ, seq_len, seq)) in wpa_driver_nl80211_set_key()
3545 if (nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, addr)) in wpa_driver_nl80211_set_key()
3716 nla_put(msg, NL80211_KEY_SEQ, seq_len, seq)) || in nl_add_key()
3717 nla_put(msg, NL80211_KEY_DATA, key_len, key)) in nl_add_key()
3760 nla_put(msg, NL80211_KEY_DATA, params->wep_key_len[i], in nl80211_set_conn_keys()
3789 (addr && nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, addr)) || in wpa_driver_nl80211_mlme()
4027 if (nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, params->bssid)) in wpa_driver_nl80211_authenticate()
4038 if (nla_put(msg, NL80211_ATTR_SSID, params->ssid_len, in wpa_driver_nl80211_authenticate()
4044 nla_put(msg, NL80211_ATTR_IE, params->ie_len, params->ie)) in wpa_driver_nl80211_authenticate()
4049 if (nla_put(msg, NL80211_ATTR_SAE_DATA, params->auth_data_len, in wpa_driver_nl80211_authenticate()
4070 nla_put(msg, NL80211_ATTR_MLD_ADDR, ETH_ALEN, in wpa_driver_nl80211_authenticate()
4411 return nla_put(msg, NL80211_ATTR_BSS_BASIC_RATES, rates_len, rates); in nl80211_put_basic_rates()
4470 if (nla_put(acl, i + 1, ETH_ALEN, params->mac_acl[i].addr)) { in wpa_driver_nl80211_set_acl()
4613 nla_put(msg, NL80211_TXRATE_HT, 0, NULL) || in nl80211_put_beacon_rate()
4615 nla_put(msg, NL80211_TXRATE_VHT, sizeof(vht_rate), in nl80211_put_beacon_rate()
4628 if (nla_put(msg, NL80211_TXRATE_LEGACY, 0, NULL) || in nl80211_put_beacon_rate()
4631 nla_put(msg, NL80211_TXRATE_VHT, sizeof(vht_rate), in nl80211_put_beacon_rate()
4644 if (nla_put(msg, NL80211_TXRATE_LEGACY, 0, NULL)) in nl80211_put_beacon_rate()
4646 if (nla_put(msg, NL80211_TXRATE_HT, 0, NULL)) in nl80211_put_beacon_rate()
4648 if (nla_put(msg, NL80211_TXRATE_VHT, sizeof(vht_rate), in nl80211_put_beacon_rate()
4661 if (nla_put(msg, NL80211_TXRATE_LEGACY, 0, NULL) || in nl80211_put_beacon_rate()
4662 nla_put(msg, NL80211_TXRATE_HT, 0, NULL) || in nl80211_put_beacon_rate()
4663 nla_put(msg, NL80211_TXRATE_VHT, sizeof(vht_rate), in nl80211_put_beacon_rate()
4665 nla_put(msg, NL80211_TXRATE_HE, sizeof(he_rate), &he_rate)) in nl80211_put_beacon_rate()
4769 nla_put(msg, NL80211_FILS_DISCOVERY_ATTR_TMPL, in nl80211_fils_discovery()
4802 nla_put(msg, NL80211_UNSOL_BCAST_PROBE_RESP_ATTR_TMPL, in nl80211_unsol_bcast_probe_resp()
4849 if (nla_put(msg, i + 1, offs[i + 1] - offs[i], offs[i])) in nl80211_mbssid()
4853 if (nla_put(msg, i + 1, in nl80211_mbssid()
4873 if (nla_put(msg, i + 1, offs[i + 1] - offs[i], offs[i])) in nl80211_mbssid()
4877 if (nla_put(msg, i + 1, *offs + params->rnr_elem_len - offs[i], in nl80211_mbssid()
5100 nla_put(msg, NL80211_ATTR_BEACON_HEAD, params->head_len, in wpa_driver_nl80211_set_ap()
5102 nla_put(msg, NL80211_ATTR_BEACON_TAIL, params->tail_len, in wpa_driver_nl80211_set_ap()
5108 nla_put(msg, NL80211_ATTR_SSID, params->ssid_len, params->ssid)) in wpa_driver_nl80211_set_ap()
5127 if (nla_put(msg, NL80211_ATTR_PROBE_RESP, params->proberesp_len, in wpa_driver_nl80211_set_ap()
5188 nla_put(msg, NL80211_ATTR_AKM_SUITES, num_suites * sizeof(u32), in wpa_driver_nl80211_set_ap()
5195 nla_put(msg, NL80211_ATTR_PMK, params->psk_len, params->psk)) in wpa_driver_nl80211_set_ap()
5201 nla_put(msg, NL80211_ATTR_SAE_PASSWORD, in wpa_driver_nl80211_set_ap()
5241 nla_put(msg, NL80211_ATTR_CIPHER_SUITES_PAIRWISE, in wpa_driver_nl80211_set_ap()
5255 if (nla_put(msg, NL80211_ATTR_IE, in wpa_driver_nl80211_set_ap()
5263 if (nla_put(msg, NL80211_ATTR_IE_PROBE_RESP, in wpa_driver_nl80211_set_ap()
5271 if (nla_put(msg, NL80211_ATTR_IE_ASSOC_RESP, in wpa_driver_nl80211_set_ap()
5318 nla_put(msg, NL80211_FTM_RESP_ATTR_LCI, in wpa_driver_nl80211_set_ap()
5322 nla_put(msg, NL80211_FTM_RESP_ATTR_CIVICLOC, in wpa_driver_nl80211_set_ap()
5355 nla_put(msg, NL80211_HE_OBSS_PD_ATTR_BSS_COLOR_BITMAP, in wpa_driver_nl80211_set_ap()
5358 nla_put(msg, NL80211_HE_OBSS_PD_ATTR_PARTIAL_BSSID_BITMAP, in wpa_driver_nl80211_set_ap()
5623 if (nla_put(msg, NL80211_ATTR_STA_SUPPORTED_RATES, in wpa_driver_nl80211_sta_add()
5633 if (nla_put(msg, NL80211_ATTR_HT_CAPABILITY, in wpa_driver_nl80211_sta_add()
5643 if (nla_put(msg, NL80211_ATTR_VHT_CAPABILITY, in wpa_driver_nl80211_sta_add()
5652 if (nla_put(msg, NL80211_ATTR_HE_CAPABILITY, in wpa_driver_nl80211_sta_add()
5661 if (nla_put(msg, NL80211_ATTR_HE_6GHZ_CAPABILITY, in wpa_driver_nl80211_sta_add()
5670 if (nla_put(msg, NL80211_ATTR_EHT_CAPABILITY, in wpa_driver_nl80211_sta_add()
5678 if (nla_put(msg, NL80211_ATTR_STA_EXT_CAPABILITY, in wpa_driver_nl80211_sta_add()
5738 if (nla_put(msg, NL80211_ATTR_STA_SUPPORTED_CHANNELS, in wpa_driver_nl80211_sta_add()
5747 if (nla_put(msg, NL80211_ATTR_STA_SUPPORTED_OPER_CLASSES, in wpa_driver_nl80211_sta_add()
5797 if (nla_put(msg, NL80211_ATTR_STA_FLAGS2, sizeof(upd), &upd)) in wpa_driver_nl80211_sta_add()
5840 if (nla_put(msg, NL80211_ATTR_MLD_ADDR, in wpa_driver_nl80211_sta_add()
5842 nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, in wpa_driver_nl80211_sta_add()
5846 if (nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, in wpa_driver_nl80211_sta_add()
5851 if (nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, params->addr)) in wpa_driver_nl80211_sta_add()
5884 nla_put(msg, NDA_LLADDR, ETH_ALEN, (void *) addr) || in rtnl_neigh_delete_fdb_entry()
5911 nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, addr) || in wpa_driver_nl80211_sta_remove()
6036 nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, addr)) in nl80211_create_iface_once()
6209 nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, dest) || in nl80211_tx_control_port()
6210 nla_put(msg, NL80211_ATTR_FRAME, len, buf) || in nl80211_tx_control_port()
6360 nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, addr)) in wpa_driver_nl80211_sta_set_flags()
6386 if (nla_put(msg, NL80211_ATTR_STA_FLAGS2, sizeof(upd), &upd)) in wpa_driver_nl80211_sta_set_flags()
6408 nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, addr) || in driver_nl80211_sta_set_airtime_weight()
6494 if (nla_put(msg, NL80211_ATTR_HT_CAPABILITY, sz, in nl80211_ht_vht_overrides()
6496 nla_put(msg, NL80211_ATTR_HT_CAPABILITY_MASK, sz, in nl80211_ht_vht_overrides()
6513 if (nla_put(msg, NL80211_ATTR_VHT_CAPABILITY, sz, in nl80211_ht_vht_overrides()
6515 nla_put(msg, NL80211_ATTR_VHT_CAPABILITY_MASK, sz, in nl80211_ht_vht_overrides()
6561 if (nla_put(msg, NL80211_ATTR_SSID, params->ssid_len, params->ssid)) in wpa_driver_nl80211_ibss()
6577 if (nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, params->bssid)) in wpa_driver_nl80211_ibss()
6601 if (nla_put(msg, NL80211_ATTR_IE, params->wpa_ie_len, in wpa_driver_nl80211_ibss()
6645 if (nla_put(msg, NL80211_ATTR_FILS_ERP_USERNAME, in nl80211_put_fils_connect_params()
6655 if (nla_put(msg, NL80211_ATTR_FILS_ERP_REALM, in nl80211_put_fils_connect_params()
6669 if (nla_put(msg, NL80211_ATTR_FILS_ERP_RRK, in nl80211_put_fils_connect_params()
6701 if (nla_put(msg, NL80211_ATTR_MLD_ADDR, ETH_ALEN, in nl80211_connect_common()
6718 nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, in nl80211_connect_common()
6727 nla_put(msg, NL80211_ATTR_IE, in nl80211_connect_common()
6752 if (nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, params->bssid)) in nl80211_connect_common()
6759 if (nla_put(msg, NL80211_ATTR_MAC_HINT, ETH_ALEN, in nl80211_connect_common()
6803 if (nla_put(msg, NL80211_ATTR_SSID, params->ssid_len, in nl80211_connect_common()
6814 nla_put(msg, NL80211_ATTR_IE, params->wpa_ie_len, params->wpa_ie)) in nl80211_connect_common()
6985 if (nla_put(msg, NL80211_ATTR_AKM_SUITES, in nl80211_connect_common()
7005 if (nla_put(msg, NL80211_ATTR_PMK, 32, params->psk)) in nl80211_connect_common()
7045 if (nla_put(msg, NL80211_ATTR_PREV_BSSID, ETH_ALEN, in nl80211_connect_common()
7131 if (nla_put(msg, NL80211_ATTR_SAE_PASSWORD, pwd_len, password)) in wpa_driver_nl80211_try_connect()
7268 if (nla_put(msg, NL80211_ATTR_FILS_KEK, params->fils_kek_len, in wpa_driver_nl80211_associate()
7276 if (nla_put(msg, NL80211_ATTR_FILS_NONCES, in wpa_driver_nl80211_associate()
7599 nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, connected_addr) || in wpa_driver_nl80211_set_supp_port()
7600 nla_put(msg, NL80211_ATTR_STA_FLAGS2, sizeof(upd), &upd)) { in wpa_driver_nl80211_set_supp_port()
7663 (addr && nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, addr)) || in i802_get_seqnum()
8090 nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, bssid)) { in nl80211_get_link_signal()
8106 nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, addr)) { in i802_read_sta_data()
8198 nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, addr) || in i802_set_sta_vlan()
9060 (csa_offs && nla_put(msg, NL80211_ATTR_CSA_C_OFFSETS_TX, in nl80211_send_frame_cmd()
9062 nla_put(msg, NL80211_ATTR_FRAME, buf_len, buf)) in nl80211_send_frame_cmd()
9423 (disabled && nla_put(msg, NL80211_TXRATE_LEGACY, 8, in nl80211_disable_11b_rates()
10005 nla_put(msg, NL80211_ATTR_PMKID, 16, params->pmkid)) || in nl80211_pmkid()
10007 nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, params->bssid)) || in nl80211_pmkid()
10009 nla_put(msg, NL80211_ATTR_SSID, params->ssid_len, params->ssid)) || in nl80211_pmkid()
10011 nla_put(msg, NL80211_ATTR_FILS_CACHE_ID, 2, in nl80211_pmkid()
10021 nla_put(msg, NL80211_ATTR_PMK, params->pmk_len, params->pmk))) { in nl80211_pmkid()
10297 nla_put(msg, NL80211_REKEY_DATA_KEK, kek_len, kek) || in nl80211_set_rekey_info()
10298 (kck_len && nla_put(msg, NL80211_REKEY_DATA_KCK, kck_len, kck)) || in nl80211_set_rekey_info()
10299 nla_put(msg, NL80211_REKEY_DATA_REPLAY_CTR, NL80211_REPLAY_CTR_LEN, in nl80211_set_rekey_info()
10370 nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, addr)) { in nl80211_poll_client()
10552 nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, dst) || in nl80211_send_tdls_mgmt()
10560 nla_put(msg, NL80211_ATTR_IE, len, buf)) in nl80211_send_tdls_mgmt()
10608 nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, peer)) { in nl80211_tdls_oper()
10639 nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, addr) || in nl80211_tdls_enable_channel_switch()
10666 nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, addr)) { in nl80211_tdls_disable_channel_switch()
10879 nla_put(msg, NL80211_ATTR_IE, ies_len, ies) || in wpa_driver_nl80211_update_ft_ies()
10906 nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, peer_mac) || in nl80211_update_dh_ie()
10908 (ie && nla_put(msg, NL80211_ATTR_IE, ie_len, ie))) { in nl80211_update_dh_ie()
11182 nla_put(msg, NL80211_ATTR_BEACON_HEAD, in set_beacon_data()
11185 nla_put(msg, NL80211_ATTR_BEACON_TAIL, in set_beacon_data()
11188 nla_put(msg, NL80211_ATTR_IE, in set_beacon_data()
11191 nla_put(msg, NL80211_ATTR_IE_PROBE_RESP, in set_beacon_data()
11194 nla_put(msg, NL80211_ATTR_IE_ASSOC_RESP, in set_beacon_data()
11197 nla_put(msg, NL80211_ATTR_PROBE_RESP, in set_beacon_data()
11318 if (nla_put(msg, NL80211_ATTR_CSA_C_OFF_BEACON, in nl80211_switch_channel()
11322 nla_put(msg, NL80211_ATTR_CSA_C_OFF_PRESP, in nl80211_switch_channel()
11471 nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, addr) || in nl80211_add_ts()
11500 nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, addr)) { in nl80211_del_ts()
11630 nla_put(msg, nla_flag | NL80211_ATTR_VENDOR_DATA, in nl80211_vendor_cmd()
11658 nla_put(msg, NL80211_ATTR_QOS_MAP, qos_map_set_len, qos_map_set)) { in nl80211_set_qos_map()
11778 nla_put(msg, QCA_WLAN_VENDOR_ATTR_MAC_ADDR, ETH_ALEN, bssid))) { in nl80211_roaming()
11858 if (nla_put(msg, in nl80211_set_bssid_tmp_disallow()
11895 nla_put(msg, QCA_WLAN_VENDOR_ATTR_ADD_STA_NODE_MAC_ADDR, ETH_ALEN, in nl80211_add_sta_node()
11976 return nla_put(msg, NL80211_ATTR_MESH_ID, mesh_id_len, mesh_id); in nl80211_put_mesh_id()
12058 if (nla_put(msg, NL80211_MESH_SETUP_IE, params->ie_len, in nl80211_join_mesh()
12173 nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, addr) || in nl80211_probe_mesh_link()
12174 nla_put(msg, NL80211_ATTR_FRAME, len, eth)) { in nl80211_probe_mesh_link()
12240 nla_put(msg, NDA_DST, addrsize, (void *) ipaddr) || in wpa_driver_br_add_ip_neigh()
12241 nla_put(msg, NDA_LLADDR, ETH_ALEN, (void *) addr)) in wpa_driver_br_add_ip_neigh()
12304 nla_put(msg, NDA_DST, addrsize, (void *) ipaddr)) in wpa_driver_br_delete_ip_neigh()
12490 ret = nla_put(msg, QCA_WLAN_VENDOR_ATTR_ACS_CH_LIST, in add_acs_ch_list()
12511 ret = nla_put(msg, QCA_WLAN_VENDOR_ATTR_ACS_FREQ_LIST, in add_acs_freq_list()
12927 nla_put(msg, QCA_WLAN_VENDOR_ATTR_P2P_LISTEN_OFFLOAD_DEVICE_TYPES, in nl80211_p2p_lo_start()
12929 nla_put(msg, QCA_WLAN_VENDOR_ATTR_P2P_LISTEN_OFFLOAD_VENDOR_IE, in nl80211_p2p_lo_start()
13189 nla_put(msg, QCA_WLAN_VENDOR_ATTR_BTM_CANDIDATE_INFO_BSSID, in nl80211_get_bss_transition_status()
13302 nla_put(msg, QCA_WLAN_VENDOR_ATTR_PASN_PEER_SRC_ADDR, in nl80211_send_pasn_resp()
13304 nla_put(msg, QCA_WLAN_VENDOR_ATTR_PASN_PEER_MAC_ADDR, in nl80211_send_pasn_resp()
13378 if (nla_put(msg, QCA_WLAN_VENDOR_ATTR_SECURE_RANGING_CTX_PEER_MAC_ADDR, in nl80211_set_secure_ranging_ctx()
13380 nla_put(msg, QCA_WLAN_VENDOR_ATTR_SECURE_RANGING_CTX_SRC_ADDR, in nl80211_set_secure_ranging_ctx()
13396 if (nla_put(msg, QCA_WLAN_VENDOR_ATTR_SECURE_RANGING_CTX_TK, in nl80211_set_secure_ranging_ctx()
13412 nla_put(msg, in nl80211_set_secure_ranging_ctx()
13465 nla_put(msg, BRCM_VENDOR_ATTR_ACS_FREQ_LIST, in wpa_driver_do_broadcom_acs()
13711 if (nla_put(msg, NL80211_ATTR_IE, params->wpa_ie_len, in nl80211_update_connection_params()
13767 nla_put(msg, NL80211_ATTR_SSID, params->ssid_len, params->ssid)) || in nl80211_send_external_auth_status()
13769 nla_put(msg, NL80211_ATTR_PMKID, PMKID_LEN, params->pmkid)) || in nl80211_send_external_auth_status()
13771 nla_put(msg, NL80211_ATTR_BSSID, ETH_ALEN, params->bssid))) in nl80211_send_external_auth_status()
13898 nla_put(msg, NL80211_ATTR_MAC, ETH_ALEN, addr)) { in nl80211_link_add()
13938 nla_put(msg, NL80211_ATTR_MLD_ADDR, ETH_ALEN, addr) || in wpa_driver_nl80211_link_sta_remove()