Home
last modified time | relevance | path

Searched refs:ssid_len (Results 1 – 18 of 18) sorted by relevance

/net/wireless/
Dibss.c31 if (!wdev->u.ibss.ssid_len) in __cfg80211_ibss_joined()
98 if (wdev->u.ibss.ssid_len) in __cfg80211_join_ibss()
148 memcpy(wdev->u.ibss.ssid, params->ssid, params->ssid_len); in __cfg80211_join_ibss()
149 wdev->u.ibss.ssid_len = params->ssid_len; in __cfg80211_join_ibss()
181 wdev->u.ibss.ssid_len = 0; in __cfg80211_clear_ibss()
185 wdev->wext.ibss.ssid_len = 0; in __cfg80211_clear_ibss()
207 if (!wdev->u.ibss.ssid_len) in __cfg80211_leave_ibss()
281 if (!wdev->wext.ibss.ssid_len) in cfg80211_ibss_wext_join()
341 if (wdev->u.ibss.ssid_len) in cfg80211_ibss_wext_siwfreq()
410 if (wdev->u.ibss.ssid_len) in cfg80211_ibss_wext_siwessid()
[all …]
Dsme.c122 wdev->conn->params.ssid_len); in cfg80211_conn_scan()
123 request->ssids[0].ssid_len = wdev->conn->params.ssid_len; in cfg80211_conn_scan()
177 params->ssid, params->ssid_len, in cfg80211_conn_do_work()
206 params->ssid, params->ssid_len, in cfg80211_conn_do_work()
308 wdev->conn->params.ssid_len, in cfg80211_get_conn_bss()
618 wdev->conn->params.ssid_len = wdev->u.client.ssid_len; in cfg80211_sme_connect()
624 wdev->conn->params.ssid_len, in cfg80211_sme_connect()
835 wdev->u.client.ssid_len, in __cfg80211_connect_result()
851 wdev->u.client.ssid_len = 0; in __cfg80211_connect_result()
913 if (!wdev->u.client.ssid_len) { in __cfg80211_connect_result()
[all …]
Dwext-sme.c43 if (!wdev->wext.connect.ssid_len) in cfg80211_mgd_wext_connect()
101 if (wdev->wext.connect.ssid_len) in cfg80211_mgd_wext_siwfreq()
175 len == wdev->wext.connect.ssid_len && in cfg80211_mgd_wext_siwessid()
191 wdev->wext.connect.ssid_len = len; in cfg80211_mgd_wext_siwessid()
236 } else if (wdev->wext.connect.ssid && wdev->wext.connect.ssid_len) { in cfg80211_mgd_wext_giwessid()
238 data->length = wdev->wext.connect.ssid_len; in cfg80211_mgd_wext_giwessid()
Dscan.c105 size_t ssid_len; member
418 const u8 *ssid, size_t ssid_len) in is_bss() argument
435 if (ssid_elem->datalen != ssid_len) in is_bss()
437 return memcmp(ssid_elem->data, ssid, ssid_len) == 0; in is_bss()
642 entry->ssid_len = ssid_elem->datalen; in cfg80211_parse_ap_info()
820 if (!request->ssids[i].ssid_len) { in cfg80211_find_ssid_match()
827 if (ap->ssid_len && in cfg80211_find_ssid_match()
828 ap->ssid_len == request->ssids[i].ssid_len) { in cfg80211_find_ssid_match()
830 ap->ssid_len)) in cfg80211_find_ssid_match()
834 request->ssids[i].ssid_len); in cfg80211_find_ssid_match()
[all …]
Dap.c39 wdev->u.ap.ssid_len = 0; in ___cfg80211_stop_ap()
Dnl80211.c3924 if (wdev->u.ap.ssid_len && in nl80211_send_iface()
3925 nla_put(msg, NL80211_ATTR_SSID, wdev->u.ap.ssid_len, in nl80211_send_iface()
3931 if (wdev->u.client.ssid_len && in nl80211_send_iface()
3932 nla_put(msg, NL80211_ATTR_SSID, wdev->u.client.ssid_len, in nl80211_send_iface()
3937 if (wdev->u.ibss.ssid_len && in nl80211_send_iface()
3938 nla_put(msg, NL80211_ATTR_SSID, wdev->u.ibss.ssid_len, in nl80211_send_iface()
5940 (wdev->u.ap.ssid_len && in nl80211_send_ap_started()
5941 nla_put(msg, NL80211_ATTR_SSID, wdev->u.ap.ssid_len, in nl80211_send_ap_started()
6024 params->ssid_len = in nl80211_start_ap()
6026 if (params->ssid_len == 0) { in nl80211_start_ap()
[all …]
Dtrace.h602 memcpy(__entry->ssid, settings->ssid, settings->ssid_len);
1422 memcpy(__entry->ssid, sme->ssid, sme->ssid_len);
1556 memcpy(__entry->ssid, params->ssid, params->ssid_len);
2554 params->ssid.ssid_len);
3559 const u8 *bssid, const u8 *ssid, size_t ssid_len,
3562 TP_ARGS(wiphy, channel, bssid, ssid, ssid_len, bss_type, privacy),
3567 __dynamic_array(u8, ssid, ssid_len)
3575 memcpy(__get_dynamic_array(ssid), ssid, ssid_len);
Dchan.c803 if (wdev->u.ibss.ssid_len) in cfg80211_beaconing_iface_active()
Dreg.c2396 if (!wdev->u.ibss.ssid_len) in reg_wdev_chan_valid()
/net/mac80211/
Dibss.c89 *pos++ = ifibss->ssid_len; in ieee80211_ibss_build_presp()
90 memcpy(pos, ifibss->ssid, ifibss->ssid_len); in ieee80211_ibss_build_presp()
91 pos += ifibss->ssid_len; in ieee80211_ibss_build_presp()
328 sdata->vif.cfg.ssid_len = ifibss->ssid_len; in __ieee80211_sta_join_ibss()
329 memcpy(sdata->vif.cfg.ssid, ifibss->ssid, ifibss->ssid_len); in __ieee80211_sta_join_ibss()
367 sdata->vif.cfg.ssid_len = 0; in __ieee80211_sta_join_ibss()
497 ifibss->ssid_len, IEEE80211_BSS_TYPE_IBSS, in ieee80211_ibss_csa_beacon()
543 ifibss->ssid_len, in ieee80211_ibss_finish_csa()
683 ifibss->ssid_len, in ieee80211_ibss_disconnect()
714 sdata->vif.cfg.ssid_len = 0; in ieee80211_ibss_disconnect()
[all …]
Dscan.c600 const u8 *ssid, size_t ssid_len, in ieee80211_send_scan_probe_req() argument
608 ssid, ssid_len, in ieee80211_send_scan_probe_req()
653 scan_req->ssids[i].ssid, scan_req->ssids[i].ssid_len, in ieee80211_scan_state_send_probe()
1136 const u8 *ssid, u8 ssid_len, in ieee80211_request_ibss_scan() argument
1196 local->int_scan_req->ssids[0].ssid_len = ssid_len; in ieee80211_request_ibss_scan()
Dieee80211_i.h428 u8 ssid_len; member
576 u8 ssid_len, ie_len; member
1739 u8 ssid_len; member
1936 const u8 *ssid, u8 ssid_len,
2467 const u8 *ssid, size_t ssid_len,
Dtrace.h413 __dynamic_array(u8, ssid, sdata->vif.cfg.ssid_len)
437 sdata->vif.cfg.ssid_len);
1776 __dynamic_array(u8, ssid, sdata->vif.cfg.ssid_len)
1789 sdata->vif.cfg.ssid_len);
1865 __dynamic_array(u8, ssid, sdata->vif.cfg.ssid_len)
1875 sdata->vif.cfg.ssid_len);
Dmlme.c1408 2 + assoc_data->ssid_len + /* SSID */ in ieee80211_send_assoc()
1528 pos = skb_put(skb, 2 + assoc_data->ssid_len); in ieee80211_send_assoc()
1531 *pos++ = assoc_data->ssid_len; in ieee80211_send_assoc()
1532 memcpy(pos, assoc_data->ssid, assoc_data->ssid_len); in ieee80211_send_assoc()
2968 sdata->vif.cfg.ssid_len = 0; in ieee80211_set_disassoc()
3163 const u8 *ssid, size_t ssid_len, in ieee80211_mlme_send_probe_req() argument
3169 ssid, ssid_len, NULL, 0, in ieee80211_mlme_send_probe_req()
3216 sdata->vif.cfg.ssid_len, in ieee80211_mgd_probe_ap_send()
3302 int ssid_len; in ieee80211_ap_probereq_get() local
3324 ssid_len = 0; in ieee80211_ap_probereq_get()
[all …]
Dtx.c5782 const u8 *ssid, size_t ssid_len, in ieee80211_probereq_get() argument
5791 ie_ssid_len = 2 + ssid_len; in ieee80211_probereq_get()
5809 *pos++ = ssid_len; in ieee80211_probereq_get()
5810 if (ssid_len) in ieee80211_probereq_get()
5811 memcpy(pos, ssid, ssid_len); in ieee80211_probereq_get()
5812 pos += ssid_len; in ieee80211_probereq_get()
Dcfg.c1432 sdata->vif.cfg.ssid_len = params->ssid_len; in ieee80211_start_ap()
1433 if (params->ssid_len) in ieee80211_start_ap()
1435 params->ssid_len); in ieee80211_start_ap()
1642 sdata->vif.cfg.ssid_len = 0; in ieee80211_stop_ap()
Dutil.c1113 elems->ssid_len = elen; in _ieee802_11_parse_elems_full()
2215 const u8 *ssid, size_t ssid_len, in ieee80211_build_probe_req() argument
2238 skb = ieee80211_probereq_get(&local->hw, src, ssid, ssid_len, in ieee80211_build_probe_req()
Dmesh.c1434 elems->ssid_len != 0) in ieee80211_mesh_rx_probe_req()