All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/28] staging: rtl8188eu: Remove unnecessary functions.
@ 2014-05-18 15:18 navin patidar
  2014-05-18 15:18 ` [PATCH 01/28] staging: rtl8188eu: Remove function with empty definition _InitBeaconMaxError() navin patidar
                   ` (27 more replies)
  0 siblings, 28 replies; 34+ messages in thread
From: navin patidar @ 2014-05-18 15:18 UTC (permalink / raw)
  To: gregkh, Larry.Finger; +Cc: devel, linux-kernel, navin patidar

Following patches remove functions which are unused or have empty
definition.

navin patidar (28):
  staging: rtl8188eu: Remove function with empty definition
    _InitBeaconMaxError().
  staging: rtl8188eu: Remove function with empty definition
    _InitOperationMode()
  staging: rtl8188eu: Remove function with empty definition
    _ps_open_RF()
  staging: rtl8188eu: Remove unused function _ps_close_RF()
  staging: rtl8188eu: Remove unused function rtl8188eu_ps_func()
  staging:rtl8188eu:Remove funtion Hal_CustomizeByCustomerID_8188EU()
  staging: rtl8188eu: Remove unused function
    rtl8188e_PHY_ConfigRFWithParaFile()
  staging: rtl8188eu: Remove unused function
    rtl8192c_PHY_GetHWRegOriginalValue()
  staging: rtl8188eu: Remove unused function
    PHY_UpdateTxPowerDbm8188E()
  staging:rtl8188eu: Remove unused function phy_DbmToTxPwrIdx()
  staging: rtl8188eu: Remove unused funtion PHY_GetTxPowerLevel8188E()
  staging: rtl8188eu: Remove unused funtion phy_TxPwrIdxToDbm()
  staging: rtl8188eu: Remove unused funtion phy_TxPwrIdxToDbm()
  staging: rtl8188eu: Remove unused structure rf_shadow
  staging: rtl8188eu: Remove unused function rtl8188e_RF_ChangeTxPath()
  staging: rtl8188eu: Remove unused function odm_DIGbyRSSI_LPS()
  staging: rtl8188eu: Remove function odm_DynamicBBPowerSaving()
  staging: rtl8188eu: Remove unused function
    odm_DynamicBBPowerSavingInit()
  staging:rtl8188eu: Remove unused function iodm_1R_CCA()
  staging: rtl8188eu: Remove unused function
    odm_RefreshRateAdaptiveMaskMP()
  staging: rtl8188eu: Remove unused function
    odm_RefreshRateAdaptiveMaskAPADSL()
  staging: rtl8188eu: Remove unused funtion odm_DynamicTxPowerNIC()
  staging: rtl8188eu: Remove unused function
    odm_SwAntDivChkAntSwitchCallback()
  staging: rtl8188eu: Remove unused function ConvertTo_dB()
  staging: rtl8188eu: Remove function with empty defination
    ODM_CheckPowerStatus()
  staging: rtl8188eu: Remove unused function DM_DIG_LowerBound_88E()
  staging: rtl8188eu: Remove unused function
    ODM_DynamicPrimaryCCA_DupRTS()
  staging: rtl8188eu:Remove function with empty defination
    odm_DynamicPrimaryCCA()

 drivers/staging/rtl8188eu/hal/HalPhyRf_8188e.c     |   14 --
 drivers/staging/rtl8188eu/hal/odm.c                |  159 ---------------
 drivers/staging/rtl8188eu/hal/odm_RTL8188E.c       |   24 ---
 drivers/staging/rtl8188eu/hal/rtl8188e_phycfg.c    |  208 --------------------
 drivers/staging/rtl8188eu/hal/rtl8188e_rf6052.c    |   45 -----
 drivers/staging/rtl8188eu/hal/usb_halinit.c        |   40 ----
 drivers/staging/rtl8188eu/include/Hal8188EPhyCfg.h |    1 -
 drivers/staging/rtl8188eu/include/odm_RTL8188E.h   |    2 -
 drivers/staging/rtl8188eu/include/rtl8188e_hal.h   |    1 -
 9 files changed, 494 deletions(-)

--
1.7.10.4


^ permalink raw reply	[flat|nested] 34+ messages in thread

* [PATCH 01/28] staging: rtl8188eu: Remove function with empty definition _InitBeaconMaxError().
  2014-05-18 15:18 [PATCH 00/28] staging: rtl8188eu: Remove unnecessary functions navin patidar
@ 2014-05-18 15:18 ` navin patidar
  2014-05-18 15:18 ` [PATCH 02/28] staging: rtl8188eu: Remove function with empty definition _InitOperationMode() navin patidar
                   ` (26 subsequent siblings)
  27 siblings, 0 replies; 34+ messages in thread
From: navin patidar @ 2014-05-18 15:18 UTC (permalink / raw)
  To: gregkh, Larry.Finger; +Cc: devel, linux-kernel, navin patidar

Signed-off-by: navin patidar <navin.patidar@gmail.com>
---
 drivers/staging/rtl8188eu/hal/usb_halinit.c |    8 --------
 1 file changed, 8 deletions(-)

diff --git a/drivers/staging/rtl8188eu/hal/usb_halinit.c b/drivers/staging/rtl8188eu/hal/usb_halinit.c
index 617e4c6..9ce6173 100644
--- a/drivers/staging/rtl8188eu/hal/usb_halinit.c
+++ b/drivers/staging/rtl8188eu/hal/usb_halinit.c
@@ -420,10 +420,6 @@ static void _InitEDCA(struct adapter *Adapter)
 	rtw_write32(Adapter, REG_EDCA_VO_PARAM, 0x002FA226);
 }
 
-static void _InitBeaconMaxError(struct adapter *Adapter, bool		InfraMode)
-{
-}
-
 static void _InitRDGSetting(struct adapter *Adapter)
 {
 	rtw_write8(Adapter, REG_RD_CTRL, 0xFF);
@@ -830,12 +826,8 @@ static u32 rtl8188eu_hal_init(struct adapter *Adapter)
 	InitUsbAggregationSetting(Adapter);
 	_InitOperationMode(Adapter);/* todo */
 	_InitBeaconParameters(Adapter);
-	_InitBeaconMaxError(Adapter, true);
-
-	/*  */
 	/*  Init CR MACTXEN, MACRXEN after setting RxFF boundary REG_TRXFF_BNDY to patch */
 	/*  Hw bug which Hw initials RxFF boundary size to a value which is larger than the real Rx buffer size in 88E. */
-	/*  */
 	/*  Enable MACTXEN/MACRXEN block */
 	value16 = rtw_read16(Adapter, REG_CR);
 	value16 |= (MACTXEN | MACRXEN);
-- 
1.7.10.4


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [PATCH 02/28] staging: rtl8188eu: Remove function with empty definition _InitOperationMode()
  2014-05-18 15:18 [PATCH 00/28] staging: rtl8188eu: Remove unnecessary functions navin patidar
  2014-05-18 15:18 ` [PATCH 01/28] staging: rtl8188eu: Remove function with empty definition _InitBeaconMaxError() navin patidar
@ 2014-05-18 15:18 ` navin patidar
  2014-05-18 15:18 ` [PATCH 03/28] staging: rtl8188eu: Remove function with empty definition _ps_open_RF() navin patidar
                   ` (25 subsequent siblings)
  27 siblings, 0 replies; 34+ messages in thread
From: navin patidar @ 2014-05-18 15:18 UTC (permalink / raw)
  To: gregkh, Larry.Finger; +Cc: devel, linux-kernel, navin patidar

Signed-off-by: navin patidar <navin.patidar@gmail.com>
---
 drivers/staging/rtl8188eu/hal/usb_halinit.c |    5 -----
 1 file changed, 5 deletions(-)

diff --git a/drivers/staging/rtl8188eu/hal/usb_halinit.c b/drivers/staging/rtl8188eu/hal/usb_halinit.c
index 9ce6173..2e7b81ce 100644
--- a/drivers/staging/rtl8188eu/hal/usb_halinit.c
+++ b/drivers/staging/rtl8188eu/hal/usb_halinit.c
@@ -583,10 +583,6 @@ static void InitUsbAggregationSetting(struct adapter *Adapter)
 	haldata->UsbRxHighSpeedMode = false;
 }
 
-static void _InitOperationMode(struct adapter *Adapter)
-{
-}
-
 static void _InitBeaconParameters(struct adapter *Adapter)
 {
 	struct hal_data_8188e	*haldata = GET_HAL_DATA(Adapter);
@@ -824,7 +820,6 @@ static u32 rtl8188eu_hal_init(struct adapter *Adapter)
 	_InitEDCA(Adapter);
 	_InitRetryFunction(Adapter);
 	InitUsbAggregationSetting(Adapter);
-	_InitOperationMode(Adapter);/* todo */
 	_InitBeaconParameters(Adapter);
 	/*  Init CR MACTXEN, MACRXEN after setting RxFF boundary REG_TRXFF_BNDY to patch */
 	/*  Hw bug which Hw initials RxFF boundary size to a value which is larger than the real Rx buffer size in 88E. */
-- 
1.7.10.4


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [PATCH 03/28] staging: rtl8188eu: Remove function with empty definition _ps_open_RF()
  2014-05-18 15:18 [PATCH 00/28] staging: rtl8188eu: Remove unnecessary functions navin patidar
  2014-05-18 15:18 ` [PATCH 01/28] staging: rtl8188eu: Remove function with empty definition _InitBeaconMaxError() navin patidar
  2014-05-18 15:18 ` [PATCH 02/28] staging: rtl8188eu: Remove function with empty definition _InitOperationMode() navin patidar
@ 2014-05-18 15:18 ` navin patidar
  2014-05-18 15:18 ` [PATCH 04/28] staging: rtl8188eu: Remove unused function _ps_close_RF() navin patidar
                   ` (24 subsequent siblings)
  27 siblings, 0 replies; 34+ messages in thread
From: navin patidar @ 2014-05-18 15:18 UTC (permalink / raw)
  To: gregkh, Larry.Finger; +Cc: devel, linux-kernel, navin patidar

Signed-off-by: navin patidar <navin.patidar@gmail.com>
---
 drivers/staging/rtl8188eu/hal/usb_halinit.c      |    7 -------
 drivers/staging/rtl8188eu/include/rtl8188e_hal.h |    1 -
 2 files changed, 8 deletions(-)

diff --git a/drivers/staging/rtl8188eu/hal/usb_halinit.c b/drivers/staging/rtl8188eu/hal/usb_halinit.c
index 2e7b81ce..2fe1135 100644
--- a/drivers/staging/rtl8188eu/hal/usb_halinit.c
+++ b/drivers/staging/rtl8188eu/hal/usb_halinit.c
@@ -693,7 +693,6 @@ static u32 rtl8188eu_hal_init(struct adapter *Adapter)
 	HAL_INIT_PROFILE_TAG(HAL_INIT_STAGES_BEGIN);
 
 	if (Adapter->pwrctrlpriv.bkeepfwalive) {
-		_ps_open_RF(Adapter);
 
 		if (haldata->odmpriv.RFCalibrateInfo.bIQKInitialized) {
 			PHY_IQCalibrate_8188E(Adapter, true);
@@ -943,12 +942,6 @@ HAL_INIT_PROFILE_TAG(HAL_INIT_STAGES_END);
 	return status;
 }
 
-void _ps_open_RF(struct adapter *adapt)
-{
-	/* here call with bRegSSPwrLvl 1, bRegSSPwrLvl 2 needs to be verified */
-	/* phy_SsPwrSwitch92CU(adapt, rf_on, 1); */
-}
-
 static void _ps_close_RF(struct adapter *adapt)
 {
 	/* here call with bRegSSPwrLvl 1, bRegSSPwrLvl 2 needs to be verified */
diff --git a/drivers/staging/rtl8188eu/include/rtl8188e_hal.h b/drivers/staging/rtl8188eu/include/rtl8188e_hal.h
index 75e41c4..fe3b454 100644
--- a/drivers/staging/rtl8188eu/include/rtl8188e_hal.h
+++ b/drivers/staging/rtl8188eu/include/rtl8188e_hal.h
@@ -471,6 +471,5 @@ void rtl8188e_stop_thread(struct adapter *padapter);
 void rtw_IOL_cmd_tx_pkt_buf_dump(struct adapter  *Adapter, int len);
 s32 rtl8188e_iol_efuse_patch(struct adapter *padapter);
 void rtw_cancel_all_timer(struct adapter *padapter);
-void _ps_open_RF(struct adapter *adapt);
 
 #endif /* __RTL8188E_HAL_H__ */
-- 
1.7.10.4


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [PATCH 04/28] staging: rtl8188eu: Remove unused function _ps_close_RF()
  2014-05-18 15:18 [PATCH 00/28] staging: rtl8188eu: Remove unnecessary functions navin patidar
                   ` (2 preceding siblings ...)
  2014-05-18 15:18 ` [PATCH 03/28] staging: rtl8188eu: Remove function with empty definition _ps_open_RF() navin patidar
@ 2014-05-18 15:18 ` navin patidar
  2014-05-18 15:18 ` [PATCH 05/28] staging: rtl8188eu: Remove unused function rtl8188eu_ps_func() navin patidar
                   ` (23 subsequent siblings)
  27 siblings, 0 replies; 34+ messages in thread
From: navin patidar @ 2014-05-18 15:18 UTC (permalink / raw)
  To: gregkh, Larry.Finger; +Cc: devel, linux-kernel, navin patidar

Signed-off-by: navin patidar <navin.patidar@gmail.com>
---
 drivers/staging/rtl8188eu/hal/usb_halinit.c |    7 -------
 1 file changed, 7 deletions(-)

diff --git a/drivers/staging/rtl8188eu/hal/usb_halinit.c b/drivers/staging/rtl8188eu/hal/usb_halinit.c
index 2fe1135..1a83d31 100644
--- a/drivers/staging/rtl8188eu/hal/usb_halinit.c
+++ b/drivers/staging/rtl8188eu/hal/usb_halinit.c
@@ -942,12 +942,6 @@ HAL_INIT_PROFILE_TAG(HAL_INIT_STAGES_END);
 	return status;
 }
 
-static void _ps_close_RF(struct adapter *adapt)
-{
-	/* here call with bRegSSPwrLvl 1, bRegSSPwrLvl 2 needs to be verified */
-	/* phy_SsPwrSwitch92CU(adapt, rf_off, 1); */
-}
-
 static void CardDisableRTL8188EU(struct adapter *Adapter)
 {
 	u8 val8;
@@ -1025,7 +1019,6 @@ static u32 rtl8188eu_hal_deinit(struct adapter *Adapter)
 
 	DBG_88E("bkeepfwalive(%x)\n", Adapter->pwrctrlpriv.bkeepfwalive);
 	if (Adapter->pwrctrlpriv.bkeepfwalive) {
-		_ps_close_RF(Adapter);
 		if ((Adapter->pwrctrlpriv.bHWPwrPindetect) && (Adapter->pwrctrlpriv.bHWPowerdown))
 			rtl8192cu_hw_power_down(Adapter);
 	} else {
-- 
1.7.10.4


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [PATCH 05/28] staging: rtl8188eu: Remove unused function rtl8188eu_ps_func()
  2014-05-18 15:18 [PATCH 00/28] staging: rtl8188eu: Remove unnecessary functions navin patidar
                   ` (3 preceding siblings ...)
  2014-05-18 15:18 ` [PATCH 04/28] staging: rtl8188eu: Remove unused function _ps_close_RF() navin patidar
@ 2014-05-18 15:18 ` navin patidar
  2014-05-19 10:52   ` Dan Carpenter
  2014-05-18 15:18 ` [PATCH 06/28] staging:rtl8188eu:Remove funtion Hal_CustomizeByCustomerID_8188EU() navin patidar
                   ` (22 subsequent siblings)
  27 siblings, 1 reply; 34+ messages in thread
From: navin patidar @ 2014-05-18 15:18 UTC (permalink / raw)
  To: gregkh, Larry.Finger; +Cc: devel, linux-kernel, navin patidar

Signed-off-by: navin patidar <navin.patidar@gmail.com>
---
 drivers/staging/rtl8188eu/hal/usb_halinit.c |    8 --------
 1 file changed, 8 deletions(-)

diff --git a/drivers/staging/rtl8188eu/hal/usb_halinit.c b/drivers/staging/rtl8188eu/hal/usb_halinit.c
index 1a83d31..4c3f8c8 100644
--- a/drivers/staging/rtl8188eu/hal/usb_halinit.c
+++ b/drivers/staging/rtl8188eu/hal/usb_halinit.c
@@ -2231,12 +2231,6 @@ static void rtl8188eu_init_default_value(struct adapter *adapt)
 		haldata->odmpriv.RFCalibrateInfo.ThermalValue_HP[i] = 0;
 }
 
-static u8 rtl8188eu_ps_func(struct adapter *Adapter, enum hal_intf_ps_func efunc_id, u8 *val)
-{
-	u8 bResult = true;
-	return bResult;
-}
-
 void rtl8188eu_set_hal_ops(struct adapter *adapt)
 {
 	struct hal_ops	*halfunc = &adapt->HalFunc;
@@ -2277,7 +2271,5 @@ void rtl8188eu_set_hal_ops(struct adapter *adapt)
 	halfunc->hal_xmit = &rtl8188eu_hal_xmit;
 	halfunc->mgnt_xmit = &rtl8188eu_mgnt_xmit;
 
-	halfunc->interface_ps_func = &rtl8188eu_ps_func;
-
 	rtl8188e_set_hal_ops(halfunc);
 }
-- 
1.7.10.4


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [PATCH 06/28] staging:rtl8188eu:Remove funtion Hal_CustomizeByCustomerID_8188EU()
  2014-05-18 15:18 [PATCH 00/28] staging: rtl8188eu: Remove unnecessary functions navin patidar
                   ` (4 preceding siblings ...)
  2014-05-18 15:18 ` [PATCH 05/28] staging: rtl8188eu: Remove unused function rtl8188eu_ps_func() navin patidar
@ 2014-05-18 15:18 ` navin patidar
  2014-05-18 15:19 ` [PATCH 07/28] staging: rtl8188eu: Remove unused function rtl8188e_PHY_ConfigRFWithParaFile() navin patidar
                   ` (21 subsequent siblings)
  27 siblings, 0 replies; 34+ messages in thread
From: navin patidar @ 2014-05-18 15:18 UTC (permalink / raw)
  To: gregkh, Larry.Finger; +Cc: devel, linux-kernel, navin patidar

Function has empty defination.

Signed-off-by: navin patidar <navin.patidar@gmail.com>
---
 drivers/staging/rtl8188eu/hal/usb_halinit.c |    5 -----
 1 file changed, 5 deletions(-)

diff --git a/drivers/staging/rtl8188eu/hal/usb_halinit.c b/drivers/staging/rtl8188eu/hal/usb_halinit.c
index 4c3f8c8..141f85a 100644
--- a/drivers/staging/rtl8188eu/hal/usb_halinit.c
+++ b/drivers/staging/rtl8188eu/hal/usb_halinit.c
@@ -1133,10 +1133,6 @@ static void Hal_EfuseParseMACAddr_8188EU(struct adapter *adapt, u8 *hwinfo, bool
 		 eeprom->mac_addr[4], eeprom->mac_addr[5]));
 }
 
-static void Hal_CustomizeByCustomerID_8188EU(struct adapter *adapt)
-{
-}
-
 static void
 readAdapterInfo_8188EU(
 		struct adapter *adapt
@@ -1163,7 +1159,6 @@ readAdapterInfo_8188EU(
 	/*  The following part initialize some vars by PG info. */
 	/*  */
 	Hal_InitChannelPlan(adapt);
-	Hal_CustomizeByCustomerID_8188EU(adapt);
 }
 
 static void _ReadPROMContent(
-- 
1.7.10.4


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [PATCH 07/28] staging: rtl8188eu: Remove unused function rtl8188e_PHY_ConfigRFWithParaFile()
  2014-05-18 15:18 [PATCH 00/28] staging: rtl8188eu: Remove unnecessary functions navin patidar
                   ` (5 preceding siblings ...)
  2014-05-18 15:18 ` [PATCH 06/28] staging:rtl8188eu:Remove funtion Hal_CustomizeByCustomerID_8188EU() navin patidar
@ 2014-05-18 15:19 ` navin patidar
  2014-05-18 15:19 ` [PATCH 08/28] staging: rtl8188eu: Remove unused function rtl8192c_PHY_GetHWRegOriginalValue() navin patidar
                   ` (20 subsequent siblings)
  27 siblings, 0 replies; 34+ messages in thread
From: navin patidar @ 2014-05-18 15:19 UTC (permalink / raw)
  To: gregkh, Larry.Finger; +Cc: devel, linux-kernel, navin patidar

Signed-off-by: navin patidar <navin.patidar@gmail.com>
---
 drivers/staging/rtl8188eu/hal/rtl8188e_phycfg.c |   21 ---------------------
 1 file changed, 21 deletions(-)

diff --git a/drivers/staging/rtl8188eu/hal/rtl8188e_phycfg.c b/drivers/staging/rtl8188eu/hal/rtl8188e_phycfg.c
index 8079fc6..b50df3e 100644
--- a/drivers/staging/rtl8188eu/hal/rtl8188e_phycfg.c
+++ b/drivers/staging/rtl8188eu/hal/rtl8188e_phycfg.c
@@ -631,27 +631,6 @@ int PHY_RFConfig8188E(struct adapter *Adapter)
 	return rtStatus;
 }
 
-
-/*-----------------------------------------------------------------------------
- * Function:    PHY_ConfigRFWithParaFile()
- *
- * Overview:    This function read RF parameters from general file format, and do RF 3-wire
- *
- * Input:	struct adapter *Adapter
- *			ps8					pFileName
- *			enum rf_radio_path eRFPath
- *
- * Output:      NONE
- *
- * Return:      RT_STATUS_SUCCESS: configuration file exist
- *
- * Note:		Delay may be required for RF configuration
- *---------------------------------------------------------------------------*/
-int rtl8188e_PHY_ConfigRFWithParaFile(struct adapter *Adapter, u8 *pFileName, enum rf_radio_path eRFPath)
-{
-	return _SUCCESS;
-}
-
 void
 rtl8192c_PHY_GetHWRegOriginalValue(
 		struct adapter *Adapter
-- 
1.7.10.4


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [PATCH 08/28] staging: rtl8188eu: Remove unused function rtl8192c_PHY_GetHWRegOriginalValue()
  2014-05-18 15:18 [PATCH 00/28] staging: rtl8188eu: Remove unnecessary functions navin patidar
                   ` (6 preceding siblings ...)
  2014-05-18 15:19 ` [PATCH 07/28] staging: rtl8188eu: Remove unused function rtl8188e_PHY_ConfigRFWithParaFile() navin patidar
@ 2014-05-18 15:19 ` navin patidar
  2014-05-18 15:19 ` [PATCH 09/28] staging: rtl8188eu: Remove unused function PHY_UpdateTxPowerDbm8188E() navin patidar
                   ` (19 subsequent siblings)
  27 siblings, 0 replies; 34+ messages in thread
From: navin patidar @ 2014-05-18 15:19 UTC (permalink / raw)
  To: gregkh, Larry.Finger; +Cc: devel, linux-kernel, navin patidar

Signed-off-by: navin patidar <navin.patidar@gmail.com>
---
 drivers/staging/rtl8188eu/hal/rtl8188e_phycfg.c |   18 ------------------
 1 file changed, 18 deletions(-)

diff --git a/drivers/staging/rtl8188eu/hal/rtl8188e_phycfg.c b/drivers/staging/rtl8188eu/hal/rtl8188e_phycfg.c
index b50df3e..79f86db 100644
--- a/drivers/staging/rtl8188eu/hal/rtl8188e_phycfg.c
+++ b/drivers/staging/rtl8188eu/hal/rtl8188e_phycfg.c
@@ -631,24 +631,6 @@ int PHY_RFConfig8188E(struct adapter *Adapter)
 	return rtStatus;
 }
 
-void
-rtl8192c_PHY_GetHWRegOriginalValue(
-		struct adapter *Adapter
-	)
-{
-	struct hal_data_8188e	*pHalData = GET_HAL_DATA(Adapter);
-
-	/*  read rx initial gain */
-	pHalData->DefaultInitialGain[0] = (u8)PHY_QueryBBReg(Adapter, rOFDM0_XAAGCCore1, bMaskByte0);
-	pHalData->DefaultInitialGain[1] = (u8)PHY_QueryBBReg(Adapter, rOFDM0_XBAGCCore1, bMaskByte0);
-	pHalData->DefaultInitialGain[2] = (u8)PHY_QueryBBReg(Adapter, rOFDM0_XCAGCCore1, bMaskByte0);
-	pHalData->DefaultInitialGain[3] = (u8)PHY_QueryBBReg(Adapter, rOFDM0_XDAGCCore1, bMaskByte0);
-
-	/*  read framesync */
-	pHalData->framesync = (u8)PHY_QueryBBReg(Adapter, rOFDM0_RxDetector3, bMaskByte0);
-	pHalData->framesyncC34 = PHY_QueryBBReg(Adapter, rOFDM0_RxDetector2, bMaskDWord);
-}
-
 /*  */
 /*	Description: */
 /*		Map dBm into Tx power index according to */
-- 
1.7.10.4


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [PATCH 09/28] staging: rtl8188eu: Remove unused function PHY_UpdateTxPowerDbm8188E()
  2014-05-18 15:18 [PATCH 00/28] staging: rtl8188eu: Remove unnecessary functions navin patidar
                   ` (7 preceding siblings ...)
  2014-05-18 15:19 ` [PATCH 08/28] staging: rtl8188eu: Remove unused function rtl8192c_PHY_GetHWRegOriginalValue() navin patidar
@ 2014-05-18 15:19 ` navin patidar
  2014-05-18 15:19 ` [PATCH 10/28] staging:rtl8188eu: Remove unused function phy_DbmToTxPwrIdx() navin patidar
                   ` (18 subsequent siblings)
  27 siblings, 0 replies; 34+ messages in thread
From: navin patidar @ 2014-05-18 15:19 UTC (permalink / raw)
  To: gregkh, Larry.Finger; +Cc: devel, linux-kernel, navin patidar

Signed-off-by: navin patidar <navin.patidar@gmail.com>
---
 drivers/staging/rtl8188eu/hal/rtl8188e_phycfg.c    |   37 --------------------
 drivers/staging/rtl8188eu/include/Hal8188EPhyCfg.h |    1 -
 2 files changed, 38 deletions(-)

diff --git a/drivers/staging/rtl8188eu/hal/rtl8188e_phycfg.c b/drivers/staging/rtl8188eu/hal/rtl8188e_phycfg.c
index 79f86db..7cc7f44 100644
--- a/drivers/staging/rtl8188eu/hal/rtl8188e_phycfg.c
+++ b/drivers/staging/rtl8188eu/hal/rtl8188e_phycfg.c
@@ -878,43 +878,6 @@ PHY_SetTxPowerLevel8188E(
 	rtl8188e_PHY_RF6052SetOFDMTxPower(Adapter, &ofdmPowerLevel[0], &BW20PowerLevel[0], &BW40PowerLevel[0], channel);
 }
 
-/*  */
-/*	Description: */
-/*		Update transmit power level of all channel supported. */
-/*  */
-/*	TODO: */
-/*		A mode. */
-/*	By Bruce, 2008-02-04. */
-/*  */
-bool
-PHY_UpdateTxPowerDbm8188E(
-		struct adapter *Adapter,
-		int		powerInDbm
-	)
-{
-	struct hal_data_8188e	*pHalData = GET_HAL_DATA(Adapter);
-	u8 idx;
-	u8 rf_path;
-
-	/*  TODO: A mode Tx power. */
-	u8 CckTxPwrIdx = phy_DbmToTxPwrIdx(Adapter, WIRELESS_MODE_B, powerInDbm);
-	u8 OfdmTxPwrIdx = phy_DbmToTxPwrIdx(Adapter, WIRELESS_MODE_N_24G, powerInDbm);
-
-	if (OfdmTxPwrIdx - pHalData->LegacyHTTxPowerDiff > 0)
-		OfdmTxPwrIdx -= pHalData->LegacyHTTxPowerDiff;
-	else
-		OfdmTxPwrIdx = 0;
-
-	for (idx = 0; idx < 14; idx++) {
-		for (rf_path = 0; rf_path < 2; rf_path++) {
-			pHalData->TxPwrLevelCck[rf_path][idx] = CckTxPwrIdx;
-			pHalData->TxPwrLevelHT40_1S[rf_path][idx] =
-			pHalData->TxPwrLevelHT40_2S[rf_path][idx] = OfdmTxPwrIdx;
-		}
-	}
-	return true;
-}
-
 void
 PHY_ScanOperationBackup8188E(
 		struct adapter *Adapter,
diff --git a/drivers/staging/rtl8188eu/include/Hal8188EPhyCfg.h b/drivers/staging/rtl8188eu/include/Hal8188EPhyCfg.h
index 25cae81..260ea6b 100644
--- a/drivers/staging/rtl8188eu/include/Hal8188EPhyCfg.h
+++ b/drivers/staging/rtl8188eu/include/Hal8188EPhyCfg.h
@@ -224,7 +224,6 @@ void rtl8192c_PHY_GetHWRegOriginalValue(struct adapter *adapter);
 /*  BB TX Power R/W */
 void PHY_GetTxPowerLevel8188E(struct adapter *adapter, u32 *powerlevel);
 void PHY_SetTxPowerLevel8188E(struct adapter *adapter, u8 channel);
-bool PHY_UpdateTxPowerDbm8188E(struct adapter *adapter, int power);
 
 void PHY_ScanOperationBackup8188E(struct adapter *Adapter, u8 Operation);
 
-- 
1.7.10.4


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [PATCH 10/28] staging:rtl8188eu: Remove unused function phy_DbmToTxPwrIdx()
  2014-05-18 15:18 [PATCH 00/28] staging: rtl8188eu: Remove unnecessary functions navin patidar
                   ` (8 preceding siblings ...)
  2014-05-18 15:19 ` [PATCH 09/28] staging: rtl8188eu: Remove unused function PHY_UpdateTxPowerDbm8188E() navin patidar
@ 2014-05-18 15:19 ` navin patidar
  2014-05-18 15:19 ` [PATCH 11/28] staging: rtl8188eu: Remove unused funtion PHY_GetTxPowerLevel8188E() navin patidar
                   ` (17 subsequent siblings)
  27 siblings, 0 replies; 34+ messages in thread
From: navin patidar @ 2014-05-18 15:19 UTC (permalink / raw)
  To: gregkh, Larry.Finger; +Cc: devel, linux-kernel, navin patidar

Signed-off-by: navin patidar <navin.patidar@gmail.com>
---
 drivers/staging/rtl8188eu/hal/rtl8188e_phycfg.c |   44 -----------------------
 1 file changed, 44 deletions(-)

diff --git a/drivers/staging/rtl8188eu/hal/rtl8188e_phycfg.c b/drivers/staging/rtl8188eu/hal/rtl8188e_phycfg.c
index 7cc7f44..16f46c3 100644
--- a/drivers/staging/rtl8188eu/hal/rtl8188e_phycfg.c
+++ b/drivers/staging/rtl8188eu/hal/rtl8188e_phycfg.c
@@ -633,50 +633,6 @@ int PHY_RFConfig8188E(struct adapter *Adapter)
 
 /*  */
 /*	Description: */
-/*		Map dBm into Tx power index according to */
-/*		current HW model, for example, RF and PA, and */
-/*		current wireless mode. */
-/*	By Bruce, 2008-01-29. */
-/*  */
-static	u8 phy_DbmToTxPwrIdx(struct adapter *Adapter, enum wireless_mode WirelessMode, int PowerInDbm)
-{
-	u8 TxPwrIdx = 0;
-	int				Offset = 0;
-
-
-	/*  */
-	/*  Tested by MP, we found that CCK Index 0 equals to 8dbm, OFDM legacy equals to */
-	/*  3dbm, and OFDM HT equals to 0dbm respectively. */
-	/*  Note: */
-	/*	The mapping may be different by different NICs. Do not use this formula for what needs accurate result. */
-	/*  By Bruce, 2008-01-29. */
-	/*  */
-	switch (WirelessMode) {
-	case WIRELESS_MODE_B:
-		Offset = -7;
-		break;
-
-	case WIRELESS_MODE_G:
-	case WIRELESS_MODE_N_24G:
-	default:
-		Offset = -8;
-		break;
-	}
-
-	if ((PowerInDbm - Offset) > 0)
-		TxPwrIdx = (u8)((PowerInDbm - Offset) * 2);
-	else
-		TxPwrIdx = 0;
-
-	/*  Tx Power Index is too large. */
-	if (TxPwrIdx > MAX_TXPWR_IDX_NMODE_92S)
-		TxPwrIdx = MAX_TXPWR_IDX_NMODE_92S;
-
-	return TxPwrIdx;
-}
-
-/*  */
-/*	Description: */
 /*		Map Tx power index into dBm according to */
 /*		current HW model, for example, RF and PA, and */
 /*		current wireless mode. */
-- 
1.7.10.4


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [PATCH 11/28] staging: rtl8188eu: Remove unused funtion PHY_GetTxPowerLevel8188E()
  2014-05-18 15:18 [PATCH 00/28] staging: rtl8188eu: Remove unnecessary functions navin patidar
                   ` (9 preceding siblings ...)
  2014-05-18 15:19 ` [PATCH 10/28] staging:rtl8188eu: Remove unused function phy_DbmToTxPwrIdx() navin patidar
@ 2014-05-18 15:19 ` navin patidar
  2014-05-18 15:19 ` [PATCH 12/28] staging: rtl8188eu: Remove unused funtion phy_TxPwrIdxToDbm() navin patidar
                   ` (16 subsequent siblings)
  27 siblings, 0 replies; 34+ messages in thread
From: navin patidar @ 2014-05-18 15:19 UTC (permalink / raw)
  To: gregkh, Larry.Finger; +Cc: devel, linux-kernel, navin patidar

Signed-off-by: navin patidar <navin.patidar@gmail.com>
---
 drivers/staging/rtl8188eu/hal/rtl8188e_phycfg.c |   46 -----------------------
 1 file changed, 46 deletions(-)

diff --git a/drivers/staging/rtl8188eu/hal/rtl8188e_phycfg.c b/drivers/staging/rtl8188eu/hal/rtl8188e_phycfg.c
index 16f46c3..099345f 100644
--- a/drivers/staging/rtl8188eu/hal/rtl8188e_phycfg.c
+++ b/drivers/staging/rtl8188eu/hal/rtl8188e_phycfg.c
@@ -665,52 +665,6 @@ static int phy_TxPwrIdxToDbm(struct adapter *Adapter, enum wireless_mode Wireles
 	return PwrOutDbm;
 }
 
-
-/*-----------------------------------------------------------------------------
- * Function:    GetTxPowerLevel8190()
- *
- * Overview:    This function is export to "common" moudule
- *
- * Input:       struct adapter *Adapter
- *			psByte			Power Level
- *
- * Output:      NONE
- *
- * Return:      NONE
- *
- *---------------------------------------------------------------------------*/
-void PHY_GetTxPowerLevel8188E(struct adapter *Adapter, u32 *powerlevel)
-{
-	struct hal_data_8188e	*pHalData = GET_HAL_DATA(Adapter);
-	u8 TxPwrLevel = 0;
-	int			TxPwrDbm;
-
-	/*  */
-	/*  Because the Tx power indexes are different, we report the maximum of them to */
-	/*  meet the CCX TPC request. By Bruce, 2008-01-31. */
-	/*  */
-
-	/*  CCK */
-	TxPwrLevel = pHalData->CurrentCckTxPwrIdx;
-	TxPwrDbm = phy_TxPwrIdxToDbm(Adapter, WIRELESS_MODE_B, TxPwrLevel);
-
-	/*  Legacy OFDM */
-	TxPwrLevel = pHalData->CurrentOfdm24GTxPwrIdx + pHalData->LegacyHTTxPowerDiff;
-
-	/*  Compare with Legacy OFDM Tx power. */
-	if (phy_TxPwrIdxToDbm(Adapter, WIRELESS_MODE_G, TxPwrLevel) > TxPwrDbm)
-		TxPwrDbm = phy_TxPwrIdxToDbm(Adapter, WIRELESS_MODE_G, TxPwrLevel);
-
-	/*  HT OFDM */
-	TxPwrLevel = pHalData->CurrentOfdm24GTxPwrIdx;
-
-	/*  Compare with HT OFDM Tx power. */
-	if (phy_TxPwrIdxToDbm(Adapter, WIRELESS_MODE_N_24G, TxPwrLevel) > TxPwrDbm)
-		TxPwrDbm = phy_TxPwrIdxToDbm(Adapter, WIRELESS_MODE_N_24G, TxPwrLevel);
-
-	*powerlevel = TxPwrDbm;
-}
-
 static void getTxPowerIndex88E(struct adapter *Adapter, u8 channel, u8 *cckPowerLevel,
 			       u8 *ofdmPowerLevel, u8 *BW20PowerLevel,
 			       u8 *BW40PowerLevel)
-- 
1.7.10.4


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [PATCH 12/28] staging: rtl8188eu: Remove unused funtion phy_TxPwrIdxToDbm()
  2014-05-18 15:18 [PATCH 00/28] staging: rtl8188eu: Remove unnecessary functions navin patidar
                   ` (10 preceding siblings ...)
  2014-05-18 15:19 ` [PATCH 11/28] staging: rtl8188eu: Remove unused funtion PHY_GetTxPowerLevel8188E() navin patidar
@ 2014-05-18 15:19 ` navin patidar
  2014-05-18 15:19 ` [PATCH 13/28] " navin patidar
                   ` (15 subsequent siblings)
  27 siblings, 0 replies; 34+ messages in thread
From: navin patidar @ 2014-05-18 15:19 UTC (permalink / raw)
  To: gregkh, Larry.Finger; +Cc: devel, linux-kernel, navin patidar

Signed-off-by: navin patidar <navin.patidar@gmail.com>
---
 drivers/staging/rtl8188eu/hal/rtl8188e_phycfg.c |   34 -----------------------
 1 file changed, 34 deletions(-)

diff --git a/drivers/staging/rtl8188eu/hal/rtl8188e_phycfg.c b/drivers/staging/rtl8188eu/hal/rtl8188e_phycfg.c
index 099345f..a7872c8 100644
--- a/drivers/staging/rtl8188eu/hal/rtl8188e_phycfg.c
+++ b/drivers/staging/rtl8188eu/hal/rtl8188e_phycfg.c
@@ -631,40 +631,6 @@ int PHY_RFConfig8188E(struct adapter *Adapter)
 	return rtStatus;
 }
 
-/*  */
-/*	Description: */
-/*		Map Tx power index into dBm according to */
-/*		current HW model, for example, RF and PA, and */
-/*		current wireless mode. */
-/*	By Bruce, 2008-01-29. */
-/*  */
-static int phy_TxPwrIdxToDbm(struct adapter *Adapter, enum wireless_mode WirelessMode, u8 TxPwrIdx)
-{
-	int				Offset = 0;
-	int				PwrOutDbm = 0;
-
-	/*  */
-	/*  Tested by MP, we found that CCK Index 0 equals to -7dbm, OFDM legacy equals to -8dbm. */
-	/*  Note: */
-	/*	The mapping may be different by different NICs. Do not use this formula for what needs accurate result. */
-	/*  By Bruce, 2008-01-29. */
-	/*  */
-	switch (WirelessMode) {
-	case WIRELESS_MODE_B:
-		Offset = -7;
-		break;
-	case WIRELESS_MODE_G:
-	case WIRELESS_MODE_N_24G:
-	default:
-		Offset = -8;
-		break;
-	}
-
-	PwrOutDbm = TxPwrIdx / 2 + Offset; /*  Discard the decimal part. */
-
-	return PwrOutDbm;
-}
-
 static void getTxPowerIndex88E(struct adapter *Adapter, u8 channel, u8 *cckPowerLevel,
 			       u8 *ofdmPowerLevel, u8 *BW20PowerLevel,
 			       u8 *BW40PowerLevel)
-- 
1.7.10.4


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [PATCH 13/28] staging: rtl8188eu: Remove unused funtion phy_TxPwrIdxToDbm()
  2014-05-18 15:18 [PATCH 00/28] staging: rtl8188eu: Remove unnecessary functions navin patidar
                   ` (11 preceding siblings ...)
  2014-05-18 15:19 ` [PATCH 12/28] staging: rtl8188eu: Remove unused funtion phy_TxPwrIdxToDbm() navin patidar
@ 2014-05-18 15:19 ` navin patidar
  2014-05-18 15:47   ` navin patidar
  2014-05-18 15:19 ` [PATCH 14/28] staging: rtl8188eu: Remove unused structure rf_shadow navin patidar
                   ` (14 subsequent siblings)
  27 siblings, 1 reply; 34+ messages in thread
From: navin patidar @ 2014-05-18 15:19 UTC (permalink / raw)
  To: gregkh, Larry.Finger; +Cc: devel, linux-kernel, navin patidar

Signed-off-by: navin patidar <navin.patidar@gmail.com>
---
 drivers/staging/rtl8188eu/hal/rtl8188e_phycfg.c |    8 --------
 1 file changed, 8 deletions(-)

diff --git a/drivers/staging/rtl8188eu/hal/rtl8188e_phycfg.c b/drivers/staging/rtl8188eu/hal/rtl8188e_phycfg.c
index a7872c8..941ff74 100644
--- a/drivers/staging/rtl8188eu/hal/rtl8188e_phycfg.c
+++ b/drivers/staging/rtl8188eu/hal/rtl8188e_phycfg.c
@@ -754,14 +754,6 @@ PHY_SetTxPowerLevel8188E(
 	rtl8188e_PHY_RF6052SetOFDMTxPower(Adapter, &ofdmPowerLevel[0], &BW20PowerLevel[0], &BW40PowerLevel[0], channel);
 }
 
-void
-PHY_ScanOperationBackup8188E(
-		struct adapter *Adapter,
-		u8 Operation
-	)
-{
-}
-
 /*-----------------------------------------------------------------------------
  * Function:    PHY_SetBWModeCallback8192C()
  *
-- 
1.7.10.4


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [PATCH 14/28] staging: rtl8188eu: Remove unused structure rf_shadow
  2014-05-18 15:18 [PATCH 00/28] staging: rtl8188eu: Remove unnecessary functions navin patidar
                   ` (12 preceding siblings ...)
  2014-05-18 15:19 ` [PATCH 13/28] " navin patidar
@ 2014-05-18 15:19 ` navin patidar
  2014-05-18 15:19 ` [PATCH 15/28] staging: rtl8188eu: Remove unused function rtl8188e_RF_ChangeTxPath() navin patidar
                   ` (13 subsequent siblings)
  27 siblings, 0 replies; 34+ messages in thread
From: navin patidar @ 2014-05-18 15:19 UTC (permalink / raw)
  To: gregkh, Larry.Finger; +Cc: devel, linux-kernel, navin patidar

Signed-off-by: navin patidar <navin.patidar@gmail.com>
---
 drivers/staging/rtl8188eu/hal/rtl8188e_rf6052.c |   22 ----------------------
 1 file changed, 22 deletions(-)

diff --git a/drivers/staging/rtl8188eu/hal/rtl8188e_rf6052.c b/drivers/staging/rtl8188eu/hal/rtl8188e_rf6052.c
index b1cb5c4..2f1348f 100644
--- a/drivers/staging/rtl8188eu/hal/rtl8188e_rf6052.c
+++ b/drivers/staging/rtl8188eu/hal/rtl8188e_rf6052.c
@@ -46,28 +46,6 @@
 
 #include <rtl8188e_hal.h>
 
-/*---------------------------Define Local Constant---------------------------*/
-/*  Define local structure for debug!!!!! */
-struct rf_shadow {
-	/*  Shadow register value */
-	u32 Value;
-	/*  Compare or not flag */
-	u8 Compare;
-	/*  Record If it had ever modified unpredicted */
-	u8 ErrorOrNot;
-	/*  Recorver Flag */
-	u8 Recorver;
-	/*  */
-	u8 Driver_Write;
-};
-
-/*---------------------------Define Local Constant---------------------------*/
-
-
-/*------------------------Define global variable-----------------------------*/
-
-/*------------------------Define local variable------------------------------*/
-
 /*-----------------------------------------------------------------------------
  * Function:	RF_ChangeTxPath
  *
-- 
1.7.10.4


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [PATCH 15/28] staging: rtl8188eu: Remove unused function rtl8188e_RF_ChangeTxPath()
  2014-05-18 15:18 [PATCH 00/28] staging: rtl8188eu: Remove unnecessary functions navin patidar
                   ` (13 preceding siblings ...)
  2014-05-18 15:19 ` [PATCH 14/28] staging: rtl8188eu: Remove unused structure rf_shadow navin patidar
@ 2014-05-18 15:19 ` navin patidar
  2014-05-18 15:19 ` [PATCH 16/28] staging: rtl8188eu: Remove unused function odm_DIGbyRSSI_LPS() navin patidar
                   ` (12 subsequent siblings)
  27 siblings, 0 replies; 34+ messages in thread
From: navin patidar @ 2014-05-18 15:19 UTC (permalink / raw)
  To: gregkh, Larry.Finger; +Cc: devel, linux-kernel, navin patidar

Signed-off-by: navin patidar <navin.patidar@gmail.com>
---
 drivers/staging/rtl8188eu/hal/rtl8188e_rf6052.c |   23 -----------------------
 1 file changed, 23 deletions(-)

diff --git a/drivers/staging/rtl8188eu/hal/rtl8188e_rf6052.c b/drivers/staging/rtl8188eu/hal/rtl8188e_rf6052.c
index 2f1348f..52103da 100644
--- a/drivers/staging/rtl8188eu/hal/rtl8188e_rf6052.c
+++ b/drivers/staging/rtl8188eu/hal/rtl8188e_rf6052.c
@@ -47,29 +47,6 @@
 #include <rtl8188e_hal.h>
 
 /*-----------------------------------------------------------------------------
- * Function:	RF_ChangeTxPath
- *
- * Overview:	For RL6052, we must change some RF settign for 1T or 2T.
- *
- * Input:		u16 DataRate		0x80-8f, 0x90-9f
- *
- * Output:      NONE
- *
- * Return:      NONE
- *
- * Revised History:
- * When			Who		Remark
- * 09/25/2008	MHC		Create Version 0.
- *						Firmwaer support the utility later.
- *
- *---------------------------------------------------------------------------*/
-void rtl8188e_RF_ChangeTxPath(struct adapter *Adapter, u16 DataRate)
-{
-/*  We do not support gain table change inACUT now !!!! Delete later !!! */
-}	/* RF_ChangeTxPath */
-
-
-/*-----------------------------------------------------------------------------
  * Function:    PHY_RF6052SetBandwidth()
  *
  * Overview:    This function is called by SetBWModeCallback8190Pci() only
-- 
1.7.10.4


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [PATCH 16/28] staging: rtl8188eu: Remove unused function odm_DIGbyRSSI_LPS()
  2014-05-18 15:18 [PATCH 00/28] staging: rtl8188eu: Remove unnecessary functions navin patidar
                   ` (14 preceding siblings ...)
  2014-05-18 15:19 ` [PATCH 15/28] staging: rtl8188eu: Remove unused function rtl8188e_RF_ChangeTxPath() navin patidar
@ 2014-05-18 15:19 ` navin patidar
  2014-05-18 15:19 ` [PATCH 17/28] staging: rtl8188eu: Remove function odm_DynamicBBPowerSaving() navin patidar
                   ` (11 subsequent siblings)
  27 siblings, 0 replies; 34+ messages in thread
From: navin patidar @ 2014-05-18 15:19 UTC (permalink / raw)
  To: gregkh, Larry.Finger; +Cc: devel, linux-kernel, navin patidar

Signed-off-by: navin patidar <navin.patidar@gmail.com>
---
 drivers/staging/rtl8188eu/hal/odm.c |   45 -----------------------------------
 1 file changed, 45 deletions(-)

diff --git a/drivers/staging/rtl8188eu/hal/odm.c b/drivers/staging/rtl8188eu/hal/odm.c
index 89a26e3..d8482ab 100644
--- a/drivers/staging/rtl8188eu/hal/odm.c
+++ b/drivers/staging/rtl8188eu/hal/odm.c
@@ -529,51 +529,6 @@ void ODM_Write_DIG(struct odm_dm_struct *pDM_Odm, u8 CurrentIGI)
 /*  Add by Neil Chen to enable edcca to MP Platform */
 }
 
-/* Need LPS mode for CE platform --2012--08--24--- */
-/* 8723AS/8189ES */
-void odm_DIGbyRSSI_LPS(struct odm_dm_struct *pDM_Odm)
-{
-	struct adapter *pAdapter = pDM_Odm->Adapter;
-	struct false_alarm_stats *pFalseAlmCnt = &pDM_Odm->FalseAlmCnt;
-
-	u8 RSSI_Lower = DM_DIG_MIN_NIC;   /* 0x1E or 0x1C */
-	u8 bFwCurrentInPSMode = false;
-	u8 CurrentIGI = pDM_Odm->RSSI_Min;
-
-	CurrentIGI = CurrentIGI + RSSI_OFFSET_DIG;
-	bFwCurrentInPSMode = pAdapter->pwrctrlpriv.bFwCurrentInPSMode;
-
-	/*  Using FW PS mode to make IGI */
-	if (bFwCurrentInPSMode) {
-		ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("---Neil---odm_DIG is in LPS mode\n"));
-		/* Adjust by  FA in LPS MODE */
-		if (pFalseAlmCnt->Cnt_all > DM_DIG_FA_TH2_LPS)
-			CurrentIGI = CurrentIGI+2;
-		else if (pFalseAlmCnt->Cnt_all > DM_DIG_FA_TH1_LPS)
-			CurrentIGI = CurrentIGI+1;
-		else if (pFalseAlmCnt->Cnt_all < DM_DIG_FA_TH0_LPS)
-			CurrentIGI = CurrentIGI-1;
-	} else {
-		CurrentIGI = RSSI_Lower;
-	}
-
-	/* Lower bound checking */
-
-	/* RSSI Lower bound check */
-	if ((pDM_Odm->RSSI_Min-10) > DM_DIG_MIN_NIC)
-		RSSI_Lower = (pDM_Odm->RSSI_Min-10);
-	else
-		RSSI_Lower = DM_DIG_MIN_NIC;
-
-	/* Upper and Lower Bound checking */
-	 if (CurrentIGI > DM_DIG_MAX_NIC)
-		CurrentIGI = DM_DIG_MAX_NIC;
-	 else if (CurrentIGI < RSSI_Lower)
-		CurrentIGI = RSSI_Lower;
-
-	ODM_Write_DIG(pDM_Odm, CurrentIGI);/* ODM_Write_DIG(pDM_Odm, pDM_DigTable->CurIGValue); */
-}
-
 void odm_DIGInit(struct odm_dm_struct *pDM_Odm)
 {
 	struct adapter *adapter = pDM_Odm->Adapter;
-- 
1.7.10.4


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [PATCH 17/28] staging: rtl8188eu: Remove function odm_DynamicBBPowerSaving()
  2014-05-18 15:18 [PATCH 00/28] staging: rtl8188eu: Remove unnecessary functions navin patidar
                   ` (15 preceding siblings ...)
  2014-05-18 15:19 ` [PATCH 16/28] staging: rtl8188eu: Remove unused function odm_DIGbyRSSI_LPS() navin patidar
@ 2014-05-18 15:19 ` navin patidar
  2014-05-18 15:19 ` [PATCH 18/28] staging: rtl8188eu: Remove unused function odm_DynamicBBPowerSavingInit() navin patidar
                   ` (10 subsequent siblings)
  27 siblings, 0 replies; 34+ messages in thread
From: navin patidar @ 2014-05-18 15:19 UTC (permalink / raw)
  To: gregkh, Larry.Finger; +Cc: devel, linux-kernel, navin patidar

odm_DynamicBBPowerSaving() has empty defination.

Signed-off-by: navin patidar <navin.patidar@gmail.com>
---
 drivers/staging/rtl8188eu/hal/odm.c |    6 ------
 1 file changed, 6 deletions(-)

diff --git a/drivers/staging/rtl8188eu/hal/odm.c b/drivers/staging/rtl8188eu/hal/odm.c
index d8482ab..2e105b4 100644
--- a/drivers/staging/rtl8188eu/hal/odm.c
+++ b/drivers/staging/rtl8188eu/hal/odm.c
@@ -183,7 +183,6 @@ void ODM_DMInit(struct odm_dm_struct *pDM_Odm)
 	odm_RateAdaptiveMaskInit(pDM_Odm);
 
 	odm_PrimaryCCA_Init(pDM_Odm);    /*  Gary */
-	odm_DynamicBBPowerSavingInit(pDM_Odm);
 	odm_DynamicTxPowerInit(pDM_Odm);
 	odm_TXPowerTrackingInit(pDM_Odm);
 	ODM_EdcaTurboInit(pDM_Odm);
@@ -215,7 +214,6 @@ void ODM_DMWatchdog(struct odm_dm_struct *pDM_Odm)
 
 	odm_RefreshRateAdaptiveMask(pDM_Odm);
 
-	odm_DynamicBBPowerSaving(pDM_Odm);
 	odm_DynamicPrimaryCCA(pDM_Odm);
 	if ((pDM_Odm->AntDivType ==  CG_TRX_HW_ANTDIV)	||
 	    (pDM_Odm->AntDivType == CGCS_RX_HW_ANTDIV)	||
@@ -865,10 +863,6 @@ void odm_DynamicBBPowerSavingInit(struct odm_dm_struct *pDM_Odm)
 	pDM_PSTable->initialize = 0;
 }
 
-void odm_DynamicBBPowerSaving(struct odm_dm_struct *pDM_Odm)
-{
-}
-
 void odm_1R_CCA(struct odm_dm_struct *pDM_Odm)
 {
 	struct adapter *adapter = pDM_Odm->Adapter;
-- 
1.7.10.4


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [PATCH 18/28] staging: rtl8188eu: Remove unused function odm_DynamicBBPowerSavingInit()
  2014-05-18 15:18 [PATCH 00/28] staging: rtl8188eu: Remove unnecessary functions navin patidar
                   ` (16 preceding siblings ...)
  2014-05-18 15:19 ` [PATCH 17/28] staging: rtl8188eu: Remove function odm_DynamicBBPowerSaving() navin patidar
@ 2014-05-18 15:19 ` navin patidar
  2014-05-18 15:19 ` [PATCH 19/28] staging:rtl8188eu: Remove unused function iodm_1R_CCA() navin patidar
                   ` (9 subsequent siblings)
  27 siblings, 0 replies; 34+ messages in thread
From: navin patidar @ 2014-05-18 15:19 UTC (permalink / raw)
  To: gregkh, Larry.Finger; +Cc: devel, linux-kernel, navin patidar

Signed-off-by: navin patidar <navin.patidar@gmail.com>
---
 drivers/staging/rtl8188eu/hal/odm.c |   15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/drivers/staging/rtl8188eu/hal/odm.c b/drivers/staging/rtl8188eu/hal/odm.c
index 2e105b4..e8ad880 100644
--- a/drivers/staging/rtl8188eu/hal/odm.c
+++ b/drivers/staging/rtl8188eu/hal/odm.c
@@ -848,21 +848,6 @@ void ODM_Write_CCK_CCA_Thres(struct odm_dm_struct *pDM_Odm, u8 CurCCK_CCAThres)
 	pDM_DigTable->CurCCK_CCAThres = CurCCK_CCAThres;
 }
 
-/* 3============================================================ */
-/* 3 BB Power Save */
-/* 3============================================================ */
-void odm_DynamicBBPowerSavingInit(struct odm_dm_struct *pDM_Odm)
-{
-	struct rtl_ps *pDM_PSTable = &pDM_Odm->DM_PSTable;
-
-	pDM_PSTable->PreCCAState = CCA_MAX;
-	pDM_PSTable->CurCCAState = CCA_MAX;
-	pDM_PSTable->PreRFState = RF_MAX;
-	pDM_PSTable->CurRFState = RF_MAX;
-	pDM_PSTable->Rssi_val_min = 0;
-	pDM_PSTable->initialize = 0;
-}
-
 void odm_1R_CCA(struct odm_dm_struct *pDM_Odm)
 {
 	struct adapter *adapter = pDM_Odm->Adapter;
-- 
1.7.10.4


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [PATCH 19/28] staging:rtl8188eu: Remove unused function iodm_1R_CCA()
  2014-05-18 15:18 [PATCH 00/28] staging: rtl8188eu: Remove unnecessary functions navin patidar
                   ` (17 preceding siblings ...)
  2014-05-18 15:19 ` [PATCH 18/28] staging: rtl8188eu: Remove unused function odm_DynamicBBPowerSavingInit() navin patidar
@ 2014-05-18 15:19 ` navin patidar
  2014-05-18 15:19 ` [PATCH 20/28] staging: rtl8188eu: Remove unused function odm_RefreshRateAdaptiveMaskMP() navin patidar
                   ` (8 subsequent siblings)
  27 siblings, 0 replies; 34+ messages in thread
From: navin patidar @ 2014-05-18 15:19 UTC (permalink / raw)
  To: gregkh, Larry.Finger; +Cc: devel, linux-kernel, navin patidar

Signed-off-by: navin patidar <navin.patidar@gmail.com>
---
 drivers/staging/rtl8188eu/hal/odm.c |   34 ----------------------------------
 1 file changed, 34 deletions(-)

diff --git a/drivers/staging/rtl8188eu/hal/odm.c b/drivers/staging/rtl8188eu/hal/odm.c
index e8ad880..7319b3e 100644
--- a/drivers/staging/rtl8188eu/hal/odm.c
+++ b/drivers/staging/rtl8188eu/hal/odm.c
@@ -848,40 +848,6 @@ void ODM_Write_CCK_CCA_Thres(struct odm_dm_struct *pDM_Odm, u8 CurCCK_CCAThres)
 	pDM_DigTable->CurCCK_CCAThres = CurCCK_CCAThres;
 }
 
-void odm_1R_CCA(struct odm_dm_struct *pDM_Odm)
-{
-	struct adapter *adapter = pDM_Odm->Adapter;
-	struct rtl_ps *pDM_PSTable = &pDM_Odm->DM_PSTable;
-
-	if (pDM_Odm->RSSI_Min != 0xFF) {
-		if (pDM_PSTable->PreCCAState == CCA_2R) {
-			if (pDM_Odm->RSSI_Min >= 35)
-				pDM_PSTable->CurCCAState = CCA_1R;
-			else
-				pDM_PSTable->CurCCAState = CCA_2R;
-		} else {
-			if (pDM_Odm->RSSI_Min <= 30)
-				pDM_PSTable->CurCCAState = CCA_2R;
-			else
-				pDM_PSTable->CurCCAState = CCA_1R;
-		}
-	} else {
-		pDM_PSTable->CurCCAState = CCA_MAX;
-	}
-
-	if (pDM_PSTable->PreCCAState != pDM_PSTable->CurCCAState) {
-		if (pDM_PSTable->CurCCAState == CCA_1R) {
-			if (pDM_Odm->RFType == ODM_2T2R)
-				PHY_SetBBReg(adapter, 0xc04, bMaskByte0, 0x13);
-			else
-				PHY_SetBBReg(adapter, 0xc04, bMaskByte0, 0x23);
-		} else {
-			PHY_SetBBReg(adapter, 0xc04, bMaskByte0, 0x33);
-		}
-		pDM_PSTable->PreCCAState = pDM_PSTable->CurCCAState;
-	}
-}
-
 void ODM_RF_Saving(struct odm_dm_struct *pDM_Odm, u8 bForceInNormal)
 {
 	struct adapter *adapter = pDM_Odm->Adapter;
-- 
1.7.10.4


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [PATCH 20/28] staging: rtl8188eu: Remove unused function odm_RefreshRateAdaptiveMaskMP()
  2014-05-18 15:18 [PATCH 00/28] staging: rtl8188eu: Remove unnecessary functions navin patidar
                   ` (18 preceding siblings ...)
  2014-05-18 15:19 ` [PATCH 19/28] staging:rtl8188eu: Remove unused function iodm_1R_CCA() navin patidar
@ 2014-05-18 15:19 ` navin patidar
  2014-05-18 15:19 ` [PATCH 21/28] staging: rtl8188eu: Remove unused function odm_RefreshRateAdaptiveMaskAPADSL() navin patidar
                   ` (7 subsequent siblings)
  27 siblings, 0 replies; 34+ messages in thread
From: navin patidar @ 2014-05-18 15:19 UTC (permalink / raw)
  To: gregkh, Larry.Finger; +Cc: devel, linux-kernel, navin patidar

Signed-off-by: navin patidar <navin.patidar@gmail.com>
---
 drivers/staging/rtl8188eu/hal/odm.c |    4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/staging/rtl8188eu/hal/odm.c b/drivers/staging/rtl8188eu/hal/odm.c
index 7319b3e..01946cc 100644
--- a/drivers/staging/rtl8188eu/hal/odm.c
+++ b/drivers/staging/rtl8188eu/hal/odm.c
@@ -1033,10 +1033,6 @@ void odm_RefreshRateAdaptiveMask(struct odm_dm_struct *pDM_Odm)
 	odm_RefreshRateAdaptiveMaskCE(pDM_Odm);
 }
 
-void odm_RefreshRateAdaptiveMaskMP(struct odm_dm_struct *pDM_Odm)
-{
-}
-
 void odm_RefreshRateAdaptiveMaskCE(struct odm_dm_struct *pDM_Odm)
 {
 	u8 i;
-- 
1.7.10.4


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [PATCH 21/28] staging: rtl8188eu: Remove unused function odm_RefreshRateAdaptiveMaskAPADSL()
  2014-05-18 15:18 [PATCH 00/28] staging: rtl8188eu: Remove unnecessary functions navin patidar
                   ` (19 preceding siblings ...)
  2014-05-18 15:19 ` [PATCH 20/28] staging: rtl8188eu: Remove unused function odm_RefreshRateAdaptiveMaskMP() navin patidar
@ 2014-05-18 15:19 ` navin patidar
  2014-05-18 15:19 ` [PATCH 22/28] staging: rtl8188eu: Remove unused funtion odm_DynamicTxPowerNIC() navin patidar
                   ` (6 subsequent siblings)
  27 siblings, 0 replies; 34+ messages in thread
From: navin patidar @ 2014-05-18 15:19 UTC (permalink / raw)
  To: gregkh, Larry.Finger; +Cc: devel, linux-kernel, navin patidar

Signed-off-by: navin patidar <navin.patidar@gmail.com>
---
 drivers/staging/rtl8188eu/hal/odm.c |    4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/staging/rtl8188eu/hal/odm.c b/drivers/staging/rtl8188eu/hal/odm.c
index 01946cc..cc73188 100644
--- a/drivers/staging/rtl8188eu/hal/odm.c
+++ b/drivers/staging/rtl8188eu/hal/odm.c
@@ -1061,10 +1061,6 @@ void odm_RefreshRateAdaptiveMaskCE(struct odm_dm_struct *pDM_Odm)
 	}
 }
 
-void odm_RefreshRateAdaptiveMaskAPADSL(struct odm_dm_struct *pDM_Odm)
-{
-}
-
 /*  Return Value: bool */
 /*  - true: RATRState is changed. */
 bool ODM_RAStateCheck(struct odm_dm_struct *pDM_Odm, s32 RSSI, bool bForceUpdate, u8 *pRATRState)
-- 
1.7.10.4


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [PATCH 22/28] staging: rtl8188eu: Remove unused funtion odm_DynamicTxPowerNIC()
  2014-05-18 15:18 [PATCH 00/28] staging: rtl8188eu: Remove unnecessary functions navin patidar
                   ` (20 preceding siblings ...)
  2014-05-18 15:19 ` [PATCH 21/28] staging: rtl8188eu: Remove unused function odm_RefreshRateAdaptiveMaskAPADSL() navin patidar
@ 2014-05-18 15:19 ` navin patidar
  2014-05-18 15:19 ` [PATCH 23/28] staging: rtl8188eu: Remove unused function odm_SwAntDivChkAntSwitchCallback() navin patidar
                   ` (5 subsequent siblings)
  27 siblings, 0 replies; 34+ messages in thread
From: navin patidar @ 2014-05-18 15:19 UTC (permalink / raw)
  To: gregkh, Larry.Finger; +Cc: devel, linux-kernel, navin patidar

Signed-off-by: navin patidar <navin.patidar@gmail.com>
---
 drivers/staging/rtl8188eu/hal/odm.c |    9 ---------
 1 file changed, 9 deletions(-)

diff --git a/drivers/staging/rtl8188eu/hal/odm.c b/drivers/staging/rtl8188eu/hal/odm.c
index cc73188..8dd5f7e 100644
--- a/drivers/staging/rtl8188eu/hal/odm.c
+++ b/drivers/staging/rtl8188eu/hal/odm.c
@@ -1131,15 +1131,6 @@ void odm_DynamicTxPower(struct odm_dm_struct *pDM_Odm)
 	/*  2012/01/12 MH According to Luke's suggestion, only high power will support the feature. */
 	if (!pDM_Odm->ExtPA)
 		return;
-
-	/*  2011/09/29 MH In HW integration first stage, we provide 4 different handle to operate */
-	/*  at the same time. In the stage2/3, we need to prive universal interface and merge all */
-	/*  HW dynamic mechanism. */
-	odm_DynamicTxPowerNIC(pDM_Odm);
-}
-
-void odm_DynamicTxPowerNIC(struct odm_dm_struct *pDM_Odm)
-{
 }
 
 /* 3============================================================ */
-- 
1.7.10.4


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [PATCH 23/28] staging: rtl8188eu: Remove unused function odm_SwAntDivChkAntSwitchCallback()
  2014-05-18 15:18 [PATCH 00/28] staging: rtl8188eu: Remove unnecessary functions navin patidar
                   ` (21 preceding siblings ...)
  2014-05-18 15:19 ` [PATCH 22/28] staging: rtl8188eu: Remove unused funtion odm_DynamicTxPowerNIC() navin patidar
@ 2014-05-18 15:19 ` navin patidar
  2014-05-18 15:19 ` [PATCH 24/28] staging: rtl8188eu: Remove unused function ConvertTo_dB() navin patidar
                   ` (4 subsequent siblings)
  27 siblings, 0 replies; 34+ messages in thread
From: navin patidar @ 2014-05-18 15:19 UTC (permalink / raw)
  To: gregkh, Larry.Finger; +Cc: devel, linux-kernel, navin patidar

Signed-off-by: navin patidar <navin.patidar@gmail.com>
---
 drivers/staging/rtl8188eu/hal/odm.c |   16 ----------------
 1 file changed, 16 deletions(-)

diff --git a/drivers/staging/rtl8188eu/hal/odm.c b/drivers/staging/rtl8188eu/hal/odm.c
index 8dd5f7e..4442181 100644
--- a/drivers/staging/rtl8188eu/hal/odm.c
+++ b/drivers/staging/rtl8188eu/hal/odm.c
@@ -1269,22 +1269,6 @@ void odm_TXPowerTrackingCheckCE(struct odm_dm_struct *pDM_Odm)
 	}
 }
 
-/* antenna mapping info */
-/*  1: right-side antenna */
-/*  2/0: left-side antenna */
-/* PDM_SWAT_Table->CCK_Ant1_Cnt /OFDM_Ant1_Cnt:  for right-side antenna:   Ant:1    RxDefaultAnt1 */
-/* PDM_SWAT_Table->CCK_Ant2_Cnt /OFDM_Ant2_Cnt:  for left-side antenna:     Ant:0    RxDefaultAnt2 */
-/*  We select left antenna as default antenna in initial process, modify it as needed */
-/*  */
-
-/* 3============================================================ */
-/* 3 SW Antenna Diversity */
-/* 3============================================================ */
-
-void odm_SwAntDivChkAntSwitchCallback(void *FunctionContext)
-{
-}
-
 /* 3============================================================ */
 /* 3 SW Antenna Diversity */
 /* 3============================================================ */
-- 
1.7.10.4


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [PATCH 24/28] staging: rtl8188eu: Remove unused function ConvertTo_dB()
  2014-05-18 15:18 [PATCH 00/28] staging: rtl8188eu: Remove unnecessary functions navin patidar
                   ` (22 preceding siblings ...)
  2014-05-18 15:19 ` [PATCH 23/28] staging: rtl8188eu: Remove unused function odm_SwAntDivChkAntSwitchCallback() navin patidar
@ 2014-05-18 15:19 ` navin patidar
  2014-05-18 15:19 ` [PATCH 25/28] staging: rtl8188eu: Remove function with empty defination ODM_CheckPowerStatus() navin patidar
                   ` (3 subsequent siblings)
  27 siblings, 0 replies; 34+ messages in thread
From: navin patidar @ 2014-05-18 15:19 UTC (permalink / raw)
  To: gregkh, Larry.Finger; +Cc: devel, linux-kernel, navin patidar

Signed-off-by: navin patidar <navin.patidar@gmail.com>
---
 drivers/staging/rtl8188eu/hal/odm.c |   25 -------------------------
 1 file changed, 25 deletions(-)

diff --git a/drivers/staging/rtl8188eu/hal/odm.c b/drivers/staging/rtl8188eu/hal/odm.c
index 4442181..425c50a4 100644
--- a/drivers/staging/rtl8188eu/hal/odm.c
+++ b/drivers/staging/rtl8188eu/hal/odm.c
@@ -1394,28 +1394,3 @@ dm_CheckEdcaTurbo_EXIT:
 	pxmitpriv->last_tx_bytes = pxmitpriv->tx_bytes;
 	precvpriv->last_rx_bytes = precvpriv->rx_bytes;
 }
-
-u32 ConvertTo_dB(u32 Value)
-{
-	u8 i;
-	u8 j;
-	u32 dB;
-
-	Value = Value & 0xFFFF;
-	for (i = 0; i < 8; i++) {
-		if (Value <= dB_Invert_Table[i][11])
-			break;
-	}
-
-	if (i >= 8)
-		return 96;	/*  maximum 96 dB */
-
-	for (j = 0; j < 12; j++) {
-		if (Value <= dB_Invert_Table[i][j])
-			break;
-	}
-
-	dB = i*12 + j + 1;
-
-	return dB;
-}
-- 
1.7.10.4


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [PATCH 25/28] staging: rtl8188eu: Remove function with empty defination ODM_CheckPowerStatus()
  2014-05-18 15:18 [PATCH 00/28] staging: rtl8188eu: Remove unnecessary functions navin patidar
                   ` (23 preceding siblings ...)
  2014-05-18 15:19 ` [PATCH 24/28] staging: rtl8188eu: Remove unused function ConvertTo_dB() navin patidar
@ 2014-05-18 15:19 ` navin patidar
  2014-05-18 15:19 ` [PATCH 26/28] staging: rtl8188eu: Remove unused function DM_DIG_LowerBound_88E() navin patidar
                   ` (2 subsequent siblings)
  27 siblings, 0 replies; 34+ messages in thread
From: navin patidar @ 2014-05-18 15:19 UTC (permalink / raw)
  To: gregkh, Larry.Finger; +Cc: devel, linux-kernel, navin patidar

Signed-off-by: navin patidar <navin.patidar@gmail.com>
---
 drivers/staging/rtl8188eu/hal/HalPhyRf_8188e.c |   14 --------------
 1 file changed, 14 deletions(-)

diff --git a/drivers/staging/rtl8188eu/hal/HalPhyRf_8188e.c b/drivers/staging/rtl8188eu/hal/HalPhyRf_8188e.c
index 056052d..7c22658 100644
--- a/drivers/staging/rtl8188eu/hal/HalPhyRf_8188e.c
+++ b/drivers/staging/rtl8188eu/hal/HalPhyRf_8188e.c
@@ -804,24 +804,12 @@ static void pathb_fill_iqk(struct adapter *adapt, bool iqkok, s32 result[][8], u
 	}
 }
 
-/*  */
-/*  2011/07/26 MH Add an API for testing IQK fail case. */
-/*  */
-/*  MP Already declare in odm.c */
-static bool ODM_CheckPowerStatus(struct adapter *Adapter)
-{
-	return	true;
-}
-
 void _PHY_SaveADDARegisters(struct adapter *adapt, u32 *ADDAReg, u32 *ADDABackup, u32 RegisterNum)
 {
 	u32 i;
 	struct hal_data_8188e	*pHalData = GET_HAL_DATA(adapt);
 	struct odm_dm_struct *dm_odm = &pHalData->odmpriv;
 
-	if (!ODM_CheckPowerStatus(adapt))
-		return;
-
 	ODM_RT_TRACE(dm_odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("Save ADDA parameters.\n"));
 	for (i = 0; i < RegisterNum; i++) {
 		ADDABackup[i] = PHY_QueryBBReg(adapt, ADDAReg[i], bMaskDWord);
@@ -1294,8 +1282,6 @@ void PHY_IQCalibrate_8188E(struct adapter *adapt, bool recovery)
 	bool is2t;
 
 	is2t = (dm_odm->RFType == ODM_2T2R) ? true : false;
-	if (!ODM_CheckPowerStatus(adapt))
-		return;
 
 	if (!(dm_odm->SupportAbility & ODM_RF_CALIBRATION))
 		return;
-- 
1.7.10.4


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [PATCH 26/28] staging: rtl8188eu: Remove unused function DM_DIG_LowerBound_88E()
  2014-05-18 15:18 [PATCH 00/28] staging: rtl8188eu: Remove unnecessary functions navin patidar
                   ` (24 preceding siblings ...)
  2014-05-18 15:19 ` [PATCH 25/28] staging: rtl8188eu: Remove function with empty defination ODM_CheckPowerStatus() navin patidar
@ 2014-05-18 15:19 ` navin patidar
  2014-05-18 15:19 ` [PATCH 27/28] staging: rtl8188eu: Remove unused function ODM_DynamicPrimaryCCA_DupRTS() navin patidar
  2014-05-18 15:19 ` [PATCH 28/28] staging: rtl8188eu:Remove function with empty defination odm_DynamicPrimaryCCA() navin patidar
  27 siblings, 0 replies; 34+ messages in thread
From: navin patidar @ 2014-05-18 15:19 UTC (permalink / raw)
  To: gregkh, Larry.Finger; +Cc: devel, linux-kernel, navin patidar

Signed-off-by: navin patidar <navin.patidar@gmail.com>
---
 drivers/staging/rtl8188eu/hal/odm_RTL8188E.c |   12 ------------
 1 file changed, 12 deletions(-)

diff --git a/drivers/staging/rtl8188eu/hal/odm_RTL8188E.c b/drivers/staging/rtl8188eu/hal/odm_RTL8188E.c
index 323eb93..7c1043c 100644
--- a/drivers/staging/rtl8188eu/hal/odm_RTL8188E.c
+++ b/drivers/staging/rtl8188eu/hal/odm_RTL8188E.c
@@ -20,18 +20,6 @@
 
 #include "odm_precomp.h"
 
-void ODM_DIG_LowerBound_88E(struct odm_dm_struct *dm_odm)
-{
-	struct rtw_dig *pDM_DigTable = &dm_odm->DM_DigTable;
-
-	if (dm_odm->AntDivType == CG_TRX_HW_ANTDIV) {
-		pDM_DigTable->rx_gain_range_min = (u8) pDM_DigTable->AntDiv_RSSI_max;
-		ODM_RT_TRACE(dm_odm, ODM_COMP_ANT_DIV, ODM_DBG_LOUD,
-			     ("ODM_DIG_LowerBound_88E(): pDM_DigTable->AntDiv_RSSI_max=%d\n", pDM_DigTable->AntDiv_RSSI_max));
-	}
-	/* If only one Entry connected */
-}
-
 static void odm_RX_HWAntDivInit(struct odm_dm_struct *dm_odm)
 {
 	struct adapter *adapter = dm_odm->Adapter;
-- 
1.7.10.4


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [PATCH 27/28] staging: rtl8188eu: Remove unused function ODM_DynamicPrimaryCCA_DupRTS()
  2014-05-18 15:18 [PATCH 00/28] staging: rtl8188eu: Remove unnecessary functions navin patidar
                   ` (25 preceding siblings ...)
  2014-05-18 15:19 ` [PATCH 26/28] staging: rtl8188eu: Remove unused function DM_DIG_LowerBound_88E() navin patidar
@ 2014-05-18 15:19 ` navin patidar
  2014-05-18 15:19 ` [PATCH 28/28] staging: rtl8188eu:Remove function with empty defination odm_DynamicPrimaryCCA() navin patidar
  27 siblings, 0 replies; 34+ messages in thread
From: navin patidar @ 2014-05-18 15:19 UTC (permalink / raw)
  To: gregkh, Larry.Finger; +Cc: devel, linux-kernel, navin patidar

Signed-off-by: navin patidar <navin.patidar@gmail.com>
---
 drivers/staging/rtl8188eu/hal/odm_RTL8188E.c |    7 -------
 1 file changed, 7 deletions(-)

diff --git a/drivers/staging/rtl8188eu/hal/odm_RTL8188E.c b/drivers/staging/rtl8188eu/hal/odm_RTL8188E.c
index 7c1043c..a90b2c5 100644
--- a/drivers/staging/rtl8188eu/hal/odm_RTL8188E.c
+++ b/drivers/staging/rtl8188eu/hal/odm_RTL8188E.c
@@ -377,13 +377,6 @@ void odm_PrimaryCCA_Init(struct odm_dm_struct *dm_odm)
 	PrimaryCCA->PriCCA_flag = 0;
 }
 
-bool ODM_DynamicPrimaryCCA_DupRTS(struct odm_dm_struct *dm_odm)
-{
-	struct dyn_primary_cca *PrimaryCCA = &(dm_odm->DM_PriCCA);
-
-	return	PrimaryCCA->DupRTS_flag;
-}
-
 void odm_DynamicPrimaryCCA(struct odm_dm_struct *dm_odm)
 {
 	return;
-- 
1.7.10.4


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [PATCH 28/28] staging: rtl8188eu:Remove function with empty defination odm_DynamicPrimaryCCA()
  2014-05-18 15:18 [PATCH 00/28] staging: rtl8188eu: Remove unnecessary functions navin patidar
                   ` (26 preceding siblings ...)
  2014-05-18 15:19 ` [PATCH 27/28] staging: rtl8188eu: Remove unused function ODM_DynamicPrimaryCCA_DupRTS() navin patidar
@ 2014-05-18 15:19 ` navin patidar
  27 siblings, 0 replies; 34+ messages in thread
From: navin patidar @ 2014-05-18 15:19 UTC (permalink / raw)
  To: gregkh, Larry.Finger; +Cc: devel, linux-kernel, navin patidar

Signed-off-by: navin patidar <navin.patidar@gmail.com>
---
 drivers/staging/rtl8188eu/hal/odm.c              |    1 -
 drivers/staging/rtl8188eu/hal/odm_RTL8188E.c     |    5 -----
 drivers/staging/rtl8188eu/include/odm_RTL8188E.h |    2 --
 3 files changed, 8 deletions(-)

diff --git a/drivers/staging/rtl8188eu/hal/odm.c b/drivers/staging/rtl8188eu/hal/odm.c
index 425c50a4..a39eba9 100644
--- a/drivers/staging/rtl8188eu/hal/odm.c
+++ b/drivers/staging/rtl8188eu/hal/odm.c
@@ -214,7 +214,6 @@ void ODM_DMWatchdog(struct odm_dm_struct *pDM_Odm)
 
 	odm_RefreshRateAdaptiveMask(pDM_Odm);
 
-	odm_DynamicPrimaryCCA(pDM_Odm);
 	if ((pDM_Odm->AntDivType ==  CG_TRX_HW_ANTDIV)	||
 	    (pDM_Odm->AntDivType == CGCS_RX_HW_ANTDIV)	||
 	    (pDM_Odm->AntDivType == CG_TRX_SMART_ANTDIV))
diff --git a/drivers/staging/rtl8188eu/hal/odm_RTL8188E.c b/drivers/staging/rtl8188eu/hal/odm_RTL8188E.c
index a90b2c5..a24d954 100644
--- a/drivers/staging/rtl8188eu/hal/odm_RTL8188E.c
+++ b/drivers/staging/rtl8188eu/hal/odm_RTL8188E.c
@@ -376,8 +376,3 @@ void odm_PrimaryCCA_Init(struct odm_dm_struct *dm_odm)
 	PrimaryCCA->Monitor_flag = 0;
 	PrimaryCCA->PriCCA_flag = 0;
 }
-
-void odm_DynamicPrimaryCCA(struct odm_dm_struct *dm_odm)
-{
-	return;
-}
diff --git a/drivers/staging/rtl8188eu/include/odm_RTL8188E.h b/drivers/staging/rtl8188eu/include/odm_RTL8188E.h
index f96ad5a..02ac78d 100644
--- a/drivers/staging/rtl8188eu/include/odm_RTL8188E.h
+++ b/drivers/staging/rtl8188eu/include/odm_RTL8188E.h
@@ -51,6 +51,4 @@ void odm_PrimaryCCA_Init(struct odm_dm_struct *pDM_Odm);
 
 bool ODM_DynamicPrimaryCCA_DupRTS(struct odm_dm_struct *pDM_Odm);
 
-void odm_DynamicPrimaryCCA(struct odm_dm_struct *pDM_Odm);
-
 #endif
-- 
1.7.10.4


^ permalink raw reply related	[flat|nested] 34+ messages in thread

* Re: [PATCH 13/28] staging: rtl8188eu: Remove unused funtion phy_TxPwrIdxToDbm()
  2014-05-18 15:19 ` [PATCH 13/28] " navin patidar
@ 2014-05-18 15:47   ` navin patidar
  0 siblings, 0 replies; 34+ messages in thread
From: navin patidar @ 2014-05-18 15:47 UTC (permalink / raw)
  To: Greg KH, Larry Finger; +Cc: devel, linux-kernel, navin patidar

Subject line of this patch isn't correct, so please ignore it.
I've submitted new patch with "[PATCH 13/28] staging: rtl8188eu:
Remove unused funtion PHY_ScanOperationBackup8188E()"
subject line.

regards,
navin patidar

On Sun, May 18, 2014 at 8:49 PM, navin patidar <navin.patidar@gmail.com> wrote:
> Signed-off-by: navin patidar <navin.patidar@gmail.com>
> ---
>  drivers/staging/rtl8188eu/hal/rtl8188e_phycfg.c |    8 --------
>  1 file changed, 8 deletions(-)
>
> diff --git a/drivers/staging/rtl8188eu/hal/rtl8188e_phycfg.c b/drivers/staging/rtl8188eu/hal/rtl8188e_phycfg.c
> index a7872c8..941ff74 100644
> --- a/drivers/staging/rtl8188eu/hal/rtl8188e_phycfg.c
> +++ b/drivers/staging/rtl8188eu/hal/rtl8188e_phycfg.c
> @@ -754,14 +754,6 @@ PHY_SetTxPowerLevel8188E(
>         rtl8188e_PHY_RF6052SetOFDMTxPower(Adapter, &ofdmPowerLevel[0], &BW20PowerLevel[0], &BW40PowerLevel[0], channel);
>  }
>
> -void
> -PHY_ScanOperationBackup8188E(
> -               struct adapter *Adapter,
> -               u8 Operation
> -       )
> -{
> -}
> -
>  /*-----------------------------------------------------------------------------
>   * Function:    PHY_SetBWModeCallback8192C()
>   *
> --
> 1.7.10.4
>

^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: [PATCH 05/28] staging: rtl8188eu: Remove unused function rtl8188eu_ps_func()
  2014-05-18 15:18 ` [PATCH 05/28] staging: rtl8188eu: Remove unused function rtl8188eu_ps_func() navin patidar
@ 2014-05-19 10:52   ` Dan Carpenter
  2014-05-19 15:49     ` navin patidar
  0 siblings, 1 reply; 34+ messages in thread
From: Dan Carpenter @ 2014-05-19 10:52 UTC (permalink / raw)
  To: navin patidar; +Cc: gregkh, Larry.Finger, devel, linux-kernel

On Sun, May 18, 2014 at 08:48:58PM +0530, navin patidar wrote:
> Signed-off-by: navin patidar <navin.patidar@gmail.com>
> ---
>  drivers/staging/rtl8188eu/hal/usb_halinit.c |    8 --------
>  1 file changed, 8 deletions(-)
> 
> diff --git a/drivers/staging/rtl8188eu/hal/usb_halinit.c b/drivers/staging/rtl8188eu/hal/usb_halinit.c
> index 1a83d31..4c3f8c8 100644
> --- a/drivers/staging/rtl8188eu/hal/usb_halinit.c
> +++ b/drivers/staging/rtl8188eu/hal/usb_halinit.c
> @@ -2231,12 +2231,6 @@ static void rtl8188eu_init_default_value(struct adapter *adapt)
>  		haldata->odmpriv.RFCalibrateInfo.ThermalValue_HP[i] = 0;
>  }
>  
> -static u8 rtl8188eu_ps_func(struct adapter *Adapter, enum hal_intf_ps_func efunc_id, u8 *val)
> -{
> -	u8 bResult = true;
> -	return bResult;
> -}
> -
>  void rtl8188eu_set_hal_ops(struct adapter *adapt)
>  {
>  	struct hal_ops	*halfunc = &adapt->HalFunc;
> @@ -2277,7 +2271,5 @@ void rtl8188eu_set_hal_ops(struct adapter *adapt)
>  	halfunc->hal_xmit = &rtl8188eu_hal_xmit;
>  	halfunc->mgnt_xmit = &rtl8188eu_mgnt_xmit;
>  
> -	halfunc->interface_ps_func = &rtl8188eu_ps_func;

No, this is used.  See rtw_hal_intf_ps_func().

drivers/staging/rtl8188eu/hal/hal_intf.c
   210  u8 rtw_hal_intf_ps_func(struct adapter *adapt,
   211                          enum hal_intf_ps_func efunc_id, u8 *val)
   212  {
   213          if (adapt->HalFunc.interface_ps_func)
   214                  return adapt->HalFunc.interface_ps_func(adapt, efunc_id,
   215                                                             val);
   216          return _FAIL;
   217  }

You have changed it to return _FAIL instead of true.  Perhaps that is ok
but you need to explain it in the changelog.

regards,
dan carpenter


^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: [PATCH 05/28] staging: rtl8188eu: Remove unused function rtl8188eu_ps_func()
  2014-05-19 10:52   ` Dan Carpenter
@ 2014-05-19 15:49     ` navin patidar
  2014-05-19 19:04       ` Dan Carpenter
  0 siblings, 1 reply; 34+ messages in thread
From: navin patidar @ 2014-05-19 15:49 UTC (permalink / raw)
  To: Dan Carpenter; +Cc: Greg KH, Larry Finger, devel, linux-kernel

On Mon, May 19, 2014 at 4:22 PM, Dan Carpenter <dan.carpenter@oracle.com> wrote:
> On Sun, May 18, 2014 at 08:48:58PM +0530, navin patidar wrote:
>> Signed-off-by: navin patidar <navin.patidar@gmail.com>
>> ---
>>  drivers/staging/rtl8188eu/hal/usb_halinit.c |    8 --------
>>  1 file changed, 8 deletions(-)
>>
>> diff --git a/drivers/staging/rtl8188eu/hal/usb_halinit.c b/drivers/staging/rtl8188eu/hal/usb_halinit.c
>> index 1a83d31..4c3f8c8 100644
>> --- a/drivers/staging/rtl8188eu/hal/usb_halinit.c
>> +++ b/drivers/staging/rtl8188eu/hal/usb_halinit.c
>> @@ -2231,12 +2231,6 @@ static void rtl8188eu_init_default_value(struct adapter *adapt)
>>               haldata->odmpriv.RFCalibrateInfo.ThermalValue_HP[i] = 0;
>>  }
>>
>> -static u8 rtl8188eu_ps_func(struct adapter *Adapter, enum hal_intf_ps_func efunc_id, u8 *val)
>> -{
>> -     u8 bResult = true;
>> -     return bResult;
>> -}
>> -
>>  void rtl8188eu_set_hal_ops(struct adapter *adapt)
>>  {
>>       struct hal_ops  *halfunc = &adapt->HalFunc;
>> @@ -2277,7 +2271,5 @@ void rtl8188eu_set_hal_ops(struct adapter *adapt)
>>       halfunc->hal_xmit = &rtl8188eu_hal_xmit;
>>       halfunc->mgnt_xmit = &rtl8188eu_mgnt_xmit;
>>
>> -     halfunc->interface_ps_func = &rtl8188eu_ps_func;
>
> No, this is used.  See rtw_hal_intf_ps_func().
>
> drivers/staging/rtl8188eu/hal/hal_intf.c
>    210  u8 rtw_hal_intf_ps_func(struct adapter *adapt,
>    211                          enum hal_intf_ps_func efunc_id, u8 *val)
>    212  {
>    213          if (adapt->HalFunc.interface_ps_func)
>    214                  return adapt->HalFunc.interface_ps_func(adapt, efunc_id,
>    215                                                             val);
>    216          return _FAIL;
>    217  }
>
> You have changed it to return _FAIL instead of true.  Perhaps that is ok
> but you need to explain it in the changelog.
>
oops, I'll resend this patch with proper changelog.
I have one question, do i need to send v2 of whole patch series or
just this patch.

regards,
navin patidar

^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: [PATCH 05/28] staging: rtl8188eu: Remove unused function rtl8188eu_ps_func()
  2014-05-19 15:49     ` navin patidar
@ 2014-05-19 19:04       ` Dan Carpenter
  2014-05-20  5:09         ` navin patidar
  0 siblings, 1 reply; 34+ messages in thread
From: Dan Carpenter @ 2014-05-19 19:04 UTC (permalink / raw)
  To: navin patidar; +Cc: devel, Greg KH, linux-kernel, Larry Finger

On Mon, May 19, 2014 at 09:19:07PM +0530, navin patidar wrote:
> > You have changed it to return _FAIL instead of true.  Perhaps that is ok
> > but you need to explain it in the changelog.
> >
> oops, I'll resend this patch with proper changelog.
> I have one question, do i need to send v2 of whole patch series or
> just this patch.

Greg, none of the other patches rely on this one.  Could you apply them
and drop this one?  This one is also fine except for the changelog but
Navin can send a new version in a new thread.

[ General rules on redoing patches threads ]

When you are sending a patch series and someone asks you to update one
changelog, then you can resend just the patch but you must set the
In-Reply-To email header.  You didn't do that for [PATCH 13/28] so now
the v2 of that patch is in its own thread.  That's fine because it can
be applied in any order and it doesn't matter.

If you are sending a patch series and updating one in the middle means
that the other patches won't apply then you should redo the whole thing
or ask Greg to apply the first 7 patches and redo the last ones.

If you are sending a series and you have to update a lot of patches then
resend the whole thing because otherwise it becomes confusing.

[ This patch in particular ]

Ok.  So I looked at this and the function which calls
rtw_hal_intf_ps_func() is never called, so you're right that this
function isn't used.  Probably this is what you were going to put in
your changelog and I would check and that's fine.

But when I am reviewing these kinds of "delete unused code" patches then
I just "Ok.  If there are still users the compile will break."  So I
don't have to look outside the email client.  So I would prefer if you
did it in this order:

[patch 1/4] staging: rtl8188eu: Remove unused function rtw_interface_ps_func()
[patch 2/4] staging: rtl8188eu: Remove unused function rtw_hal_intf_ps_func()
[patch 3/4] staging: rtl8188eu: Remove unused function pointer ->interface_ps_func
[patch 4/4] staging: rtl8188eu: staging: rtl8188eu: Remove unused function rtl8188eu_ps_func()

You can fold them together if you want, that's not my point.  What I'm
saying is that when you remove the ->interface_ps_func pointer first,
it's obvious that rtl8188eu_ps_func() is unused because otherwise the
compiler will complain.

But on the other hand, I also don't really care about this patch.  I
know it is ok now because I have verified it.  Resend it however you
want and I will Ack it.  No worries.  I hope the long explanation is
helpfull and thanks for doing this cleanup work.

regards,
dan carpenter

^ permalink raw reply	[flat|nested] 34+ messages in thread

* Re: [PATCH 05/28] staging: rtl8188eu: Remove unused function rtl8188eu_ps_func()
  2014-05-19 19:04       ` Dan Carpenter
@ 2014-05-20  5:09         ` navin patidar
  0 siblings, 0 replies; 34+ messages in thread
From: navin patidar @ 2014-05-20  5:09 UTC (permalink / raw)
  To: Dan Carpenter; +Cc: devel, Greg KH, linux-kernel, Larry Finger

On Tue, May 20, 2014 at 12:34 AM, Dan Carpenter
<dan.carpenter@oracle.com> wrote:
> On Mon, May 19, 2014 at 09:19:07PM +0530, navin patidar wrote:
>> > You have changed it to return _FAIL instead of true.  Perhaps that is ok
>> > but you need to explain it in the changelog.
>> >
>> oops, I'll resend this patch with proper changelog.
>> I have one question, do i need to send v2 of whole patch series or
>> just this patch.
>
> Greg, none of the other patches rely on this one.  Could you apply them
> and drop this one?  This one is also fine except for the changelog but
> Navin can send a new version in a new thread.

Please drop this patch.

> [ General rules on redoing patches threads ]
>
> When you are sending a patch series and someone asks you to update one
> changelog, then you can resend just the patch but you must set the
> In-Reply-To email header.  You didn't do that for [PATCH 13/28] so now
> the v2 of that patch is in its own thread.

Okay, I'll keep that in mind next time.

>
> If you are sending a patch series and updating one in the middle means
> that the other patches won't apply then you should redo the whole thing
> or ask Greg to apply the first 7 patches and redo the last ones.
>
> If you are sending a series and you have to update a lot of patches then
> resend the whole thing because otherwise it becomes confusing.

Thanks for explaining the process in detail. :)

> [ This patch in particular ]
>
> Ok.  So I looked at this and the function which calls
> rtw_hal_intf_ps_func() is never called, so you're right that this
> function isn't used.  Probably this is what you were going to put in
> your changelog and I would check and that's fine.
>
> But when I am reviewing these kinds of "delete unused code" patches then
> I just "Ok.  If there are still users the compile will break."  So I
> don't have to look outside the email client.  So I would prefer if you
> did it in this order:
>
> [patch 1/4] staging: rtl8188eu: Remove unused function rtw_interface_ps_func()
> [patch 2/4] staging: rtl8188eu: Remove unused function rtw_hal_intf_ps_func()
> [patch 3/4] staging: rtl8188eu: Remove unused function pointer ->interface_ps_func
> [patch 4/4] staging: rtl8188eu: staging: rtl8188eu: Remove unused function rtl8188eu_ps_func()

I'll send new patchset in order you mentioned.

regards,
navin patidar

^ permalink raw reply	[flat|nested] 34+ messages in thread

end of thread, other threads:[~2014-05-20  5:09 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-18 15:18 [PATCH 00/28] staging: rtl8188eu: Remove unnecessary functions navin patidar
2014-05-18 15:18 ` [PATCH 01/28] staging: rtl8188eu: Remove function with empty definition _InitBeaconMaxError() navin patidar
2014-05-18 15:18 ` [PATCH 02/28] staging: rtl8188eu: Remove function with empty definition _InitOperationMode() navin patidar
2014-05-18 15:18 ` [PATCH 03/28] staging: rtl8188eu: Remove function with empty definition _ps_open_RF() navin patidar
2014-05-18 15:18 ` [PATCH 04/28] staging: rtl8188eu: Remove unused function _ps_close_RF() navin patidar
2014-05-18 15:18 ` [PATCH 05/28] staging: rtl8188eu: Remove unused function rtl8188eu_ps_func() navin patidar
2014-05-19 10:52   ` Dan Carpenter
2014-05-19 15:49     ` navin patidar
2014-05-19 19:04       ` Dan Carpenter
2014-05-20  5:09         ` navin patidar
2014-05-18 15:18 ` [PATCH 06/28] staging:rtl8188eu:Remove funtion Hal_CustomizeByCustomerID_8188EU() navin patidar
2014-05-18 15:19 ` [PATCH 07/28] staging: rtl8188eu: Remove unused function rtl8188e_PHY_ConfigRFWithParaFile() navin patidar
2014-05-18 15:19 ` [PATCH 08/28] staging: rtl8188eu: Remove unused function rtl8192c_PHY_GetHWRegOriginalValue() navin patidar
2014-05-18 15:19 ` [PATCH 09/28] staging: rtl8188eu: Remove unused function PHY_UpdateTxPowerDbm8188E() navin patidar
2014-05-18 15:19 ` [PATCH 10/28] staging:rtl8188eu: Remove unused function phy_DbmToTxPwrIdx() navin patidar
2014-05-18 15:19 ` [PATCH 11/28] staging: rtl8188eu: Remove unused funtion PHY_GetTxPowerLevel8188E() navin patidar
2014-05-18 15:19 ` [PATCH 12/28] staging: rtl8188eu: Remove unused funtion phy_TxPwrIdxToDbm() navin patidar
2014-05-18 15:19 ` [PATCH 13/28] " navin patidar
2014-05-18 15:47   ` navin patidar
2014-05-18 15:19 ` [PATCH 14/28] staging: rtl8188eu: Remove unused structure rf_shadow navin patidar
2014-05-18 15:19 ` [PATCH 15/28] staging: rtl8188eu: Remove unused function rtl8188e_RF_ChangeTxPath() navin patidar
2014-05-18 15:19 ` [PATCH 16/28] staging: rtl8188eu: Remove unused function odm_DIGbyRSSI_LPS() navin patidar
2014-05-18 15:19 ` [PATCH 17/28] staging: rtl8188eu: Remove function odm_DynamicBBPowerSaving() navin patidar
2014-05-18 15:19 ` [PATCH 18/28] staging: rtl8188eu: Remove unused function odm_DynamicBBPowerSavingInit() navin patidar
2014-05-18 15:19 ` [PATCH 19/28] staging:rtl8188eu: Remove unused function iodm_1R_CCA() navin patidar
2014-05-18 15:19 ` [PATCH 20/28] staging: rtl8188eu: Remove unused function odm_RefreshRateAdaptiveMaskMP() navin patidar
2014-05-18 15:19 ` [PATCH 21/28] staging: rtl8188eu: Remove unused function odm_RefreshRateAdaptiveMaskAPADSL() navin patidar
2014-05-18 15:19 ` [PATCH 22/28] staging: rtl8188eu: Remove unused funtion odm_DynamicTxPowerNIC() navin patidar
2014-05-18 15:19 ` [PATCH 23/28] staging: rtl8188eu: Remove unused function odm_SwAntDivChkAntSwitchCallback() navin patidar
2014-05-18 15:19 ` [PATCH 24/28] staging: rtl8188eu: Remove unused function ConvertTo_dB() navin patidar
2014-05-18 15:19 ` [PATCH 25/28] staging: rtl8188eu: Remove function with empty defination ODM_CheckPowerStatus() navin patidar
2014-05-18 15:19 ` [PATCH 26/28] staging: rtl8188eu: Remove unused function DM_DIG_LowerBound_88E() navin patidar
2014-05-18 15:19 ` [PATCH 27/28] staging: rtl8188eu: Remove unused function ODM_DynamicPrimaryCCA_DupRTS() navin patidar
2014-05-18 15:19 ` [PATCH 28/28] staging: rtl8188eu:Remove function with empty defination odm_DynamicPrimaryCCA() navin patidar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.