blob: d72dd88170c308788f27ed73d421828df3aee6a9 [file] [log] [blame]
Prakash Dhavali7090c5f2015-11-02 17:55:19 -08001/*
Ryan Hsu6fdc60f2018-01-05 16:51:09 -08002 * Copyright (c) 2013-2018 The Linux Foundation. All rights reserved.
Prakash Dhavali7090c5f2015-11-02 17:55:19 -08003 *
Prakash Dhavali7090c5f2015-11-02 17:55:19 -08004 * 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 Dhavali7090c5f2015-11-02 17:55:19 -080019#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 Chouhance0dc992016-02-16 18:18:03 +053028#include "qdf_status.h"
Rajeev Kumarea95edd2017-01-11 20:49:36 -080029#include "scheduler_api.h"
Prakash Dhavali7090c5f2015-11-02 17:55:19 -080030#include "cds_api.h"
Anurag Chouhan6d760662016-02-20 16:05:43 +053031#include "qdf_types.h"
Prakash Dhavali7090c5f2015-11-02 17:55:19 -080032#include <wlan_ptt_sock_svc.h>
33
Jeff Johnson2b59af62017-08-28 12:01:18 -070034struct hdd_context;
35
Prakash Dhavali7090c5f2015-11-02 17:55:19 -080036#if defined(QCA_WIFI_FTM)
Jeff Johnsonaf007ea2017-10-03 11:16:51 -070037int wlan_hdd_qcmbr_unified_ioctl(struct hdd_adapter *adapter,
38 struct ifreq *ifr);
Ryan Hsu6fdc60f2018-01-05 16:51:09 -080039int hdd_update_cds_config_ftm(struct hdd_context *hdd_ctx);
40#else
41static 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 */