Commit 6f33b2e1 authored by navin patidar's avatar navin patidar Committed by Greg Kroah-Hartman

staging: rtl8188eu: HalPhyRf_8188e.c: Remove unnecessary comments

Signed-off-by: default avatarnavin patidar <navin.patidar@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ef027d57
/*
/******************************************************************************
* *
* Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved. * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
* *
...@@ -15,17 +14,13 @@ ...@@ -15,17 +14,13 @@
* You should have received a copy of the GNU General Public License along with * 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., * this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA * 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
* */
*
******************************************************************************/
#include "odm_precomp.h" #include "odm_precomp.h"
/*---------------------------Define Local Constant---------------------------*/
/* 2010/04/25 MH Define the max tx power tracking tx agc power. */ /* 2010/04/25 MH Define the max tx power tracking tx agc power. */
#define ODM_TXPWRTRACK_MAX_IDX_88E 6 #define ODM_TXPWRTRACK_MAX_IDX_88E 6
/*---------------------------Define Local Constant---------------------------*/
u8 ODM_GetRightChnlPlaceforIQK(u8 chnl) u8 ODM_GetRightChnlPlaceforIQK(u8 chnl)
{ {
...@@ -47,27 +42,19 @@ u8 ODM_GetRightChnlPlaceforIQK(u8 chnl) ...@@ -47,27 +42,19 @@ u8 ODM_GetRightChnlPlaceforIQK(u8 chnl)
return 0; return 0;
} }
/* 3============================================================ */
/* 3 Tx Power Tracking */ /* 3 Tx Power Tracking */
/* 3============================================================ */ /*
/*-----------------------------------------------------------------------------
* Function: ODM_TxPwrTrackAdjust88E() * Function: ODM_TxPwrTrackAdjust88E()
* *
* Overview: 88E we can not write 0xc80/c94/c4c/ 0xa2x. Instead of write TX agc. * Overview: 88E we can not write 0xc80/c94/c4c/ 0xa2x. Instead of write TX agc.
* No matter OFDM & CCK use the same method. * No matter OFDM & CCK use the same method.
* *
* Input: NONE
*
* Output: NONE
*
* Return: NONE
*
* Revised History: * Revised History:
* When Who Remark * When Who Remark
* 04/23/2012 MHC Create Version 0. * 04/23/2012 MHC Create Version 0.
* 04/23/2012 MHC Adjust TX agc directly not throughput BB digital. * 04/23/2012 MHC Adjust TX agc directly not throughput BB digital.
* *
*---------------------------------------------------------------------------*/ */
void ODM_TxPwrTrackAdjust88E(struct odm_dm_struct *dm_odm, u8 Type,/* 0 = OFDM, 1 = CCK */ void ODM_TxPwrTrackAdjust88E(struct odm_dm_struct *dm_odm, u8 Type,/* 0 = OFDM, 1 = CCK */
u8 *pDirection, /* 1 = +(increase) 2 = -(decrease) */ u8 *pDirection, /* 1 = +(increase) 2 = -(decrease) */
u32 *pOutWriteVal /* Tx tracking CCK/OFDM BB swing index adjust */ u32 *pOutWriteVal /* Tx tracking CCK/OFDM BB swing index adjust */
...@@ -116,23 +103,12 @@ void ODM_TxPwrTrackAdjust88E(struct odm_dm_struct *dm_odm, u8 Type,/* 0 = OFDM, ...@@ -116,23 +103,12 @@ void ODM_TxPwrTrackAdjust88E(struct odm_dm_struct *dm_odm, u8 Type,/* 0 = OFDM,
*pOutWriteVal = pwr_value | (pwr_value<<8) | (pwr_value<<16) | (pwr_value<<24); *pOutWriteVal = pwr_value | (pwr_value<<8) | (pwr_value<<16) | (pwr_value<<24);
} /* ODM_TxPwrTrackAdjust88E */ } /* ODM_TxPwrTrackAdjust88E */
/*----------------------------------------------------------------------------- /*
* Function: odm_TxPwrTrackSetPwr88E() * Function: odm_TxPwrTrackSetPwr88E()
* *
* Overview: 88E change all channel tx power accordign to flag. * Overview: 88E change all channel tx power accordign to flag.
* OFDM & CCK are all different. * OFDM & CCK are all different.
* */
* Input: NONE
*
* Output: NONE
*
* Return: NONE
*
* Revised History:
* When Who Remark
* 04/23/2012 MHC Create Version 0.
*
*---------------------------------------------------------------------------*/
static void odm_TxPwrTrackSetPwr88E(struct odm_dm_struct *dm_odm) static void odm_TxPwrTrackSetPwr88E(struct odm_dm_struct *dm_odm)
{ {
if (dm_odm->BbSwingFlagOfdm || dm_odm->BbSwingFlagCck) { if (dm_odm->BbSwingFlagOfdm || dm_odm->BbSwingFlagCck) {
...@@ -143,7 +119,6 @@ static void odm_TxPwrTrackSetPwr88E(struct odm_dm_struct *dm_odm) ...@@ -143,7 +119,6 @@ static void odm_TxPwrTrackSetPwr88E(struct odm_dm_struct *dm_odm)
} }
} /* odm_TxPwrTrackSetPwr88E */ } /* odm_TxPwrTrackSetPwr88E */
/* 091212 chiyokolin */
void void
odm_TXPowerTrackingCallback_ThermalMeter_8188E( odm_TXPowerTrackingCallback_ThermalMeter_8188E(
struct adapter *Adapter struct adapter *Adapter
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment