staging: rtl8192e: Convert typedef RT_HT_CAPBILITY to enum rt_ht_capability
Remove typedef from enum. Rename enum. Rename uses. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
@@ -464,13 +464,13 @@ enum ht_iot_rafunc {
|
|||||||
HT_IOT_RAFUNC_TX_AMSDU = 0x02,
|
HT_IOT_RAFUNC_TX_AMSDU = 0x02,
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef enum _RT_HT_CAPBILITY{
|
enum rt_ht_capability {
|
||||||
RT_HT_CAP_USE_TURBO_AGGR = 0x01,
|
RT_HT_CAP_USE_TURBO_AGGR = 0x01,
|
||||||
RT_HT_CAP_USE_LONG_PREAMBLE = 0x02,
|
RT_HT_CAP_USE_LONG_PREAMBLE = 0x02,
|
||||||
RT_HT_CAP_USE_AMPDU = 0x04,
|
RT_HT_CAP_USE_AMPDU = 0x04,
|
||||||
RT_HT_CAP_USE_WOW = 0x8,
|
RT_HT_CAP_USE_WOW = 0x8,
|
||||||
RT_HT_CAP_USE_SOFTAP = 0x10,
|
RT_HT_CAP_USE_SOFTAP = 0x10,
|
||||||
RT_HT_CAP_USE_92SE = 0x20,
|
RT_HT_CAP_USE_92SE = 0x20,
|
||||||
} RT_HT_CAPBILITY, *PRT_HT_CAPBILITY;
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -977,7 +977,7 @@ void HTInitializeHTInfo(struct rtllib_device* ieee)
|
|||||||
|
|
||||||
pHTInfo->bCurrentRT2RTAggregation = false;
|
pHTInfo->bCurrentRT2RTAggregation = false;
|
||||||
pHTInfo->bCurrentRT2RTLongSlotTime = false;
|
pHTInfo->bCurrentRT2RTLongSlotTime = false;
|
||||||
pHTInfo->RT2RT_HT_Mode = (RT_HT_CAPBILITY)0;
|
pHTInfo->RT2RT_HT_Mode = (enum rt_ht_capability)0;
|
||||||
|
|
||||||
pHTInfo->IOTPeer = 0;
|
pHTInfo->IOTPeer = 0;
|
||||||
pHTInfo->IOTAction = 0;
|
pHTInfo->IOTAction = 0;
|
||||||
@@ -1003,7 +1003,7 @@ void HTInitializeBssDesc(struct bss_ht *pBssHT)
|
|||||||
|
|
||||||
pBssHT->bdRT2RTAggregation = false;
|
pBssHT->bdRT2RTAggregation = false;
|
||||||
pBssHT->bdRT2RTLongSlotTime = false;
|
pBssHT->bdRT2RTLongSlotTime = false;
|
||||||
pBssHT->RT2RT_HT_Mode = (RT_HT_CAPBILITY)0;
|
pBssHT->RT2RT_HT_Mode = (enum rt_ht_capability)0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void HTResetSelfAndSavePeerSetting(struct rtllib_device* ieee, struct rtllib_network * pNetwork)
|
void HTResetSelfAndSavePeerSetting(struct rtllib_device* ieee, struct rtllib_network * pNetwork)
|
||||||
@@ -1034,7 +1034,7 @@ void HTResetSelfAndSavePeerSetting(struct rtllib_device* ieee, struct rtllib_net
|
|||||||
{
|
{
|
||||||
pHTInfo->bCurrentRT2RTAggregation = false;
|
pHTInfo->bCurrentRT2RTAggregation = false;
|
||||||
pHTInfo->bCurrentRT2RTLongSlotTime = false;
|
pHTInfo->bCurrentRT2RTLongSlotTime = false;
|
||||||
pHTInfo->RT2RT_HT_Mode = (RT_HT_CAPBILITY)0;
|
pHTInfo->RT2RT_HT_Mode = (enum rt_ht_capability)0;
|
||||||
}
|
}
|
||||||
|
|
||||||
HTIOTPeerDetermine(ieee);
|
HTIOTPeerDetermine(ieee);
|
||||||
@@ -1067,7 +1067,7 @@ void HTResetSelfAndSavePeerSetting(struct rtllib_device* ieee, struct rtllib_net
|
|||||||
pHTInfo->bCurrentHTSupport = false;
|
pHTInfo->bCurrentHTSupport = false;
|
||||||
pHTInfo->bCurrentRT2RTAggregation = false;
|
pHTInfo->bCurrentRT2RTAggregation = false;
|
||||||
pHTInfo->bCurrentRT2RTLongSlotTime = false;
|
pHTInfo->bCurrentRT2RTLongSlotTime = false;
|
||||||
pHTInfo->RT2RT_HT_Mode = (RT_HT_CAPBILITY)0;
|
pHTInfo->RT2RT_HT_Mode = (enum rt_ht_capability)0;
|
||||||
|
|
||||||
pHTInfo->IOTAction = 0;
|
pHTInfo->IOTAction = 0;
|
||||||
pHTInfo->IOTRaFunc = 0;
|
pHTInfo->IOTRaFunc = 0;
|
||||||
|
Reference in New Issue
Block a user