summaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6655/rxtx.h
diff options
context:
space:
mode:
authorMalcolm Priestley2014-08-30 23:25:44 +0200
committerGreg Kroah-Hartman2014-08-31 00:19:16 +0200
commit8e44804e73ae9e192df807eed2543e8b66cf5be0 (patch)
treec771598941b4d5b5629b1324ebf8c9cbb72fd01e /drivers/staging/vt6655/rxtx.h
parentstaging: vt6655: replace typedef struct tagSRTS_ab with struct vnt_rts_ab (diff)
downloadkernel-qcow2-linux-8e44804e73ae9e192df807eed2543e8b66cf5be0.tar.gz
kernel-qcow2-linux-8e44804e73ae9e192df807eed2543e8b66cf5be0.tar.xz
kernel-qcow2-linux-8e44804e73ae9e192df807eed2543e8b66cf5be0.zip
staging: vt6655: replace typedef struct tagSRTS_a_FB with struct vnt_rts_a_fb
Replacing members a, wDuration, wReserved, wRTSDuration_f0, wRTSDuration_f1 and data with a, duration, reserved, rts_duration_f0, rts_duration_f1 and data unsigned short is replaced with u16 or __le16 where necessary. cast void pointer to pvRTS Creating the new structure in rxtx.h Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6655/rxtx.h')
-rw-r--r--drivers/staging/vt6655/rxtx.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/staging/vt6655/rxtx.h b/drivers/staging/vt6655/rxtx.h
index 807753c875e0..bac22147bb94 100644
--- a/drivers/staging/vt6655/rxtx.h
+++ b/drivers/staging/vt6655/rxtx.h
@@ -145,6 +145,15 @@ struct vnt_rts_ab {
struct ieee80211_rts data;
} __packed;
+struct vnt_rts_a_fb {
+ struct vnt_phy_field a;
+ __le16 duration;
+ u16 reserved;
+ __le16 rts_duration_f0;
+ __le16 rts_duration_f1;
+ struct ieee80211_rts data;
+} __packed;
+
struct vnt_tx_short_buf_head {
__le16 fifo_ctl;
u16 time_stamp;