staging: rtl8188eu: Remove HalPhyRf_8188e.h
authornavin patidar <navin.patidar@gmail.com>
Sun, 7 Sep 2014 11:08:03 +0000 (16:38 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Sep 2014 21:05:51 +0000 (14:05 -0700)
Move macros and function declarations from HalPhyRf_8188e.h
to phy.h .

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/include/HalPhyRf_8188e.h [deleted file]
drivers/staging/rtl8188eu/include/odm_precomp.h
drivers/staging/rtl8188eu/include/phy.h

diff --git a/drivers/staging/rtl8188eu/include/HalPhyRf_8188e.h b/drivers/staging/rtl8188eu/include/HalPhyRf_8188e.h
deleted file mode 100644 (file)
index 3c3b898..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-/******************************************************************************
- *
- * 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_PHY_RF_8188E_H__
-#define __HAL_PHY_RF_8188E_H__
-
-/*--------------------------Define Parameters-------------------------------*/
-#define        IQK_DELAY_TIME_88E              10              /* ms */
-#define        index_mapping_NUM_88E   15
-#define AVG_THERMAL_NUM_88E    4
-#define ODM_TARGET_CHNL_NUM_2G_5G      59
-
-void rtl88eu_dm_txpower_track_adjust(struct odm_dm_struct *dm_odm,
-                                    u8 type, /* 0 = OFDM, 1 = CCK */
-                                    u8 *dir, /* 1 = +(incr), 2 = -(decr) */
-                                    u32 *out_write); /* Tx tracking CCK/OFDM BB
-                                                      * swing index adjust
-                                                      */
-
-void rtl88eu_dm_txpower_tracking_callback_thermalmeter(struct adapter *adapt);
-void rtl88eu_phy_iq_calibrate(struct adapter *adapter, bool recovery);
-void rtl88eu_phy_lc_calibrate(struct adapter *adapter);
-
-#endif /*  #ifndef __HAL_PHY_RF_8188E_H__ */
index 436d6ff14ca319908a8fd48cac9fd7bf4f747a69..a8537bf680b549fa8159e7018323744f2a2c6f9e 100644 (file)
@@ -40,7 +40,6 @@
 #include "odm_RegDefine11AC.h"
 #include "odm_RegDefine11N.h"
 
-#include "HalPhyRf_8188e.h"/* for IQK,LCK,Power-tracking */
 #include "Hal8188ERateAdaptive.h"/* for  RA,Power training */
 #include "rtl8188e_hal.h"
 
index defed4a921d3eafae7f6af28d60ba60d88ae6e57..9a9ab82a8ed3611e505828073237f188e62425df 100644 (file)
@@ -1,3 +1,10 @@
+#include <odm.h>
+
+#define IQK_DELAY_TIME_88E         10
+#define index_mapping_NUM_88E      15
+#define AVG_THERMAL_NUM_88E        4
+#define ODM_TARGET_CHNL_NUM_2G_5G   59
+
 bool rtl88eu_phy_mac_config(struct adapter *adapt);
 bool rtl88eu_phy_rf_config(struct adapter *adapt);
 bool rtl88eu_phy_bb_config(struct adapter *adapt);
@@ -14,3 +21,10 @@ void phy_set_tx_power_level(struct adapter *adapt, u8 channel);
 void phy_set_bw_mode(struct adapter *adapt, enum ht_channel_width bandwidth,
                     unsigned char offset);
 void phy_sw_chnl(struct adapter *adapt, u8 channel);
+
+void rtl88eu_dm_txpower_track_adjust(struct odm_dm_struct *dm_odm,
+                                    u8 type, u8 *dir, u32 *out_write);
+
+void rtl88eu_dm_txpower_tracking_callback_thermalmeter(struct adapter *adapt);
+void rtl88eu_phy_iq_calibrate(struct adapter *adapter, bool recovery);
+void rtl88eu_phy_lc_calibrate(struct adapter *adapter);