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()
291 if (!ieee80211_he_capa_size_ok(nla_data(attr), nla_len(attr))) in validate_he_capa()
1319 k->p.key_len = nla_len(tb[NL80211_KEY_DATA]); in nl80211_parse_key_new()
1324 k->p.seq_len = nla_len(tb[NL80211_KEY_SEQ]); in nl80211_parse_key_new()
1358 k->p.key_len = nla_len(info->attrs[NL80211_ATTR_KEY_DATA]); in nl80211_parse_key_old()
1363 k->p.seq_len = nla_len(info->attrs[NL80211_ATTR_KEY_SEQ]); in nl80211_parse_key_old()
4201 nla_len(info->attrs[NL80211_ATTR_MESH_ID]); in nl80211_set_interface()
4310 nla_len(info->attrs[NL80211_ATTR_MESH_ID]); in _nl80211_new_interface()
4850 if (nla_len(attr) != ETH_ALEN) in validate_acl_mac_addrs()
5216 nla_len(tb[NL80211_TXRATE_LEGACY])); in nl80211_parse_tx_bitrate_mask()
5218 nla_len(tb[NL80211_TXRATE_LEGACY])) in nl80211_parse_tx_bitrate_mask()
5225 nla_len(tb[NL80211_TXRATE_HT]), in nl80211_parse_tx_bitrate_mask()
5449 elems->elem[i].len = nla_len(nl_elems); in nl80211_parse_mbssid_elems()
5481 elems->elem[i].len = nla_len(nl_elems); in nl80211_parse_rnr_elems()
5525 bcn->head_len = nla_len(attrs[NL80211_ATTR_BEACON_HEAD]); in nl80211_parse_beacon()
5533 bcn->tail_len = nla_len(attrs[NL80211_ATTR_BEACON_TAIL]); in nl80211_parse_beacon()
5542 bcn->beacon_ies_len = nla_len(attrs[NL80211_ATTR_IE]); in nl80211_parse_beacon()
5549 nla_len(attrs[NL80211_ATTR_IE_PROBE_RESP]); in nl80211_parse_beacon()
5556 nla_len(attrs[NL80211_ATTR_IE_ASSOC_RESP]); in nl80211_parse_beacon()
5561 bcn->probe_resp_len = nla_len(attrs[NL80211_ATTR_PROBE_RESP]); in nl80211_parse_beacon()
5583 bcn->lci_len = nla_len(tb[NL80211_FTM_RESP_ATTR_LCI]); in nl80211_parse_beacon()
5588 bcn->civicloc_len = nla_len(tb[NL80211_FTM_RESP_ATTR_CIVICLOC]); in nl80211_parse_beacon()
5697 fd->tmpl_len = nla_len(tb[NL80211_FILS_DISCOVERY_ATTR_TMPL]); in nl80211_parse_fils_discovery()
5729 presp->tmpl_len = nla_len(tb[NL80211_UNSOL_BCAST_PROBE_RESP_ATTR_TMPL]); in nl80211_parse_unsol_bcast_probe_resp()
5984 nla_len(info->attrs[NL80211_ATTR_SSID]); in nl80211_start_ap()
7087 nla_len(info->attrs[NL80211_ATTR_STA_SUPPORTED_CHANNELS]); in nl80211_parse_sta_channel_info()
7101 nla_len(info->attrs[NL80211_ATTR_STA_SUPPORTED_OPER_CLASSES]); in nl80211_parse_sta_channel_info()
7123 nla_len(info->attrs[NL80211_ATTR_HE_CAPABILITY]); in nl80211_set_station_tdls()
7129 nla_len(info->attrs[NL80211_ATTR_EHT_CAPABILITY]); in nl80211_set_station_tdls()
7245 nla_len(info->attrs[NL80211_ATTR_STA_SUPPORTED_RATES]); in nl80211_set_station()
7258 nla_len(info->attrs[NL80211_ATTR_STA_EXT_CAPABILITY]); in nl80211_set_station()
7386 nla_len(info->attrs[NL80211_ATTR_STA_SUPPORTED_RATES]); in nl80211_new_station()
7420 nla_len(info->attrs[NL80211_ATTR_STA_EXT_CAPABILITY]); in nl80211_new_station()
7435 nla_len(info->attrs[NL80211_ATTR_HE_CAPABILITY]); in nl80211_new_station()
7441 nla_len(info->attrs[NL80211_ATTR_EHT_CAPABILITY]); in nl80211_new_station()
8027 nla_len(info->attrs[NL80211_ATTR_BSS_BASIC_RATES]); in nl80211_set_bss()
8480 setup->ie_len = nla_len(ieattr); in nl80211_parse_mesh_setup()
8886 if (nla_len(attr1) != sizeof(u32)) in validate_scan_freqs()
8925 if (!nla_ok(nest, nla_len(nest))) in parse_bss_select()
9193 ie_len = nla_len(info->attrs[NL80211_ATTR_IE]); in nl80211_trigger_scan()
9289 if (nla_len(attr) > IEEE80211_MAX_SSID_LEN) { in nl80211_trigger_scan()
9293 request->ssids[i].ssid_len = nla_len(attr); in nl80211_trigger_scan()
9294 memcpy(request->ssids[i].ssid, nla_data(attr), nla_len(attr)); in nl80211_trigger_scan()
9300 request->ie_len = nla_len(info->attrs[NL80211_ATTR_IE]); in nl80211_trigger_scan()
9327 nla_len(attr), in nl80211_trigger_scan()
9605 ie_len = nla_len(attrs[NL80211_ATTR_IE]); in nl80211_parse_sched_scan()
9744 if (nla_len(attr) > IEEE80211_MAX_SSID_LEN) { in nl80211_parse_sched_scan()
9748 request->ssids[i].ssid_len = nla_len(attr); in nl80211_parse_sched_scan()
9750 nla_len(attr)); in nl80211_parse_sched_scan()
9788 nla_data(ssid), nla_len(ssid)); in nl80211_parse_sched_scan()
9790 nla_len(ssid); in nl80211_parse_sched_scan()
10186 len = nla_len(csa_attrs[NL80211_ATTR_CNTDWN_OFFS_BEACON]); in nl80211_channel_switch()
10219 len = nla_len(csa_attrs[NL80211_ATTR_CNTDWN_OFFS_PRESP]); in nl80211_channel_switch()
10730 ssid_len = nla_len(info->attrs[NL80211_ATTR_SSID]); in nl80211_authenticate()
10734 req.ie_len = nla_len(info->attrs[NL80211_ATTR_IE]); in nl80211_authenticate()
10755 req.auth_data_len = nla_len(info->attrs[NL80211_ATTR_AUTH_DATA]); in nl80211_authenticate()
10853 len = nla_len(info->attrs[NL80211_ATTR_CIPHER_SUITES_PAIRWISE]); in nl80211_crypto_settings()
10891 len = nla_len(info->attrs[NL80211_ATTR_AKM_SUITES]); in nl80211_crypto_settings()
10904 if (nla_len(info->attrs[NL80211_ATTR_PMK]) != WLAN_PMK_LEN) in nl80211_crypto_settings()
10923 nla_len(info->attrs[NL80211_ATTR_SAE_PASSWORD]); in nl80211_crypto_settings()
10992 ssid_len = nla_len(info->attrs[NL80211_ATTR_SSID]); in nl80211_associate()
10996 req.ie_len = nla_len(info->attrs[NL80211_ATTR_IE]); in nl80211_associate()
11068 req.fils_kek_len = nla_len(info->attrs[NL80211_ATTR_FILS_KEK]); in nl80211_associate()
11147 nla_len(attrs[NL80211_ATTR_IE]); in nl80211_associate()
11264 ie_len = nla_len(info->attrs[NL80211_ATTR_IE]); in nl80211_deauthenticate()
11312 ie_len = nla_len(info->attrs[NL80211_ATTR_IE]); in nl80211_disassociate()
11364 !nla_len(info->attrs[NL80211_ATTR_SSID])) in nl80211_join_ibss()
11393 ibss.ssid_len = nla_len(info->attrs[NL80211_ATTR_SSID]); in nl80211_join_ibss()
11397 ibss.ie_len = nla_len(info->attrs[NL80211_ATTR_IE]); in nl80211_join_ibss()
11440 nla_len(info->attrs[NL80211_ATTR_BSS_BASIC_RATES]); in nl80211_join_ibss()
11700 nla_len(info->attrs[NL80211_ATTR_TESTDATA])); in nl80211_testmode_do()
11758 data_len = nla_len((void *)cb->args[1]); in nl80211_testmode_dump()
11822 !nla_len(info->attrs[NL80211_ATTR_SSID])) in nl80211_connect()
11866 connect.ssid_len = nla_len(info->attrs[NL80211_ATTR_SSID]); in nl80211_connect()
11870 connect.ie_len = nla_len(info->attrs[NL80211_ATTR_IE]); in nl80211_connect()
12005 nla_len(info->attrs[NL80211_ATTR_FILS_ERP_USERNAME]); in nl80211_connect()
12009 nla_len(info->attrs[NL80211_ATTR_FILS_ERP_REALM]); in nl80211_connect()
12016 nla_len(info->attrs[NL80211_ATTR_FILS_ERP_RRK]); in nl80211_connect()
12076 connect.ie_len = nla_len(info->attrs[NL80211_ATTR_IE]); in nl80211_update_connect_params()
12096 nla_len(info->attrs[NL80211_ATTR_FILS_ERP_USERNAME]); in nl80211_update_connect_params()
12100 nla_len(info->attrs[NL80211_ATTR_FILS_ERP_REALM]); in nl80211_update_connect_params()
12107 nla_len(info->attrs[NL80211_ATTR_FILS_ERP_RRK]); in nl80211_update_connect_params()
12222 pmksa.ssid_len = nla_len(info->attrs[NL80211_ATTR_SSID]); in nl80211_setdel_pmksa()
12230 pmksa.pmk_len = nla_len(info->attrs[NL80211_ATTR_PMK]); in nl80211_setdel_pmksa()
12318 nla_len(info->attrs[NL80211_ATTR_IE])); in nl80211_tdls_mgmt()
12522 nla_len(info->attrs[NL80211_ATTR_FRAME_MATCH]), in nl80211_register_mgmt()
12624 params.len = nla_len(info->attrs[NL80211_ATTR_FRAME]); in nl80211_tx_mgmt()
12627 int len = nla_len(info->attrs[NL80211_ATTR_CSA_C_OFFSETS_TX]); in nl80211_tx_mgmt()
12997 int len = nla_len(attrs[NL80211_ATTR_CQM_RSSI_THOLD]); in nl80211_set_cqm()
13062 !nla_len(info->attrs[NL80211_ATTR_MESH_ID])) in nl80211_join_mesh()
13066 setup.mesh_id_len = nla_len(info->attrs[NL80211_ATTR_MESH_ID]); in nl80211_join_mesh()
13113 nla_len(info->attrs[NL80211_ATTR_BSS_BASIC_RATES]); in nl80211_join_mesh()
13445 data_size = nla_len(tb[NL80211_WOWLAN_TCP_DATA_PAYLOAD]); in nl80211_parse_wowlan_tcp()
13454 wake_size = nla_len(tb[NL80211_WOWLAN_TCP_WAKE_PAYLOAD]); in nl80211_parse_wowlan_tcp()
13458 wake_mask_size = nla_len(tb[NL80211_WOWLAN_TCP_WAKE_MASK]); in nl80211_parse_wowlan_tcp()
13463 u32 tokln = nla_len(tb[NL80211_WOWLAN_TCP_DATA_PAYLOAD_TOKEN]); in nl80211_parse_wowlan_tcp()
13710 pat_len = nla_len(pat_tb[NL80211_PKTPAT_PATTERN]); in nl80211_set_wowlan()
13712 if (nla_len(pat_tb[NL80211_PKTPAT_MASK]) != mask_len) in nl80211_set_wowlan()
13961 pat_len = nla_len(pat_tb[NL80211_PKTPAT_PATTERN]); in nl80211_parse_coalesce_rule()
13963 if (nla_len(pat_tb[NL80211_PKTPAT_MASK]) != mask_len) in nl80211_parse_coalesce_rule()
14085 if (nla_len(tb[NL80211_REKEY_DATA_KEK]) != NL80211_KEK_LEN && in nl80211_set_rekey_data()
14087 nla_len(tb[NL80211_REKEY_DATA_KEK]) == NL80211_KEK_EXT_LEN)) in nl80211_set_rekey_data()
14089 if (nla_len(tb[NL80211_REKEY_DATA_KCK]) != NL80211_KCK_LEN && in nl80211_set_rekey_data()
14091 nla_len(tb[NL80211_REKEY_DATA_KCK]) == NL80211_KCK_EXT_LEN) && in nl80211_set_rekey_data()
14093 nla_len(tb[NL80211_REKEY_DATA_KCK]) == NL80211_KCK_EXT_LEN_32)) in nl80211_set_rekey_data()
14099 rekey_data.kek_len = nla_len(tb[NL80211_REKEY_DATA_KEK]); in nl80211_set_rekey_data()
14100 rekey_data.kck_len = nla_len(tb[NL80211_REKEY_DATA_KCK]); in nl80211_set_rekey_data()
14333 len += nla_len(attr); in validate_nan_filter()
14367 filter[i].len = nla_len(attr); in handle_nan_filter()
14444 nla_len(tb[NL80211_NAN_FUNC_SERVICE_INFO]); in nl80211_nan_add_func()
14527 nla_len(srf_tb[NL80211_NAN_SRF_BF]); in nl80211_nan_add_func()
14876 ft_params.ie_len = nla_len(info->attrs[NL80211_ATTR_IE]); in nl80211_update_ft_ies()
15016 len = nla_len(info->attrs[NL80211_ATTR_VENDOR_DATA]); in nl80211_vendor_cmd()
15124 data_len = nla_len(attrbuf[NL80211_ATTR_VENDOR_DATA]); in nl80211_prepare_vendor_dump()
15296 len = nla_len(info->attrs[NL80211_ATTR_QOS_MAP]); in nl80211_set_qos_map()
15559 pmk_conf.pmk_len = nla_len(info->attrs[NL80211_ATTR_PMK]); in nl80211_set_pmk()
15626 params.ssid.ssid_len = nla_len(info->attrs[NL80211_ATTR_SSID]); in nl80211_external_auth()
15700 len = nla_len(info->attrs[NL80211_ATTR_FRAME]); in nl80211_tx_control_port()
15811 owe_info.ie_len = nla_len(info->attrs[NL80211_ATTR_IE]); in nl80211_update_owe_info()
15842 len = nla_len(info->attrs[NL80211_ATTR_FRAME]); in nl80211_probe_mesh_link()
16074 if (nla_len(tb[NL80211_ATTR_CNTDWN_OFFS_BEACON]) != sizeof(u16)) { in nl80211_color_change()
16093 if (nla_len(tb[NL80211_ATTR_CNTDWN_OFFS_PRESP]) != in nl80211_color_change()
16141 fils_aad.kek_len = nla_len(info->attrs[NL80211_ATTR_FILS_KEK]); in nl80211_set_fils_aad()
16250 nla_len(info->attrs[NL80211_ATTR_STA_SUPPORTED_RATES]); in nl80211_add_mod_link_station()
16265 nla_len(info->attrs[NL80211_ATTR_HE_CAPABILITY]); in nl80211_add_mod_link_station()
16271 nla_len(info->attrs[NL80211_ATTR_EHT_CAPABILITY]); in nl80211_add_mod_link_station()