rtl8188eu: Convert typedef statements in include/rtw_rf.h

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger 2013-07-26 16:27:19 -05:00
parent 5cfecb6edc
commit ec5245f648
9 changed files with 36 additions and 51 deletions

View file

@ -326,7 +326,7 @@ s32 rtw_hal_interrupt_handler(_adapter *padapter)
return _FAIL;
}
void rtw_hal_set_bwmode(_adapter *padapter, HT_CHANNEL_WIDTH Bandwidth, u8 Offset)
void rtw_hal_set_bwmode(_adapter *padapter, enum ht_channel_width Bandwidth, u8 Offset)
{
if (padapter->HalFunc.set_bwmode_handler)
padapter->HalFunc.set_bwmode_handler(padapter, Bandwidth, Offset);

View file

@ -1503,7 +1503,7 @@ _PHY_SetBWMode92C(
* Overview: This function is export to "HalCommon" moudule
*
* Input: PADAPTER Adapter
* HT_CHANNEL_WIDTH Bandwidth 20M or 40M
* enum ht_channel_width Bandwidth 20M or 40M
*
* Output: NONE
*
@ -1514,12 +1514,12 @@ _PHY_SetBWMode92C(
void
PHY_SetBWMode8188E(
PADAPTER Adapter,
HT_CHANNEL_WIDTH Bandwidth, /* 20M or 40M */
enum ht_channel_width Bandwidth, /* 20M or 40M */
unsigned char Offset /* Upper, Lower, or Don't care */
)
{
struct hal_data_8188e *pHalData = GET_HAL_DATA(Adapter);
HT_CHANNEL_WIDTH tmpBW= pHalData->CurrentChannelBW;
enum ht_channel_width tmpBW= pHalData->CurrentChannelBW;
pHalData->CurrentChannelBW = Bandwidth;

View file

@ -115,7 +115,7 @@ void rtl8188e_RF_ChangeTxPath( PADAPTER Adapter,
void
rtl8188e_PHY_RF6052SetBandwidth(
PADAPTER Adapter,
HT_CHANNEL_WIDTH Bandwidth) /* 20M or 40M */
enum ht_channel_width Bandwidth) /* 20M or 40M */
{
struct hal_data_8188e *pHalData = GET_HAL_DATA(Adapter);