Home
last modified time | relevance | path

Searched refs:n_ssids (Results 1 – 25 of 41) sorted by relevance

12

/drivers/net/wireless/ti/wlcore/
Dscan.c129 u32 n_ssids, in wlcore_scan_get_channels() argument
138 bool force_passive = !n_ssids; in wlcore_scan_get_channels()
165 n_ssids * c->num_probe_reqs * delta_per_probe; in wlcore_scan_get_channels()
250 u32 n_ssids, in wlcore_set_scan_chan_params() argument
259 n_ssids, in wlcore_set_scan_chan_params()
270 n_ssids, in wlcore_set_scan_chan_params()
282 n_ssids, in wlcore_set_scan_chan_params()
293 n_ssids, in wlcore_set_scan_chan_params()
305 n_ssids, in wlcore_set_scan_chan_params()
389 (!req->n_ssids || in wlcore_scan_sched_scan_ssid_list()
[all …]
Dscan.h128 u8 n_ssids; member
156 u32 n_ssids,
/drivers/net/wireless/st/cw1200/
Dscan.c69 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()
Dscan.h31 int n_ssids; member
/drivers/net/wireless/ti/wl18xx/
Dscan.c68 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()
/drivers/net/wireless/intel/iwlwifi/mvm/
Dscan.c83 int n_ssids; member
495 for (j = params->n_ssids - 1; in iwl_scan_build_ssids()
830 static inline bool iwl_mvm_scan_fits(struct iwl_mvm *mvm, int n_ssids, in iwl_mvm_scan_fits() argument
834 return ((n_ssids <= PROBE_OPTION_MAX) && in iwl_mvm_scan_fits()
885 if (params->n_ssids == 0) in iwl_mvm_scan_lmac_flags()
888 if (params->n_ssids == 1 && params->ssids[0].ssid_len != 0) in iwl_mvm_scan_lmac_flags()
1674 for (j = 0; j < params->n_ssids && idex_s < SCAN_SHORT_SSID_MAX_SIZE; in iwl_mvm_umac_scan_fill_6g_chan_list()
1953 for (i = 0; i < params->n_ssids; i++) { in iwl_mvm_scan_6ghz_passive_scan()
1959 if (i == params->n_ssids) { in iwl_mvm_scan_6ghz_passive_scan()
1998 if (params->n_ssids == 0) in iwl_mvm_scan_umac_flags_v2()
[all …]
/drivers/net/wireless/ti/wl12xx/
Dscan.c91 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()
/drivers/net/wireless/mediatek/mt76/
Dmt76_connac_mcu.c1404 int n_ssids = 0, err, i, duration; in mt76_connac_mcu_hw_scan() local
1424 req->scan_type = sreq->n_ssids ? 1 : 0; in mt76_connac_mcu_hw_scan()
1425 req->probe_req_num = sreq->n_ssids ? 2 : 0; in mt76_connac_mcu_hw_scan()
1428 for (i = 0; i < sreq->n_ssids; i++) { in mt76_connac_mcu_hw_scan()
1435 n_ssids++; in mt76_connac_mcu_hw_scan()
1437 req->ssid_type = n_ssids ? BIT(2) : BIT(0); in mt76_connac_mcu_hw_scan()
1438 req->ssid_type_ext = n_ssids ? BIT(0) : 0; in mt76_connac_mcu_hw_scan()
1439 req->ssids_num = n_ssids; in mt76_connac_mcu_hw_scan()
1443 if (!sreq->n_ssids) in mt76_connac_mcu_hw_scan()
1553 req->ssids_num = sreq->n_ssids; in mt76_connac_mcu_sched_scan_req()
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dpno.c243 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()
Dcfg80211.c1035 u32 n_ssids; in brcmf_escan_prep() local
1053 n_ssids = request->n_ssids; in brcmf_escan_prep()
1071 brcmf_dbg(SCAN, "### List of SSIDs to scan ### %d\n", n_ssids); in brcmf_escan_prep()
1072 if (n_ssids > 0) { in brcmf_escan_prep()
1077 for (i = 0; i < n_ssids; i++) { in brcmf_escan_prep()
1097 cpu_to_le32((n_ssids << BRCMF_SCAN_PARAMS_NSSID_SHIFT) | in brcmf_escan_prep()
1118 params_size += sizeof(struct brcmf_ssid_le) * request->n_ssids; in brcmf_run_escan()
3459 for (i = 0; i < req->n_ssids; i++) { in brcmf_internal_escan_add_info()
3464 if (i == req->n_ssids) { in brcmf_internal_escan_add_info()
3465 memcpy(req->ssids[req->n_ssids].ssid, ssid, ssid_len); in brcmf_internal_escan_add_info()
[all …]
/drivers/staging/wfx/
Dhif_tx.c240 WARN(req->n_ssids > HIF_API_MAX_NB_SSIDS, "invalid params"); in hif_scan()
244 for (i = 0; i < req->n_ssids; i++) { in hif_scan()
/drivers/net/wireless/ath/ath10k/
Dwow.c216 if (nd_config->n_ssids == 0) in ath10k_wmi_pno_check()
221 for (i = 0; i < nd_config->n_ssids; i++) { in ath10k_wmi_pno_check()
Dwmi.c6863 if (arg->n_ssids > WLAN_SCAN_PARAMS_MAX_SSID) in ath10k_wmi_start_scan_verify()
6886 if (arg->n_ssids) { in ath10k_wmi_start_scan_tlvs_len()
6888 len += sizeof(struct wmi_ssid) * arg->n_ssids; in ath10k_wmi_start_scan_tlvs_len()
6952 if (arg->n_ssids) { in ath10k_wmi_put_start_scan_tlvs()
6955 ssids->num_ssids = __cpu_to_le32(arg->n_ssids); in ath10k_wmi_put_start_scan_tlvs()
6957 for (i = 0; i < arg->n_ssids; i++) { in ath10k_wmi_put_start_scan_tlvs()
6966 ptr += sizeof(struct wmi_ssid) * arg->n_ssids; in ath10k_wmi_put_start_scan_tlvs()
/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()
718 priv->scan_req->n_ssids); in lbs_scan_worker()
766 request->n_ssids, request->n_channels, request->ie_len); in _internal_start_scan()
1240 creq->n_ssids = 1; in _new_connect_scan_req()
/drivers/net/wireless/ath/ath6kl/
Dcfg80211.c918 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()
/drivers/net/wireless/intel/iwlwifi/dvm/
Dscan.c703 if (priv->scan_request->n_ssids) { in iwlagn_request_scan()
717 for (i = priv->scan_request->n_ssids - 1; i >= 1; i--) { in iwlagn_request_scan()
/drivers/net/wireless/microchip/wilc1000/
Dhif.c179 if (request->n_ssids) { in wilc_scan()
180 for (i = 0; i < request->n_ssids; i++) in wilc_scan()
189 *buffer++ = request->n_ssids; in wilc_scan()
191 for (i = 0; i < request->n_ssids; i++) { in wilc_scan()
/drivers/net/wireless/ath/ath9k/
Dchannel.c795 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()
/drivers/net/wireless/ath/wil6210/
Dcfg80211.c955 wil_dbg_misc(wil, "SSID count: %d", request->n_ssids); in wil_cfg80211_scan()
957 for (i = 0; i < request->n_ssids; i++) { in wil_cfg80211_scan()
964 if (request->n_ssids) in wil_cfg80211_scan()
2499 request->n_ssids, request->ie_len, request->flags); in wil_cfg80211_sched_scan_start()
2500 for (i = 0; i < request->n_ssids; i++) { in wil_cfg80211_sched_scan_start()
Dwmi.c3460 struct cfg80211_ssid *ssids, int n_ssids, in wmi_sched_scan_set_ssids() argument
3487 for (j = 0; j < n_ssids; j++) in wmi_sched_scan_set_ssids()
3564 wmi_sched_scan_set_ssids(wil, &cmd, request->ssids, request->n_ssids, in wmi_start_sched_scan()
/drivers/staging/wlan-ng/
Dcfg80211.c319 if (request->n_ssids > 0) { in prism2_scan()
/drivers/net/wireless/marvell/mwifiex/
Dcfg80211.c2605 user_scan_cfg->num_ssids = request->n_ssids; in mwifiex_cfg80211_scan()
2629 if ((chan->flags & IEEE80211_CHAN_NO_IR) || !request->n_ssids) in mwifiex_cfg80211_scan()
2684 if (!request || (!request->n_ssids && !request->n_match_sets)) { in mwifiex_cfg80211_sched_scan_start()
2691 request->n_ssids, request->n_match_sets); in mwifiex_cfg80211_sched_scan_start()
2727 if ((chan->flags & IEEE80211_CHAN_NO_IR) || !request->n_ssids) in mwifiex_cfg80211_sched_scan_start()
/drivers/net/wireless/quantenna/qtnfmac/
Dqlink.h953 __le16 n_ssids; member
Dcommands.c2016 cmd->n_ssids = cpu_to_le16(scan_req->n_ssids); in qtnf_cmd_send_scan()
2017 for (count = 0; count < scan_req->n_ssids; ++count) { in qtnf_cmd_send_scan()
/drivers/staging/rtl8723bs/os_dep/
Dioctl_cfg80211.c257 if (request->n_ssids == 1 && request->n_channels == 1) { in rtw_cfg80211_inform_bss()
1288 for (i = 0; i < request->n_ssids && i < RTW_SSID_SCAN_AMOUNT; i++) { in cfg80211_rtw_scan()

12