Home
last modified time | relevance | path

Searched refs:ssid_elem (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/net/wireless/
Dwext-sme.c221 const struct element *ssid_elem; in cfg80211_mgd_wext_giwessid() local
224 ssid_elem = ieee80211_bss_get_elem( in cfg80211_mgd_wext_giwessid()
227 if (ssid_elem) { in cfg80211_mgd_wext_giwessid()
229 data->length = ssid_elem->datalen; in cfg80211_mgd_wext_giwessid()
233 memcpy(ssid, ssid_elem->data, data->length); in cfg80211_mgd_wext_giwessid()
Dscan.c383 const struct element *ssid_elem; in is_bss() local
394 ssid_elem = cfg80211_find_elem(WLAN_EID_SSID, ies->data, ies->len); in is_bss()
395 if (!ssid_elem) in is_bss()
397 if (ssid_elem->datalen != ssid_len) in is_bss()
399 return memcmp(ssid_elem->data, ssid, ssid_len) == 0; in is_bss()
406 const struct element *ssid_elem; in cfg80211_add_nontrans_list() local
410 ssid_elem = ieee80211_bss_get_elem(nontrans_bss, WLAN_EID_SSID); in cfg80211_add_nontrans_list()
411 if (!ssid_elem) { in cfg80211_add_nontrans_list()
418 if (is_bss(bss, nontrans_bss->bssid, ssid_elem->data, in cfg80211_add_nontrans_list()
419 ssid_elem->datalen)) { in cfg80211_add_nontrans_list()
[all …]
/linux-6.1.9/net/mac80211/
Dmlme.c6903 const struct element *ssid_elem; in ieee80211_mgd_assoc() local
6927 ssid_elem = ieee80211_bss_get_elem(cbss, WLAN_EID_SSID); in ieee80211_mgd_assoc()
6928 if (!ssid_elem || ssid_elem->datalen > sizeof(assoc_data->ssid)) { in ieee80211_mgd_assoc()
6933 memcpy(assoc_data->ssid, ssid_elem->data, ssid_elem->datalen); in ieee80211_mgd_assoc()
6934 assoc_data->ssid_len = ssid_elem->datalen; in ieee80211_mgd_assoc()