summaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6655/rxtx.h
diff options
context:
space:
mode:
authorMalcolm Priestley <tvboxspy@gmail.com>2014-08-30 22:25:41 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-08-30 15:19:16 -0700
commit17434f094a42792230cbb3a12c5ca69937b741f8 (patch)
treebf0c8b1f7cb1526b6611e7a3297c2900a3d6f9ac /drivers/staging/vt6655/rxtx.h
parent0864db15a04711cae8ce3b63fbd459c8bf4df64c (diff)
downloadlinux-17434f094a42792230cbb3a12c5ca69937b741f8.tar.bz2
staging: vt6655: replace typedef struct tagSRTS_g with struct vnt_rts_g
Replacing members b, a, wDuration_ba, wDuration_aa, wDuration_bb, wReserved and data with b, a,duration_ba, duration_aa, duration_bb, reserved and data replacing unsigned short with u16 or __le16 where endian correction is necessary. 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.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/staging/vt6655/rxtx.h b/drivers/staging/vt6655/rxtx.h
index 21bbc7e4ef08..377cd42ab56a 100644
--- a/drivers/staging/vt6655/rxtx.h
+++ b/drivers/staging/vt6655/rxtx.h
@@ -113,6 +113,17 @@ struct vnt_tx_datahead_a_fb {
__le16 duration_f1;
} __packed;
+/* RTS buffer header */
+struct vnt_rts_g {
+ struct vnt_phy_field b;
+ struct vnt_phy_field a;
+ __le16 duration_ba;
+ __le16 duration_aa;
+ __le16 duration_bb;
+ u16 reserved;
+ struct ieee80211_rts data;
+} __packed;
+
struct vnt_tx_short_buf_head {
__le16 fifo_ctl;
u16 time_stamp;