diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2011-07-19 01:26:49 (GMT) |
---|---|---|
committer | Larry Finger <Larry.Finger@lwfinger.net> | 2011-08-24 04:17:13 (GMT) |
commit | a15e76ad063248ec1d06baee423881e7aa73066b (patch) | |
tree | 5fb925fbbbe96cf1114f024728cbb23df1adcc9c /drivers/staging/rtl8192e | |
parent | 9801b9f5d740257f8cd19fe21b8c7ffe598b18af (diff) | |
download | linux-fsl-qoriq-a15e76ad063248ec1d06baee423881e7aa73066b.tar.xz |
staging: rtl8192e: Convert typedef BSS_HT to struct bss_ht
Remove typedef from struct.
Rename struct.
Rename uses.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Diffstat (limited to 'drivers/staging/rtl8192e')
-rw-r--r-- | drivers/staging/rtl8192e/rtl819x_HT.h | 4 | ||||
-rw-r--r-- | drivers/staging/rtl8192e/rtl819x_HTProc.c | 2 | ||||
-rw-r--r-- | drivers/staging/rtl8192e/rtllib.h | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/drivers/staging/rtl8192e/rtl819x_HT.h b/drivers/staging/rtl8192e/rtl819x_HT.h index c3eaea4..d327a52 100644 --- a/drivers/staging/rtl8192e/rtl819x_HT.h +++ b/drivers/staging/rtl8192e/rtl819x_HT.h @@ -334,7 +334,7 @@ struct rt_htinfo_sta_entry { -typedef struct _BSS_HT{ +struct bss_ht { u8 bdSupportHT; @@ -350,7 +350,7 @@ typedef struct _BSS_HT{ u8 bdRT2RTLongSlotTime; u8 RT2RT_HT_Mode; u8 bdHT1R; -} __attribute__ ((packed)) BSS_HT, *PBSS_HT; +}; typedef struct _MIMO_RSSI{ u32 EnableAntenna; diff --git a/drivers/staging/rtl8192e/rtl819x_HTProc.c b/drivers/staging/rtl8192e/rtl819x_HTProc.c index 94ec155..c319ad5 100644 --- a/drivers/staging/rtl8192e/rtl819x_HTProc.c +++ b/drivers/staging/rtl8192e/rtl819x_HTProc.c @@ -990,7 +990,7 @@ void HTInitializeHTInfo(struct rtllib_device* ieee) RegHTSuppRateSets[4] = 0x01; } } -void HTInitializeBssDesc(PBSS_HT pBssHT) +void HTInitializeBssDesc(struct bss_ht *pBssHT) { pBssHT->bdSupportHT = false; diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h index 40e20db..4b8bd09 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -1688,7 +1688,7 @@ struct rtllib_network { u8 Turbo_Enable; u16 CountryIeLen; u8 CountryIeBuf[MAX_IE_LEN]; - BSS_HT bssht; + struct bss_ht bssht; bool broadcom_cap_exist; bool realtek_cap_exit; bool marvell_cap_exist; @@ -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 HTOnAssocRsp(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 HTUpdateSelfAndPeerSetting(struct rtllib_device* ieee, struct rtllib_network * pNetwork); extern u8 HTGetHighestMCSRate(struct rtllib_device* ieee, u8* pMCSRateSet, u8* pMCSFilter); |