Home | History | Annotate | Download | only in usb

Lines Matching defs:Scan

527 	struct atu_cmd_do_scan		Scan;
531 memset(&Scan, 0, sizeof(Scan));
533 Scan.Cmd = CMD_START_SCAN;
534 Scan.Reserved = 0;
535 USETW(Scan.Size, sizeof(Scan) - 4);
537 /* use the broadcast BSSID (in active scan) */
539 Scan.BSSID[Cnt] = 0xff;
541 memset(Scan.SSID, 0x00, sizeof(Scan.SSID));
542 memcpy(Scan.SSID, ic->ic_des_essid, ic->ic_des_esslen);
543 Scan.SSID_Len = ic->ic_des_esslen;
545 /* default values for scan */
546 Scan.ScanType = ATU_SCAN_ACTIVE;
548 Scan.Channel = (uint8_t)sc->atu_desired_channel;
550 Scan.Channel = sc->atu_channel;
552 ic->ic_curchan = &ic->ic_channels[Scan.Channel];
556 USETW(Scan.ProbeDelay, 0);
558 USETW(Scan.MinChannelTime, 100);
559 USETW(Scan.MaxChannelTime, 200);
560 /* whether or not we scan all channels */
561 Scan.InternationalScan = 0xc1;
565 DPRINTFN(20, ("%s: scan cmd len=%02zx\n",
566 device_xname(sc->atu_dev), sizeof(Scan)));
571 err = atu_send_command(sc, (uint8_t *)&Scan, sizeof(Scan));
1161 DPRINTFN(1, ("%s: atu_task: couldn't start scan!\n",
1168 DPRINTF(("%s: atu_task: error waiting for scan\n",
1173 DPRINTF(("%s: ==========================> END OF SCAN!\n",
1205 /* tell the event thread that we want a scan */