Lines Matching refs:nla_len
229 unsigned int len = nla_len(attr); in validate_beacon_head()
274 unsigned int len = nla_len(attr); in validate_ie_attr()
1240 k->p.key_len = nla_len(tb[NL80211_KEY_DATA]); in nl80211_parse_key_new()
1245 k->p.seq_len = nla_len(tb[NL80211_KEY_SEQ]); in nl80211_parse_key_new()
1279 k->p.key_len = nla_len(info->attrs[NL80211_ATTR_KEY_DATA]); in nl80211_parse_key_old()
1284 k->p.seq_len = nla_len(info->attrs[NL80211_ATTR_KEY_SEQ]); in nl80211_parse_key_old()
3957 nla_len(info->attrs[NL80211_ATTR_MESH_ID]); in nl80211_set_interface()
4065 nla_len(info->attrs[NL80211_ATTR_MESH_ID]); in _nl80211_new_interface()
4535 if (nla_len(attr) != ETH_ALEN) in validate_acl_mac_addrs()
4889 nla_len(tb[NL80211_TXRATE_LEGACY])); in nl80211_parse_tx_bitrate_mask()
4891 nla_len(tb[NL80211_TXRATE_LEGACY])) in nl80211_parse_tx_bitrate_mask()
4898 nla_len(tb[NL80211_TXRATE_HT]), in nl80211_parse_tx_bitrate_mask()
5117 elems->elem[i].len = nla_len(nl_elems); in nl80211_parse_mbssid_elems()
5135 bcn->head_len = nla_len(attrs[NL80211_ATTR_BEACON_HEAD]); in nl80211_parse_beacon()
5143 bcn->tail_len = nla_len(attrs[NL80211_ATTR_BEACON_TAIL]); in nl80211_parse_beacon()
5152 bcn->beacon_ies_len = nla_len(attrs[NL80211_ATTR_IE]); in nl80211_parse_beacon()
5159 nla_len(attrs[NL80211_ATTR_IE_PROBE_RESP]); in nl80211_parse_beacon()
5166 nla_len(attrs[NL80211_ATTR_IE_ASSOC_RESP]); in nl80211_parse_beacon()
5171 bcn->probe_resp_len = nla_len(attrs[NL80211_ATTR_PROBE_RESP]); in nl80211_parse_beacon()
5193 bcn->lci_len = nla_len(tb[NL80211_FTM_RESP_ATTR_LCI]); in nl80211_parse_beacon()
5198 bcn->civicloc_len = nla_len(tb[NL80211_FTM_RESP_ATTR_CIVICLOC]); in nl80211_parse_beacon()
5308 fd->tmpl_len = nla_len(tb[NL80211_FILS_DISCOVERY_ATTR_TMPL]); in nl80211_parse_fils_discovery()
5340 presp->tmpl_len = nla_len(tb[NL80211_UNSOL_BCAST_PROBE_RESP_ATTR_TMPL]); in nl80211_parse_unsol_bcast_probe_resp()
5524 nla_len(info->attrs[NL80211_ATTR_SSID]); in nl80211_start_ap()
6527 nla_len(info->attrs[NL80211_ATTR_STA_SUPPORTED_CHANNELS]); in nl80211_parse_sta_channel_info()
6541 nla_len(info->attrs[NL80211_ATTR_STA_SUPPORTED_OPER_CLASSES]); in nl80211_parse_sta_channel_info()
6563 nla_len(info->attrs[NL80211_ATTR_HE_CAPABILITY]); in nl80211_set_station_tdls()
6648 nla_len(info->attrs[NL80211_ATTR_STA_SUPPORTED_RATES]); in nl80211_set_station()
6661 nla_len(info->attrs[NL80211_ATTR_STA_EXT_CAPABILITY]); in nl80211_set_station()
6771 nla_len(info->attrs[NL80211_ATTR_STA_SUPPORTED_RATES]); in nl80211_new_station()
6805 nla_len(info->attrs[NL80211_ATTR_STA_EXT_CAPABILITY]); in nl80211_new_station()
6820 nla_len(info->attrs[NL80211_ATTR_HE_CAPABILITY]); in nl80211_new_station()
7371 nla_len(info->attrs[NL80211_ATTR_BSS_BASIC_RATES]); in nl80211_set_bss()
7824 setup->ie_len = nla_len(ieattr); in nl80211_parse_mesh_setup()
8228 if (nla_len(attr1) != sizeof(u32)) in validate_scan_freqs()
8267 if (!nla_ok(nest, nla_len(nest))) in parse_bss_select()
8505 ie_len = nla_len(info->attrs[NL80211_ATTR_IE]); in nl80211_trigger_scan()
8604 if (nla_len(attr) > IEEE80211_MAX_SSID_LEN) { in nl80211_trigger_scan()
8608 request->ssids[i].ssid_len = nla_len(attr); in nl80211_trigger_scan()
8609 memcpy(request->ssids[i].ssid, nla_data(attr), nla_len(attr)); in nl80211_trigger_scan()
8615 request->ie_len = nla_len(info->attrs[NL80211_ATTR_IE]); in nl80211_trigger_scan()
8642 nla_len(attr), in nl80211_trigger_scan()
8920 ie_len = nla_len(attrs[NL80211_ATTR_IE]); in nl80211_parse_sched_scan()
9057 if (nla_len(attr) > IEEE80211_MAX_SSID_LEN) { in nl80211_parse_sched_scan()
9061 request->ssids[i].ssid_len = nla_len(attr); in nl80211_parse_sched_scan()
9063 nla_len(attr)); in nl80211_parse_sched_scan()
9101 nla_data(ssid), nla_len(ssid)); in nl80211_parse_sched_scan()
9103 nla_len(ssid); in nl80211_parse_sched_scan()
9471 len = nla_len(csa_attrs[NL80211_ATTR_CNTDWN_OFFS_BEACON]); in nl80211_channel_switch()
9504 len = nla_len(csa_attrs[NL80211_ATTR_CNTDWN_OFFS_PRESP]); in nl80211_channel_switch()
9994 ssid_len = nla_len(info->attrs[NL80211_ATTR_SSID]); in nl80211_authenticate()
9998 ie_len = nla_len(info->attrs[NL80211_ATTR_IE]); in nl80211_authenticate()
10019 auth_data_len = nla_len(info->attrs[NL80211_ATTR_AUTH_DATA]); in nl80211_authenticate()
10096 len = nla_len(info->attrs[NL80211_ATTR_CIPHER_SUITES_PAIRWISE]); in nl80211_crypto_settings()
10134 len = nla_len(info->attrs[NL80211_ATTR_AKM_SUITES]); in nl80211_crypto_settings()
10147 if (nla_len(info->attrs[NL80211_ATTR_PMK]) != WLAN_PMK_LEN) in nl80211_crypto_settings()
10166 nla_len(info->attrs[NL80211_ATTR_SAE_PASSWORD]); in nl80211_crypto_settings()
10215 ssid_len = nla_len(info->attrs[NL80211_ATTR_SSID]); in nl80211_associate()
10219 req.ie_len = nla_len(info->attrs[NL80211_ATTR_IE]); in nl80211_associate()
10281 req.fils_kek_len = nla_len(info->attrs[NL80211_ATTR_FILS_KEK]); in nl80211_associate()
10360 ie_len = nla_len(info->attrs[NL80211_ATTR_IE]); in nl80211_deauthenticate()
10408 ie_len = nla_len(info->attrs[NL80211_ATTR_IE]); in nl80211_disassociate()
10460 !nla_len(info->attrs[NL80211_ATTR_SSID])) in nl80211_join_ibss()
10489 ibss.ssid_len = nla_len(info->attrs[NL80211_ATTR_SSID]); in nl80211_join_ibss()
10493 ibss.ie_len = nla_len(info->attrs[NL80211_ATTR_IE]); in nl80211_join_ibss()
10534 nla_len(info->attrs[NL80211_ATTR_BSS_BASIC_RATES]); in nl80211_join_ibss()
10797 nla_len(info->attrs[NL80211_ATTR_TESTDATA])); in nl80211_testmode_do()
10855 data_len = nla_len((void *)cb->args[1]); in nl80211_testmode_dump()
10919 !nla_len(info->attrs[NL80211_ATTR_SSID])) in nl80211_connect()
10963 connect.ssid_len = nla_len(info->attrs[NL80211_ATTR_SSID]); in nl80211_connect()
10967 connect.ie_len = nla_len(info->attrs[NL80211_ATTR_IE]); in nl80211_connect()
11099 nla_len(info->attrs[NL80211_ATTR_FILS_ERP_USERNAME]); in nl80211_connect()
11103 nla_len(info->attrs[NL80211_ATTR_FILS_ERP_REALM]); in nl80211_connect()
11110 nla_len(info->attrs[NL80211_ATTR_FILS_ERP_RRK]); in nl80211_connect()
11167 connect.ie_len = nla_len(info->attrs[NL80211_ATTR_IE]); in nl80211_update_connect_params()
11187 nla_len(info->attrs[NL80211_ATTR_FILS_ERP_USERNAME]); in nl80211_update_connect_params()
11191 nla_len(info->attrs[NL80211_ATTR_FILS_ERP_REALM]); in nl80211_update_connect_params()
11198 nla_len(info->attrs[NL80211_ATTR_FILS_ERP_RRK]); in nl80211_update_connect_params()
11313 pmksa.ssid_len = nla_len(info->attrs[NL80211_ATTR_SSID]); in nl80211_setdel_pmksa()
11321 pmksa.pmk_len = nla_len(info->attrs[NL80211_ATTR_PMK]); in nl80211_setdel_pmksa()
11407 nla_len(info->attrs[NL80211_ATTR_IE])); in nl80211_tdls_mgmt()
11589 nla_len(info->attrs[NL80211_ATTR_FRAME_MATCH]), in nl80211_register_mgmt()
11674 params.len = nla_len(info->attrs[NL80211_ATTR_FRAME]); in nl80211_tx_mgmt()
11677 int len = nla_len(info->attrs[NL80211_ATTR_CSA_C_OFFSETS_TX]); in nl80211_tx_mgmt()
12019 int len = nla_len(attrs[NL80211_ATTR_CQM_RSSI_THOLD]); in nl80211_set_cqm()
12084 !nla_len(info->attrs[NL80211_ATTR_MESH_ID])) in nl80211_join_mesh()
12088 setup.mesh_id_len = nla_len(info->attrs[NL80211_ATTR_MESH_ID]); in nl80211_join_mesh()
12135 nla_len(info->attrs[NL80211_ATTR_BSS_BASIC_RATES]); in nl80211_join_mesh()
12467 data_size = nla_len(tb[NL80211_WOWLAN_TCP_DATA_PAYLOAD]); in nl80211_parse_wowlan_tcp()
12476 wake_size = nla_len(tb[NL80211_WOWLAN_TCP_WAKE_PAYLOAD]); in nl80211_parse_wowlan_tcp()
12480 wake_mask_size = nla_len(tb[NL80211_WOWLAN_TCP_WAKE_MASK]); in nl80211_parse_wowlan_tcp()
12485 u32 tokln = nla_len(tb[NL80211_WOWLAN_TCP_DATA_PAYLOAD_TOKEN]); in nl80211_parse_wowlan_tcp()
12730 pat_len = nla_len(pat_tb[NL80211_PKTPAT_PATTERN]); in nl80211_set_wowlan()
12732 if (nla_len(pat_tb[NL80211_PKTPAT_MASK]) != mask_len) in nl80211_set_wowlan()
12981 pat_len = nla_len(pat_tb[NL80211_PKTPAT_PATTERN]); in nl80211_parse_coalesce_rule()
12983 if (nla_len(pat_tb[NL80211_PKTPAT_MASK]) != mask_len) in nl80211_parse_coalesce_rule()
13105 if (nla_len(tb[NL80211_REKEY_DATA_KEK]) != NL80211_KEK_LEN && in nl80211_set_rekey_data()
13107 nla_len(tb[NL80211_REKEY_DATA_KEK]) == NL80211_KEK_EXT_LEN)) in nl80211_set_rekey_data()
13109 if (nla_len(tb[NL80211_REKEY_DATA_KCK]) != NL80211_KCK_LEN && in nl80211_set_rekey_data()
13111 nla_len(tb[NL80211_REKEY_DATA_KEK]) == NL80211_KCK_EXT_LEN)) in nl80211_set_rekey_data()
13117 rekey_data.kek_len = nla_len(tb[NL80211_REKEY_DATA_KEK]); in nl80211_set_rekey_data()
13118 rekey_data.kck_len = nla_len(tb[NL80211_REKEY_DATA_KCK]); in nl80211_set_rekey_data()
13351 len += nla_len(attr); in validate_nan_filter()
13382 filter[i].len = nla_len(attr); in handle_nan_filter()
13450 nla_len(tb[NL80211_NAN_FUNC_SERVICE_INFO]); in nl80211_nan_add_func()
13533 nla_len(srf_tb[NL80211_NAN_SRF_BF]); in nl80211_nan_add_func()
13882 ft_params.ie_len = nla_len(info->attrs[NL80211_ATTR_IE]); in nl80211_update_ft_ies()
14022 len = nla_len(info->attrs[NL80211_ATTR_VENDOR_DATA]); in nl80211_vendor_cmd()
14130 data_len = nla_len(attrbuf[NL80211_ATTR_VENDOR_DATA]); in nl80211_prepare_vendor_dump()
14302 len = nla_len(info->attrs[NL80211_ATTR_QOS_MAP]); in nl80211_set_qos_map()
14565 pmk_conf.pmk_len = nla_len(info->attrs[NL80211_ATTR_PMK]); in nl80211_set_pmk()
14632 params.ssid.ssid_len = nla_len(info->attrs[NL80211_ATTR_SSID]); in nl80211_external_auth()
14701 len = nla_len(info->attrs[NL80211_ATTR_FRAME]); in nl80211_tx_control_port()
14808 owe_info.ie_len = nla_len(info->attrs[NL80211_ATTR_IE]); in nl80211_update_owe_info()
14839 len = nla_len(info->attrs[NL80211_ATTR_FRAME]); in nl80211_probe_mesh_link()
15064 if (nla_len(tb[NL80211_ATTR_CNTDWN_OFFS_BEACON]) != sizeof(u16)) { in nl80211_color_change()
15083 if (nla_len(tb[NL80211_ATTR_CNTDWN_OFFS_PRESP]) != in nl80211_color_change()
15129 fils_aad.kek_len = nla_len(info->attrs[NL80211_ATTR_FILS_KEK]); in nl80211_set_fils_aad()