Home
last modified time | relevance | path

Searched refs:ies (Results 1 – 12 of 12) sorted by relevance

/net/wireless/
Dscan.c78 struct cfg80211_bss_ies *ies; in bss_free() local
83 ies = (void *)rcu_access_pointer(bss->pub.beacon_ies); in bss_free()
84 if (ies && !bss->pub.hidden_beacon_bss) in bss_free()
85 kfree_rcu(ies, rcu_head); in bss_free()
86 ies = (void *)rcu_access_pointer(bss->pub.proberesp_ies); in bss_free()
87 if (ies) in bss_free()
88 kfree_rcu(ies, rcu_head); in bss_free()
483 const u8 *cfg80211_find_ie_match(u8 eid, const u8 *ies, int len, in cfg80211_find_ie_match() argument
496 for_each_element_id(elem, eid, ies, len) { in cfg80211_find_ie_match()
507 const u8 *ies, int len) in cfg80211_find_vendor_ie() argument
[all …]
Dutil.c893 const struct cfg80211_bss_ies *ies; in ieee80211_bss_get_ie() local
895 ies = rcu_dereference(bss->ies); in ieee80211_bss_get_ie()
896 if (!ies) in ieee80211_bss_get_ie()
899 return cfg80211_find_ie(ie, ies->data, ies->len); in ieee80211_bss_get_ie()
1272 int cfg80211_get_p2p_attr(const u8 *ies, unsigned int len, in cfg80211_get_p2p_attr() argument
1288 iedatalen = ies[1]; in cfg80211_get_p2p_attr()
1292 if (ies[0] != WLAN_EID_VENDOR_SPECIFIC) in cfg80211_get_p2p_attr()
1298 iedata = ies + 2; in cfg80211_get_p2p_attr()
1361 len -= ies[1] + 2; in cfg80211_get_p2p_attr()
1362 ies += ies[1] + 2; in cfg80211_get_p2p_attr()
[all …]
Dsme.c459 const u8 *ies, size_t ies_len, in cfg80211_sme_get_conn_ies() argument
467 (ies && cfg80211_find_ie(WLAN_EID_EXT_CAPABILITY, ies, ies_len))) { in cfg80211_sme_get_conn_ies()
468 *out_ies = kmemdup(ies, ies_len, GFP_KERNEL); in cfg80211_sme_get_conn_ies()
491 offs = ieee80211_ie_split(ies, ies_len, before_extcapa, in cfg80211_sme_get_conn_ies()
493 memcpy(buf, ies, offs); in cfg80211_sme_get_conn_ies()
496 ies + offs, ies_len - offs); in cfg80211_sme_get_conn_ies()
Dnl80211.c3854 const u8 *ies = bcn->tail; in nl80211_calculate_ap_params() local
3858 rates = cfg80211_find_ie(WLAN_EID_SUPP_RATES, ies, ies_len); in nl80211_calculate_ap_params()
3861 rates = cfg80211_find_ie(WLAN_EID_EXT_SUPP_RATES, ies, ies_len); in nl80211_calculate_ap_params()
3864 cap = cfg80211_find_ie(WLAN_EID_HT_CAPABILITY, ies, ies_len); in nl80211_calculate_ap_params()
3867 cap = cfg80211_find_ie(WLAN_EID_VHT_CAPABILITY, ies, ies_len); in nl80211_calculate_ap_params()
7723 const struct cfg80211_bss_ies *ies; in nl80211_send_bss() local
7761 ies = rcu_dereference(res->ies); in nl80211_send_bss()
7762 if (ies) { in nl80211_send_bss()
7763 if (nla_put_u64_64bit(msg, NL80211_BSS_TSF, ies->tsf, in nl80211_send_bss()
7766 if (ies->len && nla_put(msg, NL80211_BSS_INFORMATION_ELEMENTS, in nl80211_send_bss()
[all …]
Dtrace.h3063 __dynamic_array(u8, ies, ft_event->ies_len)
3070 if (ft_event->ies)
3071 memcpy(__get_dynamic_array(ies), ft_event->ies,
/net/mac80211/
Dfils_aead.c224 u8 *capab, *ies, *encr; in fils_encrypt_assoc_req() local
231 ies = mgmt->u.reassoc_req.variable; in fils_encrypt_assoc_req()
234 ies = mgmt->u.assoc_req.variable; in fils_encrypt_assoc_req()
238 ies, skb->data + skb->len - ies); in fils_encrypt_assoc_req()
275 u8 *capab, *ies, *encr; in fils_decrypt_assoc_resp() local
285 ies = mgmt->u.assoc_resp.variable; in fils_decrypt_assoc_resp()
287 ies, frame + *frame_len - ies); in fils_decrypt_assoc_resp()
Dmlme.c1983 const struct cfg80211_bss_ies *ies; in ieee80211_set_associated() local
1986 ies = rcu_dereference(cbss->ies); in ieee80211_set_associated()
1987 if (ies) { in ieee80211_set_associated()
1991 ies->data, ies->len, in ieee80211_set_associated()
3002 const struct cfg80211_bss_ies *ies; in ieee80211_assoc_success() local
3006 ies = rcu_dereference(cbss->ies); in ieee80211_assoc_success()
3007 if (ies) in ieee80211_assoc_success()
3008 bss_ies = kmemdup(ies, sizeof(*ies) + ies->len, in ieee80211_assoc_success()
4501 const struct cfg80211_bss_ies *ies; in ieee80211_prep_connection() local
4540 ies = rcu_dereference(cbss->beacon_ies); in ieee80211_prep_connection()
[all …]
Dibss.c409 const struct cfg80211_bss_ies *ies; in ieee80211_sta_join_ibss() local
473 ies = rcu_dereference(cbss->ies); in ieee80211_sta_join_ibss()
474 tsf = ies->tsf; in ieee80211_sta_join_ibss()
491 const struct cfg80211_bss_ies *ies; in ieee80211_ibss_csa_beacon() local
512 ies = rcu_dereference(cbss->ies); in ieee80211_ibss_csa_beacon()
513 tsf = ies->tsf; in ieee80211_ibss_csa_beacon()
Dscan.c316 &local->hw_scan_req->ies, in ieee80211_prep_hw_scan()
564 u8 *ies; in __ieee80211_start_scan() local
591 ies = (u8 *)local->hw_scan_req + in __ieee80211_start_scan()
594 local->hw_scan_req->req.ie = ies; in __ieee80211_start_scan()
Ddriver-ops.h313 struct ieee80211_scan_ies *ies) in drv_sched_scan_start() argument
324 req, ies); in drv_sched_scan_start()
Dutil.c1502 ie_desc->ies[i] = buffer + old_pos; in ieee80211_build_preq_ies()
2272 size_t ieee80211_ie_split_vendor(const u8 *ies, size_t ielen, size_t offset) in ieee80211_ie_split_vendor() argument
2276 while (pos < ielen && ies[pos] != WLAN_EID_VENDOR_SPECIFIC) in ieee80211_ie_split_vendor()
2277 pos += 2 + ies[pos + 1]; in ieee80211_ie_split_vendor()
Dieee80211_i.h2050 size_t ieee80211_ie_split_vendor(const u8 *ies, size_t ielen, size_t offset);