diff options
author | Malcolm Priestley <tvboxspy@gmail.com> | 2013-08-05 22:08:05 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-12 15:02:15 -0700 |
commit | 0773893aaa8003ee7a8d1ab21084f7dafe32986a (patch) | |
tree | 09e5cdb32e52f6848e9134b011ef1e56d4af4fbd /drivers/staging/vt6656/desc.h | |
parent | c0de17e468a4a0469b6bba31a515c02b90b75edc (diff) |
staging: vt6656: desc.h remove typedef struct tagSRTSData
Replace structures with struct ieee80211_rts data.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6656/desc.h')
-rw-r--r-- | drivers/staging/vt6656/desc.h | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/drivers/staging/vt6656/desc.h b/drivers/staging/vt6656/desc.h index 64cb046fe988..aa5e249092a1 100644 --- a/drivers/staging/vt6656/desc.h +++ b/drivers/staging/vt6656/desc.h @@ -33,6 +33,7 @@ #include <linux/types.h> #include <linux/mm.h> +#include <linux/ieee80211.h> #include "tether.h" @@ -187,16 +188,6 @@ typedef const SRrvTime_atim *PCSRrvTime_atim; /* * RTS buffer header */ -typedef struct tagSRTSData { - u16 wFrameControl; - u16 wDurationID; - u8 abyRA[ETH_ALEN]; - u8 abyTA[ETH_ALEN]; -} __attribute__ ((__packed__)) -SRTSData, *PSRTSData; - -typedef const SRTSData *PCSRTSData; - typedef struct tagSRTS_g { u8 bySignalField_b; u8 byServiceField_b; @@ -208,7 +199,7 @@ typedef struct tagSRTS_g { u16 wDuration_aa; u16 wDuration_bb; u16 wReserved; - SRTSData Data; + struct ieee80211_rts data; } __attribute__ ((__packed__)) SRTS_g, *PSRTS_g; typedef const SRTS_g *PCSRTS_g; @@ -228,7 +219,7 @@ typedef struct tagSRTS_g_FB { u16 wRTSDuration_aa_f0; u16 wRTSDuration_ba_f1; u16 wRTSDuration_aa_f1; - SRTSData Data; + struct ieee80211_rts data; } __attribute__ ((__packed__)) SRTS_g_FB, *PSRTS_g_FB; @@ -240,7 +231,7 @@ typedef struct tagSRTS_ab { u16 wTransmitLength; u16 wDuration; u16 wReserved; - SRTSData Data; + struct ieee80211_rts data; } __attribute__ ((__packed__)) SRTS_ab, *PSRTS_ab; @@ -254,7 +245,7 @@ typedef struct tagSRTS_a_FB { u16 wReserved; u16 wRTSDuration_f0; u16 wRTSDuration_f1; - SRTSData Data; + struct ieee80211_rts data; } __attribute__ ((__packed__)) SRTS_a_FB, *PSRTS_a_FB; |