blob: f3eb7603d68af06c14383646f96029e12bea8ffa [file] [log] [blame]
Vivek3e5a3ba2017-02-20 18:13:57 +05301/*
2 * Copyright (c) 2016-2017 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
20#ifndef _WLAN_OSIF_PRIV_H_
21#define _WLAN_OSIF_PRIV_H_
22
23struct osif_scan_pdev;
Frank Liu085a40c2017-03-20 14:34:11 +080024struct osif_tdls_vdev;
Vivek3e5a3ba2017-02-20 18:13:57 +053025
26/**
Wu Gao6c44a1c2017-03-14 19:34:57 +080027 * struct pdev_osif_priv - OS private structure
28 * @wiphy: wiphy handle
29 * @legacy_osif_priv: legacy osif private handle
30 * @scan_priv: Scan related data used by cfg80211 scan
31 */
Vivek3e5a3ba2017-02-20 18:13:57 +053032struct pdev_osif_priv {
33 struct wiphy *wiphy;
34 void *legacy_osif_priv;
35 struct osif_scan_pdev *osif_scan;
36};
37
Wu Gao6c44a1c2017-03-14 19:34:57 +080038/**
39 * struct vdev_osif_priv - OS private structure of vdev
40 * @wdev: wireless device handle
41 * @legacy_osif_priv: legacy osif private handle
42 */
43struct vdev_osif_priv {
44 struct wireless_dev *wdev;
45 void *legacy_osif_priv;
Frank Liu085a40c2017-03-20 14:34:11 +080046 struct osif_tdls_vdev *osif_tdls;
Wu Gao6c44a1c2017-03-14 19:34:57 +080047};
48
Vivek3e5a3ba2017-02-20 18:13:57 +053049#endif