Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1 | /* |
Ryan Hsu | 6fdc60f | 2018-01-05 16:51:09 -0800 | [diff] [blame] | 2 | * Copyright (c) 2013-2018 The Linux Foundation. All rights reserved. |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 3 | * |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 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 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 19 | #ifndef WLAN_HDD_FTM_H |
| 20 | #define WLAN_HDD_FTM_H |
| 21 | |
| 22 | /** |
| 23 | * DOC: wlan_hdd_ftm.h |
| 24 | * |
| 25 | * WLAN Host Device Driver Factory Test Mode header file |
| 26 | */ |
| 27 | |
Anurag Chouhan | ce0dc99 | 2016-02-16 18:18:03 +0530 | [diff] [blame] | 28 | #include "qdf_status.h" |
Rajeev Kumar | ea95edd | 2017-01-11 20:49:36 -0800 | [diff] [blame] | 29 | #include "scheduler_api.h" |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 30 | #include "cds_api.h" |
Anurag Chouhan | 6d76066 | 2016-02-20 16:05:43 +0530 | [diff] [blame] | 31 | #include "qdf_types.h" |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 32 | #include <wlan_ptt_sock_svc.h> |
| 33 | |
Jeff Johnson | 2b59af6 | 2017-08-28 12:01:18 -0700 | [diff] [blame] | 34 | struct hdd_context; |
| 35 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 36 | #if defined(QCA_WIFI_FTM) |
Jeff Johnson | af007ea | 2017-10-03 11:16:51 -0700 | [diff] [blame] | 37 | int wlan_hdd_qcmbr_unified_ioctl(struct hdd_adapter *adapter, |
| 38 | struct ifreq *ifr); |
Ryan Hsu | 6fdc60f | 2018-01-05 16:51:09 -0800 | [diff] [blame] | 39 | int hdd_update_cds_config_ftm(struct hdd_context *hdd_ctx); |
| 40 | #else |
| 41 | static inline int hdd_update_cds_config_ftm(struct hdd_context *hdd_ctx) |
| 42 | { |
| 43 | return 0; |
| 44 | } |
| 45 | #endif /* QCA_WIFI_FTM */ |
| 46 | #endif /* WLAN_HDD_FTM_H */ |