blob: 2fb5d70c77924e7c199a2b0a9b11231994eccaae [file] [log] [blame]
Jeff Johnson2b0a7b82016-05-18 15:08:02 -07001/*
2 * Copyright (c) 2012-2016 The Linux Foundation. All rights reserved.
3 *
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_LPASS_H)
29#define WLAN_HDD_LPASS_H
30
31#ifdef WLAN_FEATURE_LPSS
Jeff Johnsond9dd4842016-05-18 16:49:29 -070032void wlan_hdd_send_status_pkg(hdd_adapter_t *adapter,
33 hdd_station_ctx_t *sta_ctx,
Jeff Johnson2b0a7b82016-05-18 15:08:02 -070034 uint8_t is_on, uint8_t is_connected);
35void wlan_hdd_send_version_pkg(uint32_t fw_version,
36 uint32_t chip_id, const char *chip_name);
Jeff Johnsond9dd4842016-05-18 16:49:29 -070037void wlan_hdd_send_all_scan_intf_info(hdd_context_t *hdd_ctx);
Jeff Johnson2b0a7b82016-05-18 15:08:02 -070038#else
Jeff Johnsond9dd4842016-05-18 16:49:29 -070039static inline void wlan_hdd_send_status_pkg(hdd_adapter_t *adapter,
40 hdd_station_ctx_t *sta_ctx,
Jeff Johnson2b0a7b82016-05-18 15:08:02 -070041 uint8_t is_on, uint8_t is_connected)
42{
43 return;
44}
45
Jeff Johnsond9dd4842016-05-18 16:49:29 -070046static inline void wlan_hdd_send_version_pkg(uint32_t fw_version,
47 uint32_t chip_id,
48 const char *chip_name)
Jeff Johnson2b0a7b82016-05-18 15:08:02 -070049{
50 return;
51}
52
Jeff Johnsond9dd4842016-05-18 16:49:29 -070053static inline void wlan_hdd_send_all_scan_intf_info(hdd_context_t *hdd_ctx)
Jeff Johnson2b0a7b82016-05-18 15:08:02 -070054{
55 return;
56}
57#endif
58
59#endif /* WLAN_HDD_LPASS_H */