summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/rtl8192ce/include/hal_com.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/rtl8192ce/include/hal_com.h')
-rwxr-xr-xdrivers/net/wireless/rtl8192ce/include/hal_com.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/drivers/net/wireless/rtl8192ce/include/hal_com.h b/drivers/net/wireless/rtl8192ce/include/hal_com.h
new file mode 100755
index 000000000000..b925d24c155b
--- /dev/null
+++ b/drivers/net/wireless/rtl8192ce/include/hal_com.h
@@ -0,0 +1,37 @@
+/******************************************************************************
+ *
+ * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of version 2 of the GNU General Public License as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
+ *
+ *
+ ******************************************************************************/
+#ifndef __HAL_COMMON_H__
+#define __HAL_COMMON_H__
+
+#ifdef CONFIG_CHIP_VER_INTEGRATION
+void dump_chip_info(HAL_VERSION ChipVersion);
+#endif
+
+u8 //return the final channel plan decision
+hal_com_get_channel_plan(
+ IN PADAPTER padapter,
+ IN u8 hw_channel_plan, //channel plan from HW (efuse/eeprom)
+ IN u8 sw_channel_plan, //channel plan from SW (registry/module param)
+ IN u8 def_channel_plan, //channel plan used when the former two is invalid
+ IN BOOLEAN AutoLoadFail
+ );
+
+#endif //__HAL_COMMON_H__
+