staging: rtl8192e: Convert typedef cmpk_tx_rahis_t to struct cmpk_tx_rahis
Remove typedef from struct. Rename struct. Rename uses. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
acf08e1a01
commit
1b419253af
2 changed files with 6 additions and 7 deletions
|
@ -327,9 +327,9 @@ cmpk_handle_tx_rate_history(
|
||||||
struct net_device *dev,
|
struct net_device *dev,
|
||||||
u8* pmsg)
|
u8* pmsg)
|
||||||
{
|
{
|
||||||
cmpk_tx_rahis_t *ptxrate;
|
struct cmpk_tx_rahis *ptxrate;
|
||||||
u8 i, j;
|
u8 i, j;
|
||||||
u16 length = sizeof(cmpk_tx_rahis_t);
|
u16 length = sizeof(struct cmpk_tx_rahis);
|
||||||
u32 *ptemp;
|
u32 *ptemp;
|
||||||
struct r8192_priv *priv = rtllib_priv(dev);
|
struct r8192_priv *priv = rtllib_priv(dev);
|
||||||
|
|
||||||
|
@ -354,7 +354,7 @@ cmpk_handle_tx_rate_history(
|
||||||
ptemp[i] = (temp1<<16)|temp2;
|
ptemp[i] = (temp1<<16)|temp2;
|
||||||
}
|
}
|
||||||
|
|
||||||
ptxrate = (cmpk_tx_rahis_t *)pmsg;
|
ptxrate = (struct cmpk_tx_rahis *)pmsg;
|
||||||
|
|
||||||
if (ptxrate == NULL )
|
if (ptxrate == NULL )
|
||||||
{
|
{
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
#define CMPK_BOTH_QUERY_CONFIG_SIZE sizeof(struct cmpk_set_cfg)
|
#define CMPK_BOTH_QUERY_CONFIG_SIZE sizeof(struct cmpk_set_cfg)
|
||||||
#define CMPK_RX_TX_STS_SIZE sizeof(struct cmpk_tx_status)
|
#define CMPK_RX_TX_STS_SIZE sizeof(struct cmpk_tx_status)
|
||||||
#define CMPK_RX_DBG_MSG_SIZE sizeof(struct cmpk_rx_dbginfo)
|
#define CMPK_RX_DBG_MSG_SIZE sizeof(struct cmpk_rx_dbginfo)
|
||||||
#define CMPK_TX_RAHIS_SIZE sizeof(cmpk_tx_rahis_t)
|
#define CMPK_TX_RAHIS_SIZE sizeof(struct cmpk_tx_rahis)
|
||||||
|
|
||||||
#define ISR_TxBcnOk BIT27
|
#define ISR_TxBcnOk BIT27
|
||||||
#define ISR_TxBcnErr BIT26
|
#define ISR_TxBcnErr BIT26
|
||||||
|
@ -120,8 +120,7 @@ struct cmpk_rx_dbginfo {
|
||||||
|
|
||||||
};//;
|
};//;
|
||||||
|
|
||||||
typedef struct tag_tx_rate_history
|
struct cmpk_tx_rahis {
|
||||||
{
|
|
||||||
u8 element_id;
|
u8 element_id;
|
||||||
u8 length;
|
u8 length;
|
||||||
u16 reserved1;
|
u16 reserved1;
|
||||||
|
@ -136,7 +135,7 @@ typedef struct tag_tx_rate_history
|
||||||
|
|
||||||
u16 ht_mcs[4][16];
|
u16 ht_mcs[4][16];
|
||||||
|
|
||||||
}__attribute__((packed)) cmpk_tx_rahis_t;
|
} __packed;
|
||||||
|
|
||||||
typedef enum tag_command_packet_directories
|
typedef enum tag_command_packet_directories
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue