n_ssids 5997 drivers/net/wireless/ath/ath10k/mac.c if (req->n_ssids) { n_ssids 5998 drivers/net/wireless/ath/ath10k/mac.c arg.n_ssids = req->n_ssids; n_ssids 5999 drivers/net/wireless/ath/ath10k/mac.c for (i = 0; i < arg.n_ssids; i++) { n_ssids 1820 drivers/net/wireless/ath/ath10k/wmi-tlv.c ssid_len = arg->n_ssids * sizeof(struct wmi_ssid); n_ssids 1842 drivers/net/wireless/ath/ath10k/wmi-tlv.c cmd->num_ssids = __cpu_to_le32(arg->n_ssids); n_ssids 1871 drivers/net/wireless/ath/ath10k/wmi-tlv.c for (i = 0; i < arg->n_ssids; i++) { n_ssids 6758 drivers/net/wireless/ath/ath10k/wmi.c if (arg->n_ssids > WLAN_SCAN_PARAMS_MAX_SSID) n_ssids 6781 drivers/net/wireless/ath/ath10k/wmi.c if (arg->n_ssids) { n_ssids 6783 drivers/net/wireless/ath/ath10k/wmi.c len += sizeof(struct wmi_ssid) * arg->n_ssids; n_ssids 6847 drivers/net/wireless/ath/ath10k/wmi.c if (arg->n_ssids) { n_ssids 6850 drivers/net/wireless/ath/ath10k/wmi.c ssids->num_ssids = __cpu_to_le32(arg->n_ssids); n_ssids 6852 drivers/net/wireless/ath/ath10k/wmi.c for (i = 0; i < arg->n_ssids; i++) { n_ssids 6861 drivers/net/wireless/ath/ath10k/wmi.c ptr += sizeof(struct wmi_ssid) * arg->n_ssids; n_ssids 3238 drivers/net/wireless/ath/ath10k/wmi.h u32 n_ssids; n_ssids 216 drivers/net/wireless/ath/ath10k/wow.c if (nd_config->n_ssids == 0) n_ssids 221 drivers/net/wireless/ath/ath10k/wow.c for (i = 0; i < nd_config->n_ssids; i++) { n_ssids 918 drivers/net/wireless/ath/ath6kl/cfg80211.c struct cfg80211_ssid *ssids, int n_ssids, n_ssids 927 drivers/net/wireless/ath/ath6kl/cfg80211.c if (n_ssids > MAX_PROBED_SSIDS || n_ssids 931 drivers/net/wireless/ath/ath6kl/cfg80211.c for (i = 0; i < n_ssids; i++) { n_ssids 951 drivers/net/wireless/ath/ath6kl/cfg80211.c for (j = 0; j < n_ssids; j++) { n_ssids 1020 drivers/net/wireless/ath/ath6kl/cfg80211.c request->n_ssids, NULL, 0); n_ssids 1093 drivers/net/wireless/ath/ath6kl/cfg80211.c if (vif->scan_req->n_ssids && vif->scan_req->ssids[0].ssid_len) { n_ssids 1094 drivers/net/wireless/ath/ath6kl/cfg80211.c for (i = 0; i < vif->scan_req->n_ssids; i++) { n_ssids 3297 drivers/net/wireless/ath/ath6kl/cfg80211.c request->n_ssids, n_ssids 795 drivers/net/wireless/ath/ath9k/channel.c if (!req->n_ssids || (chan->flags & IEEE80211_CHAN_NO_IR)) n_ssids 1033 drivers/net/wireless/ath/ath9k/channel.c req->n_ssids) { n_ssids 1034 drivers/net/wireless/ath/ath9k/channel.c for (i = 0; i < req->n_ssids; i++) n_ssids 667 drivers/net/wireless/ath/wcn36xx/smd.c msg_body->num_ssid = min_t(u8, req->n_ssids, ARRAY_SIZE(msg_body->ssids)); n_ssids 944 drivers/net/wireless/ath/wil6210/cfg80211.c wil_dbg_misc(wil, "SSID count: %d", request->n_ssids); n_ssids 946 drivers/net/wireless/ath/wil6210/cfg80211.c for (i = 0; i < request->n_ssids; i++) { n_ssids 953 drivers/net/wireless/ath/wil6210/cfg80211.c if (request->n_ssids) n_ssids 2487 drivers/net/wireless/ath/wil6210/cfg80211.c request->n_ssids, request->ie_len, request->flags); n_ssids 2488 drivers/net/wireless/ath/wil6210/cfg80211.c for (i = 0; i < request->n_ssids; i++) { n_ssids 3443 drivers/net/wireless/ath/wil6210/wmi.c struct cfg80211_ssid *ssids, int n_ssids, n_ssids 3470 drivers/net/wireless/ath/wil6210/wmi.c for (j = 0; j < n_ssids; j++) n_ssids 3547 drivers/net/wireless/ath/wil6210/wmi.c wmi_sched_scan_set_ssids(wil, &cmd, request->ssids, request->n_ssids, n_ssids 1976 drivers/net/wireless/atmel/at76c50x-usb.c if (req->n_ssids) { n_ssids 949 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c u32 n_ssids; n_ssids 967 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c n_ssids = request->n_ssids; n_ssids 985 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c brcmf_dbg(SCAN, "### List of SSIDs to scan ### %d\n", n_ssids); n_ssids 986 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (n_ssids > 0) { n_ssids 991 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c for (i = 0; i < n_ssids; i++) { n_ssids 1011 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c cpu_to_le32((n_ssids << BRCMF_SCAN_PARAMS_NSSID_SHIFT) | n_ssids 1032 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c params_size += sizeof(struct brcmf_ssid_le) * request->n_ssids; n_ssids 3272 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c for (i = 0; i < req->n_ssids; i++) { n_ssids 3277 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (i == req->n_ssids) { n_ssids 3278 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c memcpy(req->ssids[req->n_ssids].ssid, ssid, ssid_len); n_ssids 3279 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c req->ssids[req->n_ssids++].ssid_len = ssid_len; n_ssids 3435 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c req->n_match_sets, req->n_ssids); n_ssids 495 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c for (i = 0; i < request->n_ssids; i++) { n_ssids 239 drivers/net/wireless/broadcom/brcm80211/brcmfmac/pno.c if (!ssid || !req->ssids || !req->n_ssids) n_ssids 242 drivers/net/wireless/broadcom/brcm80211/brcmfmac/pno.c for (i = 0; i < req->n_ssids; i++) { n_ssids 2567 drivers/net/wireless/intel/iwlegacy/3945-mac.c if (il->scan_request->n_ssids) { n_ssids 2570 drivers/net/wireless/intel/iwlegacy/3945-mac.c for (i = 0; i < il->scan_request->n_ssids; i++) { n_ssids 908 drivers/net/wireless/intel/iwlegacy/4965-mac.c if (il->scan_request->n_ssids) { n_ssids 911 drivers/net/wireless/intel/iwlegacy/4965-mac.c for (i = 0; i < il->scan_request->n_ssids; i++) { n_ssids 705 drivers/net/wireless/intel/iwlwifi/dvm/scan.c if (priv->scan_request->n_ssids) { n_ssids 719 drivers/net/wireless/intel/iwlwifi/dvm/scan.c for (i = priv->scan_request->n_ssids - 1; i >= 1; i--) { n_ssids 130 drivers/net/wireless/intel/iwlwifi/mvm/scan.c int n_ssids; n_ssids 573 drivers/net/wireless/intel/iwlwifi/mvm/scan.c for (j = params->n_ssids - 1; n_ssids 872 drivers/net/wireless/intel/iwlwifi/mvm/scan.c static inline bool iwl_mvm_scan_fits(struct iwl_mvm *mvm, int n_ssids, n_ssids 876 drivers/net/wireless/intel/iwlwifi/mvm/scan.c return ((n_ssids <= PROBE_OPTION_MAX) && n_ssids 927 drivers/net/wireless/intel/iwlwifi/mvm/scan.c if (params->n_ssids == 0) n_ssids 930 drivers/net/wireless/intel/iwlwifi/mvm/scan.c if (params->n_ssids == 1 && params->ssids[0].ssid_len != 0) n_ssids 1447 drivers/net/wireless/intel/iwlwifi/mvm/scan.c if (params->n_ssids == 0) n_ssids 1450 drivers/net/wireless/intel/iwlwifi/mvm/scan.c if (params->n_ssids == 1 && params->ssids[0].ssid_len != 0) n_ssids 1760 drivers/net/wireless/intel/iwlwifi/mvm/scan.c if (!iwl_mvm_scan_fits(mvm, req->n_ssids, ies, req->n_channels)) n_ssids 1763 drivers/net/wireless/intel/iwlwifi/mvm/scan.c params.n_ssids = req->n_ssids; n_ssids 1853 drivers/net/wireless/intel/iwlwifi/mvm/scan.c if (!iwl_mvm_scan_fits(mvm, req->n_ssids, ies, req->n_channels)) n_ssids 1856 drivers/net/wireless/intel/iwlwifi/mvm/scan.c params.n_ssids = req->n_ssids; n_ssids 2036 drivers/net/wireless/mac80211_hwsim.c !req->n_ssids) { n_ssids 2041 drivers/net/wireless/mac80211_hwsim.c for (i = 0; i < req->n_ssids; i++) { n_ssids 708 drivers/net/wireless/marvell/libertas/cfg.c if (priv->scan_req->n_ssids && priv->scan_req->ssids[0].ssid_len > 0) n_ssids 718 drivers/net/wireless/marvell/libertas/cfg.c priv->scan_req->n_ssids); n_ssids 766 drivers/net/wireless/marvell/libertas/cfg.c request->n_ssids, request->n_channels, request->ie_len); n_ssids 1240 drivers/net/wireless/marvell/libertas/cfg.c creq->n_ssids = 1; n_ssids 2600 drivers/net/wireless/marvell/mwifiex/cfg80211.c user_scan_cfg->num_ssids = request->n_ssids; n_ssids 2624 drivers/net/wireless/marvell/mwifiex/cfg80211.c if ((chan->flags & IEEE80211_CHAN_NO_IR) || !request->n_ssids) n_ssids 2679 drivers/net/wireless/marvell/mwifiex/cfg80211.c if (!request || (!request->n_ssids && !request->n_match_sets)) { n_ssids 2686 drivers/net/wireless/marvell/mwifiex/cfg80211.c request->n_ssids, request->n_match_sets); n_ssids 2722 drivers/net/wireless/marvell/mwifiex/cfg80211.c if ((chan->flags & IEEE80211_CHAN_NO_IR) || !request->n_ssids) n_ssids 1978 drivers/net/wireless/marvell/mwifiex/scan.c user_scan_cfg->num_ssids = priv->scan_request->n_ssids; n_ssids 2132 drivers/net/wireless/quantenna/qtnfmac/commands.c if (scan_req->n_ssids != 0) { n_ssids 2133 drivers/net/wireless/quantenna/qtnfmac/commands.c while (count < scan_req->n_ssids) { n_ssids 1866 drivers/net/wireless/rsi/rsi_91x_mgmt.c if (scan_req->n_ssids) { n_ssids 69 drivers/net/wireless/st/cw1200/scan.c if (req->n_ssids == 1 && !req->ssids[0].ssid_len) n_ssids 70 drivers/net/wireless/st/cw1200/scan.c req->n_ssids = 0; n_ssids 73 drivers/net/wireless/st/cw1200/scan.c req->n_ssids); n_ssids 75 drivers/net/wireless/st/cw1200/scan.c if (req->n_ssids > WSM_SCAN_MAX_NUM_OF_SSIDS) n_ssids 109 drivers/net/wireless/st/cw1200/scan.c priv->scan.n_ssids = 0; n_ssids 116 drivers/net/wireless/st/cw1200/scan.c for (i = 0; i < req->n_ssids; ++i) { n_ssids 117 drivers/net/wireless/st/cw1200/scan.c struct wsm_ssid *dst = &priv->scan.ssids[priv->scan.n_ssids]; n_ssids 120 drivers/net/wireless/st/cw1200/scan.c ++priv->scan.n_ssids; n_ssids 219 drivers/net/wireless/st/cw1200/scan.c scan.num_ssids = priv->scan.n_ssids; n_ssids 31 drivers/net/wireless/st/cw1200/scan.h int n_ssids; n_ssids 985 drivers/net/wireless/ti/wl1251/main.c if (req->n_ssids) { n_ssids 91 drivers/net/wireless/ti/wl12xx/scan.c if (!passive && wl->scan.req->n_ssids == 0) n_ssids 316 drivers/net/wireless/ti/wl12xx/scan.c bool force_passive = !req->n_ssids; n_ssids 358 drivers/net/wireless/ti/wl12xx/scan.c req->n_channels, req->n_ssids, n_ssids 68 drivers/net/wireless/ti/wl18xx/scan.c WARN_ON(req->n_ssids > 1); n_ssids 77 drivers/net/wireless/ti/wl18xx/scan.c req->n_channels, req->n_ssids, n_ssids 92 drivers/net/wireless/ti/wl18xx/scan.c if (req->n_ssids) { n_ssids 212 drivers/net/wireless/ti/wl18xx/scan.c req->n_channels, req->n_ssids, n_ssids 3688 drivers/net/wireless/ti/wlcore/main.c if (req->n_ssids) { n_ssids 129 drivers/net/wireless/ti/wlcore/scan.c u32 n_ssids, n_ssids 138 drivers/net/wireless/ti/wlcore/scan.c bool force_passive = !n_ssids; n_ssids 165 drivers/net/wireless/ti/wlcore/scan.c n_ssids * c->num_probe_reqs * delta_per_probe; n_ssids 250 drivers/net/wireless/ti/wlcore/scan.c u32 n_ssids, n_ssids 259 drivers/net/wireless/ti/wlcore/scan.c n_ssids, n_ssids 270 drivers/net/wireless/ti/wlcore/scan.c n_ssids, n_ssids 282 drivers/net/wireless/ti/wlcore/scan.c n_ssids, n_ssids 293 drivers/net/wireless/ti/wlcore/scan.c n_ssids, n_ssids 305 drivers/net/wireless/ti/wlcore/scan.c n_ssids, n_ssids 389 drivers/net/wireless/ti/wlcore/scan.c (!req->n_ssids || n_ssids 390 drivers/net/wireless/ti/wlcore/scan.c (req->n_ssids == 1 && req->ssids[0].ssid_len == 0))) { n_ssids 406 drivers/net/wireless/ti/wlcore/scan.c for (i = 0; i < req->n_ssids; i++) { n_ssids 407 drivers/net/wireless/ti/wlcore/scan.c cmd->ssids[cmd->n_ssids].type = (ssids[i].ssid_len) ? n_ssids 409 drivers/net/wireless/ti/wlcore/scan.c cmd->ssids[cmd->n_ssids].len = ssids[i].ssid_len; n_ssids 410 drivers/net/wireless/ti/wlcore/scan.c memcpy(cmd->ssids[cmd->n_ssids].ssid, ssids[i].ssid, n_ssids 412 drivers/net/wireless/ti/wlcore/scan.c cmd->n_ssids++; n_ssids 423 drivers/net/wireless/ti/wlcore/scan.c cmd->ssids[cmd->n_ssids].type = SCAN_SSID_TYPE_PUBLIC; n_ssids 424 drivers/net/wireless/ti/wlcore/scan.c cmd->ssids[cmd->n_ssids].len = sets[i].ssid.ssid_len; n_ssids 425 drivers/net/wireless/ti/wlcore/scan.c memcpy(cmd->ssids[cmd->n_ssids].ssid, n_ssids 427 drivers/net/wireless/ti/wlcore/scan.c cmd->n_ssids++; n_ssids 429 drivers/net/wireless/ti/wlcore/scan.c if ((req->n_ssids > 1) || n_ssids 430 drivers/net/wireless/ti/wlcore/scan.c (req->n_ssids == 1 && req->ssids[0].ssid_len > 0)) { n_ssids 435 drivers/net/wireless/ti/wlcore/scan.c for (i = 0; i < req->n_ssids; i++) { n_ssids 439 drivers/net/wireless/ti/wlcore/scan.c for (j = 0; j < cmd->n_ssids; j++) n_ssids 450 drivers/net/wireless/ti/wlcore/scan.c if (j == cmd->n_ssids) { n_ssids 128 drivers/net/wireless/ti/wlcore/scan.h u8 n_ssids; n_ssids 156 drivers/net/wireless/ti/wlcore/scan.h u32 n_ssids, n_ssids 298 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (request->n_ssids == 1 && request->n_channels == 1) /* it means under processing WPS */ n_ssids 1609 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c for (i = 0; i < request->n_ssids && i < RTW_SSID_SCAN_AMOUNT; i++) { n_ssids 3228 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c request->n_ssids, request->interval); n_ssids 259 drivers/staging/wilc1000/wilc_hif.c if (request->n_ssids) { n_ssids 260 drivers/staging/wilc1000/wilc_hif.c for (i = 0; i < request->n_ssids; i++) n_ssids 269 drivers/staging/wilc1000/wilc_hif.c *buffer++ = request->n_ssids; n_ssids 271 drivers/staging/wilc1000/wilc_hif.c for (i = 0; i < request->n_ssids; i++) { n_ssids 248 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c if (request->n_ssids) n_ssids 313 drivers/staging/wlan-ng/cfg80211.c if (request->n_ssids > 0) { n_ssids 1932 include/net/cfg80211.h int n_ssids; n_ssids 2072 include/net/cfg80211.h int n_ssids; n_ssids 631 net/mac80211/scan.c for (i = 0; i < scan_req->n_ssids; i++) n_ssids 697 net/mac80211/scan.c local->hw_scan_req->req.n_ssids = req->n_ssids; n_ssids 754 net/mac80211/scan.c !req->n_ssids) { n_ssids 945 net/mac80211/scan.c !scan_req->n_ssids) { n_ssids 1157 net/mac80211/scan.c local->int_scan_req->n_ssids = 1; n_ssids 7508 net/wireless/nl80211.c int err, tmp, n_ssids = 0, n_channels, i; n_ssids 7537 net/wireless/nl80211.c n_ssids++; n_ssids 7539 net/wireless/nl80211.c if (n_ssids > wiphy->max_scan_ssids) { n_ssids 7555 net/wireless/nl80211.c + sizeof(*request->ssids) * n_ssids n_ssids 7563 net/wireless/nl80211.c if (n_ssids) n_ssids 7565 net/wireless/nl80211.c request->n_ssids = n_ssids; n_ssids 7567 net/wireless/nl80211.c if (n_ssids) n_ssids 7568 net/wireless/nl80211.c request->ie = (void *)(request->ssids + n_ssids); n_ssids 7643 net/wireless/nl80211.c if (n_ssids) { n_ssids 7895 net/wireless/nl80211.c int err, tmp, n_ssids = 0, n_match_sets = 0, n_channels, i, n_plans = 0; n_ssids 7913 net/wireless/nl80211.c n_ssids++; n_ssids 7915 net/wireless/nl80211.c if (n_ssids > wiphy->max_sched_scan_ssids) n_ssids 8007 net/wireless/nl80211.c + sizeof(*request->ssids) * n_ssids n_ssids 8015 net/wireless/nl80211.c if (n_ssids) n_ssids 8017 net/wireless/nl80211.c request->n_ssids = n_ssids; n_ssids 8019 net/wireless/nl80211.c if (n_ssids) n_ssids 8020 net/wireless/nl80211.c request->ie = (void *)(request->ssids + n_ssids); n_ssids 8028 net/wireless/nl80211.c else if (n_ssids) n_ssids 8030 net/wireless/nl80211.c (void *)(request->ssids + n_ssids); n_ssids 8042 net/wireless/nl80211.c else if (n_ssids) n_ssids 8043 net/wireless/nl80211.c request->scan_plans = (void *)(request->ssids + n_ssids); n_ssids 8100 net/wireless/nl80211.c if (n_ssids) { n_ssids 14829 net/wireless/nl80211.c for (i = 0; i < req->n_ssids; i++) { n_ssids 2163 net/wireless/scan.c creq->n_ssids = 1; n_ssids 2225 net/wireless/scan.c creq->n_ssids = 0; n_ssids 120 net/wireless/sme.c request->n_ssids = 1;