OSDN Git Service

Add rtl8821ce driver version 5.5.2
[android-x86/external-kernel-drivers.git] / rtl8821ce / hal / halmac / halmac_88xx / halmac_8821c / halmac_common_8821c.h
diff --git a/rtl8821ce/hal/halmac/halmac_88xx/halmac_8821c/halmac_common_8821c.h b/rtl8821ce/hal/halmac/halmac_88xx/halmac_8821c/halmac_common_8821c.h
new file mode 100644 (file)
index 0000000..eb1f8f8
--- /dev/null
@@ -0,0 +1,36 @@
+/******************************************************************************
+ *
+ * Copyright(c) 2017 - 2018 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.
+ *
+ ******************************************************************************/
+
+#ifndef _HALMAC_COMMON_8821C_H_
+#define _HALMAC_COMMON_8821C_H_
+
+#include "../../halmac_api.h"
+
+#if HALMAC_8821C_SUPPORT
+
+enum halmac_ret_status
+get_hw_value_8821c(struct halmac_adapter *adapter, enum halmac_hw_id hw_id,
+                  void *value);
+
+enum halmac_ret_status
+set_hw_value_8821c(struct halmac_adapter *adapter, enum halmac_hw_id hw_id,
+                  void *value);
+
+enum halmac_ret_status
+fill_txdesc_check_sum_8821c(struct halmac_adapter *adapter, u8 *txdesc);
+
+#endif/* HALMAC_8821C_SUPPORT */
+
+#endif/* _HALMAC_COMMON_8821C_H_ */