Home | History | Annotate | Download | only in wpa_supplicant

Lines Matching refs:scan

140 	struct privsep_cmd_scan *scan;
147 if (len < sizeof(*scan)) {
148 wpa_printf(MSG_DEBUG, "Invalid scan request");
152 scan = buf;
155 if (scan->num_ssids > WPAS_MAX_SCAN_SSIDS) {
156 wpa_printf(MSG_DEBUG, "Invalid scan request (num_ssids)");
159 params.num_ssids = scan->num_ssids;
160 for (i = 0; i < scan->num_ssids; i++) {
161 params.ssids[i].ssid = scan->ssids[i];
162 params.ssids[i].ssid_len = scan->ssid_lens[i];
165 if (scan->num_freqs > PRIVSEP_MAX_SCAN_FREQS) {
166 wpa_printf(MSG_DEBUG, "Invalid scan request (num_freqs)");
169 if (scan->num_freqs) {
170 for (i = 0; i < scan->num_freqs; i++)
171 freqs[i] = scan->freqs[i];