Home
last modified time | relevance | path

Searched full:ssids (Results 1 – 25 of 75) sorted by relevance

123

/openbmc/linux/drivers/net/wireless/ti/wlcore/
H A Dscan.c375 struct cfg80211_ssid *ssids = req->ssids; in wlcore_scan_sched_scan_ssid_list() local
380 /* count the match sets that contain SSIDs */ in wlcore_scan_sched_scan_ssid_list()
385 /* No filter, no ssids or only bcast ssid */ in wlcore_scan_sched_scan_ssid_list()
388 (req->n_ssids == 1 && req->ssids[0].ssid_len == 0))) { in wlcore_scan_sched_scan_ssid_list()
401 /* No filter, with ssids */ 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()
415 /* Add all SSIDs from the filters */ in wlcore_scan_sched_scan_ssid_list()
[all …]
H A Dscan.h129 struct wl1271_ssid ssids[SCHED_SCAN_MAX_SSIDS]; member
/openbmc/linux/drivers/net/wireless/ti/wl18xx/
H A 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()
H A Dscan.h45 u8 filter; /* forward only results with matching ssids */
48 * add broadcast ssid in addition to the configured ssids.
/openbmc/linux/drivers/net/wireless/st/cw1200/
H A Dscan.c69 if (req->n_ssids == 1 && !req->ssids[0].ssid_len) in cw1200_hw_scan()
72 wiphy_dbg(hw->wiphy, "[SCAN] Scan request for %d SSIDs.\n", 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()
[all …]
H A Dscan.h29 struct wsm_ssid ssids[WSM_SCAN_MAX_NUM_OF_SSIDS]; member
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dscan.c88 struct cfg80211_ssid *ssids; member
464 /* We insert the SSIDs in an inverted order, because the FW will
468 struct iwl_ssid_ie *ssids, in iwl_scan_build_ssids() argument
476 * copy SSIDs from match list. in iwl_scan_build_ssids()
477 * iwl_config_sched_scan_profiles() uses the order of these ssids to in iwl_scan_build_ssids()
486 ssids[i].id = WLAN_EID_SSID; in iwl_scan_build_ssids()
487 ssids[i].len = params->match_sets[j].ssid.ssid_len; in iwl_scan_build_ssids()
488 memcpy(ssids[i].ssid, params->match_sets[j].ssid.ssid, in iwl_scan_build_ssids()
489 ssids[i].len); in iwl_scan_build_ssids()
492 /* add SSIDs from scan SSID list */ in iwl_scan_build_ssids()
[all …]
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/fw/api/
H A Dscan.h33 * each channel may select different ssids from among the 20 entries.
345 * @direct_scan: list of SSIDs for directed active scan
669 * @IWL_UMAC_SCAN_GEN_FLAGS_V2_MULTI_SSID: matching on multiple SSIDs
789 * @direct_scan: list of SSIDs for directed active scan
928 * @ssid_num: number of valid SSIDs in direct scan array
929 * @short_ssid_num: number of valid short SSIDs in short ssid array
932 * @direct_scan: list of ssids
933 * @short_ssid: array of short ssids
950 * @short_ssid_num: number of valid short SSIDs in short ssid array
953 * @direct_scan: list of ssids
[all …]
/openbmc/linux/drivers/net/wireless/ti/wl12xx/
H A Dscan.c90 /* skip active scans if we don't have SSIDs */ in wl1271_scan_send()
370 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()
/openbmc/linux/net/wireless/
H A Dscan.c37 * Due to the possibility of hidden SSIDs, there's a second level
627 * SSIDs that need to be matched in cfg80211_parse_ap_info()
780 if (!request->ssids[i].ssid_len) { in cfg80211_find_ssid_match()
788 ap->ssid_len == request->ssids[i].ssid_len) { in cfg80211_find_ssid_match()
789 if (!memcmp(request->ssids[i].ssid, ap->ssid, in cfg80211_find_ssid_match()
793 s_ssid = ~crc32_le(~0, request->ssids[i].ssid, in cfg80211_find_ssid_match()
794 request->ssids[i].ssid_len); in cfg80211_find_ssid_match()
844 size += sizeof(*request->ssids) * rdev_req->n_ssids; in cfg80211_scan_6ghz()
861 * Add the ssids from the parent scan request to the new in cfg80211_scan_6ghz()
866 request->ssids = (void *)request + offs_ssids; in cfg80211_scan_6ghz()
[all …]
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/dvm/
H A 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()
716 * Invert the order of ssids, the firmware will invert 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()
/openbmc/linux/Documentation/devicetree/bindings/mtd/partitions/
H A Dbrcm,bcm947xx-cfe-partitions.yaml26 3) Device manufacturer's data with some default values (e.g. SSIDs)
/openbmc/linux/net/mac80211/
H A Dscan.c671 scan_req->ssids[i].ssid, scan_req->ssids[i].ssid_len, in ieee80211_scan_state_send_probe()
734 local->hw_scan_req->req.ssids = req->ssids; in __ieee80211_start_scan()
1234 local->int_scan_req->ssids = &local->scan_ssid; in ieee80211_request_ibss_scan()
1237 memcpy(local->int_scan_req->ssids[0].ssid, ssid, IEEE80211_MAX_SSID_LEN); in ieee80211_request_ibss_scan()
1238 local->int_scan_req->ssids[0].ssid_len = ssid_len; in ieee80211_request_ibss_scan()
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A 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()
/openbmc/linux/drivers/staging/rtl8723bs/os_dep/
H A 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()
1199 struct cfg80211_ssid *ssids = request->ssids; in cfg80211_rtw_scan() local
1269 /* parsing request ssids, n_ssids */ in cfg80211_rtw_scan()
1271 memcpy(ssid[i].ssid, ssids[i].ssid, ssids[i].ssid_len); in cfg80211_rtw_scan()
1272 ssid[i].ssid_length = ssids[i].ssid_len; in cfg80211_rtw_scan()
/openbmc/linux/drivers/staging/wlan-ng/
H A Dcfg80211.c321 msg1.ssid.data.len = request->ssids->ssid_len; in prism2_scan()
323 request->ssids->ssid, request->ssids->ssid_len); in prism2_scan()
/openbmc/linux/drivers/net/wireless/ath/ath10k/
H A Dwow.c215 /* set scan to passive if no SSIDs are specified in the request */ in ath10k_wmi_pno_check()
225 nd_config->ssids[i].ssid_len && in ath10k_wmi_pno_check()
227 nd_config->ssids[i].ssid, in ath10k_wmi_pno_check()
/openbmc/linux/drivers/net/wireless/marvell/libertas/
H A Dcfg.c752 if (priv->scan_req->n_ssids && priv->scan_req->ssids[0].ssid_len > 0) in lbs_scan_worker()
754 priv->scan_req->ssids[0].ssid, in lbs_scan_worker()
755 priv->scan_req->ssids[0].ssid_len); in lbs_scan_worker()
814 lbs_deb_scan("scan: ssids %d, channels %d, ie_len %zd\n", in _internal_start_scan()
1284 /* SSIDs come after channels */ in _new_connect_scan_req()
1285 creq->ssids = (void *)&creq->channels[n_channels]; in _new_connect_scan_req()
1312 memcpy(creq->ssids[0].ssid, sme->ssid, sme->ssid_len); in _new_connect_scan_req()
1313 creq->ssids[0].ssid_len = sme->ssid_len; in _new_connect_scan_req()
/openbmc/linux/drivers/net/wireless/ath/ath11k/
H A Dwow.c286 /* set scan to passive if no SSIDs are specified in the request */ in ath11k_wmi_pno_check_and_convert()
296 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()
/openbmc/linux/drivers/net/wireless/mediatek/mt76/
H A Dmt76_connac_mcu.c1666 if (!sreq->ssids[i].ssid_len) in mt76_connac_mcu_hw_scan()
1669 req->ssids[i].ssid_len = cpu_to_le32(sreq->ssids[i].ssid_len); in mt76_connac_mcu_hw_scan()
1670 memcpy(req->ssids[i].ssid, sreq->ssids[i].ssid, in mt76_connac_mcu_hw_scan()
1671 sreq->ssids[i].ssid_len); in mt76_connac_mcu_hw_scan()
1804 ssid = &sreq->ssids[i]; in mt76_connac_mcu_sched_scan_req()
1805 memcpy(req->ssids[i].ssid, ssid->ssid, ssid->ssid_len); in mt76_connac_mcu_sched_scan_req()
1806 req->ssids[i].ssid_len = cpu_to_le32(ssid->ssid_len); in mt76_connac_mcu_sched_scan_req()
/openbmc/linux/drivers/net/wireless/silabs/wfx/
H A 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()
/openbmc/linux/drivers/net/wireless/intersil/orinoco/
H A Dcfg.c156 err = orinoco_hw_trigger_scan(priv, request->ssids); in orinoco_scan()
/openbmc/linux/drivers/net/wireless/ath/ath6kl/
H A 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()
3891 /* max num of ssids that can be probed during scanning */ in ath6kl_cfg80211_init()
3894 /* max num of ssids that can be matched after scan */ in ath6kl_cfg80211_init()
/openbmc/linux/drivers/net/wireless/ath/wcn36xx/
H A 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()
892 "hal start hw-scan (channels: %u; ssids: %u; p2p: %s)\n", in wcn36xx_smd_start_hw_scan()
/openbmc/linux/drivers/net/wireless/microchip/wilc1000/
H A 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()

123