Lines Matching refs:scan
1165 struct at76_req_scan scan; in at76_start_monitor() local
1168 memset(&scan, 0, sizeof(struct at76_req_scan)); in at76_start_monitor()
1169 memset(scan.bssid, 0xff, ETH_ALEN); in at76_start_monitor()
1171 scan.channel = priv->channel; in at76_start_monitor()
1172 scan.scan_type = SCAN_TYPE_PASSIVE; in at76_start_monitor()
1173 scan.international_scan = 0; in at76_start_monitor()
1174 scan.min_channel_time = cpu_to_le16(priv->scan_min_time); in at76_start_monitor()
1175 scan.max_channel_time = cpu_to_le16(priv->scan_max_time); in at76_start_monitor()
1176 scan.probe_delay = cpu_to_le16(0); in at76_start_monitor()
1178 ret = at76_set_card_command(priv->udev, CMD_SCAN, &scan, sizeof(scan)); in at76_start_monitor()
1962 struct at76_req_scan scan; in at76_hw_scan() local
1975 memset(&scan, 0, sizeof(struct at76_req_scan)); in at76_hw_scan()
1976 memset(scan.bssid, 0xFF, ETH_ALEN); in at76_hw_scan()
1979 scan.scan_type = SCAN_TYPE_ACTIVE; in at76_hw_scan()
1983 scan.scan_type = SCAN_TYPE_PASSIVE; in at76_hw_scan()
1987 memcpy(scan.essid, ssid, len); in at76_hw_scan()
1988 scan.essid_size = len; in at76_hw_scan()
1991 scan.min_channel_time = cpu_to_le16(priv->scan_min_time); in at76_hw_scan()
1992 scan.max_channel_time = cpu_to_le16(priv->scan_max_time); in at76_hw_scan()
1993 scan.probe_delay = cpu_to_le16(priv->scan_min_time * 1000); in at76_hw_scan()
1994 scan.international_scan = 0; in at76_hw_scan()
1997 ret = at76_set_card_command(priv->udev, CMD_SCAN, &scan, sizeof(scan)); in at76_hw_scan()