Vivek | 3e5a3ba | 2017-02-20 18:13:57 +0530 | [diff] [blame] | 1 | /* |
| 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 | |
| 23 | struct osif_scan_pdev; |
Frank Liu | 085a40c | 2017-03-20 14:34:11 +0800 | [diff] [blame] | 24 | struct osif_tdls_vdev; |
Vivek | 3e5a3ba | 2017-02-20 18:13:57 +0530 | [diff] [blame] | 25 | |
| 26 | /** |
Wu Gao | 6c44a1c | 2017-03-14 19:34:57 +0800 | [diff] [blame] | 27 | * 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 | */ |
Vivek | 3e5a3ba | 2017-02-20 18:13:57 +0530 | [diff] [blame] | 32 | struct pdev_osif_priv { |
| 33 | struct wiphy *wiphy; |
| 34 | void *legacy_osif_priv; |
| 35 | struct osif_scan_pdev *osif_scan; |
| 36 | }; |
| 37 | |
Wu Gao | 6c44a1c | 2017-03-14 19:34:57 +0800 | [diff] [blame] | 38 | /** |
| 39 | * struct vdev_osif_priv - OS private structure of vdev |
| 40 | * @wdev: wireless device handle |
| 41 | * @legacy_osif_priv: legacy osif private handle |
| 42 | */ |
| 43 | struct vdev_osif_priv { |
| 44 | struct wireless_dev *wdev; |
| 45 | void *legacy_osif_priv; |
Frank Liu | 085a40c | 2017-03-20 14:34:11 +0800 | [diff] [blame] | 46 | struct osif_tdls_vdev *osif_tdls; |
Wu Gao | 6c44a1c | 2017-03-14 19:34:57 +0800 | [diff] [blame] | 47 | }; |
| 48 | |
Vivek | 3e5a3ba | 2017-02-20 18:13:57 +0530 | [diff] [blame] | 49 | #endif |