Commit a15e76ad authored by Larry Finger's avatar Larry Finger

staging: rtl8192e: Convert typedef BSS_HT to struct bss_ht

Remove typedef from struct.
Rename struct.
Rename uses.
Signed-off-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
parent 9801b9f5
...@@ -334,7 +334,7 @@ struct rt_htinfo_sta_entry { ...@@ -334,7 +334,7 @@ struct rt_htinfo_sta_entry {
typedef struct _BSS_HT{ struct bss_ht {
u8 bdSupportHT; u8 bdSupportHT;
...@@ -350,7 +350,7 @@ typedef struct _BSS_HT{ ...@@ -350,7 +350,7 @@ typedef struct _BSS_HT{
u8 bdRT2RTLongSlotTime; u8 bdRT2RTLongSlotTime;
u8 RT2RT_HT_Mode; u8 RT2RT_HT_Mode;
u8 bdHT1R; u8 bdHT1R;
} __attribute__ ((packed)) BSS_HT, *PBSS_HT; };
typedef struct _MIMO_RSSI{ typedef struct _MIMO_RSSI{
u32 EnableAntenna; u32 EnableAntenna;
......
...@@ -990,7 +990,7 @@ void HTInitializeHTInfo(struct rtllib_device* ieee) ...@@ -990,7 +990,7 @@ void HTInitializeHTInfo(struct rtllib_device* ieee)
RegHTSuppRateSets[4] = 0x01; RegHTSuppRateSets[4] = 0x01;
} }
} }
void HTInitializeBssDesc(PBSS_HT pBssHT) void HTInitializeBssDesc(struct bss_ht *pBssHT)
{ {
pBssHT->bdSupportHT = false; pBssHT->bdSupportHT = false;
......
...@@ -1688,7 +1688,7 @@ struct rtllib_network { ...@@ -1688,7 +1688,7 @@ struct rtllib_network {
u8 Turbo_Enable; u8 Turbo_Enable;
u16 CountryIeLen; u16 CountryIeLen;
u8 CountryIeBuf[MAX_IE_LEN]; u8 CountryIeBuf[MAX_IE_LEN];
BSS_HT bssht; struct bss_ht bssht;
bool broadcom_cap_exist; bool broadcom_cap_exist;
bool realtek_cap_exit; bool realtek_cap_exit;
bool marvell_cap_exist; bool marvell_cap_exist;
...@@ -2898,7 +2898,7 @@ extern void HTConstructInfoElement(struct rtllib_device* ieee, u8* posHTInfo, u8 ...@@ -2898,7 +2898,7 @@ extern void HTConstructInfoElement(struct rtllib_device* ieee, u8* posHTInfo, u8
extern void HTConstructRT2RTAggElement(struct rtllib_device* ieee, u8* posRT2RTAgg, u8* len); extern void HTConstructRT2RTAggElement(struct rtllib_device* ieee, u8* posRT2RTAgg, u8* len);
extern void HTOnAssocRsp(struct rtllib_device *ieee); extern void HTOnAssocRsp(struct rtllib_device *ieee);
extern void HTInitializeHTInfo(struct rtllib_device* ieee); extern void HTInitializeHTInfo(struct rtllib_device* ieee);
extern void HTInitializeBssDesc(PBSS_HT pBssHT); extern void HTInitializeBssDesc(struct bss_ht *pBssHT);
extern void HTResetSelfAndSavePeerSetting(struct rtllib_device* ieee, struct rtllib_network * pNetwork); extern void HTResetSelfAndSavePeerSetting(struct rtllib_device* ieee, struct rtllib_network * pNetwork);
extern void HTUpdateSelfAndPeerSetting(struct rtllib_device* ieee, struct rtllib_network * pNetwork); extern void HTUpdateSelfAndPeerSetting(struct rtllib_device* ieee, struct rtllib_network * pNetwork);
extern u8 HTGetHighestMCSRate(struct rtllib_device* ieee, u8* pMCSRateSet, u8* pMCSFilter); extern u8 HTGetHighestMCSRate(struct rtllib_device* ieee, u8* pMCSRateSet, u8* pMCSFilter);
......
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