wmi.h (e5451c8f8330e03ad3cfa16048b4daf961af434f) wmi.h (74997a53d257e327699e359b78b3ecfd33f80cab)
1/*
2 * Copyright (c) 2012-2015 Qualcomm Atheros, Inc.
3 * Copyright (c) 2006-2012 Wilocity .
4 *
5 * Permission to use, copy, modify, and/or distribute this software for any
6 * purpose with or without fee is hereby granted, provided that the above
7 * copyright notice and this permission notice appear in all copies.
8 *

--- 272 unchanged lines hidden (view full) ---

281 *
282 * Start L1 scan operation
283 *
284 * Returned events:
285 * - WMI_RX_MGMT_PACKET_EVENTID - for every probe resp.
286 * - WMI_SCAN_COMPLETE_EVENTID
287 */
288enum wmi_scan_type {
1/*
2 * Copyright (c) 2012-2015 Qualcomm Atheros, Inc.
3 * Copyright (c) 2006-2012 Wilocity .
4 *
5 * Permission to use, copy, modify, and/or distribute this software for any
6 * purpose with or without fee is hereby granted, provided that the above
7 * copyright notice and this permission notice appear in all copies.
8 *

--- 272 unchanged lines hidden (view full) ---

281 *
282 * Start L1 scan operation
283 *
284 * Returned events:
285 * - WMI_RX_MGMT_PACKET_EVENTID - for every probe resp.
286 * - WMI_SCAN_COMPLETE_EVENTID
287 */
288enum wmi_scan_type {
289 WMI_LONG_SCAN = 0,
289 WMI_ACTIVE_SCAN = 0,
290 WMI_SHORT_SCAN = 1,
291 WMI_PBC_SCAN = 2,
292 WMI_DIRECT_SCAN = 3,
290 WMI_SHORT_SCAN = 1,
291 WMI_PBC_SCAN = 2,
292 WMI_DIRECT_SCAN = 3,
293 WMI_ACTIVE_SCAN = 4,
293 WMI_LONG_SCAN = 4,
294};
295
296struct wmi_start_scan_cmd {
297 u8 direct_scan_mac_addr[6];
294};
295
296struct wmi_start_scan_cmd {
297 u8 direct_scan_mac_addr[6];
298 u8 reserved[2];
298 u8 discovery_mode;
299 u8 reserved;
299 __le32 home_dwell_time; /* Max duration in the home channel(ms) */
300 __le32 force_scan_interval; /* Time interval between scans (ms)*/
301 u8 scan_type; /* wmi_scan_type */
302 u8 num_channels; /* how many channels follow */
303 struct {
304 u8 channel;
305 u8 reserved;
306 } channel_list[0]; /* channels ID's */

--- 1078 unchanged lines hidden ---
300 __le32 home_dwell_time; /* Max duration in the home channel(ms) */
301 __le32 force_scan_interval; /* Time interval between scans (ms)*/
302 u8 scan_type; /* wmi_scan_type */
303 u8 num_channels; /* how many channels follow */
304 struct {
305 u8 channel;
306 u8 reserved;
307 } channel_list[0]; /* channels ID's */

--- 1078 unchanged lines hidden ---