Home
last modified time | relevance | path

Searched refs:ssids (Results 1 – 25 of 46) sorted by relevance

12

/Linux-v5.4/drivers/net/wireless/ti/wl18xx/
Dscan.c93 cmd->ssid_len = req->ssids[0].ssid_len; in wl18xx_scan_send()
94 memcpy(cmd->ssid, req->ssids[0].ssid, cmd->ssid_len); in wl18xx_scan_send()
102 req->ssids ? req->ssids[0].ssid : NULL, in wl18xx_scan_send()
103 req->ssids ? req->ssids[0].ssid_len : 0, in wl18xx_scan_send()
119 req->ssids ? req->ssids[0].ssid : NULL, in wl18xx_scan_send()
120 req->ssids ? req->ssids[0].ssid_len : 0, in wl18xx_scan_send()
245 req->ssids ? req->ssids[0].ssid : NULL, in wl18xx_scan_sched_scan_config()
246 req->ssids ? req->ssids[0].ssid_len : 0, in wl18xx_scan_sched_scan_config()
262 req->ssids ? req->ssids[0].ssid : NULL, in wl18xx_scan_sched_scan_config()
263 req->ssids ? req->ssids[0].ssid_len : 0, in wl18xx_scan_sched_scan_config()
/Linux-v5.4/drivers/net/wireless/ti/wlcore/
Dscan.c377 struct cfg80211_ssid *ssids = req->ssids; in wlcore_scan_sched_scan_ssid_list() local
390 (req->n_ssids == 1 && req->ssids[0].ssid_len == 0))) { in wlcore_scan_sched_scan_ssid_list()
407 cmd->ssids[cmd->n_ssids].type = (ssids[i].ssid_len) ? in wlcore_scan_sched_scan_ssid_list()
409 cmd->ssids[cmd->n_ssids].len = ssids[i].ssid_len; in wlcore_scan_sched_scan_ssid_list()
410 memcpy(cmd->ssids[cmd->n_ssids].ssid, ssids[i].ssid, in wlcore_scan_sched_scan_ssid_list()
411 ssids[i].ssid_len); in wlcore_scan_sched_scan_ssid_list()
423 cmd->ssids[cmd->n_ssids].type = SCAN_SSID_TYPE_PUBLIC; in wlcore_scan_sched_scan_ssid_list()
424 cmd->ssids[cmd->n_ssids].len = sets[i].ssid.ssid_len; in wlcore_scan_sched_scan_ssid_list()
425 memcpy(cmd->ssids[cmd->n_ssids].ssid, in wlcore_scan_sched_scan_ssid_list()
430 (req->n_ssids == 1 && req->ssids[0].ssid_len > 0)) { in wlcore_scan_sched_scan_ssid_list()
[all …]
Dscan.h129 struct wl1271_ssid ssids[SCHED_SCAN_MAX_SSIDS]; member
/Linux-v5.4/drivers/net/wireless/st/cw1200/
Dscan.c69 if (req->n_ssids == 1 && !req->ssids[0].ssid_len) in cw1200_hw_scan()
117 struct wsm_ssid *dst = &priv->scan.ssids[priv->scan.n_ssids]; in cw1200_hw_scan()
118 memcpy(&dst->ssid[0], req->ssids[i].ssid, sizeof(dst->ssid)); in cw1200_hw_scan()
119 dst->length = req->ssids[i].ssid_len; in cw1200_hw_scan()
220 scan.ssids = &priv->scan.ssids[0]; in cw1200_scan_work()
367 struct wsm_ssid ssids[1] = {{ in cw1200_probe_work() local
379 .ssids = ssids, in cw1200_probe_work()
425 if (ssidie && ssidie[1] && ssidie[1] <= sizeof(ssids[0].ssid)) { in cw1200_probe_work()
432 ssids[0].length = ssidie[1]; in cw1200_probe_work()
433 memcpy(ssids[0].ssid, &ssidie[2], ssids[0].length); in cw1200_probe_work()
[all …]
Dscan.h29 struct wsm_ssid ssids[WSM_SCAN_MAX_NUM_OF_SSIDS]; member
Dwsm.c323 WSM_PUT32(buf, arg->ssids[i].length); in wsm_scan()
324 WSM_PUT(buf, &arg->ssids[i].ssid[0], in wsm_scan()
325 sizeof(arg->ssids[i].ssid)); in wsm_scan()
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/mvm/
Dscan.c131 struct cfg80211_ssid *ssids; member
548 struct iwl_ssid_ie *ssids, in iwl_scan_build_ssids() argument
565 ssids[i].id = WLAN_EID_SSID; in iwl_scan_build_ssids()
566 ssids[i].len = params->match_sets[j].ssid.ssid_len; in iwl_scan_build_ssids()
567 memcpy(ssids[i].ssid, params->match_sets[j].ssid.ssid, in iwl_scan_build_ssids()
568 ssids[i].len); in iwl_scan_build_ssids()
576 index = iwl_ssid_exist(params->ssids[j].ssid, in iwl_scan_build_ssids()
577 params->ssids[j].ssid_len, in iwl_scan_build_ssids()
578 ssids); in iwl_scan_build_ssids()
580 ssids[i].id = WLAN_EID_SSID; in iwl_scan_build_ssids()
[all …]
/Linux-v5.4/drivers/net/wireless/ti/wl12xx/
Dscan.c370 req->ssids[0].ssid, in wl1271_scan_sched_scan_config()
371 req->ssids[0].ssid_len, in wl1271_scan_sched_scan_config()
387 req->ssids[0].ssid, in wl1271_scan_sched_scan_config()
388 req->ssids[0].ssid_len, in wl1271_scan_sched_scan_config()
/Linux-v5.4/net/mac80211/
Dscan.c634 scan_req->ssids[i].ssid, scan_req->ssids[i].ssid_len, in ieee80211_scan_state_send_probe()
696 local->hw_scan_req->req.ssids = req->ssids; in __ieee80211_start_scan()
1156 local->int_scan_req->ssids = &local->scan_ssid; in ieee80211_request_ibss_scan()
1159 memcpy(local->int_scan_req->ssids[0].ssid, ssid, IEEE80211_MAX_SSID_LEN); in ieee80211_request_ibss_scan()
1160 local->int_scan_req->ssids[0].ssid_len = ssid_len; in ieee80211_request_ibss_scan()
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/dvm/
Dscan.c712 ssid_len = priv->scan_request->ssids[0].ssid_len; in iwlagn_request_scan()
713 ssid = priv->scan_request->ssids[0].ssid; in iwlagn_request_scan()
722 priv->scan_request->ssids[i].ssid_len; in iwlagn_request_scan()
724 priv->scan_request->ssids[i].ssid, in iwlagn_request_scan()
725 priv->scan_request->ssids[i].ssid_len); in iwlagn_request_scan()
/Linux-v5.4/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dpno.c239 if (!ssid || !req->ssids || !req->n_ssids) in brcmf_is_ssid_active()
243 if (ssid->ssid_len == req->ssids[i].ssid_len) { in brcmf_is_ssid_active()
244 if (!strncmp(ssid->ssid, req->ssids[i].ssid, in brcmf_is_ssid_active()
Dp2p.c492 struct cfg80211_ssid *ssids = request->ssids; in brcmf_p2p_scan_is_p2p_request() local
496 if (ssids[i].ssid_len != BRCMF_P2P_WILDCARD_SSID_LEN) in brcmf_p2p_scan_is_p2p_request()
499 brcmf_dbg(INFO, "comparing ssid \"%s\"", ssids[i].ssid); in brcmf_p2p_scan_is_p2p_request()
500 if (!memcmp(BRCMF_P2P_WILDCARD_SSID, ssids[i].ssid, in brcmf_p2p_scan_is_p2p_request()
/Linux-v5.4/drivers/staging/rtl8723bs/os_dep/
Dioctl_cfg80211.c287 struct cfg80211_ssid *ssids = request->ssids; in rtw_cfg80211_inform_bss() local
302 if (ssids[0].ssid_len == 0) { in rtw_cfg80211_inform_bss()
304 else if (pssid->SsidLength == ssids[0].ssid_len && in rtw_cfg80211_inform_bss()
305 !memcmp(pssid->Ssid, ssids[0].ssid, ssids[0].ssid_len)) in rtw_cfg80211_inform_bss()
1520 struct cfg80211_ssid *ssids = request->ssids; in cfg80211_rtw_scan() local
1611 DBG_8192C("ssid =%s, len =%d\n", ssids[i].ssid, ssids[i].ssid_len); in cfg80211_rtw_scan()
1613 memcpy(ssid[i].Ssid, ssids[i].ssid, ssids[i].ssid_len); in cfg80211_rtw_scan()
1614 ssid[i].SsidLength = ssids[i].ssid_len; in cfg80211_rtw_scan()
3227 ret = rtw_android_cfg80211_pno_setup(dev, request->ssids, in cfg80211_rtw_sched_scan_start()
/Linux-v5.4/drivers/staging/wlan-ng/
Dcfg80211.c315 msg1.ssid.data.len = request->ssids->ssid_len; in prism2_scan()
317 request->ssids->ssid, request->ssids->ssid_len); in prism2_scan()
/Linux-v5.4/drivers/net/wireless/marvell/libertas/
Dcfg.c704 if (priv->scan_req->n_ssids && priv->scan_req->ssids[0].ssid_len > 0) in lbs_scan_worker()
706 priv->scan_req->ssids[0].ssid, in lbs_scan_worker()
707 priv->scan_req->ssids[0].ssid_len); in lbs_scan_worker()
1234 creq->ssids = (void *)&creq->channels[n_channels]; in _new_connect_scan_req()
1261 memcpy(creq->ssids[0].ssid, sme->ssid, sme->ssid_len); in _new_connect_scan_req()
1262 creq->ssids[0].ssid_len = sme->ssid_len; in _new_connect_scan_req()
/Linux-v5.4/drivers/net/wireless/intersil/orinoco/
Dcfg.c156 err = orinoco_hw_trigger_scan(priv, request->ssids); in orinoco_scan()
/Linux-v5.4/drivers/net/wireless/ath/ath10k/
Dwow.c225 nd_config->ssids[i].ssid_len && in ath10k_wmi_pno_check()
227 nd_config->ssids[i].ssid, in ath10k_wmi_pno_check()
Dwmi-tlv.c1810 struct wmi_ssid *ssids; in ath10k_wmi_tlv_op_gen_start_scan() local
1870 ssids = (void *)tlv->value; in ath10k_wmi_tlv_op_gen_start_scan()
1872 ssids[i].ssid_len = __cpu_to_le32(arg->ssids[i].len); in ath10k_wmi_tlv_op_gen_start_scan()
1873 memcpy(ssids[i].ssid, arg->ssids[i].ssid, arg->ssids[i].len); in ath10k_wmi_tlv_op_gen_start_scan()
/Linux-v5.4/net/wireless/
Dsme.c81 request = kzalloc(sizeof(*request) + sizeof(request->ssids[0]) + in cfg80211_conn_scan()
119 request->ssids = (void *)&request->channels[n_channels]; in cfg80211_conn_scan()
122 memcpy(request->ssids[0].ssid, wdev->conn->params.ssid, in cfg80211_conn_scan()
124 request->ssids[0].ssid_len = wdev->conn->params.ssid_len; in cfg80211_conn_scan()
/Linux-v5.4/drivers/net/wireless/cisco/
Dairo.c221 static char *ssids[3]; variable
255 module_param_array(ssids, charp, NULL, 0);
523 Ssid ssids[3]; member
3894 if ( ssids[0] ) { in setup_card()
3896 for( i = 0; i < 3 && ssids[i]; i++ ) { in setup_card()
3897 size_t len = strlen(ssids[i]); in setup_card()
3900 mySsid.ssids[i].len = cpu_to_le16(len); in setup_card()
3901 memcpy(mySsid.ssids[i].ssid, ssids[i], len); in setup_card()
3910 if ( ssids[0] ) { in setup_card()
5100 SSID_rid.ssids[i].ssid[j++] = *p++; in proc_SSID_on_close()
[all …]
/Linux-v5.4/drivers/net/wireless/ath/wcn36xx/
Dsmd.c667 msg_body->num_ssid = min_t(u8, req->n_ssids, ARRAY_SIZE(msg_body->ssids)); in wcn36xx_smd_start_hw_scan()
669 msg_body->ssids[i].length = min_t(u8, req->ssids[i].ssid_len, in wcn36xx_smd_start_hw_scan()
670 sizeof(msg_body->ssids[i].ssid)); in wcn36xx_smd_start_hw_scan()
671 memcpy(msg_body->ssids[i].ssid, req->ssids[i].ssid, in wcn36xx_smd_start_hw_scan()
672 msg_body->ssids[i].length); in wcn36xx_smd_start_hw_scan()
/Linux-v5.4/drivers/net/wireless/ath/ath6kl/
Dcfg80211.c918 struct cfg80211_ssid *ssids, int n_ssids, in ath6kl_set_probed_ssids() argument
933 ssids[i].ssid, in ath6kl_set_probed_ssids()
934 ssids[i].ssid_len); in ath6kl_set_probed_ssids()
935 ssid_list[i].ssid.ssid_len = ssids[i].ssid_len; in ath6kl_set_probed_ssids()
937 if (ssids[i].ssid_len) in ath6kl_set_probed_ssids()
1019 ret = ath6kl_set_probed_ssids(ar, vif, request->ssids, in ath6kl_cfg80211_scan()
1093 if (vif->scan_req->n_ssids && vif->scan_req->ssids[0].ssid_len) { in ath6kl_cfg80211_scan_complete_event()
3296 ret = ath6kl_set_probed_ssids(ar, vif, request->ssids, in ath6kl_cfg80211_sscan_start()
/Linux-v5.4/drivers/staging/wilc1000/
Dwilc_hif.c261 valuesize += ((request->ssids[i].ssid_len) + 1); in wilc_scan()
272 *buffer++ = request->ssids[i].ssid_len; in wilc_scan()
273 memcpy(buffer, request->ssids[i].ssid, in wilc_scan()
274 request->ssids[i].ssid_len); in wilc_scan()
275 buffer += request->ssids[i].ssid_len; in wilc_scan()
/Linux-v5.4/drivers/net/wireless/ath/wil6210/
Dcfg80211.c949 request->ssids[i].ssid, in wil_cfg80211_scan()
950 request->ssids[i].ssid_len, true); in wil_cfg80211_scan()
954 rc = wmi_set_ssid(vif, request->ssids[0].ssid_len, in wil_cfg80211_scan()
955 request->ssids[0].ssid); in wil_cfg80211_scan()
2491 request->ssids[i].ssid, in wil_cfg80211_sched_scan_start()
2492 request->ssids[i].ssid_len, true); in wil_cfg80211_sched_scan_start()
/Linux-v5.4/drivers/net/wireless/ti/wl1251/
Dmain.c986 ssid = req->ssids[0].ssid; in wl1251_op_hw_scan()
987 ssid_len = req->ssids[0].ssid_len; in wl1251_op_hw_scan()

12