Home
last modified time | relevance | path

Searched refs:ie_len (Results 1 – 21 of 21) sorted by relevance

/net/wireless/
Dwext-sme.c32 wdev->wext.connect.ie_len = wdev->wext.ie_len; in cfg80211_mgd_wext_connect()
332 int ie_len = data->length, err; in cfg80211_wext_siwgenie() local
337 if (!ie_len) in cfg80211_wext_siwgenie()
344 if (wdev->wext.ie_len == ie_len && in cfg80211_wext_siwgenie()
345 memcmp(wdev->wext.ie, ie, ie_len) == 0) in cfg80211_wext_siwgenie()
348 if (ie_len) { in cfg80211_wext_siwgenie()
349 ie = kmemdup(extra, ie_len, GFP_KERNEL); in cfg80211_wext_siwgenie()
359 wdev->wext.ie_len = ie_len; in cfg80211_wext_siwgenie()
Dsme.c50 size_t ie_len; member
193 req.ie_len = params->ie_len; in cfg80211_conn_do_work()
583 if (cfg80211_sme_get_conn_ies(wdev, connect->ie, connect->ie_len, in cfg80211_sme_connect()
585 &wdev->conn->params.ie_len)) { in cfg80211_sme_connect()
1332 size_t ie_len, u16 reason, bool from_ap) in __cfg80211_disconnected() argument
1354 nl80211_send_disconnected(rdev, dev, reason, ie, ie_len, from_ap); in __cfg80211_disconnected()
1393 const u8 *ie, size_t ie_len, in cfg80211_disconnected() argument
1401 ev = kzalloc(sizeof(*ev) + ie_len, gfp); in cfg80211_disconnected()
1407 ev->dc.ie_len = ie_len; in cfg80211_disconnected()
1408 memcpy((void *)ev->dc.ie, ie, ie_len); in cfg80211_disconnected()
Dcore.h264 size_t ie_len; member
374 const u8 *ie, int ie_len, u16 reason,
378 const u8 *ie, int ie_len, u16 reason,
408 size_t ie_len, u16 reason, bool from_ap);
Dmlme.c369 const u8 *ie, int ie_len, u16 reason, in cfg80211_mlme_deauth() argument
377 .ie_len = ie_len, in cfg80211_mlme_deauth()
398 const u8 *ie, int ie_len, u16 reason, in cfg80211_mlme_disassoc() argument
406 .ie_len = ie_len, in cfg80211_mlme_disassoc()
Dnl80211.h90 const u8 *ie, size_t ie_len, bool from_ap);
Dnl80211.c8320 setup->ie_len = nla_len(ieattr); in nl80211_parse_mesh_setup()
8995 size_t ie_len; in nl80211_trigger_scan() local
9033 ie_len = nla_len(info->attrs[NL80211_ATTR_IE]); in nl80211_trigger_scan()
9035 ie_len = 0; in nl80211_trigger_scan()
9037 if (ie_len > wiphy->max_scan_ie_len) in nl80211_trigger_scan()
9043 + ie_len, GFP_KERNEL); in nl80211_trigger_scan()
9050 if (ie_len) { in nl80211_trigger_scan()
9140 request->ie_len = nla_len(info->attrs[NL80211_ATTR_IE]); in nl80211_trigger_scan()
9143 request->ie_len); in nl80211_trigger_scan()
9376 size_t ie_len; in nl80211_parse_sched_scan() local
[all …]
Dmesh.c95 .ie_len = 0,
Dtrace.h1258 __dynamic_array(u8, elements, req->ie_len)
1279 req->ie, req->ie_len);
2247 __dynamic_array(u8, ie, ftie->ie_len)
2253 memcpy(__get_dynamic_array(ie), ftie->ie, ftie->ie_len);
2715 __dynamic_array(u8, ie, owe_info->ie_len)),
2721 owe_info->ie, owe_info->ie_len);),
3479 __dynamic_array(u8, ie, request ? request->ie_len : 0)
3491 request->ie_len);
3769 __dynamic_array(u8, ie, owe_info->ie_len)
3778 owe_info->ie_len);
Dcore.c1277 wdev->wext.ie_len = 0; in __cfg80211_leave()
Dutil.c977 ev->dc.ie, ev->dc.ie_len, in cfg80211_process_wdev_events()
/net/mac80211/
Dmesh_plink.c221 u8 *pos, ie_len = 4; in mesh_plink_frame_tx() local
245 sdata->u.mesh.ie_len); in mesh_plink_frame_tx()
294 ie_len += 2; in mesh_plink_frame_tx()
299 ie_len += 2; in mesh_plink_frame_tx()
302 ie_len += 2; /* reason code */ in mesh_plink_frame_tx()
309 if (WARN_ON(skb_tailroom(skb) < 2 + ie_len)) in mesh_plink_frame_tx()
312 pos = skb_put(skb, 2 + ie_len); in mesh_plink_frame_tx()
314 *pos++ = ie_len; in mesh_plink_frame_tx()
1014 u8 ie_len = elems->peering_len; in mesh_plink_get_event() local
1083 else if (ie_len == 8 && sta->mesh->llid != llid) in mesh_plink_get_event()
[all …]
Dmesh.c350 if (!ifmsh->ie || !ifmsh->ie_len) in mesh_add_vendor_ies()
354 offset = ieee80211_ie_split_vendor(ifmsh->ie, ifmsh->ie_len, 0); in mesh_add_vendor_ies()
356 if (offset < ifmsh->ie_len) { in mesh_add_vendor_ies()
357 len = ifmsh->ie_len - offset; in mesh_add_vendor_ies()
373 if (!ifmsh->ie || !ifmsh->ie_len) in mesh_add_rsn_ie()
377 data = cfg80211_find_ie(WLAN_EID_RSN, ifmsh->ie, ifmsh->ie_len); in mesh_add_rsn_ie()
561 struct sk_buff *skb, u8 ie_len) in mesh_add_he_cap_ie() argument
579 if (skb_tailroom(skb) < ie_len) in mesh_add_he_cap_ie()
582 pos = skb_put(skb, ie_len); in mesh_add_he_cap_ie()
583 ieee80211_ie_build_he_cap(0, pos, he_cap, pos + ie_len); in mesh_add_he_cap_ie()
[all …]
Dmesh_hwmp.c111 u8 *pos, ie_len; in mesh_path_sel_frame_tx() local
136 ie_len = 37; in mesh_path_sel_frame_tx()
137 pos = skb_put(skb, 2 + ie_len); in mesh_path_sel_frame_tx()
142 ie_len = 31; in mesh_path_sel_frame_tx()
143 pos = skb_put(skb, 2 + ie_len); in mesh_path_sel_frame_tx()
148 ie_len = sizeof(struct ieee80211_rann_ie); in mesh_path_sel_frame_tx()
149 pos = skb_put(skb, 2 + ie_len); in mesh_path_sel_frame_tx()
156 *pos++ = ie_len; in mesh_path_sel_frame_tx()
242 u8 *pos, ie_len; in mesh_path_error_tx() local
268 ie_len = 15; in mesh_path_error_tx()
[all …]
Dutil.c1781 const u8 *ie, size_t ie_len, in ieee80211_build_preq_ies_band() argument
1831 if (ie && ie_len) { in ieee80211_build_preq_ies_band()
1837 noffset = ieee80211_ie_split(ie, ie_len, in ieee80211_build_preq_ies_band()
1871 if (ie && ie_len) { in ieee80211_build_preq_ies_band()
1880 noffset = ieee80211_ie_split(ie, ie_len, in ieee80211_build_preq_ies_band()
1898 if (ie && ie_len) { in ieee80211_build_preq_ies_band()
1912 noffset = ieee80211_ie_split(ie, ie_len, in ieee80211_build_preq_ies_band()
1940 if (ie && ie_len) { in ieee80211_build_preq_ies_band()
1950 noffset = ieee80211_ie_split(ie, ie_len, in ieee80211_build_preq_ies_band()
2003 const u8 *ie, size_t ie_len, in ieee80211_build_preq_ies() argument
[all …]
Dscan.c403 req->ie, req->ie_len, in ieee80211_prep_hw_scan()
406 local->hw_scan_req->req.ie_len = ielen; in ieee80211_prep_hw_scan()
626 const u8 *ie, size_t ie_len, in ieee80211_send_scan_probe_req() argument
634 ie, ie_len, flags); in ieee80211_send_scan_probe_req()
678 scan_req->ie, scan_req->ie_len, in ieee80211_scan_state_send_probe()
716 local->hw_scan_ies_bufsize = local->scan_ies_len + req->ie_len; in __ieee80211_start_scan()
1321 iebufsz = local->scan_ies_len + req->ie_len; in __ieee80211_request_sched_scan_start()
1349 req->ie_len, bands_used, rate_masks, &chandef, in __ieee80211_request_sched_scan_start()
Dmlme.c692 if (assoc_data->ie_len) in ieee80211_send_assoc()
695 assoc_data->ie_len); in ieee80211_send_assoc()
748 assoc_data->ie_len + /* extra IEs */ in ieee80211_send_assoc()
879 !(ifmgd->flags & IEEE80211_STA_DISABLE_HE) && assoc_data->ie_len && in ieee80211_send_assoc()
884 if (assoc_data->ie_len) { in ieee80211_send_assoc()
914 assoc_data->ie_len, in ieee80211_send_assoc()
934 if (assoc_data->ie_len) { in ieee80211_send_assoc()
949 noffset = ieee80211_ie_split(assoc_data->ie, assoc_data->ie_len, in ieee80211_send_assoc()
957 if (assoc_data->ie_len) { in ieee80211_send_assoc()
975 noffset = ieee80211_ie_split(assoc_data->ie, assoc_data->ie_len, in ieee80211_send_assoc()
[all …]
Dibss.c69 ifibss->ie_len; in ieee80211_ibss_build_presp()
170 if (ifibss->ie_len) { in ieee80211_ibss_build_presp()
171 memcpy(pos, ifibss->ie, ifibss->ie_len); in ieee80211_ibss_build_presp()
172 pos += ifibss->ie_len; in ieee80211_ibss_build_presp()
1826 sdata->u.ibss.ie = kmemdup(params->ie, params->ie_len, in ieee80211_ibss_join()
1829 sdata->u.ibss.ie_len = params->ie_len; in ieee80211_ibss_join()
1880 sdata->u.ibss.ie_len = 0; in ieee80211_ibss_leave()
Dieee80211_i.h413 size_t ie_len; member
586 u8 ssid_len, ie_len; member
715 u8 ie_len; member
2361 const u8 *ie, size_t ie_len,
2370 const u8 *ie, size_t ie_len,
Dmesh.h202 struct sk_buff *skb, u8 ie_len);
Dcfg.c2114 if (setup->ie_len) { in copy_mesh_setup()
2115 new_ie = kmemdup(setup->ie, setup->ie_len, in copy_mesh_setup()
2120 ifmsh->ie_len = setup->ie_len; in copy_mesh_setup()
Dtdls.c219 lnkid->ie_len = sizeof(struct ieee80211_tdls_lnkie) - 2; in ieee80211_tdls_add_link_ie()