blob: a40e758fa402f4b51a6b59525d1a62483d2ec4ff [file] [log] [blame]
Prakash Dhavali7090c5f2015-11-02 17:55:19 -08001/*
Srinivas Girigowda91a6b632017-03-25 13:57:14 -07002 * Copyright (c) 2012-2014, 2017 The Linux Foundation. All rights reserved.
Prakash Dhavali7090c5f2015-11-02 17:55:19 -08003 *
4 * Previously licensed under the ISC license by Qualcomm Atheros, Inc.
5 *
6 *
7 * Permission to use, copy, modify, and/or distribute this software for
8 * any purpose with or without fee is hereby granted, provided that the
9 * above copyright notice and this permission notice appear in all
10 * copies.
11 *
12 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
13 * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
14 * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
15 * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
16 * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
17 * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
18 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
19 * PERFORMANCE OF THIS SOFTWARE.
20 */
21
22/*
23 * This file was originally distributed by Qualcomm Atheros, Inc.
24 * under proprietary terms before Copyright ownership was assigned
25 * to the Linux Foundation.
26 */
27
28#if !defined(WLAN_HDD_IOCTL_H)
29#define WLAN_HDD_IOCTL_H
30
31#include <netdevice.h>
32#include <uapi/linux/if.h>
33#include "wlan_hdd_main.h"
34
Srinivas Girigowda91a6b632017-03-25 13:57:14 -070035extern struct sock *cesium_nl_srv_sock;
36
Prakash Dhavali7090c5f2015-11-02 17:55:19 -080037int hdd_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd);
Jeff Johnsone44b7012017-09-10 15:25:47 -070038int wlan_hdd_set_mc_rate(struct hdd_adapter *pAdapter, int targetRate);
Prakash Dhavali7090c5f2015-11-02 17:55:19 -080039
Nitesh Shahe50711f2017-04-26 16:30:45 +053040/**
41 * hdd_update_smps_antenna_mode() - set smps and antenna mode
42 * @hdd_ctx: Pointer to hdd context
43 * @mode: antenna mode
44 *
45 * This function will set smps and antenna mode.
46 *
47 * Return: QDF_STATUS
48 */
Jeff Johnson621cf972017-08-28 11:58:44 -070049QDF_STATUS hdd_update_smps_antenna_mode(struct hdd_context *hdd_ctx, int mode);
Prakash Dhavali7090c5f2015-11-02 17:55:19 -080050#endif /* end #if !defined(WLAN_HDD_IOCTL_H) */
51