Source
1
+
// SPDX-License-Identifier: GPL-2.0-only
1
2
/*
2
3
* Ultra Wide Band
3
4
* Scanning management
4
5
*
5
6
* Copyright (C) 2005-2006 Intel Corporation
6
7
* Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
7
8
*
8
-
* This program is free software; you can redistribute it and/or
9
-
* modify it under the terms of the GNU General Public License version
10
-
* 2 as published by the Free Software Foundation.
11
-
*
12
-
* This program is distributed in the hope that it will be useful,
13
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
-
* GNU General Public License for more details.
16
-
*
17
-
* You should have received a copy of the GNU General Public License
18
-
* along with this program; if not, write to the Free Software
19
-
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
20
-
* 02110-1301, USA.
21
-
*
22
-
*
23
-
*
24
9
* FIXME: docs
25
10
* FIXME: there are issues here on how BEACON and SCAN on USB RCI deal
26
11
* with each other. Currently seems that START_BEACON while
27
12
* SCAN_ONLY will cancel the scan, so we need to update the
28
13
* state here. Clarification request sent by email on
29
14
* 10/05/2005.
30
15
* 10/28/2005 No clear answer heard--maybe we'll hack the API
31
16
* so that when we start beaconing, if the HC is
32
17
* scanning in a mode not compatible with beaconing
33
18
* we just fail.