• Home
  • Raw
  • Download

Lines Matching refs:ie

227 					    const u8 *ie, size_t ie_len,  in cfg80211_copy_elem_with_frags()  argument
230 if (WARN_ON((u8 *)elem < ie || elem->data > ie + ie_len || in cfg80211_copy_elem_with_frags()
231 elem->data + elem->datalen > ie + ie_len)) in cfg80211_copy_elem_with_frags()
244 ie_len = ie + ie_len - elem->data - elem->datalen; in cfg80211_copy_elem_with_frags()
245 ie = (const u8 *)elem->data + elem->datalen; in cfg80211_copy_elem_with_frags()
247 for_each_element(elem, ie, ie_len) { in cfg80211_copy_elem_with_frags()
264 static size_t cfg80211_gen_new_ie(const u8 *ie, size_t ielen, in cfg80211_gen_new_ie() argument
282 for_each_element(parent, ie, ielen) { in cfg80211_gen_new_ie()
306 ie, ielen, in cfg80211_gen_new_ie()
315 if (cfg80211_find_elem_match(id, ie, (u8 *)parent - ie, in cfg80211_gen_new_ie()
363 if (cfg80211_find_elem_match(id, ie, ielen, in cfg80211_gen_new_ie()
1064 const u8 *ie; in cfg80211_combine_bsses() local
1073 ie = cfg80211_find_ie(WLAN_EID_SSID, ies->data, ies->len); in cfg80211_combine_bsses()
1074 if (!ie) { in cfg80211_combine_bsses()
1079 ssidlen = ie[1]; in cfg80211_combine_bsses()
1081 fold |= ie[2 + i]; in cfg80211_combine_bsses()
1108 ie = cfg80211_find_ie(WLAN_EID_SSID, ies->data, ies->len); in cfg80211_combine_bsses()
1109 if (!ie) in cfg80211_combine_bsses()
1111 if (ssidlen && ie[1] != ssidlen) in cfg80211_combine_bsses()
1359 cfg80211_get_bss_channel(struct wiphy *wiphy, const u8 *ie, size_t ielen, in cfg80211_get_bss_channel() argument
1368 tmp = cfg80211_find_ie(WLAN_EID_DS_PARAMS, ie, ielen); in cfg80211_get_bss_channel()
1372 tmp = cfg80211_find_ie(WLAN_EID_HT_OPERATION, ie, ielen); in cfg80211_get_bss_channel()
1427 u16 beacon_interval, const u8 *ie, size_t ielen, in cfg80211_inform_single_bss_data() argument
1446 channel = cfg80211_get_bss_channel(wiphy, ie, ielen, data->chan, in cfg80211_inform_single_bss_data()
1481 memcpy(ies->data, ie, ielen); in cfg80211_inform_single_bss_data()
1536 *cfg80211_get_profile_continuation(const u8 *ie, size_t ielen, in cfg80211_get_profile_continuation() argument
1546 ielen - (mbssid_end - ie)); in cfg80211_get_profile_continuation()
1578 size_t cfg80211_merge_profile(const u8 *ie, size_t ielen, in cfg80211_merge_profile() argument
1591 while ((next_mbssid = cfg80211_get_profile_continuation(ie, ielen, in cfg80211_merge_profile()
1611 u16 beacon_interval, const u8 *ie, in cfg80211_parse_mbssid_data() argument
1627 if (!cfg80211_find_ie(WLAN_EID_MULTIPLE_BSSID, ie, ielen)) in cfg80211_parse_mbssid_data()
1632 !cfg80211_find_ext_ie(WLAN_EID_EXT_HE_CAPABILITY, ie, ielen)) in cfg80211_parse_mbssid_data()
1643 for_each_element_id(elem, WLAN_EID_MULTIPLE_BSSID, ie, ielen) { in cfg80211_parse_mbssid_data()
1666 profile_len = cfg80211_merge_profile(ie, ielen, in cfg80211_parse_mbssid_data()
1698 new_ie_len = cfg80211_gen_new_ie(ie, ielen, in cfg80211_parse_mbssid_data()
1731 u16 beacon_interval, const u8 *ie, size_t ielen, in cfg80211_inform_bss_data() argument
1738 capability, beacon_interval, ie, in cfg80211_inform_bss_data()
1744 beacon_interval, ie, ielen, &non_tx_data, in cfg80211_inform_bss_data()
1758 const u8 *ie = mgmt->u.probe_resp.variable; in cfg80211_parse_mbssid_frame_data() local
1768 ie, ielen, non_tx_data, gfp); in cfg80211_parse_mbssid_frame_data()
1776 u8 *ie, *new_ie, *pos; in cfg80211_update_notlisted_nontrans() local
1787 ie = mgmt->u.probe_resp.variable; in cfg80211_update_notlisted_nontrans()
1790 trans_ssid = cfg80211_find_ie(WLAN_EID_SSID, ie, ielen); in cfg80211_update_notlisted_nontrans()
1794 mbssid = cfg80211_find_ie(WLAN_EID_MULTIPLE_BSSID, ie, ielen); in cfg80211_update_notlisted_nontrans()
1834 memcpy(pos, mbssid + cpy_len, ((ie + ielen) - (mbssid + cpy_len))); in cfg80211_update_notlisted_nontrans()
1954 const u8 *ie = mgmt->u.probe_resp.variable; in cfg80211_inform_bss_frame_data() local
1963 !cfg80211_find_ie(WLAN_EID_MULTIPLE_BSSID, ie, ielen)) in cfg80211_inform_bss_frame_data()
1966 !cfg80211_find_ext_ie(WLAN_EID_EXT_HE_CAPABILITY, ie, ielen)) in cfg80211_inform_bss_frame_data()
2375 const u8 *ie; in ieee80211_bss() local
2457 ie = ies->data; in ieee80211_bss()
2461 if (ie[1] > rem - 2) in ieee80211_bss()
2464 switch (ie[0]) { in ieee80211_bss()
2468 iwe.u.data.length = ie[1]; in ieee80211_bss()
2473 (u8 *)ie + 2); in ieee80211_bss()
2480 iwe.u.data.length = ie[1]; in ieee80211_bss()
2485 (u8 *)ie + 2); in ieee80211_bss()
2491 if (ie[1] != sizeof(struct ieee80211_meshconf_ie)) in ieee80211_bss()
2493 cfg = (u8 *)ie + 2; in ieee80211_bss()
2566 for (i = 0; i < ie[1]; i++) { in ieee80211_bss()
2568 ((ie[i + 2] & 0x7f) * 500000); in ieee80211_bss()
2581 rem -= ie[1] + 2; in ieee80211_bss()
2582 ie += ie[1] + 2; in ieee80211_bss()