2013-05-08 21:45:39 +00:00
|
|
|
/******************************************************************************
|
|
|
|
*
|
|
|
|
* 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
|
|
|
|
*
|
|
|
|
*
|
|
|
|
******************************************************************************/
|
2013-05-19 04:28:07 +00:00
|
|
|
|
2013-05-08 21:45:39 +00:00
|
|
|
#ifndef __HAL_PHY_RF_H__
|
|
|
|
#define __HAL_PHY_RF_H__
|
2013-05-19 04:28:07 +00:00
|
|
|
|
2013-05-09 04:04:25 +00:00
|
|
|
#if (DM_ODM_SUPPORT_TYPE & ODM_MP)
|
2013-05-08 21:45:39 +00:00
|
|
|
#define MAX_TOLERANCE 5
|
|
|
|
#define IQK_DELAY_TIME 1 //ms
|
2013-05-19 04:28:07 +00:00
|
|
|
|
2013-05-08 21:45:39 +00:00
|
|
|
//
|
|
|
|
// BB/MAC/RF other monitor API
|
|
|
|
//
|
|
|
|
|
|
|
|
void PHY_SetMonitorMode8192C(IN PADAPTER pAdapter,
|
|
|
|
IN BOOLEAN bEnableMonitorMode );
|
2013-05-19 04:28:07 +00:00
|
|
|
|
2013-05-08 21:45:39 +00:00
|
|
|
//
|
|
|
|
// IQ calibrate
|
|
|
|
//
|
2013-05-19 04:28:07 +00:00
|
|
|
void
|
|
|
|
PHY_IQCalibrate_8192C( IN PADAPTER pAdapter,
|
|
|
|
IN BOOLEAN bReCovery);
|
|
|
|
|
2013-05-08 21:45:39 +00:00
|
|
|
//
|
|
|
|
// LC calibrate
|
|
|
|
//
|
2013-05-19 04:28:07 +00:00
|
|
|
void
|
2013-05-08 21:45:39 +00:00
|
|
|
PHY_LCCalibrate_8192C( IN PADAPTER pAdapter);
|
|
|
|
|
|
|
|
//
|
|
|
|
// AP calibrate
|
|
|
|
//
|
2013-05-19 04:28:07 +00:00
|
|
|
void
|
2013-05-08 21:45:39 +00:00
|
|
|
PHY_APCalibrate_8192C( IN PADAPTER pAdapter,
|
2013-05-19 04:28:07 +00:00
|
|
|
IN s1Byte delta);
|
2013-05-08 21:45:39 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#define ODM_TARGET_CHNL_NUM_2G_5G 59
|
|
|
|
|
|
|
|
|
|
|
|
VOID
|
|
|
|
ODM_ResetIQKResult(
|
2013-05-19 04:28:07 +00:00
|
|
|
IN PDM_ODM_T pDM_Odm
|
2013-05-08 21:45:39 +00:00
|
|
|
);
|
2013-05-19 04:28:07 +00:00
|
|
|
u1Byte
|
2013-05-08 21:45:39 +00:00
|
|
|
ODM_GetRightChnlPlaceforIQK(
|
|
|
|
IN u1Byte chnl
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
#endif // #ifndef __HAL_PHY_RF_H__
|