/openbmc/linux/drivers/net/wireless/ti/wlcore/ |
H A D | scan.c | 127 u32 n_ssids, in wlcore_scan_get_channels() argument 136 bool force_passive = !n_ssids; in wlcore_scan_get_channels() 163 n_ssids * c->num_probe_reqs * delta_per_probe; in wlcore_scan_get_channels() 248 u32 n_ssids, in wlcore_set_scan_chan_params() argument 257 n_ssids, in wlcore_set_scan_chan_params() 268 n_ssids, in wlcore_set_scan_chan_params() 280 n_ssids, in wlcore_set_scan_chan_params() 291 n_ssids, in wlcore_set_scan_chan_params() 303 n_ssids, in wlcore_set_scan_chan_params() 387 (!req->n_ssids || in wlcore_scan_sched_scan_ssid_list() [all …]
|
H A D | scan.h | 128 u8 n_ssids; member 156 u32 n_ssids,
|
/openbmc/linux/drivers/net/wireless/st/cw1200/ |
H A D | scan.c | 69 if (req->n_ssids == 1 && !req->ssids[0].ssid_len) in cw1200_hw_scan() 70 req->n_ssids = 0; in cw1200_hw_scan() 73 req->n_ssids); in cw1200_hw_scan() 75 if (req->n_ssids > WSM_SCAN_MAX_NUM_OF_SSIDS) in cw1200_hw_scan() 106 priv->scan.n_ssids = 0; in cw1200_hw_scan() 113 for (i = 0; i < req->n_ssids; ++i) { in cw1200_hw_scan() 114 struct wsm_ssid *dst = &priv->scan.ssids[priv->scan.n_ssids]; in cw1200_hw_scan() 117 ++priv->scan.n_ssids; in cw1200_hw_scan() 215 scan.num_ssids = priv->scan.n_ssids; in cw1200_scan_work()
|
H A D | scan.h | 31 int n_ssids; member
|
/openbmc/linux/drivers/net/wireless/ti/wl18xx/ |
H A D | scan.c | 68 WARN_ON(req->n_ssids > 1); in wl18xx_scan_send() 77 req->n_channels, req->n_ssids, in wl18xx_scan_send() 92 if (req->n_ssids) { in wl18xx_scan_send() 212 req->n_channels, req->n_ssids, in wl18xx_scan_sched_scan_config()
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | scan.c | 87 int n_ssids; member 493 for (j = params->n_ssids - 1; in iwl_scan_build_ssids() 826 static inline bool iwl_mvm_scan_fits(struct iwl_mvm *mvm, int n_ssids, in iwl_mvm_scan_fits() argument 830 return ((n_ssids <= PROBE_OPTION_MAX) && in iwl_mvm_scan_fits() 881 if (params->n_ssids == 0) in iwl_mvm_scan_lmac_flags() 884 if (params->n_ssids == 1 && params->ssids[0].ssid_len != 0) in iwl_mvm_scan_lmac_flags() 1307 else if (params->n_ssids && params->ssids[0].ssid_len) in iwl_mvm_scan_umac_dwell() 1409 else if (params->n_ssids && params->ssids[0].ssid_len) in iwl_mvm_scan_umac_dwell_v11() 1671 for (j = 0; j < params->n_ssids && idex_s < SCAN_SHORT_SSID_MAX_SIZE; in iwl_mvm_umac_scan_fill_6g_chan_list() 1766 !params->n_6ghz_params && params->n_ssids) in iwl_mvm_umac_scan_cfg_channels_v7_6g() [all …]
|
/openbmc/linux/net/mac80211/ |
H A D | scan.c | 668 for (i = 0; i < scan_req->n_ssids; i++) in ieee80211_scan_state_send_probe() 735 local->hw_scan_req->req.n_ssids = req->n_ssids; in __ieee80211_start_scan() 801 !req->n_ssids) { in __ieee80211_start_scan() 803 if (req->n_ssids) in __ieee80211_start_scan() 1013 !scan_req->n_ssids) { in ieee80211_scan_state_set_channel() 1016 if (scan_req->n_ssids) in ieee80211_scan_state_set_channel() 1235 local->int_scan_req->n_ssids = 1; in ieee80211_request_ibss_scan()
|
/openbmc/linux/drivers/net/wireless/ti/wl12xx/ |
H A D | scan.c | 91 if (!passive && wl->scan.req->n_ssids == 0) in wl1271_scan_send() 316 bool force_passive = !req->n_ssids; in wl1271_scan_sched_scan_config() 358 req->n_channels, req->n_ssids, in wl1271_scan_sched_scan_config()
|
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | pno.c | 243 if (!ssid || !req->ssids || !req->n_ssids) in brcmf_is_ssid_active() 246 for (i = 0; i < req->n_ssids; i++) { in brcmf_is_ssid_active()
|
H A D | cfg80211.c | 1048 int n_channels, n_ssids; in brcmf_scan_params_v2_to_v1() local 1065 n_ssids = ch >> BRCMF_SCAN_PARAMS_NSSID_SHIFT; in brcmf_scan_params_v2_to_v1() 1068 if (n_ssids > 0) { in brcmf_scan_params_v2_to_v1() 1070 params_size += sizeof(struct brcmf_ssid_le) * n_ssids; in brcmf_scan_params_v2_to_v1() 1081 u32 n_ssids; in brcmf_escan_prep() local 1113 n_ssids = request->n_ssids; in brcmf_escan_prep() 1133 brcmf_dbg(SCAN, "### List of SSIDs to scan ### %d\n", n_ssids); in brcmf_escan_prep() 1134 if (n_ssids > 0) { in brcmf_escan_prep() 1138 length += sizeof(ssid_le) * n_ssids, in brcmf_escan_prep() 1140 for (i = 0; i < n_ssids; i++) { in brcmf_escan_prep() [all …]
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/ |
H A D | mt76_connac_mcu.c | 1639 int n_ssids = 0, err, i, duration; in mt76_connac_mcu_hw_scan() local 1661 req->scan_type = sreq->n_ssids ? 1 : 0; in mt76_connac_mcu_hw_scan() 1662 req->probe_req_num = sreq->n_ssids ? 2 : 0; in mt76_connac_mcu_hw_scan() 1665 for (i = 0; i < sreq->n_ssids; i++) { in mt76_connac_mcu_hw_scan() 1672 n_ssids++; in mt76_connac_mcu_hw_scan() 1674 req->ssid_type = n_ssids ? BIT(2) : BIT(0); in mt76_connac_mcu_hw_scan() 1675 req->ssid_type_ext = n_ssids ? BIT(0) : 0; in mt76_connac_mcu_hw_scan() 1676 req->ssids_num = n_ssids; in mt76_connac_mcu_hw_scan() 1680 if (!sreq->n_ssids) in mt76_connac_mcu_hw_scan() 1802 req->ssids_num = sreq->n_ssids; in mt76_connac_mcu_sched_scan_req()
|
/openbmc/linux/drivers/net/wireless/silabs/wfx/ |
H A D | hif_tx.c | 232 WARN(req->n_ssids > HIF_API_MAX_NB_SSIDS, "invalid params"); in wfx_hif_scan() 236 for (i = 0; i < req->n_ssids; i++) { in wfx_hif_scan()
|
/openbmc/linux/drivers/net/wireless/ath/ath10k/ |
H A D | wow.c | 217 if (nd_config->n_ssids == 0) in ath10k_wmi_pno_check() 222 for (i = 0; i < nd_config->n_ssids; i++) { in ath10k_wmi_pno_check()
|
/openbmc/linux/net/wireless/ |
H A D | scan.c | 778 for (i = 0; i < request->n_ssids; i++) { in cfg80211_find_ssid_match() 844 size += sizeof(*request->ssids) * rdev_req->n_ssids; in cfg80211_scan_6ghz() 859 if (rdev_req->n_ssids) { in cfg80211_scan_6ghz() 868 sizeof(*request->ssids) * request->n_ssids); in cfg80211_scan_6ghz() 884 if (count && request->n_ssids == 1 && request->ssids[0].ssid_len) { in cfg80211_scan_6ghz() 931 if (request->n_ssids > 0 && in cfg80211_scan_6ghz() 939 if (!request->n_ssids && ap->multi_bss && !ap->transmitted_bssid) in cfg80211_scan_6ghz() 3223 creq->n_ssids = 1; in cfg80211_wext_siwscan() 3286 creq->n_ssids = 0; in cfg80211_wext_siwscan()
|
H A D | nl80211.c | 9179 int err, tmp, n_ssids = 0, n_channels, i; in nl80211_trigger_scan() local 9213 n_ssids++; in nl80211_trigger_scan() 9215 if (n_ssids > wiphy->max_scan_ssids) in nl80211_trigger_scan() 9228 size = size_add(size, array_size(sizeof(*request->ssids), n_ssids)); in nl80211_trigger_scan() 9236 if (n_ssids) in nl80211_trigger_scan() 9238 request->n_ssids = n_ssids; in nl80211_trigger_scan() 9312 if (n_ssids) { in nl80211_trigger_scan() 9559 int err, tmp, n_ssids = 0, n_match_sets = 0, n_channels, i, n_plans = 0; in nl80211_parse_sched_scan() local 9577 n_ssids++; in nl80211_parse_sched_scan() 9579 if (n_ssids > wiphy->max_sched_scan_ssids) in nl80211_parse_sched_scan() [all …]
|
/openbmc/linux/drivers/net/wireless/marvell/libertas/ |
H A D | cfg.c | 752 if (priv->scan_req->n_ssids && priv->scan_req->ssids[0].ssid_len > 0) in lbs_scan_worker() 762 priv->scan_req->n_ssids); in lbs_scan_worker() 815 request->n_ssids, request->n_channels, request->ie_len); in _internal_start_scan() 1287 creq->n_ssids = 1; in _new_connect_scan_req()
|
/openbmc/linux/drivers/net/wireless/ath/ath6kl/ |
H A D | cfg80211.c | 918 struct cfg80211_ssid *ssids, int n_ssids, in ath6kl_set_probed_ssids() argument 927 if (n_ssids > MAX_PROBED_SSIDS || in ath6kl_set_probed_ssids() 931 for (i = 0; i < n_ssids; i++) { in ath6kl_set_probed_ssids() 951 for (j = 0; j < n_ssids; j++) { in ath6kl_set_probed_ssids() 1020 request->n_ssids, NULL, 0); in ath6kl_cfg80211_scan() 1093 if (vif->scan_req->n_ssids && vif->scan_req->ssids[0].ssid_len) { in ath6kl_cfg80211_scan_complete_event() 1094 for (i = 0; i < vif->scan_req->n_ssids; i++) { in ath6kl_cfg80211_scan_complete_event() 3295 request->n_ssids, in ath6kl_cfg80211_sscan_start()
|
/openbmc/linux/drivers/net/wireless/ath/ath11k/ |
H A D | wow.c | 287 if (nd_config->n_ssids == 0) in ath11k_wmi_pno_check_and_convert() 292 for (i = 0; i < nd_config->n_ssids; i++) { in ath11k_wmi_pno_check_and_convert()
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
H A D | scan.c | 705 if (priv->scan_request->n_ssids) { in iwlagn_request_scan() 719 for (i = priv->scan_request->n_ssids - 1; i >= 1; i--) { in iwlagn_request_scan()
|
/openbmc/linux/drivers/net/wireless/microchip/wilc1000/ |
H A D | hif.c | 184 if (request->n_ssids) { in wilc_scan() 185 for (i = 0; i < request->n_ssids; i++) in wilc_scan() 194 *buffer++ = request->n_ssids; in wilc_scan() 196 for (i = 0; i < request->n_ssids; i++) { in wilc_scan()
|
/openbmc/linux/drivers/net/wireless/ath/ath9k/ |
H A D | channel.c | 795 if (!req->n_ssids || (chan->flags & IEEE80211_CHAN_NO_IR)) in ath_scan_channel_duration() 1033 req->n_ssids) { in ath_scan_channel_start() 1034 for (i = 0; i < req->n_ssids; i++) in ath_scan_channel_start()
|
/openbmc/linux/drivers/net/wireless/ath/wil6210/ |
H A D | cfg80211.c | 957 wil_dbg_misc(wil, "SSID count: %d", request->n_ssids); in wil_cfg80211_scan() 959 for (i = 0; i < request->n_ssids; i++) { in wil_cfg80211_scan() 966 if (request->n_ssids) in wil_cfg80211_scan() 2500 request->n_ssids, request->ie_len, request->flags); in wil_cfg80211_sched_scan_start() 2501 for (i = 0; i < request->n_ssids; i++) { in wil_cfg80211_sched_scan_start()
|
/openbmc/linux/drivers/staging/wlan-ng/ |
H A D | cfg80211.c | 319 if (request->n_ssids > 0) { in prism2_scan()
|
/openbmc/linux/drivers/net/wireless/marvell/mwifiex/ |
H A D | cfg80211.c | 2668 user_scan_cfg->num_ssids = request->n_ssids; in mwifiex_cfg80211_scan() 2692 if ((chan->flags & IEEE80211_CHAN_NO_IR) || !request->n_ssids) in mwifiex_cfg80211_scan() 2747 if (!request || (!request->n_ssids && !request->n_match_sets)) { in mwifiex_cfg80211_sched_scan_start() 2754 request->n_ssids, request->n_match_sets); in mwifiex_cfg80211_sched_scan_start() 2790 if ((chan->flags & IEEE80211_CHAN_NO_IR) || !request->n_ssids) in mwifiex_cfg80211_sched_scan_start()
|
/openbmc/linux/drivers/net/wireless/quantenna/qtnfmac/ |
H A D | qlink.h | 953 __le16 n_ssids; member
|