xref: /wlan-dirver/qca-wifi-host-cmn/umac/wifi_pos/src/wifi_pos_oem_interface_i.h (revision 45a38684b07295822dc8eba39e293408f203eec8)
1 /*
2  * Copyright (c) 2017, 2019-2020 The Linux Foundation. All rights reserved.
3  *
4  * Permission to use, copy, modify, and/or distribute this software for
5  * any purpose with or without fee is hereby granted, provided that the
6  * above copyright notice and this permission notice appear in all
7  * copies.
8  *
9  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
10  * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
11  * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
12  * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
13  * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
14  * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
15  * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
16  * PERFORMANCE OF THIS SOFTWARE.
17  */
18 /**
19  * DOC: wifi_pos_oem_interface.h
20  * This file defines the interface between host driver and userspace layer.
21  */
22 #ifndef _WIFI_POS_OEM_INTERFACE_H_
23 #define _WIFI_POS_OEM_INTERFACE_H_
24 
25 /* Include files */
26 #include "qdf_types.h"
27 #include "qdf_status.h"
28 #include "wlan_objmgr_cmn.h"
29 
30 #define TARGET_OEM_CAPABILITY_REQ       0x01
31 #define TARGET_OEM_CAPABILITY_RSP       0x02
32 #define TARGET_OEM_MEASUREMENT_REQ      0x03
33 #define TARGET_OEM_MEASUREMENT_RSP      0x04
34 #define TARGET_OEM_ERROR_REPORT_RSP     0x05
35 #define TARGET_OEM_NAN_MEAS_REQ         0x06
36 #define TARGET_OEM_NAN_MEAS_RSP         0x07
37 #define TARGET_OEM_NAN_PEER_INFO        0x08
38 #define TARGET_OEM_CONFIGURE_LCR        0x09
39 #define TARGET_OEM_CONFIGURE_LCI        0x0A
40 #define TARGET_OEM_CONFIGURE_WRU        0x80
41 #define TARGET_OEM_CONFIGURE_FTMRR      0x81
42 
43 #define WIFI_POS_FLAG_DFS               10
44 #define WIFI_POS_SET_DFS(info)          (info |=  (1 << WIFI_POS_FLAG_DFS))
45 
46 #endif
47