From 1c2cfb6135774d07c4eb29726136dbf470ec815e Mon Sep 17 00:00:00 2001 From: Ravi Joshi Date: Wed, 18 Jan 2017 14:40:08 -0800 Subject: [PATCH] qcacld-3.0: Add new files for supporting rx monitor mode Add new files for supporting rx monitor mode on lithium architecture. Change-Id: I39ba7495a1a635a01ce349ac4a126737bf36775c CRs-Fixed: 1113187 --- Kbuild | 4 ++++ core/hdd/src/wlan_hdd_rx_monitor.c | 28 ++++++++++++++++++++++++++ core/hdd/src/wlan_hdd_rx_monitor.h | 32 ++++++++++++++++++++++++++++++ 3 files changed, 64 insertions(+) create mode 100644 core/hdd/src/wlan_hdd_rx_monitor.c create mode 100644 core/hdd/src/wlan_hdd_rx_monitor.h diff --git a/Kbuild b/Kbuild index fe23e582f3e1..1fc7802fa818 100644 --- a/Kbuild +++ b/Kbuild @@ -495,6 +495,10 @@ ifeq ($(CONFIG_WLAN_FEATURE_11AX),y) HDD_OBJS += $(HDD_SRC_DIR)/wlan_hdd_he.o endif +ifeq ($(CONFIG_LITHIUM), y) +HDD_OBJS += $(HDD_SRC_DIR)/wlan_hdd_rx_monitor.o +endif + ########### HOST DIAG LOG ########### HOST_DIAG_LOG_DIR := $(WLAN_COMMON_ROOT)/utils/host_diag_log diff --git a/core/hdd/src/wlan_hdd_rx_monitor.c b/core/hdd/src/wlan_hdd_rx_monitor.c new file mode 100644 index 000000000000..2d438ca8553a --- /dev/null +++ b/core/hdd/src/wlan_hdd_rx_monitor.c @@ -0,0 +1,28 @@ +/* + * Copyright (c) 2017 The Linux Foundation. All rights reserved. + * + * Previously licensed under the ISC license by Qualcomm Atheros, Inc. + * + * + * Permission to use, copy, modify, and/or distribute this software for + * any purpose with or without fee is hereby granted, provided that the + * above copyright notice and this permission notice appear in all + * copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL + * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED + * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE + * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL + * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR + * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER + * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + * PERFORMANCE OF THIS SOFTWARE. + */ + +/* + * This file was originally distributed by Qualcomm Atheros, Inc. + * under proprietary terms before Copyright ownership was assigned + * to the Linux Foundation. + */ + +#include "wlan_hdd_rx_monitor.h" diff --git a/core/hdd/src/wlan_hdd_rx_monitor.h b/core/hdd/src/wlan_hdd_rx_monitor.h new file mode 100644 index 000000000000..e65787014694 --- /dev/null +++ b/core/hdd/src/wlan_hdd_rx_monitor.h @@ -0,0 +1,32 @@ +/* + * Copyright (c) 2017 The Linux Foundation. All rights reserved. + * + * Previously licensed under the ISC license by Qualcomm Atheros, Inc. + * + * + * Permission to use, copy, modify, and/or distribute this software for + * any purpose with or without fee is hereby granted, provided that the + * above copyright notice and this permission notice appear in all + * copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL + * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED + * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE + * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL + * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR + * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER + * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + * PERFORMANCE OF THIS SOFTWARE. + */ + +/* + * This file was originally distributed by Qualcomm Atheros, Inc. + * under proprietary terms before Copyright ownership was assigned + * to the Linux Foundation. + */ + +#ifndef __WLAN_HDD_RX_MONITOR_H +#define __WLAN_HDD_RX_MONITOR_H + +#endif /* __WLAN_HDD_RX_MONITOR_H */ +