Lines Matching refs:ies
997 const struct cfg80211_bss_ies *ies; in ieee80211_bss_get_elem() local
999 ies = rcu_dereference(bss->ies); in ieee80211_bss_get_elem()
1000 if (!ies) in ieee80211_bss_get_elem()
1003 return cfg80211_find_elem(id, ies->data, ies->len); in ieee80211_bss_get_elem()
1784 int cfg80211_get_p2p_attr(const u8 *ies, unsigned int len, in cfg80211_get_p2p_attr() argument
1800 iedatalen = ies[1]; in cfg80211_get_p2p_attr()
1804 if (ies[0] != WLAN_EID_VENDOR_SPECIFIC) in cfg80211_get_p2p_attr()
1810 iedata = ies + 2; in cfg80211_get_p2p_attr()
1873 len -= ies[1] + 2; in cfg80211_get_p2p_attr()
1874 ies += ies[1] + 2; in cfg80211_get_p2p_attr()
1910 static size_t skip_ie(const u8 *ies, size_t ielen, size_t pos) in skip_ie() argument
1913 u8 len = ies[pos + 1]; in skip_ie()
1921 while (pos < ielen && ies[pos] == WLAN_EID_FRAGMENT) { in skip_ie()
1922 len = ies[pos + 1]; in skip_ie()
1929 size_t ieee80211_ie_split_ric(const u8 *ies, size_t ielen, in ieee80211_ie_split_ric() argument
1939 if (ies[pos] == WLAN_EID_EXTENSION) in ieee80211_ie_split_ric()
1944 if (!ieee80211_id_in_list(ids, n_ids, ies[pos + ext], in ieee80211_ie_split_ric()
1945 ies[pos] == WLAN_EID_EXTENSION)) in ieee80211_ie_split_ric()
1948 if (ies[pos] == WLAN_EID_RIC_DATA && n_after_ric) { in ieee80211_ie_split_ric()
1949 pos = skip_ie(ies, ielen, pos); in ieee80211_ie_split_ric()
1952 if (ies[pos] == WLAN_EID_EXTENSION) in ieee80211_ie_split_ric()
1962 ies[pos + ext], in ieee80211_ie_split_ric()
1964 pos = skip_ie(ies, ielen, pos); in ieee80211_ie_split_ric()
1969 pos = skip_ie(ies, ielen, pos); in ieee80211_ie_split_ric()