Home
last modified time | relevance | path

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

123

/linux-6.1.9/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-6.1.9/drivers/net/wireless/ti/wlcore/
Dscan.c375 struct cfg80211_ssid *ssids = req->ssids; in wlcore_scan_sched_scan_ssid_list() local
388 (req->n_ssids == 1 && req->ssids[0].ssid_len == 0))) { in wlcore_scan_sched_scan_ssid_list()
405 cmd->ssids[cmd->n_ssids].type = (ssids[i].ssid_len) ? in wlcore_scan_sched_scan_ssid_list()
407 cmd->ssids[cmd->n_ssids].len = ssids[i].ssid_len; in wlcore_scan_sched_scan_ssid_list()
408 memcpy(cmd->ssids[cmd->n_ssids].ssid, ssids[i].ssid, in wlcore_scan_sched_scan_ssid_list()
409 ssids[i].ssid_len); in wlcore_scan_sched_scan_ssid_list()
421 cmd->ssids[cmd->n_ssids].type = SCAN_SSID_TYPE_PUBLIC; in wlcore_scan_sched_scan_ssid_list()
422 cmd->ssids[cmd->n_ssids].len = sets[i].ssid.ssid_len; in wlcore_scan_sched_scan_ssid_list()
423 memcpy(cmd->ssids[cmd->n_ssids].ssid, in wlcore_scan_sched_scan_ssid_list()
428 (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-6.1.9/drivers/net/wireless/st/cw1200/
Dscan.c69 if (req->n_ssids == 1 && !req->ssids[0].ssid_len) in cw1200_hw_scan()
114 struct wsm_ssid *dst = &priv->scan.ssids[priv->scan.n_ssids]; in cw1200_hw_scan()
115 memcpy(&dst->ssid[0], req->ssids[i].ssid, sizeof(dst->ssid)); in cw1200_hw_scan()
116 dst->length = req->ssids[i].ssid_len; in cw1200_hw_scan()
216 scan.ssids = &priv->scan.ssids[0]; in cw1200_scan_work()
363 struct wsm_ssid ssids[1] = {{ in cw1200_probe_work() local
375 .ssids = ssids, in cw1200_probe_work()
421 if (ssidie && ssidie[1] && ssidie[1] <= sizeof(ssids[0].ssid)) { in cw1200_probe_work()
428 ssids[0].length = ssidie[1]; in cw1200_probe_work()
429 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
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/mvm/
Dscan.c83 struct cfg80211_ssid *ssids; member
460 struct iwl_ssid_ie *ssids, in iwl_scan_build_ssids() argument
478 ssids[i].id = WLAN_EID_SSID; in iwl_scan_build_ssids()
479 ssids[i].len = params->match_sets[j].ssid.ssid_len; in iwl_scan_build_ssids()
480 memcpy(ssids[i].ssid, params->match_sets[j].ssid.ssid, in iwl_scan_build_ssids()
481 ssids[i].len); in iwl_scan_build_ssids()
488 index = iwl_ssid_exist(params->ssids[j].ssid, in iwl_scan_build_ssids()
489 params->ssids[j].ssid_len, in iwl_scan_build_ssids()
490 ssids); in iwl_scan_build_ssids()
492 ssids[i].id = WLAN_EID_SSID; in iwl_scan_build_ssids()
[all …]
/linux-6.1.9/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-6.1.9/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-6.1.9/net/mac80211/
Dscan.c681 scan_req->ssids[i].ssid, scan_req->ssids[i].ssid_len, in ieee80211_scan_state_send_probe()
743 local->hw_scan_req->req.ssids = req->ssids; in __ieee80211_start_scan()
1237 local->int_scan_req->ssids = &local->scan_ssid; in ieee80211_request_ibss_scan()
1240 memcpy(local->int_scan_req->ssids[0].ssid, ssid, IEEE80211_MAX_SSID_LEN); in ieee80211_request_ibss_scan()
1241 local->int_scan_req->ssids[0].ssid_len = ssid_len; in ieee80211_request_ibss_scan()
/linux-6.1.9/net/wireless/
Dscan.c709 if (!request->ssids[i].ssid_len) { in cfg80211_find_ssid_match()
717 ap->ssid_len == request->ssids[i].ssid_len) { in cfg80211_find_ssid_match()
718 if (!memcmp(request->ssids[i].ssid, ap->ssid, in cfg80211_find_ssid_match()
722 s_ssid = ~crc32_le(~0, request->ssids[i].ssid, in cfg80211_find_ssid_match()
723 request->ssids[i].ssid_len); in cfg80211_find_ssid_match()
772 sizeof(*request->ssids) * rdev_req->n_ssids, in cfg80211_scan_6ghz()
789 if (count && request->n_ssids == 1 && request->ssids[0].ssid_len) { in cfg80211_scan_6ghz()
873 request->ssids = (void *)&request->channels[request->n_channels]; in cfg80211_scan_6ghz()
875 memcpy(request->ssids, rdev_req->ssids, sizeof(*request->ssids) * in cfg80211_scan_6ghz()
2806 creq->ssids = (void *)&creq->channels[n_channels]; in cfg80211_wext_siwscan()
[all …]
Dsme.c80 request = kzalloc(sizeof(*request) + sizeof(request->ssids[0]) + in cfg80211_conn_scan()
118 request->ssids = (void *)&request->channels[n_channels]; in cfg80211_conn_scan()
121 memcpy(request->ssids[0].ssid, wdev->conn->params.ssid, in cfg80211_conn_scan()
123 request->ssids[0].ssid_len = wdev->conn->params.ssid_len; in cfg80211_conn_scan()
/linux-6.1.9/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dpno.c243 if (!ssid || !req->ssids || !req->n_ssids) in brcmf_is_ssid_active()
247 if (ssid->ssid_len == req->ssids[i].ssid_len) { in brcmf_is_ssid_active()
248 if (!strncmp(ssid->ssid, req->ssids[i].ssid, in brcmf_is_ssid_active()
Dp2p.c515 struct cfg80211_ssid *ssids = request->ssids; in brcmf_p2p_scan_is_p2p_request() local
519 if (ssids[i].ssid_len != BRCMF_P2P_WILDCARD_SSID_LEN) in brcmf_p2p_scan_is_p2p_request()
522 brcmf_dbg(INFO, "comparing ssid \"%s\"", ssids[i].ssid); in brcmf_p2p_scan_is_p2p_request()
523 if (!memcmp(BRCMF_P2P_WILDCARD_SSID, ssids[i].ssid, in brcmf_p2p_scan_is_p2p_request()
/linux-6.1.9/drivers/staging/wlan-ng/
Dcfg80211.c321 msg1.ssid.data.len = request->ssids->ssid_len; in prism2_scan()
323 request->ssids->ssid, request->ssids->ssid_len); in prism2_scan()
/linux-6.1.9/drivers/staging/rtl8723bs/os_dep/
Dioctl_cfg80211.c246 struct cfg80211_ssid *ssids = request->ssids; in rtw_cfg80211_inform_bss() local
258 if (ssids[0].ssid_len != 0 && in rtw_cfg80211_inform_bss()
259 (pssid->ssid_length != ssids[0].ssid_len || in rtw_cfg80211_inform_bss()
260 memcmp(pssid->ssid, ssids[0].ssid, ssids[0].ssid_len))) { in rtw_cfg80211_inform_bss()
1213 struct cfg80211_ssid *ssids = request->ssids; in cfg80211_rtw_scan() local
1285 memcpy(ssid[i].ssid, ssids[i].ssid, ssids[i].ssid_len); in cfg80211_rtw_scan()
1286 ssid[i].ssid_length = ssids[i].ssid_len; in cfg80211_rtw_scan()
/linux-6.1.9/drivers/net/wireless/marvell/libertas/
Dcfg.c708 if (priv->scan_req->n_ssids && priv->scan_req->ssids[0].ssid_len > 0) in lbs_scan_worker()
710 priv->scan_req->ssids[0].ssid, in lbs_scan_worker()
711 priv->scan_req->ssids[0].ssid_len); in lbs_scan_worker()
1236 creq->ssids = (void *)&creq->channels[n_channels]; in _new_connect_scan_req()
1263 memcpy(creq->ssids[0].ssid, sme->ssid, sme->ssid_len); in _new_connect_scan_req()
1264 creq->ssids[0].ssid_len = sme->ssid_len; in _new_connect_scan_req()
/linux-6.1.9/drivers/net/wireless/intersil/orinoco/
Dcfg.c156 err = orinoco_hw_trigger_scan(priv, request->ssids); in orinoco_scan()
/linux-6.1.9/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()
/linux-6.1.9/drivers/net/wireless/silabs/wfx/
Dhif_tx.c237 memcpy(body->ssid_def[i].ssid, req->ssids[i].ssid, IEEE80211_MAX_SSID_LEN); in wfx_hif_scan()
238 body->ssid_def[i].ssid_length = cpu_to_le32(req->ssids[i].ssid_len); in wfx_hif_scan()
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/
Dmt76_connac_mcu.c1544 if (!sreq->ssids[i].ssid_len) in mt76_connac_mcu_hw_scan()
1547 req->ssids[i].ssid_len = cpu_to_le32(sreq->ssids[i].ssid_len); in mt76_connac_mcu_hw_scan()
1548 memcpy(req->ssids[i].ssid, sreq->ssids[i].ssid, in mt76_connac_mcu_hw_scan()
1549 sreq->ssids[i].ssid_len); in mt76_connac_mcu_hw_scan()
1675 ssid = &sreq->ssids[i]; in mt76_connac_mcu_sched_scan_req()
1676 memcpy(req->ssids[i].ssid, ssid->ssid, ssid->ssid_len); in mt76_connac_mcu_sched_scan_req()
1677 req->ssids[i].ssid_len = cpu_to_le32(ssid->ssid_len); in mt76_connac_mcu_sched_scan_req()
/linux-6.1.9/drivers/net/wireless/cisco/
Dairo.c224 static char *ssids[3]; variable
257 module_param_array(ssids, charp, NULL, 0);
525 Ssid ssids[3]; member
3933 if (ssids[0]) { in setup_card()
3935 for (i = 0; i < 3 && ssids[i]; i++) { in setup_card()
3936 size_t len = strlen(ssids[i]); in setup_card()
3939 mySsid.ssids[i].len = cpu_to_le16(len); in setup_card()
3940 memcpy(mySsid.ssids[i].ssid, ssids[i], len); in setup_card()
3949 if (ssids[0]) { in setup_card()
5141 SSID_rid.ssids[i].ssid[j++] = *p++; in proc_SSID_on_close()
[all …]
/linux-6.1.9/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()
3294 ret = ath6kl_set_probed_ssids(ar, vif, request->ssids, in ath6kl_cfg80211_sscan_start()
/linux-6.1.9/drivers/net/wireless/microchip/wilc1000/
Dhif.c186 valuesize += ((request->ssids[i].ssid_len) + 1); in wilc_scan()
197 *buffer++ = request->ssids[i].ssid_len; in wilc_scan()
198 memcpy(buffer, request->ssids[i].ssid, in wilc_scan()
199 request->ssids[i].ssid_len); in wilc_scan()
200 buffer += request->ssids[i].ssid_len; in wilc_scan()
/linux-6.1.9/drivers/net/wireless/ath/ath11k/
Dwow.c296 nd_config->ssids[i].ssid_len && in ath11k_wmi_pno_check_and_convert()
298 nd_config->ssids[i].ssid, in ath11k_wmi_pno_check_and_convert()
/linux-6.1.9/drivers/net/wireless/ath/wcn36xx/
Dsmd.c866 msg_body->num_ssid = min_t(u8, req->n_ssids, ARRAY_SIZE(msg_body->ssids)); in wcn36xx_smd_start_hw_scan()
868 msg_body->ssids[i].length = min_t(u8, req->ssids[i].ssid_len, in wcn36xx_smd_start_hw_scan()
869 sizeof(msg_body->ssids[i].ssid)); in wcn36xx_smd_start_hw_scan()
870 memcpy(msg_body->ssids[i].ssid, req->ssids[i].ssid, in wcn36xx_smd_start_hw_scan()
871 msg_body->ssids[i].length); in wcn36xx_smd_start_hw_scan()

123