Home
last modified time | relevance | path

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

/linux-6.6.21/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.c421 const struct element *ssid_elem; in is_bss() local
432 ssid_elem = cfg80211_find_elem(WLAN_EID_SSID, ies->data, ies->len); in is_bss()
433 if (!ssid_elem) in is_bss()
435 if (ssid_elem->datalen != ssid_len) in is_bss()
437 return memcmp(ssid_elem->data, ssid, ssid_len) == 0; in is_bss()
444 const struct element *ssid_elem; in cfg80211_add_nontrans_list() local
448 ssid_elem = ieee80211_bss_get_elem(nontrans_bss, WLAN_EID_SSID); in cfg80211_add_nontrans_list()
449 if (!ssid_elem) { in cfg80211_add_nontrans_list()
456 if (is_bss(bss, nontrans_bss->bssid, ssid_elem->data, in cfg80211_add_nontrans_list()
457 ssid_elem->datalen)) { in cfg80211_add_nontrans_list()
[all …]
/linux-6.6.21/net/mac80211/
Dmlme.c7437 const struct element *ssid_elem; in ieee80211_mgd_assoc() local
7461 ssid_elem = ieee80211_bss_get_elem(cbss, WLAN_EID_SSID); in ieee80211_mgd_assoc()
7462 if (!ssid_elem || ssid_elem->datalen > sizeof(assoc_data->ssid)) { in ieee80211_mgd_assoc()
7467 memcpy(assoc_data->ssid, ssid_elem->data, ssid_elem->datalen); in ieee80211_mgd_assoc()
7468 assoc_data->ssid_len = ssid_elem->datalen; in ieee80211_mgd_assoc()