summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRavi Joshi <ravij@qca.qualcomm.com>2013-12-29 10:33:15 -0800
committerPrakash Dhavali <pdhavali@codeaurora.org>2014-01-17 21:45:11 -0800
commitb39e7d621f005f137230f7780b29e4e20a89264a (patch)
tree97b1a060a3a352d88a13605901e0bb766bcae912
parent2f8a4ad037c45e7f19c75420c2d8a568364ba465 (diff)
wlan: Removing proprietary module information from DFS module
DFS module has been integrated from qca_main and was being used as linux module in qca_main. However, for CLD driver, this is not a requirement. Hence the DFS will be compiled into the driver . Change-Id: I2aa3a10a7dbb5635b9e8e31b51d86fa6fcc6c213 CRs-Fixed: 589876
-rw-r--r--CORE/SERVICES/DFS/src/dfs.c81
1 files changed, 0 insertions, 81 deletions
diff --git a/CORE/SERVICES/DFS/src/dfs.c b/CORE/SERVICES/DFS/src/dfs.c
index d03f23ded1e4..772a0039d0a0 100644
--- a/CORE/SERVICES/DFS/src/dfs.c
+++ b/CORE/SERVICES/DFS/src/dfs.c
@@ -60,10 +60,6 @@
#ifndef ATH_SUPPORT_DFS
#define ATH_SUPPORT_DFS 1
#include "sys/queue.h"
-#ifdef __NetBSD__
-#include <net/if_media.h>
-#endif
-
//#include "if_athioctl.h"
//#include "if_athvar.h"
@@ -976,82 +972,5 @@ u_int16_t dfs_isdfsregdomain(struct ieee80211com *ic)
return dfs ? dfs->dfsdomain : 0;
}
-#ifndef __NetBSD__
-#ifdef __linux__
-#ifndef ATH_WLAN_COMBINE
-/*
- * Linux Module glue.
- */
-
-//static char *dev_info = "ath_dfs";
-
-MODULE_AUTHOR("Atheros Communications, Inc.");
-MODULE_DESCRIPTION("DFS Support for Atheros 802.11 wireless LAN cards.");
-MODULE_SUPPORTED_DEVICE("Atheros WLAN cards");
-#ifdef MODULE_LICENSE
-MODULE_LICENSE("Proprietary");
-#endif
-/*
-static int __init
-init_ath_dfs(void)
-{
- printk (KERN_INFO "%s: Version 2.0.0\n"
- "Copyright (c) 2005-2006 Atheros Communications, Inc. "
- "All Rights Reserved\n",dev_info);
- return 0;
-}
-module_init(init_ath_dfs);
-
-static void __exit
-exit_ath_dfs(void)
-{
- printk (KERN_INFO "%s: driver unloaded\n", dev_info);
-}
-module_exit(exit_ath_dfs);
-
-*/
-#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,52))
-MODULE_PARM(domainoverride, "i");
-MODULE_PARM(usenol, "i");
-MODULE_PARM_DESC(domainoverride, "Override dfs domain");
-MODULE_PARM_DESC(usenol, "Override the use of channel NOL");
-#else
-#include <linux/moduleparam.h>
-module_param(domainoverride, int, 0600);
-module_param(usenol, int, 0600);
-#endif
-#ifndef EXPORT_SYMTAB
-#define EXPORT_SYMTAB
-#endif
-
-EXPORT_SYMBOL(dfs_getchanstate);
-EXPORT_SYMBOL(dfs_attach);
-EXPORT_SYMBOL(dfs_detach);
-/* Commenting out since all the ar functions are obsolete and
- * the function definition has been removed as part of dfs_ar.c
- * EXPORT_SYMBOL(ath_ar_enable);
- */
-EXPORT_SYMBOL(dfs_radar_enable);
-/* Commenting out since all the ar functions are obsolete and
- * the function definition has been removed as part of dfs_ar.c
- * EXPORT_SYMBOL(ath_ar_disable);
- */
-EXPORT_SYMBOL(dfs_process_phyerr);
-/* Commenting out since all the ar functions are obsolete and
-* the function definition has been removed as part of dfs_ar.c
-* EXPORT_SYMBOL(dfs_process_ar_event);
-*/
-EXPORT_SYMBOL(dfs_control);
-EXPORT_SYMBOL(dfs_get_thresholds);
-EXPORT_SYMBOL(dfs_init_radar_filters);
-EXPORT_SYMBOL(dfs_clear_stats);
-EXPORT_SYMBOL(dfs_usenol);
-EXPORT_SYMBOL(dfs_isdfsregdomain);
-
-
-#endif /* #ifndef ATH_WLAN_COMBINE */
-#endif /* __linux__ */
-#endif /* __netbsd__ */
-
#endif /* ATH_UPPORT_DFS */