1 /******************************************************************************
3 * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of version 2 of the GNU General Public License as
7 * published by the Free Software Foundation.
9 * This program is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14 ******************************************************************************/
20 #include "odm_precomp.h"
22 /* ODM IO Relative API. */
24 #include <usb_ops_linux.h>
27 struct dm_odm_t *pDM_Odm,
28 enum RF_RADIO_PATH eRFPath,
34 struct rtw_adapter *Adapter = pDM_Odm->Adapter;
36 PHY_SetRFReg(Adapter, eRFPath, RegAddr, BitMask, Data);
40 struct dm_odm_t *pDM_Odm,
41 enum RF_RADIO_PATH eRFPath,
46 struct rtw_adapter *Adapter = pDM_Odm->Adapter;
48 return PHY_QueryRFReg(Adapter, eRFPath, RegAddr, BitMask);